summaryrefslogblamecommitdiff
path: root/user/librsvg/APKBUILD
blob: 3fa19b15b68c84932815deea52665af06471922d (plain) (tree)
1
2
3
4
5
6
7
8
9
10
               
              




                                                           
          

                                                      
                                                                                         


                      
         








                                                


                  


                                        
                                                                                                                                                                     
# Maintainer: 
pkgname=librsvg
pkgver=2.40.21
pkgrel=0
pkgdesc="SAX-based renderer for SVG files into a GdkPixbuf"
url="https://wiki.gnome.org/action/show/Projects/LibRsvg"
arch="all"
options="!check"  # Depends on specific font hinting.
license="LGPL-2.0+"
subpackages="$pkgname-dev $pkgname-doc"
depends=""
depends_dev="gtk+2.0-dev libcroco-dev libgsf-dev"
makedepends="$depends_dev bzip2-dev cairo-dev glib-dev
	gobject-introspection-dev"
source="https://download.gnome.org/sources/$pkgname/${pkgver%.*}/$pkgname-$pkgver.tar.xz"

# secfixes:
#   2.40.21-r0:
#     - CVE-2019-20446

build() {
	./configure \
		--build=$CBUILD \
		--host=$CHOST \
		--prefix=/usr \
		--libexecdir=/usr/lib/$pkgname \
		--disable-static
	make
}

check() {
	make check
}

package() {
	make DESTDIR=""$pkgdir"" install
	rm -rf "$pkgdir"/usr/lib/mozilla
}

sha512sums="db0563d8e0edaae642a6b2bcd239cf54191495058ac8c7ff614ebaf88c0e30bd58dbcd41f58d82a9d5ed200ced45fc5bae22f2ed3cf3826e9348a497009e1280  librsvg-2.40.21.tar.xz"