commit:     5c055cdbf5d77208d1a5439948456d9728464b91
Author:     Anthony Ruhier <aruhier <AT> mailbox <DOT> org>
AuthorDate: Wed Jul 23 11:53:14 2025 +0000
Commit:     Anthony Ruhier <aruhier <AT> mailbox <DOT> org>
CommitDate: Wed Jul 23 11:53:14 2025 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=5c055cdb

gui-libs/gtk4-layer-shell: drops meson override

Using vala_setup is the cleaner solution. Sorry for
the commit 460d9b4d525f79fda81e68968a86f0886ea6a561.

Signed-off-by: Anthony Ruhier <aruhier <AT> mailbox.org>

 .../gtk4-layer-shell/gtk4-layer-shell-1.1.1-r1.ebuild     | 15 +++------------
 1 file changed, 3 insertions(+), 12 deletions(-)

diff --git a/gui-libs/gtk4-layer-shell/gtk4-layer-shell-1.1.1-r1.ebuild 
b/gui-libs/gtk4-layer-shell/gtk4-layer-shell-1.1.1-r1.ebuild
index ce83c0d2c0..089b05b404 100644
--- a/gui-libs/gtk4-layer-shell/gtk4-layer-shell-1.1.1-r1.ebuild
+++ b/gui-libs/gtk4-layer-shell/gtk4-layer-shell-1.1.1-r1.ebuild
@@ -32,23 +32,15 @@ BDEPEND="
        introspection? ( dev-libs/gobject-introspection )
        doc? ( dev-util/gtk-doc )
        test? ( >=dev-lang/python-3.8.19 )
-       vala? ( dev-lang/vala:0.56[vapigen(+)] )
+       vala? ( dev-lang/vala[vapigen(+)] )
        smoke-tests? (
                dev-lang/luajit
                dev-lua/lgi
        )
 "
 
-src_prepare() {
-       default
-
-       # Meson tries to use the binaries without version suffix.
-       # Use a native-file override to point to the correct binaries.
-       echo """
-[binaries]
-vala = '/usr/bin/valac-0.56'
-vapigen = '/usr/bin/vapigen-0.56'
-""" > vala_override.ini
+pkg_setup() {
+       use vala && vala_setup
 }
 
 src_configure() {
@@ -59,7 +51,6 @@ src_configure() {
                $(meson_use smoke-tests)
                $(meson_use introspection)
                $(meson_use vala vapi)
-               --native-file vala_override.ini
        )
        meson_src_configure
 }

Reply via email to