diff options
author | Natanael Copa <ncopa@alpinelinux.org> | 2009-06-13 14:30:46 +0000 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2009-06-13 14:30:46 +0000 |
commit | 8d3baa85c2cae8f11eb47dee50d882dcfbc796e3 (patch) | |
tree | dc78896a3ababc27292976f58cc4e95586de432a /x11/gtk+ | |
parent | d30327d5a83b23529896c4a9438a99ffdbf854ee (diff) | |
download | aports-8d3baa85c2cae8f11eb47dee50d882dcfbc796e3.tar.bz2 aports-8d3baa85c2cae8f11eb47dee50d882dcfbc796e3.tar.xz |
x11/gtk+: upgrade to 2.16.2
Diffstat (limited to 'x11/gtk+')
-rw-r--r-- | x11/gtk+/APKBUILD | 37 | ||||
-rw-r--r-- | x11/gtk+/gtk+.post-deinstall | 5 | ||||
-rw-r--r-- | x11/gtk+/gtk+.post-install | 5 | ||||
l--------- | x11/gtk+/gtk+.post-upgrade | 1 |
4 files changed, 26 insertions, 22 deletions
diff --git a/x11/gtk+/APKBUILD b/x11/gtk+/APKBUILD index 1276255a..cd378659 100644 --- a/x11/gtk+/APKBUILD +++ b/x11/gtk+/APKBUILD @@ -1,34 +1,25 @@ # Maintainer: Natanael Copa <ncopa@alpinelinux.org> pkgname=gtk+ -pkgver=2.16.0 -pkgrel=2 +pkgver=2.16.2 +pkgrel=0 pkgdesc="The GTK+ Toolkit (v2)" url="http://www.gtk.org/" +install="$pkgname.post-install $pkgname.post-upgrade $pkgname.post-deinstall" license="LGPL" subpackages="$pkgname-dev $pkgname-doc" -depends="atk - cairo - glib - libice - libjpeg - libx11 - libxcursor - libxdamage - libxext - libxi - libxfixes - libxrandr - pango - tiff - uclibc" +depends= makedepends="pkgconfig atk-dev cairo-dev + expat-dev + gettext-dev glib-dev + gnutls-dev libice-dev libiconv-dev libjpeg-dev libx11-dev + libxcomposite-dev libxcursor-dev libxdamage-dev libxext-dev @@ -37,11 +28,10 @@ makedepends="pkgconfig libxi-dev pango-dev tiff-dev" -# libxinerama libcups>=1.3.9 libxcomposite heimdal>=1.2.1 gnutls>=2.6.3" -#install=gtk2.install -source="http://ftp.gnome.org/pub/gnome/sources/gtk+/${pkgver%.*}/gtk+-$pkgver.tar.bz2" +source="http://ftp.gnome.org/pub/gnome/sources/gtk+/${pkgver%.*}/gtk+-$pkgver.tar.bz2 + $install" -depends_dev="atk-dev pango-dev cairo-dev" +depends_dev="atk-dev pango-dev cairo-dev glib-dev" build() { cd "$srcdir"/gtk+-$pkgver ./configure --prefix=/usr \ @@ -53,4 +43,7 @@ build() { make || return 1 make DESTDIR="$pkgdir" install || return 1 } -md5sums="139528802794287427fd4d18875b5cf5 gtk+-2.16.0.tar.bz2" +md5sums="396e98df15f6e4005e360b5710660ce3 gtk+-2.16.2.tar.bz2 +bf14adb7cc12acf93409ccf83545da06 gtk+.post-install +bf14adb7cc12acf93409ccf83545da06 gtk+.post-upgrade +ddc2c8add489c9f7f48f92cea34c05e6 gtk+.post-deinstall" diff --git a/x11/gtk+/gtk+.post-deinstall b/x11/gtk+/gtk+.post-deinstall new file mode 100644 index 00000000..e7ee2a15 --- /dev/null +++ b/x11/gtk+/gtk+.post-deinstall @@ -0,0 +1,5 @@ +#!/bin/sh + +rm -f etc/gtk-2.0/gtk.immodules +rm -f etc/gtk-2.0/gdk-pixbuf.loaders + diff --git a/x11/gtk+/gtk+.post-install b/x11/gtk+/gtk+.post-install new file mode 100644 index 00000000..80444cfb --- /dev/null +++ b/x11/gtk+/gtk+.post-install @@ -0,0 +1,5 @@ +#!/bin/sh + +usr/bin/gtk-query-immodules-2.0 > etc/gtk-2.0/gtk.immodules +usr/bin/gdk-pixbuf-query-loaders > etc/gtk-2.0/gdk-pixbuf.loaders + diff --git a/x11/gtk+/gtk+.post-upgrade b/x11/gtk+/gtk+.post-upgrade new file mode 120000 index 00000000..127667db --- /dev/null +++ b/x11/gtk+/gtk+.post-upgrade @@ -0,0 +1 @@ +gtk+.post-install
\ No newline at end of file |