ports/131827: Update port: audio/xmms-mad to 0.10
KATO Tsuguru
tkato432 at yahoo.com
Wed Feb 18 17:30:04 UTC 2009
>Number: 131827
>Category: ports
>Synopsis: Update port: audio/xmms-mad to 0.10
>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: Wed Feb 18 17:30:03 UTC 2009
>Closed-Date:
>Last-Modified:
>Originator: KATO Tsuguru
>Release: FreeBSD 7.1-RELEASE-p1 i386
>Organization:
>Environment:
>Description:
- Update to version 0.10
Remove file:
files/patch-config::ltmain.sh
files/patch-src::input.c
>How-To-Repeat:
>Fix:
diff -urN /usr/ports/audio/xmms-mad/Makefile audio/xmms-mad/Makefile
--- /usr/ports/audio/xmms-mad/Makefile 2009-02-03 14:15:00.000000000 +0900
+++ audio/xmms-mad/Makefile 2009-02-10 05:11:43.000000000 +0900
@@ -6,8 +6,7 @@
#
PORTNAME= xmms-mad
-PORTVERSION= 0.1.1
-PORTREVISION= 6
+PORTVERSION= 0.10
CATEGORIES= audio
MASTER_SITES= SF
@@ -15,19 +14,22 @@
COMMENT= A XMMS input plugin that uses libmad
LIB_DEPENDS= mad.2:${PORTSDIR}/audio/libmad \
- id3tag.0:${PORTSDIR}/audio/libid3tag
-BUILD_DEPENDS= xmms-config:${PORTSDIR}/multimedia/xmms
-RUN_DEPENDS= xmms:${PORTSDIR}/multimedia/xmms
+ id3tag.0:${PORTSDIR}/audio/libid3tag \
+ xmms.4:${PORTSDIR}/multimedia/xmms
-PLIST_FILES= lib/xmms/Input/libxmmsmad.so
+USE_BZIP2= yes
USE_GNOME= gtk12
USE_GMAKE= yes
GNU_CONFIGURE= yes
-USE_LDCONFIG= yes
+CONFIGURE_ENV= CPPFLAGS="${CPPFLAGS}" LDFLAGS="${LDFLAGS}"
+
+PLIST_FILES= lib/xmms/Input/libxmmsmad.so
-CONFIGURE_ENV= CFLAGS="${CFLAGS} -L${LOCALBASE}/lib"
+CPPFLAGS= -I${LOCALBASE}/include
+LDFLAGS= -L${LOCALBASE}/lib
-post-patch:
- @${REINPLACE_CMD} -e '/objformat=/s|=.*|=elf|' ${WRKSRC}/configure
+do-install:
+ cd ${WRKSRC}/src/.libs \
+ && ${INSTALL_DATA} libxmmsmad.so ${PREFIX}/lib/xmms/Input
.include <bsd.port.mk>
diff -urN /usr/ports/audio/xmms-mad/distinfo audio/xmms-mad/distinfo
--- /usr/ports/audio/xmms-mad/distinfo 2006-01-22 17:13:09.000000000 +0900
+++ audio/xmms-mad/distinfo 2009-02-05 03:44:20.000000000 +0900
@@ -1,3 +1,3 @@
-MD5 (xmms-mad-0.1.1.tar.gz) = c0a55a41f4e68f33d581cc88c2a21762
-SHA256 (xmms-mad-0.1.1.tar.gz) = 70ebba5eaf54d684661aa3d89cd4085d17a5e5ceef0510a97f0df506537d00dc
-SIZE (xmms-mad-0.1.1.tar.gz) = 200293
+MD5 (xmms-mad-0.10.tar.bz2) = 410b30968bdb4adce0baec8acc7f2ed4
+SHA256 (xmms-mad-0.10.tar.bz2) = c0c89d93442c85296386199dc08a8ad9b480a29deea31936e5688c2bcc9a5265
+SIZE (xmms-mad-0.10.tar.bz2) = 228844
diff -urN /usr/ports/audio/xmms-mad/files/patch-config::ltmain.sh audio/xmms-mad/files/patch-config::ltmain.sh
--- /usr/ports/audio/xmms-mad/files/patch-config::ltmain.sh 2002-09-03 12:17:55.000000000 +0900
+++ audio/xmms-mad/files/patch-config::ltmain.sh 1970-01-01 09:00:00.000000000 +0900
@@ -1,16 +0,0 @@
---- config/ltmain.sh.orig Mon Sep 2 23:58:38 2002
-+++ config/ltmain.sh Mon Sep 2 23:59:23 2002
-@@ -4246,11 +4246,13 @@
- IFS="$save_ifs"
- fi
-
-+ if /usr/bin/false; then
- # Install the pseudo-library for information purposes.
- name=`$echo "X$file" | $Xsed -e 's%^.*/%%'`
- instname="$dir/$name"i
- $show "$install_prog $instname $destdir/$name"
- $run eval "$install_prog $instname $destdir/$name" || exit $?
-+ fi
-
- # Maybe install the static library, too.
- test -n "$old_library" && staticlibs="$staticlibs $dir/$old_library"
diff -urN /usr/ports/audio/xmms-mad/files/patch-src::input.c audio/xmms-mad/files/patch-src::input.c
--- /usr/ports/audio/xmms-mad/files/patch-src::input.c 2002-09-03 12:17:55.000000000 +0900
+++ audio/xmms-mad/files/patch-src::input.c 1970-01-01 09:00:00.000000000 +0900
@@ -1,13 +0,0 @@
---- src/input.c.orig Sat Aug 31 02:39:43 2002
-+++ src/input.c Sat Aug 31 02:41:14 2002
-@@ -20,6 +20,10 @@
- */
- #include "config.h"
-
-+#ifdef HAVE_SYS_TYPES_H
-+#include <sys/types.h>
-+#endif /* HAVE_SYS_TYPES_H */
-+
- #ifdef HAVE_ASSERT_H
- #include <assert.h>
- #endif /* HAVE_ASSERT_H */
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list