ports/59076: An update for multimedia/xmms port (new knob)
oleg dashevskii
be9-ml at be9.ru
Sun Nov 9 12:20:20 UTC 2003
>Number: 59076
>Category: ports
>Synopsis: An update for multimedia/xmms port (new knob)
>Confidential: no
>Severity: non-critical
>Priority: medium
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: update
>Submitter-Id: current-users
>Arrival-Date: Sun Nov 09 04:20:16 PST 2003
>Closed-Date:
>Last-Modified:
>Originator: oleg dashevskii
>Release: FreeBSD 4.8-STABLE i386
>Organization:
IAE SB RAS
>Environment:
System: FreeBSD lab15.iae.nsk.su 4.8-STABLE FreeBSD 4.8-STABLE #0: Thu Aug 14 18:38:32 NOVST 2003 od at lab15.iae.nsk.su:/usr/obj/usr/src/sys/LAB15 i386
>Description:
Introducing a new Makefile knob: WITH_ENCODING_PATCH
Allows for automatic Russian encoding detection in ID3 tags, filenames, etc
The knob will be used by russian/xmms port which comes in the next PR.
>How-To-Repeat:
>Fix:
--- xmms.patch begins here ---
diff -urN /usr/ports/multimedia/xmms/Makefile xmms/Makefile
--- /usr/ports/multimedia/xmms/Makefile Fri Oct 31 15:58:40 2003
+++ xmms/Makefile Sun Nov 9 17:52:35 2003
@@ -9,9 +9,10 @@
PORTVERSION= 1.2.8
PORTREVISION= 2
CATEGORIES+= multimedia audio ipv6
-MASTER_SITES= ftp://ftp.xmms.org/pub/xmms/1.2.x/ \
- http://www.xmms.org/files/1.2.x/ \
- ftp://ftp.sunet.se/pub/multimedia/xmms/1.2.x/
+MASTER_SITES= ftp://ftp.xmms.org/pub/xmms/1.2.x/:dist \
+ http://www.xmms.org/files/1.2.x/:dist \
+ ftp://ftp.sunet.se/pub/multimedia/xmms/1.2.x/:dist
+DISTFILES= ${DISTNAME}${EXTRACT_SUFX}:dist
MAINTAINER?= esk at ira.uka.de
COMMENT?= X Multimedia System --- An audio player with a Winamp GUI
@@ -39,6 +40,13 @@
PLIST_SUB= DATADIR="share"
+.if defined(WITH_ENCODING_PATCH)
+PATCHLEVEL= 22.2
+DISTFILES+= ${PORTNAME}-${PORTVERSION}-recode-csa${PATCHLEVEL}${EXTRACT_SUFX}:patch
+MASTER_SITE_SUBDIR= /:dist rusxmms:patch
+MASTER_SITES+= ${MASTER_SITE_SOURCEFORGE:S/$/:patch/}
+.endif
+
.include <bsd.port.pre.mk>
CONFIGURE_ARGS+= --enable-ipv6
@@ -111,6 +119,9 @@
.endif
post-patch:
+.if defined(WITH_ENCODING_PATCH)
+ @${PATCH} -s -p1 -d ${WRKSRC} < ${WRKDIR}/xmms-ds-recode.patch
+.endif
@find ${WRKSRC} -name "Makefile.in*" | xargs ${REINPLACE_CMD} -e \
's|\(datadir\)/aclocal|(prefix)/share/aclocal|g'
@${REINPLACE_CMD} -e 's|{datadir}/locale|{prefix}/share/locale|g' \
diff -urN /usr/ports/multimedia/xmms/distinfo xmms/distinfo
--- /usr/ports/multimedia/xmms/distinfo Fri Oct 31 15:58:40 2003
+++ xmms/distinfo Sun Nov 9 17:44:49 2003
@@ -1 +1,2 @@
MD5 (xmms-1.2.8.tar.bz2) = d523735b59232f0eedd45dc2b7a4f5ad
+MD5 (xmms-1.2.8-recode-csa22.2.tar.bz2) = c312257adb8d05d4f597a0c8c8c8d40e
--- xmms.patch ends here ---
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list