summaryrefslogtreecommitdiff
path: root/gui-libs/gtk
diff options
context:
space:
mode:
Diffstat (limited to 'gui-libs/gtk')
-rw-r--r--gui-libs/gtk/Manifest2
-rw-r--r--gui-libs/gtk/gtk-4.6.2.ebuild22
2 files changed, 21 insertions, 3 deletions
diff --git a/gui-libs/gtk/Manifest b/gui-libs/gtk/Manifest
index c2666c0c91a9..808bd4c9a244 100644
--- a/gui-libs/gtk/Manifest
+++ b/gui-libs/gtk/Manifest
@@ -1,5 +1,5 @@
DIST gtk-4.6.1.tar.xz 22882528 BLAKE2B 921f57124af67523e9d820427b1f5a099d8dfe14982630437df9a821b9ba25eb3db6aa494e71aea26cec3dca4d76e958e150c515d128bdda51b1812bd7801c2c SHA512 7184c3a541172bcc712c00c0093426c5ff5cc54ad2de8529cfec17f8185966718b18b46cfb6c3d8067535909eb0275cd57e8887d2be7a2af459d14f5efb4d03b
DIST gtk-4.6.2.tar.xz 23060652 BLAKE2B 7cc3d5f06826c6f6d5c66ad251381dc34543672c778254c9044b7f58acfff9f7d0f44cdb0c124177cd0121a844a6168a46b8094d97565ef71c6ecfc9dc018865 SHA512 220959085b43c5a0bc496cb3d67213b73e1c597d6c799e5d788d0b75b664adc573b21c449850c7c0fbb7cbfafd77528c910f0e5eaa75a8fa59bff47e04c77f33
EBUILD gtk-4.6.1.ebuild 5319 BLAKE2B 9fe1b72fe22ce3ed8fc674dd1ec43e0ecde84273b7896b0813614fa59cdea5f72d62c76495f6b75500c1a75af37c2e7f5af3d9d6d17cfbd8854aced61667eb14 SHA512 d99383b49855da69ae30947db773467581dfe0b369c6197c7228dd5fe0b973125ca190fe7ec507b42bec4acc01d40496db6d8c289791beeba29340daa02a755e
-EBUILD gtk-4.6.2.ebuild 5323 BLAKE2B 9ca99f82c91a01d788a527923521af593ab6d9bde3b86e73902aa6ca255ebab5effeb018fecedb55d1e1eaf947c0a3bb6a87c6df1c7e0fbd0665aea340367bd0 SHA512 2373e900163992f53df8ef22e086e71d8196e2840bfd308e7a8df2673aa2f70e007b15ed62b7b7a78eef7f172eb991882dfe1c407e1796148407ce50b75be3f1
+EBUILD gtk-4.6.2.ebuild 5694 BLAKE2B a093c6dfb79ddf7cafc1efab41af9e766dbb65753762441da54c78d92be0d068adcd4c6f8bc7af5f68e7c81972875b9bb13aeec1ac8cae992bb63585d3ac18ce SHA512 ecce4981adb2de853408474af4497c3acf8271e6034ea98ef993037b2c059feaf0a6e6e81a6574a9b7cc629d685cb7e95e4e035a1bddab4d51fe15234add488d
MISC metadata.xml 690 BLAKE2B 4ae68aa63a0aea931c3584ac288ac62226bc1a78395dad3e7401f1988d4ab45d3895eb8149f1c06a849e1e27926097d8aa09dd5a33a2bf8b4ce52e4e1694b1e0 SHA512 ff6bd9799fe0f9e3e922744ed78cc9db278801e6e2d309fbf146535b061670f5f9162946ddf76cdf3d0e4defca16657ba39b3af81e5bcf2423385c74fc299779
diff --git a/gui-libs/gtk/gtk-4.6.2.ebuild b/gui-libs/gtk/gtk-4.6.2.ebuild
index 2b60e61d6409..cfb36b206d83 100644
--- a/gui-libs/gtk/gtk-4.6.2.ebuild
+++ b/gui-libs/gtk/gtk-4.6.2.ebuild
@@ -3,7 +3,8 @@
EAPI=7
-inherit gnome.org gnome2-utils meson optfeature virtualx xdg
+PYTHON_COMPAT=( python3_{8..10} )
+inherit gnome.org gnome2-utils meson optfeature python-any-r1 virtualx xdg
DESCRIPTION="GTK is a multi-platform toolkit for creating graphical user interfaces"
HOMEPAGE="https://www.gtk.org/ https://gitlab.gnome.org/GNOME/gtk/"
@@ -35,7 +36,10 @@ COMMON_DEPEND="
colord? ( >=x11-misc/colord-0.1.9:0= )
cups? ( >=net-print/cups-2.0 )
ffmpeg? ( media-video/ffmpeg )
- gstreamer? ( >=media-libs/gst-plugins-bad-1.12.3 )
+ gstreamer? (
+ >=media-libs/gst-plugins-bad-1.12.3
+ >=media-libs/gst-plugins-base-1.12.3[opengl]
+ )
introspection? ( >=dev-libs/gobject-introspection-1.39:= )
vulkan? ( media-libs/vulkan-loader:= )
wayland? (
@@ -72,6 +76,12 @@ PDEPEND="
"
BDEPEND="
dev-libs/gobject-introspection-common
+ introspection? (
+ ${PYTHON_DEPS}
+ $(python_gen_any_dep '
+ dev-python/pygobject:3[${PYTHON_USEDEP}]
+ ')
+ )
dev-python/docutils
>=dev-util/gdbus-codegen-2.48
dev-util/glib-utils
@@ -83,6 +93,14 @@ BDEPEND="
)
"
+python_check_deps() {
+ python_has_version "dev-python/pygobject:3[${PYTHON_USEDEP}]" || return
+}
+
+pkg_setup() {
+ use introspection && python-any-r1_pkg_setup
+}
+
src_prepare() {
xdg_src_prepare
# dev-python/docutils installs rst2man.py, not rst2man