Date: Mon, 26 Sep 2016 06:44:23 +0000 (UTC) From: Jan Beich <jbeich@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r422766 - in head/sysutils: . android-file-transfer android-file-transfer/files Message-ID: <201609260644.u8Q6iN3k024275@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: jbeich Date: Mon Sep 26 06:44:23 2016 New Revision: 422766 URL: https://svnweb.freebsd.org/changeset/ports/422766 Log: sysutils/android-file-transfer: add new port Requested by: @whoozle (upstream) Android File Transfer for Linux - reliable MTP client with minimalistic UI similar to Android File Transfer for Mac. Features: * Simple Qt UI with progress dialogs. * FUSE wrapper (If you'd prefer mounting your device), supporting partial read/writes, allowing instant access to your files. * No file size limits. * Automatically renames album cover to make it visible from media player. * No extra dependencies (e.g. libptp/libmtp). * Available as static/shared library. * Command line tool (aft-mtp-cli) https://github.com/whoozle/android-file-transfer-linux Added: head/sysutils/android-file-transfer/ head/sysutils/android-file-transfer/Makefile (contents, props changed) head/sysutils/android-file-transfer/distinfo (contents, props changed) head/sysutils/android-file-transfer/files/ head/sysutils/android-file-transfer/files/libusb-1.0.pc (contents, props changed) head/sysutils/android-file-transfer/pkg-descr (contents, props changed) Modified: head/sysutils/Makefile (contents, props changed) Modified: head/sysutils/Makefile ============================================================================== --- head/sysutils/Makefile Mon Sep 26 06:11:40 2016 (r422765) +++ head/sysutils/Makefile Mon Sep 26 06:44:23 2016 (r422766) @@ -31,6 +31,7 @@ SUBDIR += amtc SUBDIR += anacron SUBDIR += and + SUBDIR += android-file-transfer SUBDIR += ansible SUBDIR += ansible1 SUBDIR += apachetop Added: head/sysutils/android-file-transfer/Makefile ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/sysutils/android-file-transfer/Makefile Mon Sep 26 06:44:23 2016 (r422766) @@ -0,0 +1,47 @@ +# $FreeBSD$ + +PORTNAME= android-file-transfer +DISTVERSIONPREFIX= v +DISTVERSION= 3.0-10 +DISTVERSIONSUFFIX= -g40640fb +CATEGORIES= sysutils + +MAINTAINER= jbeich@FreeBSD.org +COMMENT= Android MTP client with minimalistic UI + +LICENSE= GPLv3+ + +USE_GITHUB= yes +GH_ACCOUNT= whoozle +GH_PROJECT= ${PORTNAME}-linux + +USES= cmake compiler:c++11-lib localbase pkgconfig readline +CMAKE_ARGS= -DUSB_BACKEND_LIBUSB=on -DBUILD_QT_UI=off +PLIST_FILES= bin/aft-mtp-cli + +OPTIONS_DEFINE= FUSE +OPTIONS_DEFAULT=FUSE QT5 +OPTIONS_RADIO= GUI +OPTIONS_RADIO_GUI= QT4 QT5 +# XXX http://lists.dragonflybsd.org/pipermail/users/2016-September/313064.html +OPTIONS_EXCLUDE_DragonFly= FUSE + +FUSE_USES= fuse +FUSE_CMAKE_BOOL=BUILD_FUSE +FUSE_PLIST_FILES=bin/aft-mtp-mount + +QT4_USE= QT4=qmake_build,moc_build,rcc_build,uic_build,corelib,gui +QT4_CMAKE_ON= -DBUILD_QT_UI=on -DDESIRED_QT_VERSION=4 +QT4_PLIST_FILES=${QT5_PLIST_FILES} + +QT5_USE= QT5=qmake_build,buildtools_build,core,gui,widgets +QT5_CMAKE_ON= -DBUILD_QT_UI=on -DDESIRED_QT_VERSION=5 +QT5_PLIST_FILES=bin/android-file-transfer \ + share/applications/android-file-transfer.desktop \ + share/icons/hicolor/128x128/apps/android-file-transfer.png + +.if !exists(/usr/libdata/pkgconfig/libusb-1.0.pc) +CONFIGURE_ENV+= PKG_CONFIG_PATH="${FILESDIR}" +.endif + +.include <bsd.port.mk> Added: head/sysutils/android-file-transfer/distinfo ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/sysutils/android-file-transfer/distinfo Mon Sep 26 06:44:23 2016 (r422766) @@ -0,0 +1,3 @@ +TIMESTAMP = 1474277998 +SHA256 (whoozle-android-file-transfer-linux-v3.0-10-g40640fb_GH0.tar.gz) = 077ac7e798eb5b6de454bf487b4f2b83aa80e20e0048e2d0aab7a798c7a26d55 +SIZE (whoozle-android-file-transfer-linux-v3.0-10-g40640fb_GH0.tar.gz) = 419736 Added: head/sysutils/android-file-transfer/files/libusb-1.0.pc ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/sysutils/android-file-transfer/files/libusb-1.0.pc Mon Sep 26 06:44:23 2016 (r422766) @@ -0,0 +1,11 @@ +# $FreeBSD: head/lib/libusb/libusb-1.0.pc 267110 2014-06-05 14:19:32Z emaste $ +prefix=/usr +exec_prefix=${prefix} +libdir=${exec_prefix}/lib +includedir=${prefix}/include + +Name: libusb-1.0 +Description: Library that abstracts ways to access USB devices (v1.0) +Version: 1.0.13 +Libs: -L${libdir} -lusb +Cflags: -I${includedir} Added: head/sysutils/android-file-transfer/pkg-descr ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/sysutils/android-file-transfer/pkg-descr Mon Sep 26 06:44:23 2016 (r422766) @@ -0,0 +1,14 @@ +Android File Transfer for Linux - reliable MTP client with +minimalistic UI similar to Android File Transfer for Mac. + +Features: +* Simple Qt UI with progress dialogs. +* FUSE wrapper (If you'd prefer mounting your device), supporting + partial read/writes, allowing instant access to your files. +* No file size limits. +* Automatically renames album cover to make it visible from media player. +* No extra dependencies (e.g. libptp/libmtp). +* Available as static/shared library. +* Command line tool (aft-mtp-cli) + +WWW: https://github.com/whoozle/android-file-transfer-linux
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201609260644.u8Q6iN3k024275>