summaryrefslogtreecommitdiff
path: root/multimedia/gstreamer1/options.mk
diff options
context:
space:
mode:
Diffstat (limited to 'multimedia/gstreamer1/options.mk')
-rw-r--r--multimedia/gstreamer1/options.mk18
1 files changed, 18 insertions, 0 deletions
diff --git a/multimedia/gstreamer1/options.mk b/multimedia/gstreamer1/options.mk
new file mode 100644
index 00000000000..c482be1e721
--- /dev/null
+++ b/multimedia/gstreamer1/options.mk
@@ -0,0 +1,18 @@
+# $NetBSD: options.mk,v 1.1 2012/11/29 08:21:17 ryoon Exp $
+
+PKG_OPTIONS_VAR= PKG_OPTIONS.gstreamer
+PKG_SUPPORTED_OPTIONS= gstcheck
+
+.include "../../mk/bsd.options.mk"
+
+PLIST_VARS+= gstcheck
+.if !empty(PKG_OPTIONS:Mgstcheck)
+.include "../../devel/check/buildlink3.mk"
+PLIST.gstcheck= yes
+# don't worry if the "GstABI" check fails -- GstPlugin contains
+# off_t and time_t which are system dependent
+TEST_TARGET= check-torture
+.else
+CONFIGURE_ARGS+=--disable-check
+.endif
+