multimedia/obs-studio: fix build on powerpc64

Merge upstream commit to use GCC's SSE->AltiVec translation. Since it depends on compiling with GCC, it only works on ELFv1. Hopefully it will be possible to build it on ELFv2 in the future.

Also use luajit only where it's actually available. Since it's optional, the port builds anyway.

PR:		243199
Approved by:	yuri (maintainer)
MFH:		2020Q1 (fix build blanket)
This commit is contained in:
Piotr Kubaj 2020-01-08 21:36:57 +00:00
parent 75db9747d9
commit c64022c602
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=522460
2 changed files with 12 additions and 3 deletions

View File

@ -4,6 +4,9 @@ PORTNAME= obs-studio
DISTVERSION= 24.0.6
CATEGORIES= multimedia
PATCH_SITES= https://github.com/obsproject/${PORTNAME}/commit/
PATCHFILES= 03ab7274959a8a19e3c0c91416290f15be7e6ccd.patch:-p1
MAINTAINER= yuri@FreeBSD.org
COMMENT= Open source streaming/recording software
@ -22,14 +25,18 @@ LIB_DEPENDS= libavcodec.so:multimedia/ffmpeg \
libfreetype.so:print/freetype2 \
libjack.so:audio/jack \
libjansson.so:devel/jansson \
libluajit-5.1.so:lang/luajit \
libmbedtls.so:security/mbedtls \
libpulse.so:audio/pulseaudio \
libspeexdsp.so:audio/speexdsp \
libsysinfo.so:devel/libsysinfo \
libudev.so:devel/libudev-devd \
libv4l2.so:multimedia/libv4l \
libx264.so:multimedia/libx264
libx264.so:multimedia/libx264 \
${LIB_DEPENDS_${ARCH}}
LIB_DEPENDS_amd64= libluajit-5.1.so:lang/luajit
LIB_DEPENDS_armv7= libluajit-5.1.so:lang/luajit
LIB_DEPENDS_i386= libluajit-5.1.so:lang/luajit
LIB_DEPENDS_powerpc= libluajit-5.1.so:lang/luajit
USES= cmake compiler:c++11-lib gl lua pkgconfig python:3.4+ qt:5 xorg
USE_GITHUB= yes

View File

@ -1,3 +1,5 @@
TIMESTAMP = 1578220444
TIMESTAMP = 1578433418
SHA256 (obsproject-obs-studio-24.0.6_GH0.tar.gz) = 8efc6c51ba032478f24504b8a279c0f34db124bd5637d8a03671e429c53777eb
SIZE (obsproject-obs-studio-24.0.6_GH0.tar.gz) = 7900701
SHA256 (03ab7274959a8a19e3c0c91416290f15be7e6ccd.patch) = aae42499f9654e892d1afd9ad73f8d465a0adc891be3345d7dc5f4d0e589bf7d
SIZE (03ab7274959a8a19e3c0c91416290f15be7e6ccd.patch) = 1773