diff options
author | wiz <wiz> | 2011-11-30 12:01:58 +0000 |
---|---|---|
committer | wiz <wiz> | 2011-11-30 12:01:58 +0000 |
commit | 376e6c7734533a0caaae9ca14ed22c8570c7cdce (patch) | |
tree | b7f1cadcd6062587020d49d20ef1c361308a68c5 /audio/musicpd/options.mk | |
parent | fe6314e80292cfc1d03a7bbc50b714b1ff515035 (diff) | |
download | pkgsrc-376e6c7734533a0caaae9ca14ed22c8570c7cdce.tar.gz |
Add more options.
Diffstat (limited to 'audio/musicpd/options.mk')
-rw-r--r-- | audio/musicpd/options.mk | 124 |
1 files changed, 98 insertions, 26 deletions
diff --git a/audio/musicpd/options.mk b/audio/musicpd/options.mk index 00fca8c6b04..89f42c1b205 100644 --- a/audio/musicpd/options.mk +++ b/audio/musicpd/options.mk @@ -1,7 +1,7 @@ -# $NetBSD: options.mk,v 1.16 2011/02/27 11:01:04 wiz Exp $ +# $NetBSD: options.mk,v 1.17 2011/11/30 12:01:58 wiz Exp $ PKG_OPTIONS_VAR= PKG_OPTIONS.musicpd -PKG_SUPPORTED_OPTIONS= audiofile curl faad ffmpeg flac id3 inet6 libao jack mikmod musepack ogg shout sidplay +PKG_SUPPORTED_OPTIONS= audiofile bzip2 curl faad ffmpeg flac fluidsynth id3 inet6 libao lame jack libmms mikmod modplug musepack musicpd-lastfm ogg shout sqlite3 wavpack zziplib PKG_SUGGESTED_OPTIONS= audiofile curl faad flac id3 libao musepack ogg PKG_OPTIONS_LEGACY_OPTS= libmikmod:mikmod @@ -9,13 +9,6 @@ PKG_OPTIONS_LEGACY_OPTS= aac:faad .include "../../mk/bsd.options.mk" -.if !empty(PKG_OPTIONS:Mfaad) -. include "../../audio/faad2/buildlink3.mk" -CONFIGURE_ARGS+= --with-faad=${BUILDLINK_PREFIX.faad2} -.else -CONFIGURE_ARGS+= --disable-aac -.endif - .if !empty(PKG_OPTIONS:Maudiofile) . include "../../audio/libaudiofile/buildlink3.mk" CONFIGURE_ARGS+= --enable-audiofile @@ -23,6 +16,13 @@ CONFIGURE_ARGS+= --enable-audiofile CONFIGURE_ARGS+= --disable-audiofile .endif +.if !empty(PKG_OPTIONS:Mbzip2) +. include "../../archivers/bzip2/buildlink3.mk" +CONFIGURE_ARGS+= --enable-bzip2 +.else +CONFIGURE_ARGS+= --disable-bzip2 +.endif + .if !empty(PKG_OPTIONS:Mcurl) . include "../../www/curl/buildlink3.mk" CONFIGURE_ARGS+= --enable-curl @@ -30,6 +30,20 @@ CONFIGURE_ARGS+= --enable-curl CONFIGURE_ARGS+= --disable-curl .endif +.if !empty(PKG_OPTIONS:Mfaad) +. include "../../audio/faad2/buildlink3.mk" +CONFIGURE_ARGS+= --with-faad=${BUILDLINK_PREFIX.faad2} +.else +CONFIGURE_ARGS+= --disable-aac +.endif + +.if !empty(PKG_OPTIONS:Mffmpeg) +. include "../../multimedia/ffmpeg/buildlink3.mk" +CONFIGURE_ARGS+= --enable-ffmpeg +.else +CONFIGURE_ARGS+= --disable-ffmpeg +.endif + .if !empty(PKG_OPTIONS:Mflac) . include "../../audio/flac/buildlink3.mk" # XXX whole album flac files can appearently be parsed without libcue, @@ -40,6 +54,21 @@ CONFIGURE_ARGS+= --enable-flac CONFIGURE_ARGS+= --disable-flac .endif +.if !empty(PKG_OPTIONS:Mfluidsynth) +. include "../../audio/fluidsynth/buildlink3.mk" +CONFIGURE_ARGS+= --enable-fluidsynth +.else +CONFIGURE_ARGS+= --disable-fluidsynth +.endif + +# needs to be imported from wip first +#.if !empty(PKG_OPTIONS:Mgme) +#. include "../../wip/libgme/buildlink3.mk" +#CONFIGURE_ARGS+= --enable-gme +#.else +#CONFIGURE_ARGS+= --disable-gme +#.endif + .if !empty(PKG_OPTIONS:Mid3) . include "../../audio/libid3tag/buildlink3.mk" CONFIGURE_ARGS+= --enable-id3 @@ -47,11 +76,10 @@ CONFIGURE_ARGS+= --enable-id3 CONFIGURE_ARGS+= --disable-id3 .endif -.if !empty(PKG_OPTIONS:Mlibao) -. include "../../audio/libao/buildlink3.mk" -CONFIGURE_ARGS+= --enable-ao +.if !empty(PKG_OPTIONS:Minet6) +CONFIGURE_ARGS+= --enable-ipv6 .else -CONFIGURE_ARGS+= --disable-ao +CONFIGURE_ARGS+= --disable-ipv6 .endif .if !empty(PKG_OPTIONS:Mjack) @@ -61,6 +89,26 @@ CONFIGURE_ARGS+= --enable-jack CONFIGURE_ARGS+= --disable-jack .endif +.if !empty(PKG_OPTIONS:Mlame) +. include "../../audio/lame/buildlink3.mk" +CONFIGURE_ARGS+= --enable-lame-encoder +.else +CONFIGURE_ARGS+= --disable-lame-encoder +.endif + +.if !empty(PKG_OPTIONS:Mlibao) +. include "../../audio/libao/buildlink3.mk" +CONFIGURE_ARGS+= --enable-ao +.else +CONFIGURE_ARGS+= --disable-ao +.endif + +.if !empty(PKG_OPTIONS:Mmusicpd-lastfm) +CONFIGURE_ARGS+= --enable-lastfm +.else +CONFIGURE_ARGS+= --disable-lastfm +.endif + .if !empty(PKG_OPTIONS:Mmikmod) . include "../../audio/libmikmod/buildlink3.mk" CONFIGURE_ARGS+= --enable-mikmod @@ -68,6 +116,20 @@ CONFIGURE_ARGS+= --enable-mikmod CONFIGURE_ARGS+= --disable-mikmod .endif +.if !empty(PKG_OPTIONS:Mmodplug) +. include "../../audio/libmodplug/buildlink3.mk" +CONFIGURE_ARGS+= --enable-modplug +.else +CONFIGURE_ARGS+= --disable-modplug +.endif + +.if !empty(PKG_OPTIONS:Mlibmms) +. include "../../net/libmms/buildlink3.mk" +CONFIGURE_ARGS+= --enable-mms +.else +CONFIGURE_ARGS+= --disable-mms +.endif + .if !empty(PKG_OPTIONS:Mmusepack) . include "../../audio/libmpcdec/buildlink3.mk" CONFIGURE_ENV+= mpcdec_prefix=${BUILDLINK_PREFIX.libmpcdec} @@ -83,12 +145,6 @@ CONFIGURE_ARGS+= --enable-vorbis CONFIGURE_ARGS+= --disable-vorbis .endif -.if !empty(PKG_OPTIONS:Minet6) -CONFIGURE_ARGS+= --enable-ipv6 -.else -CONFIGURE_ARGS+= --disable-ipv6 -.endif - .if !empty(PKG_OPTIONS:Mshout) . include "../../audio/libshout/buildlink3.mk" . include "../../audio/lame/buildlink3.mk" @@ -97,15 +153,31 @@ CONFIGURE_ARGS+= --enable-shout CONFIGURE_ARGS+= --disable-shout .endif -.if !empty(PKG_OPTIONS:Msidplay) -. include "../../audio/libsidplay2/buildlink3.mk" +# needs libresid-builder or libsidutils, both not packaged yet +#.if !empty(PKG_OPTIONS:Msidplay) +#. include "../../audio/libsidplay2/buildlink3.mk" +#CONFIGURE_ARGS+= --enable-sidplay +#.else +#CONFIGURE_ARGS+= --disable-sidplay +#.endif + +.if !empty(PKG_OPTIONS:Msqlite3) +. include "../../databases/sqlite3/buildlink3.mk" +CONFIGURE_ARGS+= --enable-sqlite .else -CONFIGURE_ARGS+= --disable-sidplay +CONFIGURE_ARGS+= --disable-sqlite .endif -.if !empty(PKG_OPTIONS:Mffmpeg) -. include "../../multimedia/ffmpeg/buildlink3.mk" -CONFIGURE_ARGS+= --with-ffmpeg=${BUILDLINK_PREFIX.ffmpeg} +.if !empty(PKG_OPTIONS:Mwavpack) +. include "../../audio/wavpack/buildlink3.mk" +CONFIGURE_ARGS+= --enable-wavpack .else -CONFIGURE_ARGS+= --disable-ffmpeg +CONFIGURE_ARGS+= --disable-wavpack +.endif + +.if !empty(PKG_OPTIONS:Mzziplib) +. include "../../archivers/zziplib/buildlink3.mk" +CONFIGURE_ARGS+= --enable-zzip +.else +CONFIGURE_ARGS+= --disable-zzip .endif |