git: 0bc7478682b2 - main - x11-toolkits/gtk40: Add GTK4 section to Mk/Uses/gnome.mk
Neel Chauhan
nc at FreeBSD.org
Wed May 26 23:50:13 UTC 2021
The branch main has been updated by nc:
URL: https://cgit.FreeBSD.org/ports/commit/?id=0bc7478682b2d7c9393f2dd095d99072070a2f65
commit 0bc7478682b2d7c9393f2dd095d99072070a2f65
Author: Neel Chauhan <nc at FreeBSD.org>
AuthorDate: 2021-05-26 23:27:50 +0000
Commit: Neel Chauhan <nc at FreeBSD.org>
CommitDate: 2021-05-26 23:50:03 +0000
x11-toolkits/gtk40: Add GTK4 section to Mk/Uses/gnome.mk
---
Mk/Uses/gnome.mk | 10 +++++++++-
1 file changed, 9 insertions(+), 1 deletion(-)
diff --git a/Mk/Uses/gnome.mk b/Mk/Uses/gnome.mk
index 30b345823f3e..e0d53debc62a 100644
--- a/Mk/Uses/gnome.mk
+++ b/Mk/Uses/gnome.mk
@@ -86,6 +86,9 @@ _USE_GNOME_ALL+=dconf evolutiondataserver3 gnomecontrolcenter3 gnomedesktop3 \
libgda5-ui libgnomekbd libwnck3 metacity nautilus3 \
pygobject3 vte3
+# GNOME 40 components
+_USE_GNOME_ALL+=gtk40
+
# C++ bindings
_USE_GNOME_ALL+=atkmm cairomm gconfmm26 glibmm gtkmm24 \
gtkmm30 gtksourceviewmm3 libgdamm5 libxml++26 libsigc++20 \
@@ -186,6 +189,10 @@ gtk30_LIB_DEPENDS= libgtk-3.so:x11-toolkits/gtk30
gtk30_USE_GNOME_IMPL= atk pango
GTK3_VERSION= 3.0.0
+gtk40_LIB_DEPENDS= libgtk-4.so:x11-toolkits/gtk40
+gtk40_USE_GNOME_IMPL= atk pango
+GTK4_VERSION= 4.0.0
+
libidl_LIB_DEPENDS= libIDL-2.so:devel/libIDL
libidl_USE_GNOME_IMPL= glib20
@@ -336,7 +343,8 @@ _USE_GNOME+= ${${component}_USE_GNOME_IMPL} ${component}
# Setup the GTK+ API version for pixbuf loaders, input method modules,
# and theme engines.
PLIST_SUB+= GTK2_VERSION="${GTK2_VERSION}" \
- GTK3_VERSION="${GTK3_VERSION}"
+ GTK3_VERSION="${GTK3_VERSION}" \
+ GTK4_VERSION="${GTK4_VERSION}"
.if defined(_USE_GNOME) && empty(_USE_GNOME:Mglib20:u) && defined(GLIB_SCHEMAS)
IGNORE= GLIB_SCHEMAS is set, but needs USE_GNOME=glib20 to work
More information about the dev-commits-ports-all
mailing list