diff options
author | ahoka <ahoka@pkgsrc.org> | 2009-08-17 14:24:32 +0000 |
---|---|---|
committer | ahoka <ahoka@pkgsrc.org> | 2009-08-17 14:24:32 +0000 |
commit | 16dd2a00c6a4f679c939a6572983a6bfac1216fe (patch) | |
tree | c96aaf4f1ead5e312ce414f08a6f9b7489317345 /audio | |
parent | 5ed17286b207fd91b111e626822f3b688452684c (diff) | |
download | pkgsrc-16dd2a00c6a4f679c939a6572983a6bfac1216fe.tar.gz |
Add ffmpeg option, include option.mk from Makefile.
Diffstat (limited to 'audio')
-rw-r--r-- | audio/cmus-unofficial/Makefile | 5 | ||||
-rw-r--r-- | audio/cmus-unofficial/PLIST | 3 | ||||
-rw-r--r-- | audio/cmus-unofficial/options.mk | 16 |
3 files changed, 18 insertions, 6 deletions
diff --git a/audio/cmus-unofficial/Makefile b/audio/cmus-unofficial/Makefile index 2b22168dacb..0945168e36f 100644 --- a/audio/cmus-unofficial/Makefile +++ b/audio/cmus-unofficial/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.1.1.1 2009/06/07 12:49:01 ahoka Exp $ +# $NetBSD: Makefile,v 1.2 2009/08/17 14:24:32 ahoka Exp $ # DISTNAME= cmus-unofficial-20090605 @@ -13,4 +13,5 @@ COMMENT= Curses based music player (Jason Woof's cmus fork) CONFLICTS+= cmus-[0-9]* WRKSRC= ${WRKDIR}/cmus-unofficial -.include "../cmus/Makefile.common" +.include "options.mk" +.include "../cmus/Makefile.common"
\ No newline at end of file diff --git a/audio/cmus-unofficial/PLIST b/audio/cmus-unofficial/PLIST index b1e9c29d142..3836980d368 100644 --- a/audio/cmus-unofficial/PLIST +++ b/audio/cmus-unofficial/PLIST @@ -1,4 +1,4 @@ -@comment $NetBSD: PLIST,v 1.2 2009/06/14 17:32:03 joerg Exp $ +@comment $NetBSD: PLIST,v 1.3 2009/08/17 14:24:32 ahoka Exp $ bin/cmus bin/cmus-remote ${PLIST.flac}lib/cmus/ip/flac.so @@ -11,6 +11,7 @@ ${PLIST.faad}lib/cmus/ip/mp4.so ${PLIST.mpcdec}lib/cmus/ip/mpc.so lib/cmus/ip/wav.so ${PLIST.wavpack}lib/cmus/ip/wavpack.so +${PLIST.ffmpeg}lib/cmus/ip/ffmpeg.so ${PLIST.arts}lib/cmus/op/arts.so ${PLIST.libao}lib/cmus/op/ao.so ${PLIST.oss}lib/cmus/op/oss.so diff --git a/audio/cmus-unofficial/options.mk b/audio/cmus-unofficial/options.mk index 4b1b7615e4b..5eaf750c5cc 100644 --- a/audio/cmus-unofficial/options.mk +++ b/audio/cmus-unofficial/options.mk @@ -1,12 +1,12 @@ -# $NetBSD: options.mk,v 1.1.1.1 2009/06/07 12:49:01 ahoka Exp $ +# $NetBSD: options.mk,v 1.2 2009/08/17 14:24:32 ahoka Exp $ PKG_OPTIONS_VAR= PKG_OPTIONS.cmus PKG_SUPPORTED_OPTIONS= flac mad vorbis arts libao mpcdec faad wavpack #alsa -PKG_SUPPORTED_OPTIONS+= wide-curses +PKG_SUPPORTED_OPTIONS+= wide-curses ffmpeg PKG_OPTIONS_OPTIONAL_GROUPS= mod PKG_OPTIONS_GROUP.mod= modplug mikmod PKG_SUGGESTED_OPTIONS= flac mad libao vorbis modplug -PKG_OPTIONS_LEGACY_OPTS=ao:libao +PKG_OPTIONS_LEGACY_OPTS= ao:libao .include "../../mk/bsd.options.mk" @@ -98,6 +98,16 @@ PLIST.wavpack= yes CONFIGURE_ARGS+= CONFIG_WAVPACK=n .endif +# FFMPEG support +# +.if !empty(PKG_OPTIONS:Mffmpeg) +.include "../../multimedia/ffmpeg/buildlink3.mk" +CONFIGURE_ARGS+= CONFIG_FFMPEG=y +PLIST.ffmpeg= yes +.else +CONFIGURE_ARGS+= CONFIG_FFMPEG=n +.endif + # modplay support # .if !empty(PKG_OPTIONS:Mmikmod) |