summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorBartłomiej Piotrowski2018-01-07 18:38:32 +0100
committerBartłomiej Piotrowski2018-01-07 18:38:32 +0100
commit663138361276733fb057fa926b122d0b6e16db77 (patch)
tree62fad9e5125c48363a0f01f6b5462e4209baa2cc /PKGBUILD
downloadaur-663138361276733fb057fa926b122d0b6e16db77.tar.gz
Import from official repositories
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD49
1 files changed, 49 insertions, 0 deletions
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..0d7bbe5acaf
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,49 @@
+# $Id: PKGBUILD 276264 2017-12-27 19:52:10Z bpiotrowski $
+# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
+# Contributor: Franco Iacomella <yaco@gnu.org>
+
+pkgname=synfig
+pkgver=1.2.1
+pkgrel=3
+pkgdesc="Professional vector animation program (CLI renderer only)"
+arch=(x86_64)
+url="http://synfig.org"
+license=('GPL2')
+depends=('libxml++2.6' 'libsigc++2.0' 'etl' 'libmagick6' 'ffmpeg' 'fontconfig'
+ 'libpng' 'libtiff' 'libdv' 'libmng' 'cairo' 'pango' 'boost-libs' 'mlt'
+ 'fftw' 'intltool')
+makedepends=('boost')
+optdepends=('openexr' 'libsigc++')
+conflicts=('synfig-core')
+replaces=('synfig-core')
+source=(https://downloads.sourceforge.net/project/synfig/releases/$pkgver/source/synfig-$pkgver.tar.gz
+ ffmpeg-3.0.patch)
+sha256sums=('4d8bada4e99f05ee16b4256fc3f5a551d00a745347944837bbd6fa158b57e457'
+ 'a443f7c663ec0f9969f7044e5831a4f543df5c69dfca3cc56b15259f56c516d1')
+
+prepare() {
+ cd $pkgname-$pkgver
+ patch -p1 -i "$srcdir"/ffmpeg-3.0.patch
+}
+
+build() {
+ cd $pkgname-$pkgver
+
+# CXXFLAGS="$CXXFLAGS -std=gnu++11"
+ PKG_CONFIG_PATH="/usr/lib/imagemagick6/pkgconfig" \
+ ./configure --prefix=/usr \
+ --sysconfdir=/etc \
+ --disable-static \
+ --with-imagemagick \
+ --with-magickpp \
+ --with-libavcodec \
+ --with-libdv
+
+ sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool
+ make
+}
+
+package() {
+ cd $pkgname-$pkgver
+ make DESTDIR="$pkgdir" install
+}