diff options
author | pkubaj <pkubaj@FreeBSD.org> | 2020-01-25 05:34:34 +0800 |
---|---|---|
committer | pkubaj <pkubaj@FreeBSD.org> | 2020-01-25 05:34:34 +0800 |
commit | 36e7c1b1e49fdbe82647f8c4b646610c8cf150fa (patch) | |
tree | d0f9995362dc2b3e563ff145608d7ed800193797 /multimedia | |
parent | e39b3d9ddabcf0727dd54d6afc5b25623c4c6e08 (diff) | |
download | freebsd-ports-gnome-36e7c1b1e49fdbe82647f8c4b646610c8cf150fa.tar.gz freebsd-ports-gnome-36e7c1b1e49fdbe82647f8c4b646610c8cf150fa.tar.zst freebsd-ports-gnome-36e7c1b1e49fdbe82647f8c4b646610c8cf150fa.zip |
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)
Diffstat (limited to 'multimedia')
-rw-r--r-- | multimedia/obs-studio/Makefile | 10 | ||||
-rw-r--r-- | multimedia/obs-studio/pkg-plist | 2 |
2 files changed, 10 insertions, 2 deletions
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 <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> 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 |