diff options
-rw-r--r-- | .SRCINFO | 7 | ||||
-rw-r--r-- | PKGBUILD | 7 | ||||
-rw-r--r-- | wayland_and_openssl.patch | 10 |
3 files changed, 20 insertions, 4 deletions
@@ -1,9 +1,7 @@ -# Generated by mksrcinfo v8 -# Thu Apr 27 09:24:34 UTC 2017 pkgbase = lwks pkgdesc = Lightworks is a professional video editing suite pkgver = 14.0.0 - pkgrel = 2 + pkgrel = 3 url = http://www.lwks.com/ arch = x86_64 license = custom @@ -28,10 +26,13 @@ pkgbase = lwks provides = lightworks conflicts = lightworks, conflicts = lwks-beta + options = !strip source = http://downloads.lwks.com/v14/lwks-14.0.0-amd64.deb source = http://pep20.net/static/portaudio-19_20140130-3-x86_64.pkg.tar.xz + source = wayland_and_openssl.patch sha256sums = 66eb9f9678d979db76199f1c99a71df0ddc017bb47dfda976b508849ab305033 sha256sums = 1c6722888cf4ab5cbf4bdfd6272b7d524f0ee547f443a98cf554d6fa8ae5c1ca + sha256sums = ad6cb0cc7bd2e7d11dc5a898a5af10615e6d2d797aade46f0cdbea89321a395f pkgname = lwks @@ -12,7 +12,7 @@ pkgname=lwks lwksver=14.0.0 pkgver=$lwksver -pkgrel=2 +pkgrel=3 pkgdesc="Lightworks is a professional video editing suite" arch=('x86_64') options=('!strip') @@ -25,11 +25,13 @@ conflicts=('lightworks', 'lwks-beta') source=( "http://downloads.lwks.com/v14/lwks-$lwksver-amd64.deb" "http://pep20.net/static/portaudio-19_20140130-3-x86_64.pkg.tar.xz" + "wayland_and_openssl.patch" ) sha256sums=( '66eb9f9678d979db76199f1c99a71df0ddc017bb47dfda976b508849ab305033' '1c6722888cf4ab5cbf4bdfd6272b7d524f0ee547f443a98cf554d6fa8ae5c1ca' + 'ad6cb0cc7bd2e7d11dc5a898a5af10615e6d2d797aade46f0cdbea89321a395f' ) package() { @@ -44,6 +46,9 @@ package() { mv "$pkgdir"/lib/udev "$pkgdir"/usr/lib rmdir "$pkgdir"/lib + msg2 "Applying Wayland & OpenSSL 1.0 patch" + patch -Np3 -d "$pkgdir" -i "$srcdir/wayland_and_openssl.patch" + msg2 "Copying copyright file and creating a license dir" install -Dm644 "$pkgdir"/usr/share/doc/lightworks/copyright \ "$pkgdir"/usr/share/licenses/lightworks/copyright diff --git a/wayland_and_openssl.patch b/wayland_and_openssl.patch new file mode 100644 index 000000000000..28cfdba09fa4 --- /dev/null +++ b/wayland_and_openssl.patch @@ -0,0 +1,10 @@ +diff -ura lwks/pkg/lwks/usr/bin/lightworks lwks.patched/pkg/lwks/usr/bin/lightworks +--- lwks/pkg/lwks/usr/bin/lightworks 2017-04-03 17:41:56.000000000 +0200 ++++ lwks.patched/pkg/lwks/usr/bin/lightworks 2017-05-05 23:36:06.564547605 +0200 +@@ -32,4 +32,4 @@ + fi + + #Launch the app +-/usr/lib/lightworks/ntcardvt ++GDK_BACKEND=x11 LD_PRELOAD="libcrypto-compat.so.1.0.0 libssl-compat.so.1.0.0 libcurl-openssl-1.0.so" /usr/lib/lightworks/ntcardvt +Only in lwks: wayland_and_openssl.patch |