summaryrefslogtreecommitdiff
path: root/multimedia/obs-studio/obs-studio.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'multimedia/obs-studio/obs-studio.SlackBuild')
-rw-r--r--multimedia/obs-studio/obs-studio.SlackBuild8
1 files changed, 2 insertions, 6 deletions
diff --git a/multimedia/obs-studio/obs-studio.SlackBuild b/multimedia/obs-studio/obs-studio.SlackBuild
index 064a73eac1..05fa396d63 100644
--- a/multimedia/obs-studio/obs-studio.SlackBuild
+++ b/multimedia/obs-studio/obs-studio.SlackBuild
@@ -26,7 +26,7 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=obs-studio
-VERSION=${VERSION:-0.12.3}
+VERSION=${VERSION:-0.14.1}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -78,17 +78,13 @@ cd build
-DCMAKE_C_FLAGS:STRING="$SLKCFLAGS" \
-DCMAKE_CXX_FLAGS:STRING="$SLKCFLAGS" \
-DCMAKE_INSTALL_PREFIX=/usr \
- -DLIB_SUFFIX=${LIBDIRSUFFIX} \
+ -DOBS_MULTIARCH_SUFFIX="$LIBDIRSUFFIX" \
-DUNIX_STRUCTURE=1 \
-DCMAKE_BUILD_TYPE=Release ..
make
make install DESTDIR=$PKG
cd ..
-if [ "$ARCH" = "x86_64" ]; then
- mv $PKG/usr/lib $PKG/usr/lib${LIBDIRSUFFIX}
-fi
-
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -a COPYING INSTALL README $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild