diff options
Diffstat (limited to 'pcr/lives/PKGBUILD')
-rw-r--r-- | pcr/lives/PKGBUILD | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/pcr/lives/PKGBUILD b/pcr/lives/PKGBUILD new file mode 100644 index 000000000..8b76a7ce0 --- /dev/null +++ b/pcr/lives/PKGBUILD @@ -0,0 +1,31 @@ +# Contributor (Arch): Angelo Theodorou <encelo@users.sourceforge.net> +# Maintainer: Omar Vega Ramos <ovruni@gnu.org.pe> +pkgname=lives +pkgver=2.2.8 +pkgrel=1 +pkgdesc="A Video Editing System" +arch=('i686' 'x86_64') +url="http://lives.sourceforge.net" +license=('GPL') +depends=('mplayer' 'imagemagick' 'gtk3' 'sox' 'libvisual' 'liboil' 'libavc1394' 'mjpegtools' 'python' 'ffmpeg' 'ffmpeg-compat' 'jack' 'fftw') +optdepends=('xorg-utils' 'sdl' 'libogg' 'mkvtoolnix-cli' 'libmatroska' 'ogmtools' 'dvgrab' 'cdrkit' 'lame' 'youtube-dl') +options=(!libtool) +source=(http://www.xs4all.nl/%7Esalsaman/lives/current/LiVES-$pkgver.tar.bz2) +md5sums=('8440e2a2b6e83655dfc39c9fef5ee903') + +build() { + cd "$srcdir"/$pkgname-$pkgver + sed -i 's/gtk_label_set_y_align/gtk_label_set_yalign/g' src/widget-helper.c + # /bin/touch -> /usr/bin/touch + find -type f -exec sed -i 's:/bin/touch:/usr&:g' {} \; + ./configure --prefix=/usr + make +} + +package() { + cd "$srcdir"/$pkgname-$pkgver + + make DESTDIR="$pkgdir" install + rm "$pkgdir"/usr/bin/lives + ln -s /usr/bin/lives-exe "$pkgdir"/usr/bin/lives +} |