2012-11-01 13:42:49 +08:00
|
|
|
# Platform Packages for Chakra, part of chakra-project.org
|
|
|
|
#
|
|
|
|
# maintainer abveritas@chakra-project.org
|
2010-03-14 23:48:48 +08:00
|
|
|
|
|
|
|
pkgname=librsvg
|
2013-07-28 00:51:03 +08:00
|
|
|
pkgver=2.37.0
|
2012-11-01 13:42:49 +08:00
|
|
|
pkgrel=1
|
2010-03-14 23:48:48 +08:00
|
|
|
pkgdesc="SAX-based renderer for SVG files into a GdkPixbuf"
|
2012-11-01 13:42:49 +08:00
|
|
|
arch=('x86_64')
|
2010-03-14 23:48:48 +08:00
|
|
|
license=('LGPL')
|
2011-04-22 06:28:45 +08:00
|
|
|
depends=('gdk-pixbuf2' 'pango' 'libcroco')
|
2012-11-01 13:42:49 +08:00
|
|
|
makedepends=('intltool' 'gobject-introspection')
|
2010-03-14 23:48:48 +08:00
|
|
|
optdepends=('python: rsvg commandline utility')
|
|
|
|
options=('!libtool')
|
|
|
|
url="http://librsvg.sourceforge.net/"
|
2013-07-28 00:51:03 +08:00
|
|
|
source=("http://ftp.gnome.org/pub/gnome/sources/${pkgname}/${pkgver%.*}/${pkgname}-${pkgver}.tar.xz")
|
2010-03-14 23:48:48 +08:00
|
|
|
install=librsvg.install
|
2013-07-28 00:51:03 +08:00
|
|
|
sha256sums=('06c57dbcb29369d147b4e6ff4257c42ae5120c504c30fb567a27034ee30fd835')
|
2010-03-14 23:48:48 +08:00
|
|
|
|
|
|
|
build() {
|
|
|
|
cd "${srcdir}/${pkgname}-${pkgver}"
|
2012-11-01 13:42:49 +08:00
|
|
|
|
|
|
|
./configure --prefix=/usr \
|
|
|
|
--libexecdir=/usr/lib/${pkgname} \
|
|
|
|
--with-croco \
|
|
|
|
--disable-static \
|
|
|
|
--with-svgz \
|
|
|
|
--disable-gtk-theme
|
|
|
|
make
|
|
|
|
}
|
|
|
|
|
|
|
|
package() {
|
|
|
|
cd "${srcdir}/${pkgname}-${pkgver}"
|
|
|
|
|
|
|
|
make DESTDIR="${pkgdir}" install
|
2010-03-14 23:48:48 +08:00
|
|
|
}
|