ports/144807: Update port: audio/cueplayer up to 0.23

Gvozdikov Veniamin g.veniamin at googlemail.com
Tue Mar 16 23:30:08 UTC 2010


>Number:         144807
>Category:       ports
>Synopsis:       Update port: audio/cueplayer up to 0.23
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Tue Mar 16 23:30:06 UTC 2010
>Closed-Date:
>Last-Modified:
>Originator:     Gvozdikov Veniamin
>Release:        FreeBSD 8.0-STABLE
>Organization:
>Environment:
FreeBSD zlobook.local 8.0-STABLE FreeBSD 8.0-STABLE #6: Sat Mar  6 11:56:08 KRAT 2010     root at zlobook.local:/usr/obj/usr/src/sys/zlobook_amd64  amd64
>Description:
New:
-Auto encoding cue file. (CP-1251/UTF8)
-Limit the number of cue tracks on the standard. (99)
-New tray menu
-Trey notice for cue
-ogg 500kbs
-Converter into ogg / vorbis.
-Client-server model.
-Optional display of video in the main window.
-Added Polish translation
>How-To-Repeat:

>Fix:
diff -ruN cueplayer.old/Makefile cueplayer/Makefile
--- cueplayer.old/Makefile	2010-03-17 06:17:20.000000000 +0700
+++ cueplayer/Makefile	2010-03-17 06:05:23.000000000 +0700
@@ -6,7 +6,7 @@
 #
 
 PORTNAME=	cueplayer
-PORTVERSION=	0.21
+PORTVERSION=	0.23
 CATEGORIES=	audio
 MASTER_SITES=	${MASTER_SITE_GOOGLE_CODE}
 DISTNAME=	${PORTNAME}-${PORTVERSION}
@@ -16,22 +16,23 @@
 
 USE_QT_VER=	4
 QT_COMPONENTS=	gui xml qmake_build uic_build moc_build rcc_build network
-USE_GSTREAMER=	yes
+USE_GSTREAMER=	flac good dvd lame ugly ffmpeg taglib ogg vorbis soup libmms wavpack
+QMAKE_ARGS=	PREFIX=${PREFIX}
 
 DESKTOP_ENTRIES="Cueplayer" "Lightweight media player based on Qt and Gstreamer" \
-		"${DATADIR}/knotify.png" "${PORTNAME}" \
+		"${DATADIR}/${PORTNAME}.png" "${PORTNAME}" \
 		"AudioVideo;Audio;Video;" ${FALSE}
 
 post-patch:
-	${REINPLACE_CMD} -e 's,images/,share/${PORTNAME}/,g' \
-		${WRKSRC}/*.cpp
+	cd ${WRKSRC} && ${REINPLACE_CMD} -e 's,/usr/share/cueplayer/,${DATADIR}/,g' \
+		main.cpp ${PORTNAME}.pro
+	${REINPLACE_CMD} -e 's,/usr/share,${PREFIX},g' \
+		${WRKSRC}/${PORTNAME}.pro
 
 do-configure:
-	cd ${WRKSRC} && ${QMAKE}
+	cd ${WRKSRC} && ${QMAKE} ${QMAKE_ARGS}
 
-do-install:
-	${MKDIR} ${DATADIR}
-	${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${PREFIX}/bin/${PORTNAME}
-	${INSTALL_DATA} ${WRKSRC}/images/*.png ${DATADIR}
+post-install:
+	${INSTALL_DATA} ${WRKSRC}/images/${PORTNAME}.png ${DATADIR}
 
 .include <bsd.port.mk>
diff -ruN cueplayer.old/distinfo cueplayer/distinfo
--- cueplayer.old/distinfo	2010-03-17 06:17:20.000000000 +0700
+++ cueplayer/distinfo	2010-03-16 21:08:10.000000000 +0700
@@ -1,3 +1,3 @@
-MD5 (cueplayer-0.21.tar.gz) = fd6006d5083ff7e4523cbbd9727ee970
-SHA256 (cueplayer-0.21.tar.gz) = 75079618000c5072e36d70e82c896a7dbc750a5e7b3d9482f98c62f837db3a3d
-SIZE (cueplayer-0.21.tar.gz) = 68338
+MD5 (cueplayer-0.23.tar.gz) = de3e0149fe9e3b2a23c5f22b30a912ff
+SHA256 (cueplayer-0.23.tar.gz) = 7dbd1cfa02efde2abb5fdbe34e6af0cb48e88cb7008548be314559f835de2bb2
+SIZE (cueplayer-0.23.tar.gz) = 81580
diff -ruN cueplayer.old/pkg-plist cueplayer/pkg-plist
--- cueplayer.old/pkg-plist	2010-03-17 06:17:20.000000000 +0700
+++ cueplayer/pkg-plist	2010-03-17 06:09:16.000000000 +0700
@@ -1,20 +1,5 @@
 bin/cueplayer
-%%DATADIR%%/application-exit.png
-%%DATADIR%%/convertor.png
-%%DATADIR%%/fileopen.png
-%%DATADIR%%/format-indent-more.png
-%%DATADIR%%/format-list-unordered.png
-%%DATADIR%%/help-about.png
-%%DATADIR%%/hint.png
-%%DATADIR%%/knotify.png
-%%DATADIR%%/media-optical.png
-%%DATADIR%%/net-stream.png
-%%DATADIR%%/next.png
-%%DATADIR%%/pause.png
-%%DATADIR%%/play.png
-%%DATADIR%%/prev.png
-%%DATADIR%%/speaker.png
-%%DATADIR%%/stop.png
-%%DATADIR%%/text-field.png
-%%DATADIR%%/tool-animator.png
+%%DATADIR%%/loc/cueplayer_pl.qm
+%%DATADIR%%/cueplayer.png
+ at dirrm %%DATADIR%%/loc
 @dirrm %%DATADIR%%

>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list