aboutsummaryrefslogtreecommitdiff
path: root/extra
diff options
context:
space:
mode:
authorCem Keylan <cem@ckyln.com>2021-02-07 14:14:39 +0300
committerCem Keylan <cem@ckyln.com>2021-02-07 14:14:39 +0300
commitb6eef1a6d8df9085cf3a9bcff58f38aaa7e92427 (patch)
tree8773d0fc09a9fe73a89185e476129a233186c7b9 /extra
parent9cc6f7d619e6b5e904d73919e0dc566a4fb89a94 (diff)
downloadrepository-b6eef1a6d8df9085cf3a9bcff58f38aaa7e92427.tar.gz
gtk+3: move to extra
Diffstat (limited to 'extra')
-rwxr-xr-xextra/gtk+3/build37
-rw-r--r--extra/gtk+3/checksums1
-rw-r--r--extra/gtk+3/depends15
-rwxr-xr-xextra/gtk+3/post-install3
-rw-r--r--extra/gtk+3/sources1
-rw-r--r--extra/gtk+3/version1
6 files changed, 58 insertions, 0 deletions
diff --git a/extra/gtk+3/build b/extra/gtk+3/build
new file mode 100755
index 00000000..cce3cd18
--- /dev/null
+++ b/extra/gtk+3/build
@@ -0,0 +1,37 @@
+#!/bin/sh -e
+
+sed_i() {
+ for file; do :; done
+ sed "$@" > _
+ cat _ > "$file"; rm -f _
+}
+
+# Remove 'atk-bridge' dependency which removes the 'dbus' dependency.
+sed_i 's/ATK_PACKAGES="atk atk-bridge-2.0"/ATK_PACKAGES="atk"/' \
+ configure
+
+sed_i '/<atk-bridge.h>/d;/atk_bridge_adaptor_init/d' \
+ gtk/a11y/gtkaccessibility.c
+
+./configure \
+ --prefix=/usr \
+ --sysconfdir=/etc \
+ --localstatedir=/var \
+ --enable-xkb \
+ --enable-xinerama \
+ --enable-xrandr \
+ --enable-xfixes \
+ --enable-xcomposite \
+ --enable-xdamage \
+ --enable-x11-backend \
+ --enable-debug=no \
+ --disable-schemas-compile \
+ --disable-cups \
+ --disable-papi \
+ --disable-cloudprint \
+ --enable-introspection=no \
+ --enable-colord=no \
+ --enable-gtk-doc-html=no
+
+make
+make DESTDIR="$1" install
diff --git a/extra/gtk+3/checksums b/extra/gtk+3/checksums
new file mode 100644
index 00000000..5d02835c
--- /dev/null
+++ b/extra/gtk+3/checksums
@@ -0,0 +1 @@
+cc9d4367c55b724832f6b09ab85481738ea456871f0381768a6a99335a98378a gtk+-3.24.24.tar.xz
diff --git a/extra/gtk+3/depends b/extra/gtk+3/depends
new file mode 100644
index 00000000..3a47a670
--- /dev/null
+++ b/extra/gtk+3/depends
@@ -0,0 +1,15 @@
+atk
+fribidi
+gdk-pixbuf
+libXcomposite
+libXcursor
+libXdamage
+libXext
+libXi
+libXinerama
+libXrandr
+libepoxy
+pango
+perl make
+python make
+shared-mime-info
diff --git a/extra/gtk+3/post-install b/extra/gtk+3/post-install
new file mode 100755
index 00000000..551057e9
--- /dev/null
+++ b/extra/gtk+3/post-install
@@ -0,0 +1,3 @@
+#!/bin/sh -e
+
+glib-compile-schemas /usr/share/glib-2.0/schemas/
diff --git a/extra/gtk+3/sources b/extra/gtk+3/sources
new file mode 100644
index 00000000..423185f7
--- /dev/null
+++ b/extra/gtk+3/sources
@@ -0,0 +1 @@
+https://download.gnome.org/sources/gtk+/3.24/gtk+-3.24.24.tar.xz
diff --git a/extra/gtk+3/version b/extra/gtk+3/version
new file mode 100644
index 00000000..5033d00b
--- /dev/null
+++ b/extra/gtk+3/version
@@ -0,0 +1 @@
+3.24.24 1