pkgsrc-Changes archive

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

CVS commit: pkgsrc/audio/libmp3splt



Module Name:    pkgsrc
Committed By:   schmonz
Date:           Sun Sep 30 22:29:32 UTC 2018

Added Files:
        pkgsrc/audio/libmp3splt: options.mk

Log Message:
Oops, missed adding options.mk in previous.


To generate a diff of this commit:
cvs rdiff -u -r0 -r1.1 pkgsrc/audio/libmp3splt/options.mk

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Added files:

Index: pkgsrc/audio/libmp3splt/options.mk
diff -u /dev/null pkgsrc/audio/libmp3splt/options.mk:1.1
--- /dev/null   Sun Sep 30 22:29:32 2018
+++ pkgsrc/audio/libmp3splt/options.mk  Sun Sep 30 22:29:32 2018
@@ -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