summaryrefslogtreecommitdiff
path: root/multimedia/avidemux/options.mk
diff options
context:
space:
mode:
authorwiz <wiz@pkgsrc.org>2009-01-04 21:37:54 +0000
committerwiz <wiz@pkgsrc.org>2009-01-04 21:37:54 +0000
commitd193eec91bef760f5af4c7a1462499ca32bc9128 (patch)
tree3ff0955c2f6116ec8341e0101756ffe43c88ebec /multimedia/avidemux/options.mk
parente8f1c73210e5514fd178c2d7b76adbf35ed981e6 (diff)
downloadpkgsrc-d193eec91bef760f5af4c7a1462499ca32bc9128.tar.gz
Add option for pulseaudio (default on), and avoid finding it when
it's disabled (fixes a build problem). Add patches from upstream SVN to fix build problems with newer x264 snapshots, like the one in pkgsrc. Bump PKGREVISION for pulseaudio change.
Diffstat (limited to 'multimedia/avidemux/options.mk')
-rw-r--r--multimedia/avidemux/options.mk13
1 files changed, 13 insertions, 0 deletions
diff --git a/multimedia/avidemux/options.mk b/multimedia/avidemux/options.mk
new file mode 100644
index 00000000000..8a1882ca4eb
--- /dev/null
+++ b/multimedia/avidemux/options.mk
@@ -0,0 +1,13 @@
+# $NetBSD: options.mk,v 1.1 2009/01/04 21:37:54 wiz Exp $
+
+PKG_OPTIONS_VAR= PKG_OPTIONS.avidemux
+PKG_SUPPORTED_OPTIONS= pulseaudio
+PKG_SUGGESTED_OPTIONS= pulseaudio
+
+.include "../../mk/bsd.options.mk"
+
+.if !empty(PKG_OPTIONS:Mpulseaudio)
+.include "../../audio/pulseaudio/buildlink3.mk"
+.else
+CMAKE_ARGS+= -DNO_PULSE_SIMPLE:BOOL=TRUE
+.endif