Browse Source

xap/obs-studio: Upgraded to obs-studio-24.0.3.

current-20191101
Damien Goutte-Gattat 2 years ago
parent
commit
a414192a0e
  1. 1
      xap/obs-studio/obs-studio-21.1.1.tar.gz.sha256
  2. 1
      xap/obs-studio/obs-studio-24.0.3.tar.gz.sha256
  3. 19
      xap/obs-studio/obs-studio.SlackBuild

1
xap/obs-studio/obs-studio-21.1.1.tar.gz.sha256

@ -1 +0,0 @@
67c9102ae9cd885aae1db6d81716026f96eb8acc409491d7be00adbe0e2bc1c1 obs-studio-21.1.1.tar.gz

1
xap/obs-studio/obs-studio-24.0.3.tar.gz.sha256

@ -0,0 +1 @@
19f59b5a58e2158a93fe425e236c2d535afcbfd6b1d4c881cd1d8023a7e3c474 obs-studio-24.0.3.tar.gz

19
xap/obs-studio/obs-studio.SlackBuild

@ -1,6 +1,6 @@
#!/bin/bash
# Build script for Slackware
# Copyright (C) 2018 Damien Goutte-Gattat
# Copyright (C) 2018,2019 Damien Goutte-Gattat
#
# Redistribution and use of this script, with or without modifications,
# is permitted provided that the following conditions are met:
@ -24,11 +24,12 @@
#
# Latest obs-studio sourcecode is available at: <https://obsproject.com/>.
#
# Depends: l/qt5, xap/ffmpeg, ap/jack
# Depends: l/qt5
# Recommends: ap/jack, d/luajit, l/x264
# Source package infos
NAMESRC=${NAMESRC:-obs-studio}
VERSION=${VERSION:-21.1.1}
VERSION=${VERSION:-24.0.3}
ARCHIVE=${ARCHIVE:-$NAMESRC-$VERSION.tar.gz}
WGET=${WGET:-https://github.com/obsproject/obs-studio/archive/$VERSION.tar.gz}
@ -79,7 +80,7 @@ cmake \
-DUSE_SSL=1 \
-DCMAKE_INSTALL_PREFIX=/usr \
-DOBS_MULTIARCH_SUFFIX=$LIBDIRSUFFIX \
-DBUILD_TYPE=Release \
-DCMAKE_BUILD_TYPE=Release \
..
make -j $JOBS
make install/strip DESTDIR=$PKG
@ -89,15 +90,21 @@ cd ..
mkdir -p $PKG/usr/doc/$NAME
install -m 644 AUTHORS CONTRIBUTING.rst COPYING README.rst $PKG/usr/doc/$NAME
# Build HTML docs if Sphinx is available
if sphinx-build -b html docs/sphinx $PKG/usr/doc/$NAME/html ; then
rm -rf $PKG/usr/doc/$NAME/html/.{buildinfo,doctrees}
fi
# Copy slack-desc and doinst.sh files
install -D -m 644 $CWD/slack-desc $PKG/install/slack-desc
install -m 755 $CWD/doinst.sh $PKG/install/doinst.sh
# Add dependency infos
cat <<EOF > $PKG/install/slack-required
qt5
ffmpeg
jack
luajit
qt5
x264
EOF
# Package the tree

Loading…
Cancel
Save