multimedia/obs-studio: Updated for version 22.0.2

Signed-off-by: Christoph Willing <chris.willing@linux.com>
This commit is contained in:
Christoph Willing 2018-08-31 14:18:34 +10:00
parent ad7bdcdbbe
commit 1729445a73
3 changed files with 17 additions and 5 deletions

View file

@ -1,3 +1,5 @@
This project is a rewrite of what was formerly known as "Open Broadcaster Software", software originally designed for recording and streaming live video content, efficiently.
For full functionality, plug-ins using jack-audio-connection-kit and vlc will be constructed if those packages (all available at SBo) are detected at build time.
Another optional build requirement is the mbedtls package which is used to provide RTMPS support. However it will be disabled unless at least version 2.7.0 of the mbedtls package is detected at build time.

View file

@ -24,7 +24,7 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=obs-studio
VERSION=${VERSION:-22.0.1}
VERSION=${VERSION:-22.0.2}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@ -70,6 +70,16 @@ find -L . \
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
# Check for mbedtls existence and version suitability (need at least version 2.7.0)
mbedtls="-DMBEDTLS_LIB=OFF"
if test -e /usr/include/mbedtls/version.h ; then
version_number_line=$(grep MBEDTLS_VERSION_NUMBER /usr/include/mbedtls/version.h)
if [ "$?" = "0" ]; then
version_number=$(expr substr $(echo $version_number_line | rev | cut -d' ' -f1 | rev) 3 8)
if expr $version_number \> 02070000 1>/dev/null ; then mbedtls="" ; fi
fi
fi
mkdir -p build
cd build
cmake \
@ -79,7 +89,7 @@ cd build
-DOBS_MULTIARCH_SUFFIX="$LIBDIRSUFFIX" \
-DOBS_VERSION_OVERRIDE=${VERSION} \
-DUNIX_STRUCTURE=ON \
-DUSE_SSL=ON \
$mbedtls \
-DCMAKE_BUILD_TYPE=Release ..
make
make install DESTDIR=$PKG

View file

@ -1,8 +1,8 @@
PRGNAM="obs-studio"
VERSION="22.0.1"
VERSION="22.0.2"
HOMEPAGE="https://obsproject.com/"
DOWNLOAD="https://github.com/obsproject/obs-studio/archive/22.0.1/obs-studio-22.0.1.tar.gz"
MD5SUM="7d9ad616caaa3bd0f93a2af26407edfe"
DOWNLOAD="https://github.com/obsproject/obs-studio/archive/22.0.2/obs-studio-22.0.2.tar.gz"
MD5SUM="8c63cdc08a4510f288d174c65b252544"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES="faac ffmpeg jansson qt5 rtmpdump x264 jack-audio-connection-kit libfdk-aac"