From 53d25743120dc257daedea73ce892933c9af2770 Mon Sep 17 00:00:00 2001 From: nia Date: Sat, 25 Apr 2020 14:04:26 +0000 Subject: xvidcap: Add options.mk --- x11/xvidcap/options.mk | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 x11/xvidcap/options.mk (limited to 'x11') 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 -- cgit v1.2.3