summaryrefslogtreecommitdiff
path: root/community/synfig/PKGBUILD
diff options
context:
space:
mode:
authorNicolás Reynolds <fauno@endefensadelsl.org>2013-12-27 23:55:53 +0000
committerNicolás Reynolds <fauno@endefensadelsl.org>2013-12-27 23:55:53 +0000
commit65eeff79fff8a1bfdf67ca51d147384f46f4d5c0 (patch)
treefbfdff322b28d9a3c37e6e31c94caf1d8e48dac1 /community/synfig/PKGBUILD
parentd53c44f055929b18d7d1b25f8367ee5836c435fc (diff)
Fri Dec 27 23:54:04 UTC 2013
Diffstat (limited to 'community/synfig/PKGBUILD')
-rw-r--r--community/synfig/PKGBUILD22
1 files changed, 13 insertions, 9 deletions
diff --git a/community/synfig/PKGBUILD b/community/synfig/PKGBUILD
index 3285e000c..2bc7e7d52 100644
--- a/community/synfig/PKGBUILD
+++ b/community/synfig/PKGBUILD
@@ -1,10 +1,10 @@
-# $Id: PKGBUILD 99998 2013-10-31 02:55:04Z allan $
+# $Id: PKGBUILD 102282 2013-12-07 10:37:16Z bpiotrowski $
# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
# Contributor: Franco Iacomella <yaco@gnu.org>
pkgname=synfig
-pkgver=0.64.0
-pkgrel=7
+pkgver=0.64.1
+pkgrel=2
pkgdesc="Professional vector animation program (CLI renderer only)"
arch=(i686 x86_64)
url="http://synfig.org"
@@ -15,15 +15,23 @@ makedepends=('boost')
optdepends=('openexr' 'libsigc++')
conflicts=('synfig-core')
replaces=('synfig-core')
-source=(http://downloads.sourceforge.net/project/synfig/synfig/$pkgver/synfig-$pkgver.tar.gz
+source=(http://downloads.sourceforge.net/project/synfig/releases/$pkgver/source/synfig-$pkgver.tar.gz
build-fix.patch
ffmpeg-0.8.patch
ffmpeg-loop.patch)
-md5sums=('124cb4059b9f48dc5c37204660053d6f'
+md5sums=('548a5d51a48b2be0c3fcaebe917a5d88'
'b5568b06fae1a7ee465b5380b1139b83'
'ebf41046097cfd778dee9a9854561dae'
'c6684c876c093f5e53d2c46592994e9b')
+prepare() {
+ cd $srcdir/$pkgname-$pkgver
+ patch -p1 -i $srcdir/build-fix.patch
+ patch -Np1 -i $srcdir/ffmpeg-0.8.patch
+# patch -Np1 -i $srcdir/ffmpeg-loop.patch
+ sed -i '1,1i#include <string.h>' src/modules/mod_png/trgt_png.cpp
+}
+
build() {
cd $srcdir/$pkgname-$pkgver
export PKG_CONFIG_PATH=/usr/lib/ffmpeg-compat/pkgconfig:$PKG_CONFIG_PATH
@@ -32,10 +40,6 @@ build() {
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
- patch -Np1 -i $srcdir/ffmpeg-loop.patch
- sed -i '1,1i#include <string.h>' src/modules/mod_png/trgt_png.cpp
make
}