summaryrefslogtreecommitdiff
path: root/multimedia/qmmp-plugin-pack/Makefile
diff options
context:
space:
mode:
authorGuido Falsi <madpilot@FreeBSD.org>2012-08-19 12:47:12 +0000
committerGuido Falsi <madpilot@FreeBSD.org>2012-08-19 12:47:12 +0000
commit0fed221fdfd4f695c5d754cbe62d4936b70a2c5e (patch)
tree2ab2c99f2322529f6f9dab3f058caea5c04e552c /multimedia/qmmp-plugin-pack/Makefile
parent- Update to 0.6.3 (diff)
- Update to 0.6.2
- Add build dependency on pkgconfig - Add option controlling asm optimizations (only for i386 and amd64, defaults to on) - While here fix usage of ${ARCH} PR: ports/170668 Submitted by: RyoTa SimaMoto <liangtai.s4@gmail.com> (maintainer) Approved by: crees, tabthorpe (mentors, implicit)
Notes
Notes: svn path=/head/; revision=302758
Diffstat (limited to 'multimedia/qmmp-plugin-pack/Makefile')
-rw-r--r--multimedia/qmmp-plugin-pack/Makefile16
1 files changed, 12 insertions, 4 deletions
diff --git a/multimedia/qmmp-plugin-pack/Makefile b/multimedia/qmmp-plugin-pack/Makefile
index 3b5c19aaf3ed..96bdf4d78400 100644
--- a/multimedia/qmmp-plugin-pack/Makefile
+++ b/multimedia/qmmp-plugin-pack/Makefile
@@ -6,7 +6,7 @@
#
PORTNAME= qmmp-plugin-pack
-PORTVERSION= 0.6.0
+PORTVERSION= 0.6.2
CATEGORIES= multimedia
MASTER_SITES= http://qmmp.ylsoftware.com/files/plugins/ \
http://qmmp.googlecode.com/files/
@@ -23,13 +23,18 @@ USE_BZIP2= yes
USE_CMAKE= yes
USE_QT4= corelib gui qmake_build rcc_build moc_build linguist_build
USE_LDCONFIG= yes
+USE_PKGCONFIG= build
-OPTIONS_MULTI= PLUGINS
-OPTIONS_MULTI_PLUGINS= FFAP MPG123 QSUI
+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
+OPTIONS_DEFINE_i386= FFAPASM
+OPTIONS_DEFAULT_i386= FFAPASM
+OPTIONS_DEFINE_amd64= FFAPASM
+OPTIONS_DEFAULT_amd64= FFAPASM
+FFAPASM_DESC= Optimize FFap decoder using devel/yasm
.include <bsd.port.options.mk>
@@ -55,8 +60,11 @@ PLUGIN_OPTIONS_CMAKE+= -DUSE_MPG123:BOOL=FALSE
.if ${PORT_OPTIONS:MFFAP}
PLIST_SUB+= FFAP=""
-. if ${ARCH} == i386 || ${ARCH} == x86_64
+. 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+= tag:${PORTSDIR}/audio/taglib
PLUGIN_OPTIONS_CMAKE+= -DUSE_FFAP:BOOL=TRUE