pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/audio/libmp3splt Oops, missed adding options.mk in pre...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/b076e74c350b
branches:  trunk
changeset: 313467:b076e74c350b
user:      schmonz <schmonz%pkgsrc.org@localhost>
date:      Sun Sep 30 22:29:32 2018 +0000

description:
Oops, missed adding options.mk in previous.

diffstat:

 audio/libmp3splt/options.mk |  44 ++++++++++++++++++++++++++++++++++++++++++++
 1 files changed, 44 insertions(+), 0 deletions(-)

diffs (48 lines):

diff -r ff7ec2ae8bfa -r b076e74c350b audio/libmp3splt/options.mk
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/audio/libmp3splt/options.mk       Sun Sep 30 22:29:32 2018 +0000
@@ -0,0 +1,44 @@
+# $NetBSD: options.mk,v 1.1 2018/09/30 22:29:32 schmonz Exp $
+
+PKG_OPTIONS_VAR=       PKG_OPTIONS.libmp3splt
+PKG_SUPPORTED_OPTIONS+=        flac id3 mad pcre vorbis
+PKG_SUGGESTED_OPTIONS+=        flac id3 mad pcre vorbis
+
+.include "../../mk/bsd.options.mk"
+
+PLIST_VARS+=           flac
+.if !empty(PKG_OPTIONS:Mflac)
+.  include "../../audio/flac/buildlink3.mk"
+PLIST.flac=            yes
+.else
+CONFIGURE_ARGS+=       --disable-flac
+.endif
+
+.if !empty(PKG_OPTIONS:Mid3)
+.  include "../../audio/libid3tag/buildlink3.mk"
+.else
+CONFIGURE_ARGS+=       --disable-id3tag
+.endif
+
+PLIST_VARS+=           mad
+.if !empty(PKG_OPTIONS:Mmad)
+.  include "../../audio/libmad/buildlink3.mk"
+PLIST.mad=             yes
+.else
+CONFIGURE_ARGS+=       --disable-mp3
+.endif
+
+.if !empty(PKG_OPTIONS:Mpcre)
+.  include "../../devel/pcre/buildlink3.mk"
+.else
+CONFIGURE_ARGS+=       --disable-pcre
+.endif
+
+PLIST_VARS+=           vorbis
+.if !empty(PKG_OPTIONS:Mvorbis)
+.  include "../../multimedia/libogg/buildlink3.mk"
+.  include "../../audio/libvorbis/buildlink3.mk"
+PLIST.vorbis=          yes
+.else
+CONFIGURE_ARGS+=       --disable-ogg
+.endif



Home | Main Index | Thread Index | Old Index