aboutsummaryrefslogtreecommitdiffstats
path: root/main/gtk+3.0/APKBUILD
diff options
context:
space:
mode:
authorWilliam Pitcock <nenolod@dereferenced.org>2011-02-14 11:12:33 -0600
committerWilliam Pitcock <nenolod@dereferenced.org>2011-02-14 11:12:33 -0600
commitb68bb5607f16ad480c49ed322363d94ede817b33 (patch)
treed0c067fa19e68c3d3ad6401ab16f218b48b98fd3 /main/gtk+3.0/APKBUILD
parent7046c624e05adb1583c6dbd264c0b1c07d05cba9 (diff)
downloadaports-b68bb5607f16ad480c49ed322363d94ede817b33.tar.bz2
aports-b68bb5607f16ad480c49ed322363d94ede817b33.tar.xz
main/gtk+3.0: new aport
Diffstat (limited to 'main/gtk+3.0/APKBUILD')
-rw-r--r--main/gtk+3.0/APKBUILD69
1 files changed, 69 insertions, 0 deletions
diff --git a/main/gtk+3.0/APKBUILD b/main/gtk+3.0/APKBUILD
new file mode 100644
index 0000000000..4e1fd4c16e
--- /dev/null
+++ b/main/gtk+3.0/APKBUILD
@@ -0,0 +1,69 @@
+# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
+pkgname=gtk+3.0
+pkgver=3.0.0
+pkgrel=1
+pkgdesc="The GTK+ Toolkit (v3)"
+url="http://www.gtk.org/"
+install="$pkgname.post-install $pkgname.post-upgrade $pkgname.post-deinstall"
+triggers="$pkgname.trigger:/usr/share/icons/*"
+arch="all"
+license="LGPL"
+subpackages="$pkgname-dev $pkgname-doc"
+depends="shared-mime-info"
+
+replaces="gtk+"
+replaces_dev="gtk+-dev"
+replaces_doc="gtk+-doc"
+
+# depend on gtk+2.0 for update-icon-cache
+depends="gtk+2.0"
+
+makedepends="pkgconfig
+ atk-dev
+ cairo-dev
+ cups-dev
+ expat-dev
+ gdk-pixbuf-dev
+ gettext-dev
+ glib-dev
+ gnutls-dev
+ gobject-introspection
+ libice-dev
+ libiconv-dev
+ jpeg-dev>=8
+ libx11-dev
+ libxcomposite-dev
+ libxcursor-dev
+ libxdamage-dev
+ libxext-dev
+ libxfixes-dev
+ libxrandr-dev
+ libxi-dev
+ pango-dev
+ tiff-dev
+ zlib-dev"
+source="http://ftp.gnome.org/pub/gnome/sources/gtk+/${pkgver%.*}/gtk+-$pkgver.tar.bz2"
+
+depends_dev="atk-dev pango-dev cairo-dev glib-dev intltool gdk-pixbuf-dev"
+
+_builddir="$srcdir"/gtk+-$pkgver
+build() {
+ cd "$_builddir"
+ ./configure --prefix=/usr \
+ --sysconfdir=/etc \
+ --localstatedir=/var \
+ --with-xinput=yes \
+ --without-libjasper \
+ --with-included-loaders=png || return 1
+ make || return 1
+}
+
+package() {
+ cd "$_builddir"
+ make DESTDIR="$pkgdir" install || return 1
+
+ # use gtk+2.0's for now
+ rm "$pkgdir"/usr/bin/gtk-update-icon-cache
+}
+
+md5sums="8155d7b91cc0c187891349b6fad1a765 gtk+-3.0.0.tar.bz2"