From a4ba4172a634815ffb7760e5a04f9d981149fc88 Mon Sep 17 00:00:00 2001 From: klaatu Date: Mon, 10 Apr 2017 23:07:27 +0700 Subject: [PATCH] multimedia/lwks: Updated for version 14.0.0. Signed-off-by: Willy Sudiarto Raharjo --- multimedia/lwks/README | 16 +++++++++------- multimedia/lwks/lwks.SlackBuild | 19 ++++++++++++------- multimedia/lwks/lwks.info | 6 +++--- 3 files changed, 24 insertions(+), 17 deletions(-) diff --git a/multimedia/lwks/README b/multimedia/lwks/README index 2896202b0f..dc1dc94403 100644 --- a/multimedia/lwks/README +++ b/multimedia/lwks/README @@ -1,13 +1,15 @@ +lightworks (professional non-linear editing system) + Lightworks is a cross-platform industry-grade NLE, having been used -for films including Pulp Fiction, Hugo, and The King's Speech. It is +for films including Pulp Fiction, Hugo, and The King's Speech. It is free to use, but for additional codec support and technical support, -you can also purchase a variety of licenses from http://lwks.com +you can purchase a variety of licenses from http://lwks.com Using Lightworks requires registration on lwks.com. It is free, but -you must register in order to use the application. You can register -in advance or after you launch Lightworks. +you must register in order to use the application. You can register in +advance or after you launch Lightworks. -Lightworks works with Nvidia or AMD graphic cards, but Nvidia is +Lightworks will work with Nvidia or AMD graphic cards, but Nvidia is recommended. Lightworks requires proprietary Nvidia drivers. Lightworks is 64bit only. @@ -21,7 +23,7 @@ From lwks.com: - 3GB RAM or higher - Two high-resolution displays (1920 x1080) or above - PCI Express graphics card (NVIDIA or ATI) with 1GB or higher -- Separate media and system drives (these can be internal or external, +- Separate media and system drives (these can be internal or external as long as the the interface is suitably fast) - Compatible sound card - 200MB Disk space for Lightworks installation @@ -34,4 +36,4 @@ I run this on two machines: - AMD FX-6300 / 8gb RAM / Nvidia GeForce GT 630 (proprietary drivers) - Intel i7 / 16gb RAM / Intel HD Mobile 4000 (laptop) -Both edit HD1080 footage without a problem. Your mileage may vary. +Both edit HD footage without a problem. Your mileage may vary. diff --git a/multimedia/lwks/lwks.SlackBuild b/multimedia/lwks/lwks.SlackBuild index c6ecff6eff..ced82cca3c 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 diff --git a/multimedia/lwks/lwks.info b/multimedia/lwks/lwks.info index 609417b60e..3a1a0bbf29 100644 --- a/multimedia/lwks/lwks.info +++ b/multimedia/lwks/lwks.info @@ -1,10 +1,10 @@ PRGNAM="lwks" -VERSION="12.6.0" +VERSION="14.0.0" HOMEPAGE="http://lwks.com" DOWNLOAD="UNSUPPORTED" MD5SUM="" -DOWNLOAD_x86_64="http://downloads.lwks.com/lwks-12.6.0-amd64.deb" -MD5SUM_x86_64="72962cdeb22de8225b38452c8602f21b" +DOWNLOAD_x86_64="http://downloads.lwks.com/v14/lwks-14.0.0-amd64.deb" +MD5SUM_x86_64="17a60e8c2956f65dd578a14cf673b0d4" REQUIRES="nvidia-cg-toolkit" MAINTAINER="klaatu" EMAIL="klaatu@member.fsf.org"