pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/audio/musicpd Add optional support for MOD files via l...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/2836dbd6092d
branches:  trunk
changeset: 503491:2836dbd6092d
user:      wiz <wiz%pkgsrc.org@localhost>
date:      Tue Nov 22 00:01:40 2005 +0000

description:
Add optional support for MOD files via libmikmod,
and enable it by default. Bump PKGREVISION to 4.

diffstat:

 audio/musicpd/Makefile   |   4 ++--
 audio/musicpd/options.mk |  13 ++++++++++---
 2 files changed, 12 insertions(+), 5 deletions(-)

diffs (43 lines):

diff -r 5908e2c5b5dd -r 2836dbd6092d audio/musicpd/Makefile
--- a/audio/musicpd/Makefile    Mon Nov 21 23:47:31 2005 +0000
+++ b/audio/musicpd/Makefile    Tue Nov 22 00:01:40 2005 +0000
@@ -1,8 +1,8 @@
-# $NetBSD: Makefile,v 1.18 2005/11/18 18:34:11 wiz Exp $
+# $NetBSD: Makefile,v 1.19 2005/11/22 00:01:40 wiz Exp $
 
 DISTNAME=              mpd-0.11.5
 PKGNAME=               ${DISTNAME:S/mpd/musicpd/}
-PKGREVISION=           3
+PKGREVISION=           4
 CATEGORIES=            audio
 MASTER_SITES=          http://mercury.chem.pitt.edu/~shank/
 
diff -r 5908e2c5b5dd -r 2836dbd6092d audio/musicpd/options.mk
--- a/audio/musicpd/options.mk  Mon Nov 21 23:47:31 2005 +0000
+++ b/audio/musicpd/options.mk  Tue Nov 22 00:01:40 2005 +0000
@@ -1,8 +1,8 @@
-# $NetBSD: options.mk,v 1.4 2005/05/31 16:20:43 wiz Exp $
+# $NetBSD: options.mk,v 1.5 2005/11/22 00:01:40 wiz Exp $
 
 PKG_OPTIONS_VAR=       PKG_OPTIONS.musicpd
-PKG_SUPPORTED_OPTIONS= aac audiofile flac iconv id3 ogg
-PKG_SUGGESTED_OPTIONS= aac audiofile flac iconv id3 ogg
+PKG_SUPPORTED_OPTIONS= aac audiofile flac iconv id3 libmikmod ogg
+PKG_SUGGESTED_OPTIONS= aac audiofile flac iconv id3 libmikmod ogg
 
 .include "../../mk/bsd.options.mk"
 
@@ -42,6 +42,13 @@
 CONFIGURE_ARGS+=       --disable-id3
 .endif
 
+.if !empty(PKG_OPTIONS:Mlibmikmod)
+.  include "../../audio/libmikmod/buildlink3.mk"
+CONFIGURE_ARGS+=       --with-libmikmod=${BUILDLINK_PREFIX.libmikmod}
+.else
+CONFIGURE_ARGS+=       --disable-libmikmod
+.endif
+
 .if !empty(PKG_OPTIONS:Mogg)
 .  include "../../audio/libvorbis/buildlink3.mk"
 CONFIGURE_ARGS+=       --with-ogg=${BUILDLINK_PREFIX.libvorbis}



Home | Main Index | Thread Index | Old Index