aboutsummaryrefslogtreecommitdiff
path: root/testing
diff options
context:
space:
mode:
authorCem Keylan <cem@ckyln.com>2020-12-21 09:33:04 +0300
committerCem Keylan <cem@ckyln.com>2020-12-21 09:33:04 +0300
commit1f39e5fff960cc5e71043b7353724bf5cee0eb2b (patch)
tree2b181568b9ad71b282f94bb2e431444fc0d3bb27 /testing
parent2be9f8da8d1945c763d07141fa33f2f84f5d3d2d (diff)
downloadrepository-1f39e5fff960cc5e71043b7353724bf5cee0eb2b.tar.gz
gtk4: add new package at 4.0.0 [TESTING]
Diffstat (limited to 'testing')
-rwxr-xr-xtesting/gtk4/build27
-rw-r--r--testing/gtk4/checksums1
-rw-r--r--testing/gtk4/depends16
-rwxr-xr-xtesting/gtk4/post-install3
-rw-r--r--testing/gtk4/sources1
-rw-r--r--testing/gtk4/version1
6 files changed, 49 insertions, 0 deletions
diff --git a/testing/gtk4/build b/testing/gtk4/build
new file mode 100755
index 00000000..f4bc3292
--- /dev/null
+++ b/testing/gtk4/build
@@ -0,0 +1,27 @@
+#!/bin/sh -e
+
+export DESTDIR=$1
+
+# Create gtk-doc subproject directory so that meson doesn't try to clone it
+# even when we disable it. We also don't really need sass, but there is no
+# option to disable it.
+mkdir -p subprojects/gtk-doc \
+ subprojects/libsass \
+ subprojects/sassc
+
+meson \
+ --prefix=/usr \
+ --sysconfdir=/etc \
+ --localstatedir=/var\
+ -Dgtk_doc=false \
+ -Dwayland-backend=false \
+ -Dwin32-backend=false \
+ -Dintrospection=disabled \
+ -Dmedia-gstreamer=disabled \
+ -Ddemos=false \
+ -Dbuild-tests=false \
+ -Dbuild-examples=false \
+ . output
+
+ninja -C output
+ninja -C output install
diff --git a/testing/gtk4/checksums b/testing/gtk4/checksums
new file mode 100644
index 00000000..35d4da18
--- /dev/null
+++ b/testing/gtk4/checksums
@@ -0,0 +1 @@
+d46cf5b127ea27dd9e5d2ff6ed500cb4067eeb2cb1cd2c313ccde8013b0b9bf9 gtk-4.0.0.tar.xz
diff --git a/testing/gtk4/depends b/testing/gtk4/depends
new file mode 100644
index 00000000..8633d7a6
--- /dev/null
+++ b/testing/gtk4/depends
@@ -0,0 +1,16 @@
+atk
+fribidi
+gdk-pixbuf
+libXcomposite
+libXcursor
+libXdamage
+libXext
+libXi
+libXinerama
+libXrandr
+libepoxy
+meson make
+pango
+perl make
+python make
+shared-mime-info
diff --git a/testing/gtk4/post-install b/testing/gtk4/post-install
new file mode 100755
index 00000000..551057e9
--- /dev/null
+++ b/testing/gtk4/post-install
@@ -0,0 +1,3 @@
+#!/bin/sh -e
+
+glib-compile-schemas /usr/share/glib-2.0/schemas/
diff --git a/testing/gtk4/sources b/testing/gtk4/sources
new file mode 100644
index 00000000..6b298d5d
--- /dev/null
+++ b/testing/gtk4/sources
@@ -0,0 +1 @@
+https://download.gnome.org/sources/gtk/4.0/gtk-4.0.0.tar.xz
diff --git a/testing/gtk4/version b/testing/gtk4/version
new file mode 100644
index 00000000..f5e1c911
--- /dev/null
+++ b/testing/gtk4/version
@@ -0,0 +1 @@
+4.0.0 1