summaryrefslogtreecommitdiffstats
path: root/main/inkscape/APKBUILD
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2010-12-30 07:58:52 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2010-12-30 07:58:52 +0000
commit2814e2175eb346da3abcae6933b324d03534929c (patch)
treeaafe29ddd7a0070b2947fb089dea84bf0c3a57ab /main/inkscape/APKBUILD
parent3270e77a12feb8bd0ba4e9128021b025999ad36c (diff)
downloadaports-2814e2175eb346da3abcae6933b324d03534929c.tar.bz2
aports-2814e2175eb346da3abcae6933b324d03534929c.tar.xz
main/inkscape: rebuild against new poppler
Diffstat (limited to 'main/inkscape/APKBUILD')
-rw-r--r--main/inkscape/APKBUILD16
1 files changed, 13 insertions, 3 deletions
diff --git a/main/inkscape/APKBUILD b/main/inkscape/APKBUILD
index 4e85e5cf8..af012fa20 100644
--- a/main/inkscape/APKBUILD
+++ b/main/inkscape/APKBUILD
@@ -1,7 +1,7 @@
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=inkscape
pkgver=0.48.0
-pkgrel=1
+pkgrel=2
pkgdesc="A vector-based drawing program - svg compliant"
url="http://inkscape.sourceforge.net/"
arch="x86 x86_64"
@@ -19,15 +19,24 @@ popt-dev
lcms-dev
libxml2-dev
boost-dev
+autoconf automake
"
depends="desktop-file-utils"
install=
-source="http://downloads.sourceforge.net/sourceforge/$pkgname/$pkgname-$pkgver.tar.gz"
+source="http://downloads.sourceforge.net/sourceforge/$pkgname/$pkgname-$pkgver.tar.gz
+ inkscape-0.48.0-poppler.patch
+ "
_builddir="$srcdir"/$pkgname-$pkgver
prepare() {
cd "$_builddir"
+ for i in $source; do
+ case $i in
+ *.patch) msg "$i"; patch -p1 -i "$srcdir"/$i || return 1;;
+ esac
+ done
+ aclocal -I m4 && autoconf && automake -a && autoheader
}
build() {
@@ -48,4 +57,5 @@ package() {
cd "$_builddir"
make DESTDIR="$pkgdir" install || return 1
}
-md5sums="bb94543b813157d83281657a89465d46 inkscape-0.48.0.tar.gz"
+md5sums="bb94543b813157d83281657a89465d46 inkscape-0.48.0.tar.gz
+fa6eae3c40bf4560ee8ab7cb843b19da inkscape-0.48.0-poppler.patch"