1 # Maintainer: goodguy <lists.cinelerra-cv.org>
5 pkgdesc="Cinelerra git://git.cinelerra-cv.org/goodguy/cinelerra.git ($pkgrel)"
7 url="http://www.cinelerra-cv.org"
9 depends=('xorg-server' 'xorg-server-utils' 'libpng' 'libxv' 'libva'
10 'libxft' 'freetype2' 'alsa-lib' 'inkscape' 'dvdauthor')
11 makedepends=('yasm' 'nasm' 'cmake'
12 'libxml2' 'perl-xml-libxml' 'perl-xml-parser')
14 source=(https://www.cinelerra-cv.org/five/pkgs/src/cin_$pkgver.$pkgrel-src.tgz)
15 md5sums=('00000000000000000000000000000000')
18 cd "$srcdir/cinelerra-$pkgver"
19 sed -i 's/\<python\>/python2.7/' ./guicast/Makefile
23 cd "$srcdir/cinelerra-$pkgver"
25 export FFMPEG_EXTRA_CFG=" --disable-vdpau"
26 ./configure --prefix=/usr --with-exec-name=$pkgname
28 CFLAGS+=' -Wno-narrowing -O2 -g -fno-omit-frame-pointer' \
29 CXXFLAGS+=' -Wno-narrowing -O2 -g -fno-omit-frame-pointer' \
30 WERROR_CFLAGS+=' -fpermissive'" \
35 cd "$srcdir/cinelerra-$pkgver"
36 make install DESTDIR="$pkgdir"