mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-23 04:23:08 +00:00
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) MFH: 2020Q1 (fix build blanket)
This commit is contained in:
parent
05fe0069f6
commit
92e8707ffd
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=523990
@ -50,8 +50,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>
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user