summaryrefslogtreecommitdiffstats
path: root/extra/gtk/Pkgfile
diff options
context:
space:
mode:
Diffstat (limited to 'extra/gtk/Pkgfile')
-rwxr-xr-xextra/gtk/Pkgfile12
1 files changed, 8 insertions, 4 deletions
diff --git a/extra/gtk/Pkgfile b/extra/gtk/Pkgfile
index eb77f7c21..505dafe99 100755
--- a/extra/gtk/Pkgfile
+++ b/extra/gtk/Pkgfile
@@ -2,21 +2,25 @@
# URL: http://www.gtk.org/
# Maintainer: NuTyX core team
# Packager: thierryn1 at hispeed dot ch
-# Depends on: cairo, pango, atk, libtiff, glib, gdk-pixbuf, libjpeg, shared-mime-info, libcups, kerberos
+# Depends on: cairo, pango, atk, libtiff, glib, libjpeg, shared-mime-info, libcups, kerberos, gdk-pixbuf
name=gtk
-version=2.23.3
+version=2.22.1
release=1
source=(http://ftp.gnome.org/pub/gnome/sources/gtk+/${version%.*}/gtk+-$version.tar.bz2)
build() {
cd gtk+-$version
- ./configure --prefix=/usr \
+ CXX=/bin/false ./configure --prefix=/usr \
--mandir=/usr/share/man \
--infodir=/usr/share/info \
- --sysconfdir=/etc
+ --sysconfdir=/etc \
+ --with-xinput=yes
make
make DESTDIR=$PKG install
+
+ sed -i "s#env python#env python2#" $PKG/usr/bin/gtk-builder-convert
+
mkdir -p $PKG/etc/gtk-2.0
echo 'gtk-fallback-icon-theme = "gnome"' > $PKG/etc/gtk-2.0/gtkrc
rm -r $PKG/usr/share/gtk-doc