# Maintainer: Natanael Copa <ncopa@alpinelinux.org> setvar pkgname = 'gdk-pixbuf' setvar pkgver = '2.36.10' setvar pkgrel = '0' setvar pkgdesc = ""GDK Pixbuf library"" setvar url = ""http://www.gtk.org/"" setvar arch = ""all"" setvar license = ""LGPL"" setvar depends = ""shared-mime-info"" setvar depends_dev = """" setvar makedepends = ""$depends_dev tiff-dev libjpeg-turbo-dev gobject-introspection-dev libpng-dev glib-dev"" setvar install = ""$pkgname.pre-deinstall"" setvar triggers = ""$pkgname.trigger=/usr/lib/gdk-pixbuf-2.0/*/loaders"" setvar subpackages = ""$pkgname-dev $pkgname-doc $pkgname-lang"" setvar source = ""http://ftp.gnome.org/pub/gnome/sources/gdk-pixbuf/${pkgver%.*}/gdk-pixbuf-$pkgver.tar.xz CVE-2017-6312.patch CVE-2017-6314.patch "" setvar replaces = ""gtk+"" setvar _builddir = ""$srcdir"/$pkgname-$pkgver" # secfixes: # 2.36.6-r1: # - CVE-2017-6311 # - CVE-2017-6312 # - CVE-2017-6314 proc prepare { cd $_builddir for i in $source { case (i) { *.patch { msg $i; patch -p1 -i "$srcdir"/$i || return 1} } } } proc build { cd $_builddir ./configure \ --build=$CBUILD \ --host=$CHOST \ --prefix=/usr \ --sysconfdir=/etc \ --with-x11 \ --mandir=/usr/share/man \ --infodir=/usr/share/info \ || return 1 make || return 1 } proc package { cd $_builddir make DESTDIR="$pkgdir" install } proc doc { setvar replaces = ""gtk+-doc"" default_doc } proc dev { setvar replaces = ""gtk+-dev"" default_dev } setvar sha512sums = ""d080d20baa20efe58cc5e5d043532f57e7950c0f7a3661998f924ae2a819f6bf1113e1da7785ac2063dfa582576d418eea5b3c80ea3db16057de43cc3f911d35 gdk-pixbuf-2.36.10.tar.xz 3b67e10ae02ecfdb541c427f811541e2cd0cfc3f048b1e4b119767b7f8f3a02de8a9c7302c21d23de1ea886f994d4dcdb687580c970d7d49eba80f17075ff0de CVE-2017-6312.patch 2ea67f0716234de017f7e8c628d544b40513f23689d70e5e5e2621affabce40ae733d399f64d2641616c114ac7f3fa22396e68142656dbb10993d70181ff5a50 CVE-2017-6314.patch""