summaryrefslogtreecommitdiff
path: root/community/synfig/PKGBUILD
blob: ce68f15bb767c2c5051aef6afcbe1bab3ece9366 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
# $Id: PKGBUILD 36102 2010-12-27 10:40:57Z spupykin $
# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
# Contributor: Franco Iacomella <yaco@gnu.org>

pkgname=synfig
pkgver=0.62.02
pkgrel=1
pkgdesc="Professional vector animation program (CLI renderer only)"
arch=(i686 x86_64 'mips64el')
url="http://synfig.org"
license=('GPL2')
depends=('libxml++' 'libsigc++2.0' 'etl' 'imagemagick' 'ffmpeg' 'fontconfig' 'libpng' 'libtiff' 'libdv' 'libmng')
optdepends=('openexr' 'libsigc++')
conflicts=('synfig-core')
replaces=('synfig-core')
options=(!libtool)
source=(http://downloads.sourceforge.net/sourceforge/$pkgname/$pkgname-$pkgver.tar.gz
	build-fix.patch)
md5sums=('e6af1aa9426cf629127d23edbd772f6d'
         '0e983a00807c6c76c380f4f9918e6724')

build() {
  cd $srcdir/$pkgname-$pkgver
  [ $NOEXTRACT -eq 1 ] || patch -p1 <$srcdir/build-fix.patch
  [ $NOEXTRACT -eq 1 ] || ./configure --prefix=/usr --sysconfdir=/etc --with-libavcodec --with-libdv
  make
  make DESTDIR=$pkgdir install
}