mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2024-11-08 22:45:43 +00:00
67 lines
2.9 KiB
Bash
67 lines
2.9 KiB
Bash
# $Id: PKGBUILD 53466 2009-10-01 01:30:07Z eric $
|
|
# Maintainer: tobias <tobias@archlinux.org>
|
|
# Contributor: Tobias Kieslich <tobias@justdreams.de>
|
|
|
|
pkgname=inkscape
|
|
pkgver=0.46
|
|
pkgrel=13
|
|
pkgdesc="A vector-based drawing program - svg compliant"
|
|
url="http://inkscape.sourceforge.net/"
|
|
arch=('i686' 'x86_64')
|
|
license=('GPL' 'LGPL')
|
|
depends=('gtkmm>=2.16.0' 'gc>=7.1' 'desktop-file-utils' 'libxslt>=1.1.24' 'perl>=5.10.0' 'pyxml' 'openssl>=0.9.8k' 'lcms>=1.18' 'gtkspell>=2.0.15' 'poppler-glib>=0.10.5' 'imagemagick>=6.5.0.10' 'popt' 'python>=2.6' 'gnome-vfs>=2.24.1' 'libjpeg>=7')
|
|
makedepends=('intltool' 'pkgconfig' 'boost')
|
|
options=('!libtool')
|
|
install=inkscape.install
|
|
source=(http://downloads.sourceforge.net/sourceforge/${pkgname}/${pkgname}-${pkgver}.tar.gz
|
|
gtk-clist.patch
|
|
inkscape-0.46-bitmap-fonts.patch
|
|
inkscape-0.46-colors.patch
|
|
inkscape-0.46-desktop.patch
|
|
inkscape-0.46-fixlatex.patch
|
|
inkscape-0.46-gtkopen.patch
|
|
inkscape-0.46-poppler-0.8.3.patch
|
|
inkscape-0.46-uniconv.patch
|
|
perl-5.10.patch
|
|
libpng-setjmp.patch
|
|
inkscape-OOT-build-fix.patch
|
|
inkscape-0.46-gcc44-glibc-2.10.patch
|
|
inkscape-0.46-Makefile.patch)
|
|
md5sums=('3bae9034047379012127e52f9b138d32' 'c68e508b390257d5a79364ce998be95d'\
|
|
'ab68758f0d5847ef5283a6d5bcc7c355' 'd4ffc1c63cebd49e974b6c3bcb1277f3'\
|
|
'f1125806d944f6f30085852a348775a4' '64606776db5d90d1032b614dd0024655'\
|
|
'4a11011b2ca47c6deb1e8bb85612632e' 'fffe7ed73bdadcf0f90282d5afc4df30'\
|
|
'0044088037f42743dcad66a7408ce8b5' 'da1009efea12f6512e69cc3ec8604f4f'\
|
|
'dae4bdc3e6b6489e219cc6c0e143ae7e' '569b73f9195f5b4d8522caab722fd600'\
|
|
'b153c8183075d9ce96bd2819c29b4d7b' '7152357437de5618d08f185e3c66bb03')
|
|
|
|
build() {
|
|
cd "${srcdir}/${pkgname}-${pkgver}"
|
|
patch -Np0 -i "${srcdir}/gtk-clist.patch" || return 1
|
|
patch -Np1 -i "${srcdir}/inkscape-0.46-bitmap-fonts.patch" || return 1
|
|
patch -Np2 -i "${srcdir}/inkscape-0.46-colors.patch" || return 1
|
|
patch -Np1 -i "${srcdir}/inkscape-0.46-desktop.patch" || return 1
|
|
patch -Np1 -i "${srcdir}/inkscape-0.46-fixlatex.patch" || return 1
|
|
patch -Np0 -i "${srcdir}/inkscape-0.46-gtkopen.patch" || return 1
|
|
patch -Np1 -i "${srcdir}/inkscape-0.46-poppler-0.8.3.patch" || return 1
|
|
patch -Np1 -i "${srcdir}/inkscape-0.46-uniconv.patch" || return 1
|
|
patch -Np1 -i "${srcdir}/perl-5.10.patch" || return 1
|
|
patch -Np1 -i "${srcdir}/libpng-setjmp.patch" || return 1
|
|
patch -Np0 -i "${srcdir}/inkscape-OOT-build-fix.patch" || return 1
|
|
patch -Np0 -i "${srcdir}/inkscape-0.46-gcc44-glibc-2.10.patch" || return 1
|
|
aclocal || return 1
|
|
autoconf || return 1
|
|
automake || return 1
|
|
CFLAGS="${CFLAGS} -I/usr/include/ImageMagick" \
|
|
CXXFLAGS="${CXXFLAGS} -I/usr/include/ImageMagick" \
|
|
./configure --prefix=/usr \
|
|
--enable-inkboard \
|
|
--enable-lcms \
|
|
--with-xft \
|
|
--with-python \
|
|
--with-perl \
|
|
--with-gnome-vfs || return 1
|
|
patch -Np0 -i "${srcdir}/inkscape-0.46-Makefile.patch" || return 1
|
|
make || return 1
|
|
make DESTDIR="${pkgdir}" install || return 1
|
|
}
|