diff options
author | Thomas Zander <riggs@FreeBSD.org> | 2014-08-02 21:03:56 +0000 |
---|---|---|
committer | Thomas Zander <riggs@FreeBSD.org> | 2014-08-02 21:03:56 +0000 |
commit | 0be105295dc0662f47ab9a15f957e37009a71629 (patch) | |
tree | 29171744a1e76e5d9256cf9f00d735d9e11deee5 /multimedia/qmmp-plugin-pack | |
parent | 87a30f18c33211ca677f264a4a3c53f4c0459de1 (diff) | |
download | ports-0be105295dc0662f47ab9a15f957e37009a71629.tar.gz ports-0be105295dc0662f47ab9a15f957e37009a71629.zip |
Notes
Diffstat (limited to 'multimedia/qmmp-plugin-pack')
-rw-r--r-- | multimedia/qmmp-plugin-pack/Makefile | 23 | ||||
-rw-r--r-- | multimedia/qmmp-plugin-pack/distinfo | 4 | ||||
-rw-r--r-- | multimedia/qmmp-plugin-pack/pkg-plist | 4 |
3 files changed, 19 insertions, 12 deletions
diff --git a/multimedia/qmmp-plugin-pack/Makefile b/multimedia/qmmp-plugin-pack/Makefile index 52665b4ac5b7..ccc89779af0a 100644 --- a/multimedia/qmmp-plugin-pack/Makefile +++ b/multimedia/qmmp-plugin-pack/Makefile @@ -1,11 +1,9 @@ # $FreeBSD$ PORTNAME= qmmp-plugin-pack -PORTVERSION= 0.7.4 -PORTREVISION= 1 +PORTVERSION= 0.8.0 CATEGORIES= multimedia -MASTER_SITES= http://qmmp.ylsoftware.com/files/plugins/ \ - http://qmmp.googlecode.com/files/ +MASTER_SITES= http://qmmp.ylsoftware.com/files/plugins/ MAINTAINER= liangtai.s16@gmail.com COMMENT= Additional plug-ins for QMMP @@ -13,14 +11,17 @@ COMMENT= Additional plug-ins for QMMP LICENSE= GPLv2 LIB_DEPENDS= libqmmpui.so:${PORTSDIR}/multimedia/qmmp -BUILD_DEPENDS= qmmp>=0.7.0:${PORTSDIR}/multimedia/qmmp +BUILD_DEPENDS= qmmp>=0.8.0:${PORTSDIR}/multimedia/qmmp USES= cmake:outsource pkgconfig tar:bzip2 USE_QT4= corelib gui qmake_build rcc_build moc_build linguist_build USE_LDCONFIG= yes OPTIONS_SUB= yes -OPTIONS_DEFINE= FFAP MPG123 QSUI + +OPTIONS_MULTI= PLUGINS +OPTIONS_MULTI_PLUGINS= FFAP MPG123 QSUI + OPTIONS_DEFAULT= FFAP MPG123 QSUI FFAP_DESC= Support APE sound file @@ -50,9 +51,15 @@ CMAKE_ARGS+= -DCMAKE_REQUIRED_INCLUDES:PATH=${LOCALBASE}/include CFLAGS+= -I${LOCALBASE}/include LDFLAGS+= -L${LOCALBASE}/lib +.include <bsd.port.options.mk> + +.if ${PORT_OPTIONS:MFFAP} || ${PORT_OPTIONS:MMPG123} +PLIST_SUB+= INPUT="" +.else +PLIST_SUB+= INPUT="@comment " +.endif + pre-configure: @${RM} -f ${BUILD_WRKSRC}/CMakeCache.txt - @${REINPLACE_CMD} -e 's/IF[(]/&USE_QSUI AND /' \ - ${WRKSRC}/src/Ui/CMakeLists.txt .include <bsd.port.mk> diff --git a/multimedia/qmmp-plugin-pack/distinfo b/multimedia/qmmp-plugin-pack/distinfo index 319ef3959277..f62631a539da 100644 --- a/multimedia/qmmp-plugin-pack/distinfo +++ b/multimedia/qmmp-plugin-pack/distinfo @@ -1,2 +1,2 @@ -SHA256 (qmmp-plugin-pack-0.7.4.tar.bz2) = 6e3559519925cb488a79be078c75de5a5f3f58cb893f055b8422aa37bea32144 -SIZE (qmmp-plugin-pack-0.7.4.tar.bz2) = 136618 +SHA256 (qmmp-plugin-pack-0.8.0.tar.bz2) = 9cde3320115d1f70d34e336d38e5cb6646a9e347b62efae5f958925eadc5d25d +SIZE (qmmp-plugin-pack-0.8.0.tar.bz2) = 154739 diff --git a/multimedia/qmmp-plugin-pack/pkg-plist b/multimedia/qmmp-plugin-pack/pkg-plist index cf788bb1a928..7908e231678e 100644 --- a/multimedia/qmmp-plugin-pack/pkg-plist +++ b/multimedia/qmmp-plugin-pack/pkg-plist @@ -1,6 +1,6 @@ %%FFAP%%lib/qmmp/Input/libffap.so %%MPG123%%lib/qmmp/Input/libmpg123.so %%QSUI%%lib/qmmp/Ui/libqsui.so -@dirrmtry lib/qmmp/Input -@dirrmtry lib/qmmp/Ui +%%INPUT%%@dirrmtry lib/qmmp/Input +%%QSUI%%@dirrmtry lib/qmmp/Ui @dirrmtry lib/qmmp |