diff --git a/testing/gtk+2/build b/testing/gtk+2/build new file mode 100755 index 00000000..f5cb218c --- /dev/null +++ b/testing/gtk+2/build @@ -0,0 +1,24 @@ +#!/bin/sh -e + +export CFLAGS="$CFLAGS -UGDK_PIXBUF_DISABLE_DEPRECATED" +./configure \ + --build="$(cc -dumpmachine)" \ + --host="$(cc -dumpmachine)" \ + --prefix=/usr \ + --sysconfdir=/etc \ + --localstatedir=/var \ + --disable-nls \ + --enable-debug=no \ + --disable-gtk-doc \ + --with-xinput=yes + +sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool +# TODO: Make GTK+2 build with demos. +sed -i -e 's/demos //g' Makefile + +make +make DESTDIR="$1" install + +# Remove a boat load of HTML documentation. +rm -rf "$1/gtk-doc/" +rm "$1/usr/bin/gtk-update-icon-cache" diff --git a/testing/gtk+2/checksums b/testing/gtk+2/checksums new file mode 100644 index 00000000..987f312c --- /dev/null +++ b/testing/gtk+2/checksums @@ -0,0 +1 @@ +b6c8a93ddda5eabe3bfee1eb39636c9a03d2a56c7b62828b359bf197943c582e gtk+-2.24.32.tar.xz diff --git a/testing/gtk+2/depends b/testing/gtk+2/depends new file mode 100644 index 00000000..7fe8ffc8 --- /dev/null +++ b/testing/gtk+2/depends @@ -0,0 +1,10 @@ +atk +atk-bridge-fake +fribidi +gdk-pixbuf +libXcomposite +libXi +libXinerama +libepoxy +pango +shared-mime-info diff --git a/testing/gtk+2/sources b/testing/gtk+2/sources new file mode 100644 index 00000000..9d4cf178 --- /dev/null +++ b/testing/gtk+2/sources @@ -0,0 +1 @@ +https://download.gnome.org/sources/gtk+/2.24/gtk+-2.24.32.tar.xz diff --git a/testing/gtk+2/version b/testing/gtk+2/version new file mode 100644 index 00000000..4ee4c903 --- /dev/null +++ b/testing/gtk+2/version @@ -0,0 +1 @@ +2.24.32 1