aboutsummaryrefslogtreecommitdiff
path: root/multimedia/obs-studio/obs-studio.SlackBuild
diff options
context:
space:
mode:
authorMatteo Bernardini <ponce@slackbuilds.org>2016-05-15 17:49:13 +0200
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2016-05-20 20:04:07 +0700
commitafaa1751362e2ea2215dffa9b04860cb81d8e271 (patch)
tree70f0e81587a596a8cfd9a13cfd1cee41f69bd6dd /multimedia/obs-studio/obs-studio.SlackBuild
parent2cfbd292e8ca0aad75d9ed786e4a2688e06d0150 (diff)
multimedia/obs-studio: Updated for version 0.14.1.
Added dependencies, fixed install on x86_64 Signed-off-by: Matteo Bernardini <ponce@slackbuilds.org>
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 064a73eac1fcc..05fa396d634ac 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