Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 9 May 2016 17:39:55 +0000 (UTC)
From:      Olivier Duchateau <olivierd@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r414874 - head/multimedia/qmmp-plugin-pack-qt5
Message-ID:  <201605091739.u49HdtSM059697@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: olivierd
Date: Mon May  9 17:39:55 2016
New Revision: 414874
URL: https://svnweb.freebsd.org/changeset/ports/414874

Log:
  - Update to 1.0.3 [2]
  - Adjust dependencies [1], [2]
  
  Fix build with TagLib < 1.11, otherwise MPG123 and FFAP options are not build
  anymore.
  
  PR:		209248
  Submitted by:	<liangtai.s16@gmail.com> (maintainer) [1], myself [2]

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

Modified: head/multimedia/qmmp-plugin-pack-qt5/Makefile
==============================================================================
--- head/multimedia/qmmp-plugin-pack-qt5/Makefile	Mon May  9 17:30:06 2016	(r414873)
+++ head/multimedia/qmmp-plugin-pack-qt5/Makefile	Mon May  9 17:39:55 2016	(r414874)
@@ -1,7 +1,7 @@
 # $FreeBSD$
 
 PORTNAME=	qmmp-plugin-pack
-PORTVERSION=	1.0.2
+PORTVERSION=	1.0.3
 CATEGORIES=	multimedia
 MASTER_SITES=	http://qmmp.ylsoftware.com/files/plugins/ \
 	SF/qmmp-dev/${PORTNAME}/
@@ -18,14 +18,13 @@ LIB_DEPENDS=	libqmmpui.so:multimedia/qmm
 BUILD_DEPENDS=	qmmp-qt5>=1.0.0:multimedia/qmmp-qt5
 
 USES=		cmake:outsource pkgconfig tar:bzip2
-USE_QT5=	core gui qmake_build buildtools_build linguisttools_build
+USE_QT5=	core gui buildtools_build linguisttools_build qmake_build
 USE_LDCONFIG=	yes
 
 OPTIONS_SUB=	yes
 
 OPTIONS_MULTI=	PLUGINS
 OPTIONS_MULTI_PLUGINS=	FFAP MPG123 XMP
-
 OPTIONS_DEFAULT=	FFAP MPG123 XMP
 
 FFAP_DESC=		Support APE sound file
@@ -41,7 +40,8 @@ FFAPASM_BUILD_DEPENDS=	yasm:devel/yasm
 FFAPASM_CMAKE_ON=	-DUSE_ASM:BOOL=TRUE
 FFAPASM_CMAKE_OFF=	-DUSE_ASM:BOOL=FALSE
 
-MPG123_LIB_DEPENDS=	libmpg123.so:audio/mpg123
+MPG123_LIB_DEPENDS=	libmpg123.so:audio/mpg123 \
+			libtag.so:audio/taglib
 MPG123_CMAKE_ON=	-DUSE_MPG123:BOOL=TRUE
 MPG123_CMAKE_OFF=	-DUSE_MPG123:BOOL=FALSE
 
@@ -50,6 +50,12 @@ XMP_LIB_DEPENDS=	libxmp.so:audio/libxmp
 XMP_CMAKE_ON=	-DUSE_XMP:BOOL=TRUE
 XMP_CMAKE_OFF=	-DUSE_XMP:BOOL=FALSE
 
+# Downgrade TagLib, otherwise MPG123 and FFAP don't work!
+post-patch:
+	@${GREP} -l 'TAGLIB taglib>=1\.10\.0' \
+		${WRKSRC}/src/Input/CMakeLists.txt | ${XARGS} \
+		${REINPLACE_CMD} -e '/TAGLIB/s|1\.10\.0|1.9|'
+
 pre-configure:
 	@${RM} -f ${BUILD_WRKSRC}/CMakeCache.txt
 

Modified: head/multimedia/qmmp-plugin-pack-qt5/distinfo
==============================================================================
--- head/multimedia/qmmp-plugin-pack-qt5/distinfo	Mon May  9 17:30:06 2016	(r414873)
+++ head/multimedia/qmmp-plugin-pack-qt5/distinfo	Mon May  9 17:39:55 2016	(r414874)
@@ -1,2 +1,2 @@
-SHA256 (qmmp-plugin-pack-1.0.2.tar.bz2) = a3a309342fd5077c80bcba214a3d5df6f96135e9fae37d5d122e608557080767
-SIZE (qmmp-plugin-pack-1.0.2.tar.bz2) = 76533
+SHA256 (qmmp-plugin-pack-1.0.3.tar.bz2) = bb77cfdf3225413ad763bb4a47cf4cee030afbf41207879d78e0fe5575ee8892
+SIZE (qmmp-plugin-pack-1.0.3.tar.bz2) = 77610



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