aboutsummaryrefslogtreecommitdiff
path: root/extra/gtk+2/build
diff options
context:
space:
mode:
Diffstat (limited to 'extra/gtk+2/build')
-rwxr-xr-xextra/gtk+2/build18
1 files changed, 18 insertions, 0 deletions
diff --git a/extra/gtk+2/build b/extra/gtk+2/build
new file mode 100755
index 00000000..7bb2318b
--- /dev/null
+++ b/extra/gtk+2/build
@@ -0,0 +1,18 @@
+#!/bin/sh -e
+
+export CFLAGS="$CFLAGS -UGDK_PIXBUF_DISABLE_DEPRECATED"
+
+./configure \
+ --prefix=/usr \
+ --sysconfdir=/etc \
+ --localstatedir=/var \
+ --enable-debug=no \
+ --disable-gtk-doc \
+ --with-xinput=yes
+
+make
+make DESTDIR="$1" install
+
+rm -f "$1/usr/bin/gtk-update-icon-cache"
+rm -f "$1/usr/bin/gtk-demo"
+rm -rf "$1/usr/share/gtk-2.0/demo"