aboutsummaryrefslogtreecommitdiff
path: root/multimedia/lwks/lwks.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'multimedia/lwks/lwks.SlackBuild')
-rw-r--r--multimedia/lwks/lwks.SlackBuild19
1 files changed, 12 insertions, 7 deletions
diff --git a/multimedia/lwks/lwks.SlackBuild b/multimedia/lwks/lwks.SlackBuild
index c6ecff6eff714..ced82cca3cd2b 100644
--- a/multimedia/lwks/lwks.SlackBuild
+++ b/multimedia/lwks/lwks.SlackBuild
@@ -9,7 +9,7 @@
# without any warranty.
PRGNAM=lwks
-VERSION=${VERSION:-12.6.0}
+VERSION=${VERSION:-14.0.0}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
ARCH=amd64
@@ -24,9 +24,9 @@ set -e
rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
-rm -rf data.tar.gz
-ar -p $CWD/$PRGNAM-$VERSION-$ARCH.deb data.tar.gz > lwks.tar.gz
-tar -xzvf $PRGNAM.tar.gz -C $TMP
+rm -rf data.tar.xz
+ar -p $CWD/$PRGNAM-$VERSION-$ARCH.deb data.tar.xz > lwks.tar.xz
+tar xvf $PRGNAM.tar.xz -C $TMP
cd usr/
chown -R root:root .
find -L . \
@@ -43,13 +43,18 @@ cp -rv $TMP/usr/share/applications $PKG/usr/share/
cp -rv $TMP/usr/share/fonts/truetype/lw3.ttf $PKG/usr/share/fonts/TTF/
cp -rv $TMP/usr/share/lightworks $PKG/usr/share/
-# arch patch thanks to Marco Lavorini
-sed -i 's|/usr/lib/lightworks/spawn|/usr/lib64/lightworks/spawn|' \
-$PKG/usr/bin/lightworks
+# patch thanks to Christoph Willing
+sed -i 's|/usr/lib/lightworks/ntcardvt|/usr/lib64/lightworks/ntcardvt|' \
+ $PKG/usr/bin/lightworks
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
+# editshare controller udev rules.
+# more thanks to Christoph Willing
+mkdir -p $PKG/etc/udev/rules.d
+cp -rv $TMP/lib/udev/rules.d/* $PKG/etc/udev/rules.d/
+
mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
cat $CWD/doinst.sh > $PKG/install/doinst.sh