aboutsummaryrefslogtreecommitdiff
path: root/multimedia/qmmp-plugin-pack
diff options
context:
space:
mode:
authorWilliam Grzybowski <wg@FreeBSD.org>2013-11-13 13:12:00 +0000
committerWilliam Grzybowski <wg@FreeBSD.org>2013-11-13 13:12:00 +0000
commit8ab51238643e19d7e9f693e06dc453c7ecb549d6 (patch)
tree4fed4377c3bb6e1f85b0a17682492181aa1fbb4a /multimedia/qmmp-plugin-pack
parent62a4d3857171b4b2d41368f1c8af5e8c334555c6 (diff)
downloadports-8ab51238643e19d7e9f693e06dc453c7ecb549d6.tar.gz
ports-8ab51238643e19d7e9f693e06dc453c7ecb549d6.zip
Notes
Diffstat (limited to 'multimedia/qmmp-plugin-pack')
-rw-r--r--multimedia/qmmp-plugin-pack/Makefile63
-rw-r--r--multimedia/qmmp-plugin-pack/distinfo4
2 files changed, 21 insertions, 46 deletions
diff --git a/multimedia/qmmp-plugin-pack/Makefile b/multimedia/qmmp-plugin-pack/Makefile
index 1d645e69a33c..3739f328b2e5 100644
--- a/multimedia/qmmp-plugin-pack/Makefile
+++ b/multimedia/qmmp-plugin-pack/Makefile
@@ -1,7 +1,7 @@
# $FreeBSD$
PORTNAME= qmmp-plugin-pack
-PORTVERSION= 0.7.2
+PORTVERSION= 0.7.3
CATEGORIES= multimedia
MASTER_SITES= http://qmmp.ylsoftware.com/files/plugins/ \
http://qmmp.googlecode.com/files/
@@ -19,65 +19,40 @@ USES= cmake:outsource pkgconfig
USE_QT4= corelib gui qmake_build rcc_build moc_build linguist_build
USE_LDCONFIG= yes
+OPTIONS_SUB= yes
OPTIONS_DEFINE= FFAP MPG123 QSUI
OPTIONS_DEFAULT= FFAP MPG123 QSUI
+
FFAP_DESC= Support APE sound file
-MPG123_DESC= Support libmpg123 (MPEG v1/2 layer1/2/3)
-QSUI_DESC= Simple UI based on standard widgets set
+FFAP_LIB_DEPENDS= libtag.so:${PORTSDIR}/audio/taglib
+FFAP_CMAKE_ON= -DUSE_FFAP:BOOL=TRUE
+FFAP_CMAKE_OFF= -DUSE_FFAP:BOOL=FALSE
OPTIONS_DEFINE_i386= FFAPASM
OPTIONS_DEFAULT_i386= FFAPASM
OPTIONS_DEFINE_amd64= FFAPASM
OPTIONS_DEFAULT_amd64= FFAPASM
FFAPASM_DESC= Optimize FFap decoder using devel/yasm
+FFAPASM_BUILD_DEPENDS= yasm:${PORTSDIR}/devel/yasm
+FFAPASM_CMAKE_ON= -DUSE_ASM:BOOL=TRUE
+FFAPASM_CMAKE_OFF= -DUSE_ASM:BOOL=FALSE
-NO_STAGE= yes
-.include <bsd.port.options.mk>
-
-.if ${PORT_OPTIONS:MQSUI}
-USE_QT4+= network
-PLIST_SUB+= QSUI=""
-PLUGIN_OPTIONS_CMAKE+= -DUSE_QSUI:BOOL=TRUE
-.else
-PLIST_SUB+= QSUI="@comment "
-PLUGIN_OPTIONS_CMAKE+= -DUSE_QSUI:BOOL=FALSE
-.endif
+MPG123_LIB_DEPENDS= libmpg123.so:${PORTSDIR}/audio/mpg123
+MPG123_USE= QT4=uic_build
+MPG123_CMAKE_ON= -DUSE_MPG123:BOOL=TRUE
+MPG123_CMAKE_OFF= -DUSE_MPG123:BOOL=FALSE
-.if ${PORT_OPTIONS:MMPG123}
-PLIST_SUB+= MPG123=""
-LIB_DEPENDS+= libmpg123.so:${PORTSDIR}/audio/mpg123
-PLUGIN_OPTIONS_CMAKE+= -DUSE_MPG123:BOOL=TRUE
-.else
-PLIST_SUB+= MPG123="@comment "
-PLUGIN_OPTIONS_CMAKE+= -DUSE_MPG123:BOOL=FALSE
-.endif
+QSUI_DESC= Simple UI based on standard widgets set
+QSUI_USE= QT4=network,uic_build
+QSUI_CMAKE_ON= -DUSE_QSUI:BOOL=TRUE
+QSUI_CMAKE_OFF= -DUSE_QSUI:BOOL=FALSE
.include <bsd.port.pre.mk>
-.if ${PORT_OPTIONS:MFFAP}
-PLIST_SUB+= FFAP=""
-. if (${ARCH} == i386 || ${ARCH} == amd64) && ${PORT_OPTIONS:MFFAPASM}
-BUILD_DEPENDS+= yasm:${PORTSDIR}/devel/yasm
-PLUGIN_OPTIONS_CMAKE+= -DUSE_ASM:BOOL=TRUE
-. else
-PLUGIN_OPTIONS_CMAKE+= -DUSE_ASM:BOOL=FALSE
-. endif
-LIB_DEPENDS+= libtag.so:${PORTSDIR}/audio/taglib
-PLUGIN_OPTIONS_CMAKE+= -DUSE_FFAP:BOOL=TRUE
-.else
-PLIST_SUB+= FFAP="@comment "
-PLUGIN_OPTIONS_CMAKE+= -DUSE_FFAP:BOOL=FALSE
-.endif
-
-.if ${PORT_OPTIONS:MQSUI} || ${PORT_OPTIONS:MMPG123}
-USE_QT4+= uic_build
-.endif
-
-CMAKE_ARGS+= ${PLUGIN_OPTIONS_CMAKE} \
- -DCMAKE_REQUIRED_INCLUDES:PATH=${LOCALBASE}/include
+CMAKE_ARGS+= -DCMAKE_REQUIRED_INCLUDES:PATH=${LOCALBASE}/include
CFLAGS+= -I${LOCALBASE}/include
LDFLAGS+= -L${LOCALBASE}/lib
pre-configure:
- ${RM} -f ${BUILD_WRKSRC}/CMakeCache.txt
+ @${RM} -f ${BUILD_WRKSRC}/CMakeCache.txt
.include <bsd.port.post.mk>
diff --git a/multimedia/qmmp-plugin-pack/distinfo b/multimedia/qmmp-plugin-pack/distinfo
index ce52f6c806d5..e30b99fdd506 100644
--- a/multimedia/qmmp-plugin-pack/distinfo
+++ b/multimedia/qmmp-plugin-pack/distinfo
@@ -1,2 +1,2 @@
-SHA256 (qmmp-plugin-pack-0.7.2.tar.bz2) = ff35e1576aa91082496433c4ea22984469eb7810ec0ab7a1d99a7510066cad2d
-SIZE (qmmp-plugin-pack-0.7.2.tar.bz2) = 135630
+SHA256 (qmmp-plugin-pack-0.7.3.tar.bz2) = fd07f480a5b1affdd4c82a49c27a00c3cddfa58f7cc8e9081b8e35c4518ae4b2
+SIZE (qmmp-plugin-pack-0.7.3.tar.bz2) = 135705