blob: b52b31cb254246250d7982ad46e0748615713564 (
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
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
|
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=librsvg
pkgver=2.37.0
pkgrel=1
pkgdesc="SAX-based renderer for SVG files into a GdkPixbuf"
url="http://librsvg.sourceforge.net/"
arch="all"
license="LGPL"
subpackages="$pkgname-dev $pkgname-doc"
depends=
makedepends="gtk+-dev libcroco-dev libgsf-dev bzip2-dev
gobject-introspection-dev"
install=
source="http://ftp.gnome.org/pub/gnome/sources/$pkgname/${pkgver%.*}/$pkgname-$pkgver.tar.xz
CVE-2013-1881a.patch
CVE-2013-1881b.patch
"
depends_dev="glib-dev gtk+-dev cairo-dev libcroco-dev libgsf-dev"
_builddir="$srcdir"/$pkgname-$pkgver
build() {
cd "$_builddir"
./configure --prefix=/usr \
--libexecdir=/usr/lib/$pkgname \
--with-croco \
--disable-static \
--disable-mozilla-plugin \
--with-svgz || return 1
make || return 1
}
package() {
cd "$_builddir"
make DESTDIR=""$pkgdir"" install || return 1
rm -rf "$pkgdir"/usr/lib/mozilla || return 1
find "$pkgdir" -name '*.la' -delete
}
md5sums="3de91824870bf6758f37ab54bae2ac40 librsvg-2.37.0.tar.xz
9fa86dcd2f0db5bf7dc12415fa448249 CVE-2013-1881a.patch
812f2574a75029872a8a028eedd1a3a8 CVE-2013-1881b.patch"
sha256sums="06c57dbcb29369d147b4e6ff4257c42ae5120c504c30fb567a27034ee30fd835 librsvg-2.37.0.tar.xz
6063a8edde39a68ce0e4d8c70eb6abed3b9e72671a4dab0b1ce62cb6ef72a94d CVE-2013-1881a.patch
61638ea656feab1c3dbd5566bab02c3c0f9102af88099bfffa38472b292a5a4a CVE-2013-1881b.patch"
sha512sums="ba7207258503467cd8ffa041b216800bd558ad57c0868ff03309a1d6fd58757e9e28d9cd29106cb1f9fb3b349c58335cdf40a923a0856df870f1c3a279080265 librsvg-2.37.0.tar.xz
61e8e509b9982de4b5f387bda111c77a2b769a885815b870a498c119512039e8923c24491c301f5e290fb434e486bf94ff45f9b74a5b80437adb892f27ef8d91 CVE-2013-1881a.patch
834a364b8b91a77dc5e4a210e7ff6797d763f0c813e8a3a94f44199b15ca5c9ce8401db5c3de6078745c0e1c7d7b59241167c293504947cf76b842259e30c1e6 CVE-2013-1881b.patch"
|