Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 13 Nov 2013 13:12:00 +0000 (UTC)
From:      William Grzybowski <wg@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r333683 - head/multimedia/qmmp-plugin-pack
Message-ID:  <201311131312.rADDC0dB035030@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: wg
Date: Wed Nov 13 13:12:00 2013
New Revision: 333683
URL: http://svnweb.freebsd.org/changeset/ports/333683

Log:
  multimedia/qmmp-plugin-pack: update to 0.7.3
  
  - Update to 0.7.3
  - Use options helpers
  
  PR:		ports/183919
  Submitted by:	maintainer

Modified:
  head/multimedia/qmmp-plugin-pack/Makefile
  head/multimedia/qmmp-plugin-pack/distinfo

Modified: head/multimedia/qmmp-plugin-pack/Makefile
==============================================================================
--- head/multimedia/qmmp-plugin-pack/Makefile	Wed Nov 13 13:11:02 2013	(r333682)
+++ head/multimedia/qmmp-plugin-pack/Makefile	Wed Nov 13 13:12:00 2013	(r333683)
@@ -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
+
+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
 
-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
-
-.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>

Modified: head/multimedia/qmmp-plugin-pack/distinfo
==============================================================================
--- head/multimedia/qmmp-plugin-pack/distinfo	Wed Nov 13 13:11:02 2013	(r333682)
+++ head/multimedia/qmmp-plugin-pack/distinfo	Wed Nov 13 13:12:00 2013	(r333683)
@@ -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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201311131312.rADDC0dB035030>