summaryrefslogtreecommitdiffstats
path: root/gtk/Pkgfile
diff options
context:
space:
mode:
authortnut <tnut at nutyx dot org>2012-04-16 05:55:00 +0200
committertnut <tnut at nutyx dot org>2012-04-16 05:55:00 +0200
commit23174325e55ef6af599387c22c3110e79f1421f5 (patch)
tree249756ff8253c6b04ab3f1a71fb6adc8d995a8e4 /gtk/Pkgfile
parent143810c643c03b2096236ecdb872b193163c6ace (diff)
downloadnutyx-pakxe-23174325e55ef6af599387c22c3110e79f1421f5.tar.gz
nutyx-pakxe-23174325e55ef6af599387c22c3110e79f1421f5.tar.bz2
nutyx-pakxe-23174325e55ef6af599387c22c3110e79f1421f5.tar.xz
nutyx-pakxe-23174325e55ef6af599387c22c3110e79f1421f5.zip
ajout de gtk
Diffstat (limited to 'gtk/Pkgfile')
-rwxr-xr-xgtk/Pkgfile31
1 files changed, 31 insertions, 0 deletions
diff --git a/gtk/Pkgfile b/gtk/Pkgfile
new file mode 100755
index 000000000..0f0cd8e66
--- /dev/null
+++ b/gtk/Pkgfile
@@ -0,0 +1,31 @@
+# Description: Librairie multiplatforme permettant des interfaces graphiques
+# URL: http://www.gtk.org/
+# Maintainer: NuTyX core team
+# Packager: thierryn1 at hispeed dot ch
+# Depends on: cairo, pango, atk, libtiff, shared-mime-info, libcups, kerberos, gdk-pixbuf, xorg-libxi, xorg-libxcursor
+# Run on: cairo,pango,atk,libtiff,gdk-pixbuf,shared-mime-info,libcups,kerberos,xorg-libxi,xorg-libxcursor
+
+name=gtk
+version=2.24.7
+release=1
+source=(http://ftp.gnome.org/pub/gnome/sources/gtk+/${version%.*}/gtk+-$version.tar.xz)
+
+build() {
+ cd gtk+-$version
+ CXX=/bin/false ./configure --prefix=/usr \
+ --mandir=/usr/share/man \
+ --infodir=/usr/share/info \
+ --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
+ rm -r $PKG/usr/share/gtk-2.0/demo
+}
+
+