pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/x11/xvidcap xvidcap: Add options.mk
details: https://anonhg.NetBSD.org/pkgsrc/rev/f0e35f20f93c
branches: trunk
changeset: 428134:f0e35f20f93c
user: nia <nia%pkgsrc.org@localhost>
date: Sat Apr 25 14:04:26 2020 +0000
description:
xvidcap: Add options.mk
diffstat:
x11/xvidcap/options.mk | 21 +++++++++++++++++++++
1 files changed, 21 insertions(+), 0 deletions(-)
diffs (25 lines):
diff -r e52b43b290f7 -r f0e35f20f93c x11/xvidcap/options.mk
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/x11/xvidcap/options.mk Sat Apr 25 14:04:26 2020 +0000
@@ -0,0 +1,21 @@
+# $NetBSD: options.mk,v 1.1 2020/04/25 14:04:26 nia Exp $
+
+PKG_OPTIONS_VAR= PKG_OPTIONS.xvidcap
+PKG_SUPPORTED_OPTIONS= dbus lame theora
+PKG_SUGGESTED_OPTIONS= lame theora
+
+.include "../../mk/bsd.options.mk"
+
+.if !empty(PKG_OPTIONS:Mdbus)
+.include "../../sysutils/dbus-glib/buildlink3.mk"
+.endif
+
+.if !empty(PKG_OPTIONS:Mlame)
+CONFIGURE_ARGS+= --enable-libmp3lame
+.include "../../audio/lame/buildlink3.mk"
+.endif
+
+.if !empty(PKG_OPTIONS:Mtheora)
+CONFIGURE_ARGS+= --enable-libtheora
+.include "../../multimedia/libtheora/buildlink3.mk"
+.endif
Home |
Main Index |
Thread Index |
Old Index