svn commit: r302758 - in head/multimedia/qmmp-plugin-pack: . files
Guido Falsi
madpilot at FreeBSD.org
Sun Aug 19 12:47:14 UTC 2012
Author: madpilot
Date: Sun Aug 19 12:47:12 2012
New Revision: 302758
URL: http://svn.freebsd.org/changeset/ports/302758
Log:
- 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 at gmail.com> (maintainer)
Approved by: crees, tabthorpe (mentors, implicit)
Added:
head/multimedia/qmmp-plugin-pack/files/
head/multimedia/qmmp-plugin-pack/files/patch-SET_RPATH (contents, props changed)
Modified:
head/multimedia/qmmp-plugin-pack/Makefile (contents, props changed)
head/multimedia/qmmp-plugin-pack/distinfo (contents, props changed)
Modified: head/multimedia/qmmp-plugin-pack/Makefile
==============================================================================
--- head/multimedia/qmmp-plugin-pack/Makefile Sun Aug 19 11:59:27 2012 (r302757)
+++ head/multimedia/qmmp-plugin-pack/Makefile Sun Aug 19 12:47:12 2012 (r302758)
@@ -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
.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
Modified: head/multimedia/qmmp-plugin-pack/distinfo
==============================================================================
--- head/multimedia/qmmp-plugin-pack/distinfo Sun Aug 19 11:59:27 2012 (r302757)
+++ head/multimedia/qmmp-plugin-pack/distinfo Sun Aug 19 12:47:12 2012 (r302758)
@@ -1,2 +1,2 @@
-SHA256 (qmmp-plugin-pack-0.6.0.tar.bz2) = 47fe88ef372e5407a33fdd6d0fdfdc78eab9a746aa5c570b2f489836576ae9e1
-SIZE (qmmp-plugin-pack-0.6.0.tar.bz2) = 268941
+SHA256 (qmmp-plugin-pack-0.6.2.tar.bz2) = 8f241b94a3671a27d1d1f5d4695469760a52dcaafdc5e97f069b932ccb2ed41c
+SIZE (qmmp-plugin-pack-0.6.2.tar.bz2) = 121619
Added: head/multimedia/qmmp-plugin-pack/files/patch-SET_RPATH
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/multimedia/qmmp-plugin-pack/files/patch-SET_RPATH Sun Aug 19 12:47:12 2012 (r302758)
@@ -0,0 +1,10 @@
+--- CMakeLists.txt.orig 2012-07-23 03:56:51.000000000 +0900
++++ CMakeLists.txt 2012-07-24 07:13:44.000000000 +0900
+@@ -3,6 +3,7 @@
+ #freebsd include
+ include_directories(SYSTEM /usr/include /usr/local/include)
+
++SET(CMAKE_INSTALL_RPATH_USE_LINK_PATH TRUE)
+
+ CONFIGURE_FILE(
+ "${CMAKE_CURRENT_SOURCE_DIR}/cmake_uninstall.cmake.in"
More information about the svn-ports-all
mailing list