aboutsummaryrefslogtreecommitdiff
path: root/multimedia/xmms
diff options
context:
space:
mode:
authorPav Lucistnik <pav@FreeBSD.org>2004-11-02 16:28:29 +0000
committerPav Lucistnik <pav@FreeBSD.org>2004-11-02 16:28:29 +0000
commit25854429100ac8dfa236ea85a8a6062683ff3306 (patch)
tree8eb2898abc593a39416da979efb8f3a167b8f707 /multimedia/xmms
parentee949e461600eac07ce9fc20a8bba7e4ecb1da7b (diff)
downloadports-25854429100ac8dfa236ea85a8a6062683ff3306.tar.gz
ports-25854429100ac8dfa236ea85a8a6062683ff3306.zip
Notes
Diffstat (limited to 'multimedia/xmms')
-rw-r--r--multimedia/xmms/Makefile20
-rw-r--r--multimedia/xmms/distinfo8
-rw-r--r--multimedia/xmms/pkg-plist4
3 files changed, 26 insertions, 6 deletions
diff --git a/multimedia/xmms/Makefile b/multimedia/xmms/Makefile
index d9f8c1acd862..27ccb603b4cb 100644
--- a/multimedia/xmms/Makefile
+++ b/multimedia/xmms/Makefile
@@ -7,6 +7,7 @@
PORTNAME= xmms
PORTVERSION= 1.2.10
+PORTREVISION= 1
CATEGORIES+= multimedia audio ipv6
MASTER_SITES= http://www.xmms.org/files/1.2.x/ \
ftp://ftp.sunet.se/pub/multimedia/xmms/1.2.x/
@@ -17,7 +18,7 @@ COMMENT?= X Multimedia System --- An audio player with a Winamp GUI
USE_BZIP2= yes
USE_X_PREFIX= yes
-USE_GNOME= gtk12 gnomehack libxml
+USE_GNOME= gtk12 gnomehack
USE_REINPLACE= yes
WANT_GNOME= yes
USE_GMAKE= yes
@@ -43,13 +44,19 @@ PLIST_SUB= DATADIR="share"
CONFIGURE_ARGS+= --enable-ipv6
-.if defined(WITH_ENCODING_PATCH)
-ENC_PATCHLEVEL= 27.3
+.if defined(WITH_ENCODING_PATCH) || defined(WITH_ID3V2_PATCH)
+ENC_PATCHLEVEL= 27.4
DISTFILES+= ${PORTNAME}-${PORTVERSION}-recode-csa${ENC_PATCHLEVEL}${EXTRACT_SUFX}:enc
MASTER_SITES+= ${MASTER_SITE_SOURCEFORGE:S/$/:enc/}
MASTER_SITE_SUBDIR+= rusxmms/:enc
.endif
+.if defined(WITH_ENCODING_PATCH)
+PLIST_SUB+= ENCODING=""
+.else
+PLIST_SUB+= ENCODING="@comment "
+.endif
+
.if !defined(WITHOUT_MIKMOD)
LIB_DEPENDS+= mikmod.2:${PORTSDIR}/audio/libmikmod
INPUT_PLUGINS+= mikmod
@@ -119,7 +126,12 @@ pre-extract:
.endif
post-patch:
-.if defined(WITH_ENCODING_PATCH)
+.if defined(WITH_ID3V2_PATCH)
+ @${PATCH} -s -p1 -d ${WRKSRC} < ${WRKDIR}/recode.3rdparty/id3v2.patch
+.endif
+.if defined(WITH_ENCODING_PATCH) && defined(WITH_ID3V2_PATCH)
+ @${PATCH} -s -p1 -d ${WRKSRC} < ${WRKDIR}/xmms_id3v2-ds-recode.patch
+.elif defined(WITH_ENCODING_PATCH)
@${PATCH} -s -p1 -d ${WRKSRC} < ${WRKDIR}/xmms-ds-recode.patch
.endif
@${FIND} ${WRKSRC} -name "Makefile.in*" | ${XARGS} ${REINPLACE_CMD} -e \
diff --git a/multimedia/xmms/distinfo b/multimedia/xmms/distinfo
index 253c0587a019..6b26dae25c40 100644
--- a/multimedia/xmms/distinfo
+++ b/multimedia/xmms/distinfo
@@ -1,4 +1,8 @@
+SHA1 (xmms-1.2.10.tar.bz2) = a3c3d3756d5263183c27b3c50a7f5404cba8bfaf
+RMD160 (xmms-1.2.10.tar.bz2) = 0360cbb8c326b3325bd8ebb3343c69a9788d7084
MD5 (xmms-1.2.10.tar.bz2) = 03a85cfc5e1877a2e1f7be4fa1d3f63c
SIZE (xmms-1.2.10.tar.bz2) = 2418265
-MD5 (xmms-1.2.10-recode-csa27.3.tar.bz2) = 216715cb72450244d3c6ec70dc7e8903
-SIZE (xmms-1.2.10-recode-csa27.3.tar.bz2) = 246645
+SHA1 (xmms-1.2.10-recode-csa27.4.tar.bz2) = 342448386ebad1f1700df8816411acb739845203
+RMD160 (xmms-1.2.10-recode-csa27.4.tar.bz2) = 40cf6b8fae111ff11e390760bdeb7e4a6f57b8a4
+MD5 (xmms-1.2.10-recode-csa27.4.tar.bz2) = f782cd4251fb36c23519b3b6d2552156
+SIZE (xmms-1.2.10-recode-csa27.4.tar.bz2) = 281388
diff --git a/multimedia/xmms/pkg-plist b/multimedia/xmms/pkg-plist
index f49cbd6883a7..149e00cbfba2 100644
--- a/multimedia/xmms/pkg-plist
+++ b/multimedia/xmms/pkg-plist
@@ -1,11 +1,15 @@
bin/wmxmms
bin/xmms
bin/xmms-config
+%%ENCODING%%include/xmms/charset.h
+%%ENCODING%%include/xmms/charset_auto_russian.h
+%%ENCODING%%include/xmms/charset_config.h
include/xmms/configfile.h
include/xmms/dirbrowser.h
include/xmms/formatter.h
include/xmms/fullscreen.h
include/xmms/plugin.h
+%%ENCODING%%include/xmms/russian_table.h
include/xmms/titlestring.h
include/xmms/util.h
include/xmms/xmmsctrl.h