sysutils/android-file-transfer: update to 4.0
Changes: https://github.com/whoozle/android-file-transfer-linux/releases/tag/v4.0 Reported by: GitHub (watch releases)
This commit is contained in:
parent
a06dfa0ea3
commit
82b5884a62
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=555486
@ -6,6 +6,6 @@ PKGNAMESUFFIX= -qt5
|
||||
MASTERDIR= ${.CURDIR}/../android-file-transfer
|
||||
|
||||
OPTIONS_SLAVE= QT5
|
||||
OPTIONS_EXCLUDE=CLI FUSE
|
||||
OPTIONS_EXCLUDE=CLI FUSE PYTHON
|
||||
|
||||
.include "${MASTERDIR}/Makefile"
|
||||
|
@ -2,8 +2,8 @@
|
||||
|
||||
PORTNAME= android-file-transfer
|
||||
DISTVERSIONPREFIX= v
|
||||
DISTVERSION= 3.9
|
||||
PORTREVISION?= 1
|
||||
DISTVERSION= 4.0
|
||||
PORTREVISION?= 0
|
||||
CATEGORIES= sysutils
|
||||
|
||||
MAINTAINER= jbeich@FreeBSD.org
|
||||
@ -15,12 +15,12 @@ USE_GITHUB= yes
|
||||
GH_ACCOUNT= whoozle
|
||||
GH_PROJECT= ${PORTNAME}-linux
|
||||
|
||||
USES= cmake compiler:c++11-lib localbase:ldflags pkgconfig
|
||||
USES= cmake compiler:c++11-lib pkgconfig
|
||||
CMAKE_ON= USB_BACKEND_LIBUSB
|
||||
PLIST_FILES= "@comment lib/libmtp-ng-static.a"
|
||||
|
||||
OPTIONS_DEFINE= CLI FUSE QT5
|
||||
OPTIONS_DEFAULT=CLI FUSE QT5
|
||||
OPTIONS_DEFINE= CLI FUSE OPENSSL PYTHON QT5 TAGLIB
|
||||
OPTIONS_DEFAULT=CLI FUSE OPENSSL PYTHON QT5 TAGLIB
|
||||
OPTIONS_EXCLUDE?= QT5 # enslaved until subpackaging
|
||||
|
||||
CLI_DESC= CLI (Command-Line Interface) support
|
||||
@ -31,8 +31,16 @@ FUSE_USES= fuse
|
||||
FUSE_CMAKE_BOOL=BUILD_FUSE
|
||||
FUSE_PLIST_FILES=bin/aft-mtp-mount
|
||||
|
||||
OPENSSL_USES= ssl
|
||||
OPENSSL_CMAKE_BOOL= BUILD_MTPZ
|
||||
|
||||
PYTHON_BUILD_DEPENDS= pybind11>0:devel/pybind11
|
||||
PYTHON_USES= python
|
||||
PYTHON_CMAKE_BOOL= BUILD_PYTHON
|
||||
PYTHON_PLIST_FILES= %%PYTHON_SITELIBDIR%%/aftl.so
|
||||
|
||||
QT5_USES= qt:5
|
||||
QT5_USE= QT=qmake_build,buildtools_build,core,gui,widgets
|
||||
QT5_USE= QT=qmake_build,buildtools_build,linguisttools_build,core,gui,network,widgets
|
||||
QT5_CMAKE_BOOL= BUILD_QT_UI
|
||||
QT5_CMAKE_ON= -DDESIRED_QT_VERSION:STRING=5
|
||||
QT5_PLIST_FILES= bin/android-file-transfer \
|
||||
@ -40,6 +48,10 @@ QT5_PLIST_FILES= bin/android-file-transfer \
|
||||
share/icons/hicolor/512x512/apps/android-file-transfer.png \
|
||||
share/metainfo/android-file-transfer.appdata.xml
|
||||
|
||||
TAGLIB_DESC= Reading audio metadata via taglib
|
||||
TAGLIB_LIB_DEPENDS= libtag.so:audio/taglib
|
||||
TAGLIB_CMAKE_BOOL= BUILD_TAGLIB
|
||||
|
||||
post-patch:
|
||||
@${REINPLACE_CMD} '/set.*AFT_VERSION/s/".*"/"${DISTVERSIONFULL}"/' \
|
||||
${WRKSRC}/CMakeLists.txt
|
||||
@ -47,4 +59,9 @@ post-patch:
|
||||
post-patch-CLI-off:
|
||||
@${REINPLACE_CMD} '/subdirectory(cli)/d' ${WRKSRC}/CMakeLists.txt
|
||||
|
||||
post-install-PYTHON-on:
|
||||
${MKDIR} ${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}
|
||||
${INSTALL_LIB} ${BUILD_WRKSRC}/python/aftl.so \
|
||||
${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
@ -1,3 +1,3 @@
|
||||
TIMESTAMP = 1558697121
|
||||
SHA256 (whoozle-android-file-transfer-linux-v3.9_GH0.tar.gz) = 26aa21683ae34aceaf83747fec693a15b996017a857014931ef3c5b50115971a
|
||||
SIZE (whoozle-android-file-transfer-linux-v3.9_GH0.tar.gz) = 781268
|
||||
TIMESTAMP = 1605470748
|
||||
SHA256 (whoozle-android-file-transfer-linux-v4.0_GH0.tar.gz) = 1923a15f276a730ddb9709de43414766d235f74940429ac314b0c42f47c2c471
|
||||
SIZE (whoozle-android-file-transfer-linux-v4.0_GH0.tar.gz) = 820094
|
||||
|
Loading…
Reference in New Issue
Block a user