Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/multimedia/obs-studio obs-studio: Allow building on sy...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/d267bc9548f7
branches:  trunk
changeset: 434870:d267bc9548f7
user:      nia <nia%pkgsrc.org@localhost>
date:      Wed Jun 24 14:34:37 2020 +0000

description:
obs-studio: Allow building on systems without LuaJIT support.

While here, remove VLC CMAKE_ARGS, it's now unrecognized.

Bump PKGREVISION

diffstat:

 multimedia/obs-studio/Makefile |  15 +++++++++++----
 multimedia/obs-studio/PLIST    |   4 ++--
 2 files changed, 13 insertions(+), 6 deletions(-)

diffs (56 lines):

diff -r c93ad85dedf1 -r d267bc9548f7 multimedia/obs-studio/Makefile
--- a/multimedia/obs-studio/Makefile    Wed Jun 24 14:26:00 2020 +0000
+++ b/multimedia/obs-studio/Makefile    Wed Jun 24 14:34:37 2020 +0000
@@ -1,7 +1,7 @@
-# $NetBSD: Makefile,v 1.17 2020/06/02 08:24:27 adam Exp $
+# $NetBSD: Makefile,v 1.18 2020/06/24 14:34:37 nia Exp $
 
 DISTNAME=      obs-studio-25.0.8
-PKGREVISION=   3
+PKGREVISION=   4
 CATEGORIES=    multimedia
 MASTER_SITES=  ${MASTER_SITE_GITHUB:=obsproject/}
 
@@ -15,7 +15,6 @@
 USE_LANGUAGES= c gnu++11
 
 CMAKE_ARGS+=   -DDISABLE_LIBFDK=BOOL:ON
-CMAKE_ARGS+=   -DDISABLE_VLC=BOOL:ON
 
 TOOL_DEPENDS+= swig3>=3.0:../../devel/swig3
 
@@ -38,7 +37,15 @@
 .  include "../../graphics/libv4l/buildlink3.mk"
 .endif
 .include "../../graphics/MesaLib/buildlink3.mk"
-.include "../../lang/LuaJIT2/buildlink3.mk"
+.include "../../lang/LuaJIT2/platform.mk"
+PLIST_VARS+=   lua
+#.if !empty(PLATFORM_SUPPORTS_LUAJIT:M[Yy][Ee][Ss])
+.if 0
+PLIST.lua=     yes
+.  include "../../lang/LuaJIT2/buildlink3.mk"
+.else
+CMAKE_ARGS+=   -DDISABLE_LUA=ON
+.endif
 .include "../../lang/python/pyversion.mk"
 .include "../../multimedia/ffmpeg4/buildlink3.mk"
 .include "../../multimedia/x264-devel/buildlink3.mk"
diff -r c93ad85dedf1 -r d267bc9548f7 multimedia/obs-studio/PLIST
--- a/multimedia/obs-studio/PLIST       Wed Jun 24 14:26:00 2020 +0000
+++ b/multimedia/obs-studio/PLIST       Wed Jun 24 14:34:37 2020 +0000
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.4 2020/04/28 11:40:51 ryoon Exp $
+@comment $NetBSD: PLIST,v 1.5 2020/06/24 14:34:37 nia Exp $
 bin/obs
 bin/obs-ffmpeg-mux
 include/obs/audio-monitoring/pulse/pulseaudio-wrapper.h
@@ -113,7 +113,7 @@
 lib/obs-plugins/rtmp-services.so
 lib/obs-plugins/text-freetype2.so
 lib/obs-scripting/_obspython.so
-lib/obs-scripting/obslua.so
+${PLIST.lua}lib/obs-scripting/obslua.so
 lib/obs-scripting/obspython.py
 lib/pkgconfig/libobs.pc
 share/applications/com.obsproject.Studio.desktop



Home | Main Index | Thread Index | Old Index