aboutsummaryrefslogtreecommitdiffstats
path: root/multimedia/qmmp
diff options
context:
space:
mode:
authorwg <wg@FreeBSD.org>2013-10-20 19:57:52 +0800
committerwg <wg@FreeBSD.org>2013-10-20 19:57:52 +0800
commit8da0b1f40eaf5bc95093f777b92d90786641a463 (patch)
treefdb0347d09ab1450e58671d111b2b469f5aa3f0c /multimedia/qmmp
parent59bec88c88969b15305f918e87f677c93d724dce (diff)
downloadfreebsd-ports-gnome-8da0b1f40eaf5bc95093f777b92d90786641a463.tar.gz
freebsd-ports-gnome-8da0b1f40eaf5bc95093f777b92d90786641a463.tar.zst
freebsd-ports-gnome-8da0b1f40eaf5bc95093f777b92d90786641a463.zip
multimedia/qmmp: update to 0.7.3
- Update to 0.7.3 - Disable legacy ffmpeg - Fix staging PR: ports/177793 Submitted by: RyoTa SimaMoto <liangtai.s4 gmail.com> (maintainer)
Diffstat (limited to 'multimedia/qmmp')
-rw-r--r--multimedia/qmmp/Makefile26
-rw-r--r--multimedia/qmmp/distinfo4
-rw-r--r--multimedia/qmmp/pkg-plist1
3 files changed, 17 insertions, 14 deletions
diff --git a/multimedia/qmmp/Makefile b/multimedia/qmmp/Makefile
index 9e24ed6416a4..277d584f90d4 100644
--- a/multimedia/qmmp/Makefile
+++ b/multimedia/qmmp/Makefile
@@ -1,7 +1,7 @@
# $FreeBSD$
PORTNAME= qmmp
-PORTVERSION= 0.7.2
+PORTVERSION= 0.7.3
CATEGORIES= multimedia
MASTER_SITES= http://qmmp.ylsoftware.com/files/ \
${MASTER_SITE_GOOGLE_CODE}
@@ -17,6 +17,7 @@ USE_QT4= corelib gui network xml \
qmake_build rcc_build uic_build moc_build linguist_build
USE_LDCONFIG= yes
+OPTIONS_SINGLE= MPLAYER
OPTIONS_SINGLE_MPLAYER= MPLAYER1 MPLAYER2
OPTIONS_DEFINE= ALSA ANALYZER APIDOC BS2B CDIO CONVERTER COPYPASTE \
COVER CROSSFADE CUE CURL DIR_ASSOC DOCS ENCA FAAD \
@@ -66,7 +67,6 @@ QMMP_DIALOG_DESC= An original dialog
MPLAYER1_DESC= mplayer-1.1.x (multimedia/mplayer)
MPLAYER2_DESC= mplayer-2.0.x (multimedia/mplayer2)
-NO_STAGE= yes
.include <bsd.port.options.mk>
.if ${PORT_OPTIONS:MAPIDOC}
@@ -153,6 +153,8 @@ PLIST_SUB+= GME="@comment "
PLUGIN_OPTIONS_CMAKE+= -DUSE_GME:BOOL=FALSE
.endif
+PLUGIN_OPTIONS_CMAKE+= -DUSE_FFMPEG_LEGACY:BOOL=FALSE
+
.if ${PORT_OPTIONS:MFFMPEG}
LIB_DEPENDS+= libavcodec.so:${PORTSDIR}/multimedia/ffmpeg
PLIST_SUB+= FFMPEG=""
@@ -541,20 +543,22 @@ post-build:
.endif
post-install:
- @${MKDIR} ${STAGEDIR}/${DOCSDIR}
- cd ${WRKSRC} && ${INSTALL_MAN} ${PORTDOCS} ${STAGEDIR}/${DOCSDIR}
+.if ${PORT_OPTIONS:MDOCS}
+ @${MKDIR} ${STAGEDIR}${DOCSDIR}; \
+ cd ${WRKSRC} && ${INSTALL_MAN} ${PORTDOCS} ${STAGEDIR}${DOCSDIR}
+.endif
.if ${PORT_OPTIONS:MAPIDOC}
- @${MKDIR} ${STAGEDIR}/${DOCSDIR}/html/search ; \
+ @${MKDIR} ${STAGEDIR}${DOCSDIR}/html/search ; \
cd ${WRKSRC}/doc/html && \
- ${INSTALL_MAN} *.html *.png *.css ${STAGEDIR}/${DOCSDIR}/html ; \
+ ${INSTALL_MAN} *.html *.png *.css ${STAGEDIR}${DOCSDIR}/html ; \
cd ${WRKSRC}/doc/html/search && \
- ${INSTALL_MAN} *.html *.png *.css *.js ${STAGEDIR}/${DOCSDIR}/html/search ; \
+ ${INSTALL_MAN} *.html *.png *.css *.js ${STAGEDIR}${DOCSDIR}/html/search ; \
${RM} -f ${WRKDIR}/PLIST.doc ; \
- ${FIND} ${STAGEDIR}/${DOCSDIR}/html -type f | \
- ${SED} 's|${STAGEDIR}/${PREFIX}/||' \
+ ${FIND} ${STAGEDIR}${DOCSDIR}/html -type f | \
+ ${SED} 's|${STAGEDIR}${PREFIX}/||' \
>> ${WRKDIR}/PLIST.doc ; \
- ${FIND} ${STAGEDIR}/${DOCSDIR}/html -type d | \
- ${SED} 's|${STAGEDIR}/${PREFIX}/|@dirrm |' \
+ ${FIND} ${STAGEDIR}${DOCSDIR}/html -type d | \
+ ${SED} 's|${STAGEDIR}${PREFIX}/|@dirrm |' \
| ${SORT} -r >> ${WRKDIR}/PLIST.doc ; \
cd ${WRKDIR} ; ${SED} -i -e '/PLIST.doc/ r PLIST.doc' ${TMPPLIST}
.endif
diff --git a/multimedia/qmmp/distinfo b/multimedia/qmmp/distinfo
index c4ec40c9a0b6..e9c230a49491 100644
--- a/multimedia/qmmp/distinfo
+++ b/multimedia/qmmp/distinfo
@@ -1,2 +1,2 @@
-SHA256 (qmmp-0.7.2.tar.bz2) = 8e6b50ced58e247972060bb5a5156ea2c74b03f33df92e87591d09f685b82081
-SIZE (qmmp-0.7.2.tar.bz2) = 847558
+SHA256 (qmmp-0.7.3.tar.bz2) = 57e4e1a00450a5a094b290df5410f8ab5a80da364ad3f1402835573cb0b75562
+SIZE (qmmp-0.7.3.tar.bz2) = 848638
diff --git a/multimedia/qmmp/pkg-plist b/multimedia/qmmp/pkg-plist
index 51326d38e3e5..81c2d5193edf 100644
--- a/multimedia/qmmp/pkg-plist
+++ b/multimedia/qmmp/pkg-plist
@@ -81,7 +81,6 @@ lib/qmmp/CommandLineOptions/libstatusoption.so
%%CDIO%%lib/qmmp/Input/libcdaudio.so
%%CUE%%lib/qmmp/Input/libcue.so
%%FFMPEG%%lib/qmmp/Input/libffmpeg.so
-%%FFMPEG_LEGACY%%lib/qmmp/Input/libffmpeg_legacy.so
%%FLAC%%lib/qmmp/Input/libflac.so
%%MAD%%lib/qmmp/Input/libmad.so
%%MODPLUG%%lib/qmmp/Input/libmodplug.so