pkgsrc-WIP-changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
lebiniou: Disable v4l2 and pulseaudio in Darwin builds
Module Name: pkgsrc-wip
Committed By: Olivier Girondel <olivier%biniou.info@localhost>
Pushed By: oliv3
Date: Sun Oct 23 19:17:10 2022 +0200
Changeset: 11225beec57f05401a849ee0f78721ae02f3891e
Modified Files:
lebiniou/Makefile
lebiniou/PLIST
Log Message:
lebiniou: Disable v4l2 and pulseaudio in Darwin builds
To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=11225beec57f05401a849ee0f78721ae02f3891e
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
diffstat:
lebiniou/Makefile | 10 +++++++++-
lebiniou/PLIST | 24 ++++++++++++------------
2 files changed, 21 insertions(+), 13 deletions(-)
diffs:
diff --git a/lebiniou/Makefile b/lebiniou/Makefile
index 7bdec1777f..2c7683b742 100644
--- a/lebiniou/Makefile
+++ b/lebiniou/Makefile
@@ -22,14 +22,22 @@ pre-configure:
.include "../../mk/bsd.prefs.mk"
-PLIST_VARS+= alsa
+PLIST_VARS+= alsa v4l2 pulse
.if ${OPSYS} == "Linux"
PLIST.alsa= yes
.endif
+.if ${OPSYS} != "Darwin"
+PLIST.v4l2= yes
+PLIST.pulse= yes
+.else
+CONFIGURE_ARGS+= --disable-pulseaudio
+.endif
.include "../../audio/jack/buildlink3.mk"
.include "../../audio/liblo/buildlink3.mk"
+.if ${OPSYS} != "Darwin"
.include "../../audio/pulseaudio/buildlink3.mk"
+.endif
.include "../../devel/glib2/buildlink3.mk"
.include "../../devel/SDL2/buildlink3.mk"
.include "../../graphics/hicolor-icon-theme/buildlink3.mk"
diff --git a/lebiniou/PLIST b/lebiniou/PLIST
index f7301ba108..38e5e21ac2 100644
--- a/lebiniou/PLIST
+++ b/lebiniou/PLIST
@@ -3,7 +3,7 @@ bin/lebiniou
${PLIST.alsa}lib/lebiniou/plugins/input/alsa/alsa.so
lib/lebiniou/plugins/input/jackaudio/jackaudio.so
lib/lebiniou/plugins/input/oscaudio/oscaudio.so
-lib/lebiniou/plugins/input/pulseaudio/pulseaudio.so
+${PLIST.pulse}lib/lebiniou/plugins/input/pulseaudio/pulseaudio.so
lib/lebiniou/plugins/input/random/random.so
lib/lebiniou/plugins/input/sndfile/sndfile.so
lib/lebiniou/plugins/input/sndio/sndio.so
@@ -54,7 +54,7 @@ lib/lebiniou/plugins/main/mirror_bottom/mirror_bottom.so
lib/lebiniou/plugins/main/mirror_left/mirror_left.so
lib/lebiniou/plugins/main/mirror_right/mirror_right.so
lib/lebiniou/plugins/main/mirror_top/mirror_top.so
-lib/lebiniou/plugins/main/monitor/monitor.so
+${PLIST.v4l2}lib/lebiniou/plugins/main/monitor/monitor.so
lib/lebiniou/plugins/main/mosaic/mosaic.so
lib/lebiniou/plugins/main/oscillo_polar/oscillo_polar.so
lib/lebiniou/plugins/main/oscillo_rotating/oscillo_rotating.so
@@ -107,22 +107,22 @@ lib/lebiniou/plugins/main/takens/takens.so
lib/lebiniou/plugins/main/taquin/taquin.so
lib/lebiniou/plugins/main/touw_eiffel/touw_eiffel.so
lib/lebiniou/plugins/main/tunnel/tunnel.so
-lib/lebiniou/plugins/main/tv_1d/tv_1d.so
-lib/lebiniou/plugins/main/tv_colrot/tv_colrot.so
-lib/lebiniou/plugins/main/tv_diff/tv_diff.so
-lib/lebiniou/plugins/main/tv_fire/tv_fire.so
-lib/lebiniou/plugins/main/tv_nervous/tv_nervous.so
-lib/lebiniou/plugins/main/tv_predator/tv_predator.so
-lib/lebiniou/plugins/main/tv_quark/tv_quark.so
-lib/lebiniou/plugins/main/tv_streak/tv_streak.so
-lib/lebiniou/plugins/main/tv_webcam/tv_webcam.so
+${PLIST.v4l2}lib/lebiniou/plugins/main/tv_1d/tv_1d.so
+${PLIST.v4l2}lib/lebiniou/plugins/main/tv_colrot/tv_colrot.so
+${PLIST.v4l2}lib/lebiniou/plugins/main/tv_diff/tv_diff.so
+${PLIST.v4l2}lib/lebiniou/plugins/main/tv_fire/tv_fire.so
+${PLIST.v4l2}lib/lebiniou/plugins/main/tv_nervous/tv_nervous.so
+${PLIST.v4l2}lib/lebiniou/plugins/main/tv_predator/tv_predator.so
+${PLIST.v4l2}lib/lebiniou/plugins/main/tv_quark/tv_quark.so
+${PLIST.v4l2}lib/lebiniou/plugins/main/tv_streak/tv_streak.so
+${PLIST.v4l2}lib/lebiniou/plugins/main/tv_webcam/tv_webcam.so
lib/lebiniou/plugins/main/video/video.so
lib/lebiniou/plugins/main/warp/warp.so
lib/lebiniou/plugins/output/RTMP/RTMP.so
lib/lebiniou/plugins/output/SDL2/SDL2.so
lib/lebiniou/plugins/output/caca/caca.so
lib/lebiniou/plugins/output/mp4/mp4.so
-lib/lebiniou/plugins/output/v4l2loopback/v4l2loopback.so
+${PLIST.v4l2}lib/lebiniou/plugins/output/v4l2loopback/v4l2loopback.so
lib/liblebiniou.so.0
man/man1/lebiniou.1
share/applications/net.biniou.LeBiniou.desktop
Home |
Main Index |
Thread Index |
Old Index