summaryrefslogtreecommitdiffstats
path: root/abs/core/glib2/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'abs/core/glib2/PKGBUILD')
-rw-r--r--abs/core/glib2/PKGBUILD16
1 files changed, 9 insertions, 7 deletions
diff --git a/abs/core/glib2/PKGBUILD b/abs/core/glib2/PKGBUILD
index ee1ccf0..3498bde 100644
--- a/abs/core/glib2/PKGBUILD
+++ b/abs/core/glib2/PKGBUILD
@@ -3,20 +3,22 @@
pkgbase=glib2
pkgname=(glib2 glib2-docs)
-pkgver=2.42.1
-pkgrel=1
+pkgver=2.46.2
+pkgrel=2
pkgdesc="Common C routines used by GTK+ and other libs"
url="http://www.gtk.org/"
arch=(i686 x86_64)
-makedepends=('pkg-config' 'python2' 'libxslt' 'docbook-xml' 'pcre' 'libffi' 'elfutils')
+makedepends=('pkg-config' 'python2' 'libxslt' 'docbook-xml' 'pcre' 'libffi' 'libelf')
source=(http://ftp.gnome.org/pub/GNOME/sources/glib/${pkgver:0:4}/glib-$pkgver.tar.xz
- revert-warn-glib-compile-schemas.patch)
-sha256sums=('8f3f0865280e45b8ce840e176ef83bcfd511148918cc8d39df2ee89b67dcf89a'
- '049240975cd2f1c88fbe7deb28af14d4ec7d2640495f7ca8980d873bb710cc97')
+ revert-warn-glib-compile-schemas.patch memleak.patch)
+sha256sums=('5031722e37036719c1a09163cc6cf7c326e4c4f1f1e074b433c156862bd733db'
+ '049240975cd2f1c88fbe7deb28af14d4ec7d2640495f7ca8980d873bb710cc97'
+ '8337eeba4a32133d41575c8338fca32ac6a867e6e4a4e021355fcdeb606420a6')
prepare() {
cd glib-$pkgver
patch -Rp1 -i ../revert-warn-glib-compile-schemas.patch
+ patch -Np1 -i ../memleak.patch
}
build() {
@@ -36,7 +38,7 @@ check() {
package_glib2() {
depends=('pcre' 'libffi')
optdepends=('python2: for gdbus-codegen and gtester-report'
- 'elfutils: gresource inspection tool')
+ 'libelf: gresource inspection tool')
options=('!docs' '!emptydirs')
license=('LGPL')