diff --git a/multimedia/obs-studio/Makefile b/multimedia/obs-studio/Makefile index 64000080025e..44f08aa8ea04 100644 --- a/multimedia/obs-studio/Makefile +++ b/multimedia/obs-studio/Makefile @@ -50,8 +50,16 @@ CMAKE_ARGS= -DUNIX_STRUCTURE:BOOL=ON \ -DOBS_VERSION_OVERRIDE:STRING="${PORTVERSION}" CFLAGS+= -D_WITH_GETLINE +.include + +.if ${ARCH} != amd64 && ${ARCH} != armv7 && ${ARCH} != i386 && ${ARCH} != powerpc +PLIST_SUB+= LUAJIT="@comment " +.else +PLIST_SUB+= LUAJIT="" +.endif + post-patch: @${REINPLACE_CMD} -e 's| 3.4)| ${PYTHON_VER})|' \ ${WRKSRC}/cmake/Modules/FindPythonDeps.cmake -.include +.include diff --git a/multimedia/obs-studio/pkg-plist b/multimedia/obs-studio/pkg-plist index 72f7d184431a..11d28aebd2fe 100644 --- a/multimedia/obs-studio/pkg-plist +++ b/multimedia/obs-studio/pkg-plist @@ -113,7 +113,7 @@ lib/obs-plugins/obs-x264.so lib/obs-plugins/rtmp-services.so lib/obs-plugins/text-freetype2.so lib/obs-scripting/_obspython.so -lib/obs-scripting/obslua.so +%%LUAJIT%%lib/obs-scripting/obslua.so lib/obs-scripting/obspython.py libdata/pkgconfig/libobs.pc share/applications/com.obsproject.Studio.desktop