pkgsrc-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

audio/musicpd update



Hi,

Is it possible to update the package audio/musicpd to its latest
version?
I know it’s probably too late because of the freeze but here is the
patch.
I don’t know if the package patches are still useful because it compiles
and works perfectly without them (I only tested under netbsd-6 i386).
I also made the libmad dependency optional (but it’s still enabled by
default).

Thank you in advance.

-- 
Envoyé depuis ma GameBoy.
Index: Makefile
===================================================================
RCS file: /cvsroot/pkgsrc/audio/musicpd/Makefile,v
retrieving revision 1.65
diff -u -r1.65 Makefile
--- Makefile    16 Dec 2012 01:51:59 -0000      1.65
+++ Makefile    18 Dec 2012 16:19:48 -0000
@@ -1,6 +1,6 @@
 # $NetBSD: Makefile,v 1.65 2012/12/16 01:51:59 obache Exp $
 
-DISTNAME=              mpd-0.16.6
+DISTNAME=              mpd-0.17.2
 PKGNAME=               ${DISTNAME:S/mpd/musicpd/}
 PKGREVISION=           8
 CATEGORIES=            audio
@@ -47,7 +47,6 @@
        ${INSTALL_DATA} ${WRKSRC}/mpd.conf ${DESTDIR}${EGDIR}
 
 .include "../../devel/glib2/buildlink3.mk"
-.include "../../audio/libmad/buildlink3.mk"
 
 .include "../../mk/oss.buildlink3.mk"
 .include "../../mk/bsd.pkg.mk"
Index: distinfo
===================================================================
RCS file: /cvsroot/pkgsrc/audio/musicpd/distinfo,v
retrieving revision 1.35
diff -u -r1.35 distinfo
--- distinfo    16 Jan 2012 20:57:32 -0000      1.35
+++ distinfo    18 Dec 2012 16:19:48 -0000
@@ -1,8 +1,8 @@
 $NetBSD: distinfo,v 1.35 2012/01/16 20:57:32 drochner Exp $
 
-SHA1 (mpd-0.16.6.tar.bz2) = 235e34a27cfa5fbf5849eb1be32e441d34c3a139
-RMD160 (mpd-0.16.6.tar.bz2) = 5a54c17f7fae46b7e30afefdcc68c1b23b23f511
-Size (mpd-0.16.6.tar.bz2) = 486442 bytes
+SHA1 (mpd-0.17.2.tar.bz2) = 5e7ccf39f44e51240f181c2e1d9af5a7dafb1f02
+RMD160 (mpd-0.17.2.tar.bz2) = 11340e49d26b4d1377106e0d3facfa136f524bf7
+Size (mpd-0.17.2.tar.bz2) = 548182 bytes
 SHA1 (patch-aa) = 4ac387b87c793014f2001e4cc2ba8242eaaa05e5
 SHA1 (patch-ab) = b0879896541d220300c105a0b2a94b53d62203cc
 SHA1 (patch-ac) = 08cb6ce7a7ca6e2c56d19d9d5487944dbba66c91
Index: options.mk
===================================================================
RCS file: /cvsroot/pkgsrc/audio/musicpd/options.mk,v
retrieving revision 1.19
diff -u -r1.19 options.mk
--- options.mk  12 Jun 2012 15:45:54 -0000      1.19
+++ options.mk  18 Dec 2012 16:19:48 -0000
@@ -1,8 +1,8 @@
 # $NetBSD: options.mk,v 1.19 2012/06/12 15:45:54 wiz Exp $
 
 PKG_OPTIONS_VAR=       PKG_OPTIONS.musicpd
-PKG_SUPPORTED_OPTIONS= audiofile bzip2 curl faad ffmpeg flac fluidsynth id3 
inet6 libao lame jack libmms libwildmidi mikmod modplug musepack musicpd-lastfm 
ogg shout sqlite3 wavpack zziplib
-PKG_SUGGESTED_OPTIONS= audiofile curl faad flac id3 inet6 libao musepack ogg
+PKG_SUPPORTED_OPTIONS= audiofile bzip2 curl faad ffmpeg flac fluidsynth id3 
inet6 libao lame jack libmms libwildmidi mad mikmod modplug musepack 
musicpd-lastfm ogg shout sqlite3 wavpack zziplib
+PKG_SUGGESTED_OPTIONS= audiofile curl faad flac id3 inet6 libao mad musepack 
ogg
 
 PKG_OPTIONS_LEGACY_OPTS=       libmikmod:mikmod
 PKG_OPTIONS_LEGACY_OPTS=       aac:faad
@@ -117,6 +117,13 @@
 CONFIGURE_ARGS+=       --disable-wildmidi
 .endif
 
+.if !empty(PKG_OPTIONS:Mmad)
+.  include "../../audio/libmad/buildlink3.mk"
+CONFIGURE_ARGS+=       --enable-mad
+.else
+CONFIGURE_ARGS+=       --disable-mad
+.endif
+
 .if !empty(PKG_OPTIONS:Mmikmod)
 .  include "../../audio/libmikmod/buildlink3.mk"
 CONFIGURE_ARGS+=       --enable-mikmod


Home | Main Index | Thread Index | Old Index