We have moved to Git. This repository is only provided for compatibility with old installations. Learn how to migrate your installation here.

changeset 49:84f7fb6fd4d0

adding Lightworks 11.5
author Daniel Neugebauer <dneuge@energiequant.de>
date Sat, 01 Feb 2014 22:36:22 +0100
parents 50801b1fe3ee
children 1ae82261a72f
files media-video/lightworks/Manifest media-video/lightworks/lightworks-11.5.ebuild
diffstat 2 files changed, 96 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/media-video/lightworks/Manifest	Sat Feb 01 22:36:22 2014 +0100
@@ -0,0 +1,2 @@
+DIST lwks-11.5-amd64.deb 62011078 SHA256 e6e58f6a26346e6f841d94c850ecd89f8cd71985c0fce076c386993c44189da1 SHA512 b7705c06064ada713bc86fa6e4c29e885548106bdc981f490e8716a4351d230095ced6279d506512afbf5a114297dec17aac96aaad3a7f8ca7ccf38af5ec876c WHIRLPOOL 00120d9f8a037fbca79484988398a11f80f3db03f45d490d371fdbf7a25c2fdf3e61a8fc657e76d9f882bcc454f9fd7dcfe3eed13aa783b4e0337a4c5ce360e8
+EBUILD lightworks-11.5.ebuild 2986 SHA256 5fd1225143c5b2d19c6c2e99f38ec30b1715cb6ffc060168e1e3b0d877840af3 SHA512 4aff12f1ef9f04440bb3d2e18de830e4d31421e49eded1fb3b381000a2cc99dc698f9708090e80d9e5c74b401269129fa6f5f2f138386a382e1ff83d7223b606 WHIRLPOOL acd2abc926c4cc1e4654beb3c7a61836ccffaf20ee4add4565a0b6cafd05eefa5ca60ae76b14915ee070b8ff141d8963b0269b7a6738753da306d668c9d1453e
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/media-video/lightworks/lightworks-11.5.ebuild	Sat Feb 01 22:36:22 2014 +0100
@@ -0,0 +1,94 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+EAPI=4
+
+# ToDo list:
+#
+# - figure out runtime dependencies
+# - try to move Lightworks to /opt as it is only available as a pre-compiled binary
+#   (not sure if possible since it is intended to be installed to /usr)
+# - try to silence QA notices
+# - 32 bit version, maybe?
+# - figure out if high load/memory usage (memleak?) of ntcardvt process are specific to Gentoo
+
+inherit font
+
+DESCRIPTION="feature-rich non-linear video editor (NLE)"
+HOMEPAGE="http://www.lwks.com/"
+SRC_URI="lwks-11.5-amd64.deb"
+
+LICENSE="Lightworks"
+SLOT="0"
+KEYWORDS="~amd64"
+IUSE=""
+
+DEPEND="app-arch/dpkg sys-apps/sed"
+RDEPEND=""
+
+S="${WORKDIR}"
+
+pkg_nofetch() {
+	einfo "Please visit ${HOMEPAGE} to download Lightworks ${PV} and place ${SRC_URI} in ${DISTDIR}."
+}
+
+src_unpack() {
+	/usr/bin/dpkg-deb -x ${DISTDIR}/${SRC_URI} ${WORKDIR}
+}
+
+src_prepare() {
+	# .desktop entry: "Version" attribute is invalid (must be specification version, not app version number)
+	# see: http://standards.freedesktop.org/desktop-entry-spec/latest/ar01s05.html
+	/bin/sed -i -e 's/^Version=/X-Version=/' usr/share/applications/lightworks.desktop || die 'failed to fix lightworks.desktop'
+}
+
+src_install() {
+	insinto /lib/udev/rules.d
+	doins lib/udev/rules.d/20-lightworks.rules
+	
+	exeinto /usr/bin
+	doexe usr/bin/lightworks
+	
+	insinto /usr/lib64/lightworks
+	doins -r usr/lib/lightworks/*
+	
+	exeinto /usr/lib64/lightworks
+	doexe usr/lib/lightworks/spawn
+	doexe usr/lib/lightworks/ntcardvt
+	
+	insinto /usr/share/applications
+	doins usr/share/applications/lightworks.desktop
+	
+	insinto /usr/share/doc/lightworks
+	doins -r usr/share/doc/lightworks/*
+	
+	insinto /usr/share/fonts/truetype
+	doins usr/share/fonts/truetype/lw2.ttf
+	
+	insinto /usr/share/lightworks
+	doins -r usr/share/lightworks/*
+}
+
+pkg_postinst() {
+	# update font cache because we installed a TTF file
+	font_pkg_postinst
+	
+	#               1         2         3         4         5         6         7         8
+	#      12345678901234567890123456789012345678901234567890123456789012345678901234567890
+	einfo ""
+	einfo "Please ignore all QA notices printed above."
+	einfo ""
+	einfo "You will need to register an account at ${HOMEPAGE} in order to use Lightworks."
+	einfo "Some features are restricted on free accounts but can be unlocked for a fee if"
+	einfo "needed."
+	einfo ""
+	einfo "If you are running PulseAudio, you may want to use pasuspender around Lightworks"
+	einfo "if you experience high audio latency."
+	einfo ""
+	ewarn "Please monitor memory usage and CPU load during your first sessions with"
+	ewarn "Lightworks as ntcardvt *may* run wild and cause your system to fall into swap."
+	ewarn "If you can spare a few moments of your time and want to help, please contact us"
+	ewarn "at gentoo-overlay@megacoffee.net for trying to identify the cause of that"
+	ewarn "behaviour (reports about everything running fine are welcome as well). :)"
+}
\ No newline at end of file