MFH: r523990

multimedia/obs-studio: fix packaging on architectures without luajit

The previous patch missed packaging fix. obslua.so is not installed without luajit.

PR:		243562
Approved by:	yuri (maintainer)

Approved by:	portmgr (fix build blanket)
This commit is contained in:
Piotr Kubaj 2020-01-24 21:35:26 +00:00
parent 652b3ec933
commit 7f651c5377
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/branches/2020Q1/; revision=523991
2 changed files with 10 additions and 2 deletions

View File

@ -51,8 +51,16 @@ CMAKE_ARGS= -DUNIX_STRUCTURE:BOOL=ON \
-DOBS_VERSION_OVERRIDE:STRING="${PORTVERSION}"
CFLAGS+= -D_WITH_GETLINE
.include <bsd.port.pre.mk>
.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 <bsd.port.mk>
.include <bsd.port.post.mk>

View File

@ -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