gui-libs/gtk-session-lock: disable tests

Upstream does not support -Dtests=true.
a92080b164

Closes: https://bugs.gentoo.org/946270
Signed-off-by: Takuya Wakazono <pastalian46@gmail.com>
This commit is contained in:
Takuya Wakazono
2024-12-15 00:09:25 +09:00
parent e9cc0edf60
commit 9aaceff9f6
2 changed files with 8 additions and 10 deletions

View File

@@ -1,11 +1,10 @@
# Copyright 1999-2022 Gentoo Authors
# Copyright 1999-2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
PYTHON_COMPAT=( python3_{10..12} )
VALA_USE_DEPEND="vapigen"
inherit vala meson python-any-r1
inherit vala meson
if [[ ${PV} == 9999 ]]; then
inherit git-r3
@@ -16,13 +15,14 @@ else
fi
DESCRIPTION="GTK-based lockscreen for Wayland"
HOMEPAGE="https://github.com/Cu3PO42/${PN}"
HOMEPAGE="https://github.com/Cu3PO42/gtk-session-lock"
LICENSE="GPL-3"
SLOT="0"
IUSE="examples gtk-doc introspection test vala"
RESTRICT="!test? ( test )"
IUSE="examples gtk-doc introspection vala"
# https://github.com/Cu3PO42/gtk-session-lock/commit/a92080b164df7553aa250d43f90965535a3050ba
RESTRICT="test"
REQUIRED_USE="vala? ( introspection )"
DEPEND="
@@ -31,7 +31,6 @@ DEPEND="
>=dev-libs/wayland-1.22.0
>=dev-libs/wayland-protocols-1.34
gui-libs/gtk-layer-shell
test? ( gui-libs/gtk-layer-shell[introspection?] )
"
RDEPEND="
${DEPEND}
@@ -42,7 +41,6 @@ BDEPEND="
virtual/pkgconfig
dev-build/meson
gtk-doc? ( dev-util/gtk-doc )
test? ( ${PYTHON_DEPS} )
vala? ( $(vala_depend) )
"
@@ -55,7 +53,7 @@ src_configure() {
local emesonargs=(
$(meson_use examples)
$(meson_use gtk-doc docs)
$(meson_use test tests)
-Dtests=false
$(meson_use introspection)
$(meson_use vala vapi)
)

View File

@@ -16,7 +16,7 @@ else
fi
DESCRIPTION="GTK-based lockscreen for Wayland"
HOMEPAGE="https://github.com/Cu3PO42/${PN}"
HOMEPAGE="https://github.com/Cu3PO42/gtk-session-lock"
LICENSE="GPL-3"
SLOT="0"