1 # Maintainer: goodguy <lists.cinelerra-gg.org>
5 pkgdesc="Cinelerra git://git.cinelerra-gg.org/goodguy/cinelerra.git ($pkgrel)"
7 url="https://www.cinelerra-gg.org"
9 DEPENDS=( 'alsa-lib' 'atk' 'bzip2' 'cairo' 'expat' 'fftw' 'flac'
10 'fontconfig' 'freetype2' 'fribidi' 'gcc-libs' 'gdk-pixbuf2'
11 'glib2' 'glibc' 'glu' 'graphite' 'gtk2' 'harfbuzz' 'libavc1394'
12 'libdatrie' 'libdv' 'libffi' 'libglvnd' 'libiec61883' 'libjpeg-turbo'
13 'libogg' 'libpng' 'libraw1394' 'libsndfile' 'libthai' 'libusb'
14 'libtheora' 'libtiff' 'libutil-linux' 'libvdpau' 'libva' 'libvorbis'
15 'libvpx' 'libx11' 'libxau' 'libxcb' 'libxcomposite' 'libxcursor'
16 'libxdamage' 'libxdmcp' 'libxext' 'libxfixes' 'libxft' 'libxi'
17 'libxinerama' 'libxrandr' 'libxrender' 'libxv' 'numactl' 'opus'
18 'pango' 'pcre' 'pixman' 'xz' 'zlib' 'xorg-server' 'libpulse'
19 'xorg-fonts-misc' 'ttf-dejavu' 'inkscape' 'dvdauthor' 'udftools' )
21 makedepends=( 'autoconf' 'automake' 'yasm' 'nasm' 'cmake' 'libtool'
22 'libxml2' 'perl-xml-libxml' 'perl-xml-parser'
23 'xorg-mkfontdir' 'xorg-mkfontscale' )
26 source=(https://www.cinelerra-gg.org/download/pkgs/src/cin_$pkgver.$pkgrel-src.tgz)
27 md5sums=('00000000000000000000000000000000')
30 cd "$srcdir/cinelerra-$pkgver"
31 sed -i 's/\<python\>/python2.7/' ./guicast/Makefile
35 cd "$srcdir/cinelerra-$pkgver"
37 ./configure --prefix=/usr --with-exec-name=$pkgname
39 CFLAGS+=' -Wno-narrowing -O2 -g -fno-omit-frame-pointer' \
40 CXXFLAGS+=' -Wno-narrowing -O2 -g -fno-omit-frame-pointer' \
41 WERROR_CFLAGS+=' -fpermissive'" \
46 cd "$srcdir/cinelerra-$pkgver"
47 make install DESTDIR="$pkgdir"