diff options
author | root <root@rshg054.dnsready.net> | 2012-06-22 00:01:45 +0000 |
---|---|---|
committer | root <root@rshg054.dnsready.net> | 2012-06-22 00:01:45 +0000 |
commit | fb930f28bff4a4b4b37444e3f570904d6db3d06e (patch) | |
tree | bb84b848119e7cb7050f05dd3ea2478c8ada7cf0 /community-staging/synfig/PKGBUILD | |
parent | 6d22541bcebb7236bedfb98a96d5a1292072e86c (diff) |
Fri Jun 22 00:01:45 UTC 2012
Diffstat (limited to 'community-staging/synfig/PKGBUILD')
-rw-r--r-- | community-staging/synfig/PKGBUILD | 41 |
1 files changed, 41 insertions, 0 deletions
diff --git a/community-staging/synfig/PKGBUILD b/community-staging/synfig/PKGBUILD new file mode 100644 index 000000000..6e6ad21fe --- /dev/null +++ b/community-staging/synfig/PKGBUILD @@ -0,0 +1,41 @@ +# $Id: PKGBUILD 72702 2012-06-20 11:15:26Z spupykin $ +# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com> +# Contributor: Franco Iacomella <yaco@gnu.org> + +pkgname=synfig +pkgver=0.63.05 +pkgrel=2 +pkgdesc="Professional vector animation program (CLI renderer only)" +arch=(i686 x86_64) +url="http://synfig.org" +license=('GPL2') +depends=('libxml++' 'libsigc++2.0' 'etl' 'imagemagick' 'ffmpeg-compat' 'fontconfig' 'libpng' + 'libtiff' 'libdv' 'libmng') +optdepends=('openexr' 'libsigc++') +conflicts=('synfig-core') +replaces=('synfig-core') +options=(!libtool) +source=(http://downloads.sourceforge.net/project/synfig/synfig/$pkgver/synfig-$pkgver.tar.gz + build-fix.patch + ffmpeg-0.8.patch) +md5sums=('8591cf17c26405d68d2cc050a2929292' + 'b5568b06fae1a7ee465b5380b1139b83' + 'ebf41046097cfd778dee9a9854561dae') + +build() { + cd $srcdir/$pkgname-$pkgver + export PKG_CONFIG_PATH=/usr/lib/ffmpeg-compat/pkgconfig:$PKG_CONFIG_PATH + LDFLAGS="$LDFLAGS -Wl,-rpath -Wl,/usr/lib/ffmpeg-compat" + CFLAGS="$CFLAGS -D__STDC_CONSTANT_MACROS" + CXXFLAGS="$CXXFLAGS -D__STDC_CONSTANT_MACROS" + [ -f configure ] || { libtoolize --ltdl --copy --force && autoreconf --install --force; } + [ -f Makefile ] || ./configure --prefix=/usr --sysconfdir=/etc --with-libavcodec --with-libdv + patch -p1 -i $srcdir/build-fix.patch + patch -Np1 -i $srcdir/ffmpeg-0.8.patch + make +} + +package() { + cd $srcdir/$pkgname-$pkgver + make DESTDIR=$pkgdir install +} |