summaryrefslogtreecommitdiffstats
path: root/x11-toolkits
diff options
context:
space:
mode:
authorPavel Vinogradov2019-01-22 17:18:55 -0500
committerPavel Vinogradov2019-01-22 17:34:59 -0500
commit40d4a2360d51746f3c2ef1010a89213b3ec52af4 (patch)
tree21bbff0c4529b3c3ad8466f915df7e4d1ce5513d /x11-toolkits
parent0de43f54daa0605e50ad02d18dacf930f21d1636 (diff)
x11-toolkits/gtk+4: new spell, GTK 4
Diffstat (limited to 'x11-toolkits')
-rwxr-xr-xx11-toolkits/gtk+4/BUILD3
-rwxr-xr-xx11-toolkits/gtk+4/CONFIGURE18
-rwxr-xr-xx11-toolkits/gtk+4/DEPENDS83
-rwxr-xr-xx11-toolkits/gtk+4/DETAILS15
-rw-r--r--x11-toolkits/gtk+4/HISTORY3
5 files changed, 122 insertions, 0 deletions
diff --git a/x11-toolkits/gtk+4/BUILD b/x11-toolkits/gtk+4/BUILD
new file mode 100755
index 0000000000..3a8b816f8a
--- /dev/null
+++ b/x11-toolkits/gtk+4/BUILD
@@ -0,0 +1,3 @@
+OPTS+=" ${GTK4_OPTS}" &&
+
+default_build
diff --git a/x11-toolkits/gtk+4/CONFIGURE b/x11-toolkits/gtk+4/CONFIGURE
new file mode 100755
index 0000000000..437bb8508b
--- /dev/null
+++ b/x11-toolkits/gtk+4/CONFIGURE
@@ -0,0 +1,18 @@
+. "${GRIMOIRE}/MESON_CONFIGURE" &&
+
+config_query_option GTK4_OPTS "Build the broadway (HTML5) backend?" "n" \
+ "broadway-backend=true" "broadway-backend=false" &&
+
+config_query_option GTK4_OPTS "Build demos?" "n" \
+ "build-demoss=true" "build-demos=false" &&
+
+config_query_option GTK4_OPTS "Build examples?" "n" \
+ "build-examples=true" "build-examples=false" &&
+
+config_query_option GTK4_OPTS "Build tests?" "n" \
+ "build-tests=true" "build-test=false" &&
+
+if list_find "${GTK4_OPTS}" "build-tests=true"; then
+ config_query_option GTK4_OPTS "Install tests?" "n" \
+ "install-tests=true" "install-tests=false"
+fi
diff --git a/x11-toolkits/gtk+4/DEPENDS b/x11-toolkits/gtk+4/DEPENDS
new file mode 100755
index 0000000000..15f8618601
--- /dev/null
+++ b/x11-toolkits/gtk+4/DEPENDS
@@ -0,0 +1,83 @@
+depends meson &&
+depends python3 &&
+depends ninja-build-system &&
+depends atk &&
+depends -sub "CAIRO_DEVEL PDF PS SVG X GOBJ" cairo &&
+depends gdk-pixbuf2 &&
+depends glib2 &&
+depends graphene &&
+depends pango &&
+
+optional_depends cups \
+ "print-backends=cups,file" \
+ "print-backends=file" \
+ "Enable CUPS print backend support?" &&
+
+if is_depends_enabled "${SPELL}" "cups"; then
+ optional_depends colord \
+ "colord=yes" \
+ "colord=yes" \
+ "Build colord support for CUPS print backend"
+fi &&
+
+optional_depends gobject-introspection \
+ "introspection=true" \
+ "introspection=false" \
+ "to enable introspection support" &&
+
+optional_depends gstreamer-1.0 \
+ "media=gstreamer" \
+ "media=none" \
+ "for Gstreamer media backend" &&
+
+optional_depends gtk-doc \
+ "documentation=true" \
+ "documentation=false" \
+ "Build documentation with gtk-doc" &&
+
+optional_depends libx11 \
+ "x11-backend=true" \
+ "x11-backend=false" \
+ "to enable X11 backend" &&
+
+if is_depends_enabled "${SPELL}" "libx11"; then
+ depends at-spi2-atk &&
+ depends fontconfig &&
+ depends libxcursor &&
+ depends libxext &&
+ depends libxrender &&
+
+ optional_depends libxcomposite \
+ "" \
+ "" \
+ "for X11 Compositing support" &&
+
+ optional_depends libxdamage \
+ "" \
+ "" \
+ "for X11 Damaged region extension support" &&
+
+ optional_depends libxfixes \
+ "" \
+ "" \
+ "for X11 workarounds for various limitations" &&
+
+ optional_depends libxrandr \
+ "" \
+ "" \
+ "for X11 Resize and Rotate support"
+fi &&
+
+optional_depends libxinerama \
+ "xinerama=yes" \
+ "xinerama=no" \
+ "for X11 Xinerama extension support" &&
+
+optional_depends wayland \
+ "wayland-backend=true" \
+ "wayland-backend=false" \
+ "to enable Wayland backend" &&
+
+if is_depends_enabled "${SPELL}" "wayland"; then
+ depends wayland-protocols
+fi
diff --git a/x11-toolkits/gtk+4/DETAILS b/x11-toolkits/gtk+4/DETAILS
new file mode 100755
index 0000000000..e600d9dc8c
--- /dev/null
+++ b/x11-toolkits/gtk+4/DETAILS
@@ -0,0 +1,15 @@
+. "${GRIMOIRE}/MESON_FUNCTIONS"
+ SPELL="gtk+4"
+ VERSION="3.94.0"
+ SOURCE_HASH="sha256:a947caa5296610b0f1d7a03b58df34765c227c577c78e683e75eea3251a67035:UPSTREAM_HASH"
+ SOURCE="gtk+-$VERSION.tar.xz"
+SOURCE_DIRECTORY="${BUILD_DIRECTORY}/gtk+-${VERSION}"
+ SOURCE_URL[0]="${GNOME_URL}/sources/gtk+/${VERSION%.*}/${SOURCE}"
+ LICENSE[0]="LGPL"
+ WEB_SITE="http://www.gtk.org/"
+ ENTERED="20190122"
+ SHORT="highly usable, feature rich toolkit for creating GUIs"
+cat << EOF
+GTK+ is a widget toolkit for X and other windowing systems. It is used in such
+projects as the GIMP and GNOME.
+EOF
diff --git a/x11-toolkits/gtk+4/HISTORY b/x11-toolkits/gtk+4/HISTORY
new file mode 100644
index 0000000000..182bf78620
--- /dev/null
+++ b/x11-toolkits/gtk+4/HISTORY
@@ -0,0 +1,3 @@
+2019-01-22 Pavel Vinogradov <public@sourcemage.org>
+ * BUILD, CONFIGURE, DEPENDS, DETAILS: created spell
+