summaryrefslogtreecommitdiff
path: root/pcr/lives/PKGBUILD
blob: 8dc338cc628bafa02ee0823a8067842c8360c770 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
# Contributor (Arch): Angelo Theodorou <encelo@users.sourceforge.net>
# Maintainer: Omar Vega Ramos <ovruni@gnu.org.pe>
pkgname=lives
pkgver=2.6.8
pkgrel=1
pkgdesc="A Video Editing System"
arch=('i686' 'x86_64')
url="http://lives-video.com"
license=('GPL')
depends=('mplayer' 'imagemagick' 'gtk3' 'sox' 'libvisual' 'liboil' 'mjpegtools' 'python' 'ffmpeg2.8' 'jack' 'fftw')
optdepends=('xorg-utils' 'sdl' 'libogg' 'mkvtoolnix-cli' 'libmatroska' 'ogmtools' 'libavc1394' 'dvgrab' 'cdrkit' 'lame' 'youtube-dl' 'opencv')
makedepends=('automake')
options=(!emptydirs)
changelog=lives.changelog
source=(http://lives-video.com/releases/LiVES-$pkgver.tar.bz2 disable-toonz.patch)
md5sums=('1b0fe11fc1c20fb176e740f181a948ad' '9820005ad3c3626dc4853fb09301f7bc')

prepare() {
  cd ${pkgname}-${pkgver}
  # with opencv installed, toonz.cpp failes to build
  patch -p1 -i "${srcdir}/disable-toonz.patch"
  automake
}

build() {
  cd ${pkgname}-${pkgver}
  PKG_CONFIG_PATH=/usr/lib/ffmpeg2.8/pkgconfig\
    ./configure --prefix=/usr --enable-turbo
  make
}

package() {
  cd ${pkgname}-${pkgver}
  make DESTDIR="${pkgdir}" install
}