diff options
author | Cem Keylan <cem@ckyln.com> | 2021-02-04 13:23:56 +0300 |
---|---|---|
committer | Cem Keylan <cem@ckyln.com> | 2021-02-04 13:23:56 +0300 |
commit | ade362df734ef4567e5d68867dc0c5c55bed54e3 (patch) | |
tree | 11175eb65a618b7ffe0a150b0e028b32ea0e9987 /extra | |
parent | 3caa1a8aadc3ced5696a0d31837bc0852684409f (diff) | |
download | repository-ade362df734ef4567e5d68867dc0c5c55bed54e3.tar.gz |
gtk4: move to extra
Diffstat (limited to 'extra')
-rwxr-xr-x | extra/gtk4/build | 30 | ||||
-rw-r--r-- | extra/gtk4/checksums | 1 | ||||
-rw-r--r-- | extra/gtk4/depends | 18 | ||||
-rwxr-xr-x | extra/gtk4/post-install | 3 | ||||
-rw-r--r-- | extra/gtk4/sources | 1 | ||||
-rw-r--r-- | extra/gtk4/version | 1 |
6 files changed, 54 insertions, 0 deletions
diff --git a/extra/gtk4/build b/extra/gtk4/build new file mode 100755 index 00000000..07cb2b34 --- /dev/null +++ b/extra/gtk4/build @@ -0,0 +1,30 @@ +#!/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 \ + -Dsassc=disabled \ + -Dprint-cups=disabled \ + -Ddemos=false \ + -Dbuild-tests=false \ + -Dbuild-examples=false \ + -Dvulkan=disabled \ + . output + +ninja -C output +ninja -C output install diff --git a/extra/gtk4/checksums b/extra/gtk4/checksums new file mode 100644 index 00000000..49f74b62 --- /dev/null +++ b/extra/gtk4/checksums @@ -0,0 +1 @@ +973f651722a847e91e12be0a1c1c610aae0961f2f8d55c5d1fa39e17267d7ada gtk-4.1.0.tar.xz diff --git a/extra/gtk4/depends b/extra/gtk4/depends new file mode 100644 index 00000000..41bbe982 --- /dev/null +++ b/extra/gtk4/depends @@ -0,0 +1,18 @@ +atk +fribidi +gdk-pixbuf +glib +graphene +libXcomposite +libXcursor +libXdamage +libXext +libXi +libXinerama +libXrandr +libepoxy +meson make +pango +perl make +python make +shared-mime-info diff --git a/extra/gtk4/post-install b/extra/gtk4/post-install new file mode 100755 index 00000000..551057e9 --- /dev/null +++ b/extra/gtk4/post-install @@ -0,0 +1,3 @@ +#!/bin/sh -e + +glib-compile-schemas /usr/share/glib-2.0/schemas/ diff --git a/extra/gtk4/sources b/extra/gtk4/sources new file mode 100644 index 00000000..293206a9 --- /dev/null +++ b/extra/gtk4/sources @@ -0,0 +1 @@ +https://download.gnome.org/sources/gtk/4.1/gtk-4.1.0.tar.xz diff --git a/extra/gtk4/version b/extra/gtk4/version new file mode 100644 index 00000000..1bc2766f --- /dev/null +++ b/extra/gtk4/version @@ -0,0 +1 @@ +4.1.0 1 |