summaryrefslogtreecommitdiff
path: root/x11
diff options
context:
space:
mode:
authornia <nia@pkgsrc.org>2020-04-25 14:04:26 +0000
committernia <nia@pkgsrc.org>2020-04-25 14:04:26 +0000
commit53d25743120dc257daedea73ce892933c9af2770 (patch)
tree314b8e07384c41501d63102699fb9c028952c5f5 /x11
parent0e13f25e551cf2044b2d5f11b7d9ffc1f5345f2e (diff)
downloadpkgsrc-53d25743120dc257daedea73ce892933c9af2770.tar.gz
xvidcap: Add options.mk
Diffstat (limited to 'x11')
-rw-r--r--x11/xvidcap/options.mk21
1 files changed, 21 insertions, 0 deletions
diff --git a/x11/xvidcap/options.mk b/x11/xvidcap/options.mk
new file mode 100644
index 00000000000..cb52db1e4a8
--- /dev/null
+++ b/x11/xvidcap/options.mk
@@ -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