sysutils/android-file-transfer: clean up after r495936 + r495967

Drop QT (common), RADIO and MULTI and move QT5 to DEFAULT.
This commit is contained in:
Jan Beich 2019-03-16 23:20:52 +00:00
parent fee9017b3a
commit 6fffe1f6b7
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=495988
2 changed files with 9 additions and 17 deletions

View File

@ -8,6 +8,6 @@ MASTERDIR= ${.CURDIR}/../android-file-transfer
CONFLICTS_INSTALL= ${PORTNAME}-qt4
OPTIONS_SLAVE= QT5
OPTIONS_EXCLUDE=${OPTIONS_MULTI_COMP}
OPTIONS_EXCLUDE=CLI FUSE
.include "${MASTERDIR}/Makefile"

View File

@ -19,18 +19,12 @@ USES= cmake compiler:c++11-lib localbase:ldflags pkgconfig
CMAKE_ON= USB_BACKEND_LIBUSB
PLIST_FILES= "@comment lib/libmtp-ng-static.a"
OPTIONS_DEFAULT=CLI FUSE
OPTIONS_MULTI= COMP
OPTIONS_MULTI_COMP= CLI FUSE
OPTIONS_RADIO= GUI
OPTIONS_RADIO_GUI= QT QT5
OPTIONS_SLAVE:= ${OPTIONS_SLAVE} ${OPTIONS_SLAVE:MQT*:C/.+/QT/} # XXX ports/202701
OPTIONS_EXCLUDE:= ${OPTIONS_EXCLUDE} ${OPTIONS_RADIO_GUI}
OPTIONS_DEFINE= CLI FUSE QT5
OPTIONS_DEFAULT=CLI FUSE QT5
OPTIONS_EXCLUDE?= QT5 # enslaved until subpackaging
# XXX http://lists.dragonflybsd.org/pipermail/users/2016-September/313064.html
OPTIONS_EXCLUDE_DragonFly= FUSE
COMP_DESC= Components
CLI_DESC= CLI (Command-Line Interface) support
CLI_USES= readline
CLI_PLIST_FILES=bin/aft-mtp-cli
@ -39,17 +33,15 @@ FUSE_USES= fuse
FUSE_CMAKE_BOOL=BUILD_FUSE
FUSE_PLIST_FILES=bin/aft-mtp-mount
QT_CMAKE_BOOL= BUILD_QT_UI
QT_PLIST_FILES= bin/android-file-transfer \
QT5_USES= qt:5
QT5_USE= QT=qmake_build,buildtools_build,core,gui,widgets
QT5_CMAKE_BOOL= BUILD_QT_UI
QT5_CMAKE_ON= -DDESIRED_QT_VERSION:STRING=5
QT5_PLIST_FILES= bin/android-file-transfer \
share/applications/android-file-transfer.desktop \
share/icons/hicolor/512x512/apps/android-file-transfer.png \
share/metainfo/android-file-transfer.appdata.xml
QT5_USES= qt:5
QT5_USE= QT=qmake_build,buildtools_build,core,gui,widgets
QT5_CMAKE_ON= -DDESIRED_QT_VERSION:STRING=5
QT5_IMPLIES= QT
post-patch:
@${REINPLACE_CMD} '/set.*AFT_VERSION/s/".*"/"${GH_TAGNAME}"/' \
${WRKSRC}/CMakeLists.txt