gentoo/gui-apps/gnome-console/gnome-console-48.0.1.ebuild
zyxhere💭 42850ac6ea
gui-apps/gnome-console: Add dev-util/gdbus-codegen to $BDEPEND
Closes: https://bugs.gentoo.org/966359
Signed-off-by: zyxhere💭 <zyx@envs.net>
Part-of: https://github.com/gentoo/gentoo/pull/44737
Closes: https://github.com/gentoo/gentoo/pull/44737
Signed-off-by: Sam James <sam@gentoo.org>
2025-11-28 03:19:49 +00:00

55 lines
1018 B
Bash

# Copyright 1999-2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
inherit gnome.org gnome2-utils meson xdg
DESCRIPTION="A simple user-friendly terminal emulator for the GNOME desktop"
HOMEPAGE="https://apps.gnome.org/Console/ https://gitlab.gnome.org/GNOME/console"
LICENSE="LGPL-3+"
SLOT="0"
KEYWORDS="~amd64 ~arm64 ~loong"
IUSE="test"
RESTRICT="!test? ( test )"
RDEPEND="
>=dev-libs/glib-2.80:2
>=gui-libs/gtk-4.14:4
>=gui-libs/libadwaita-1.6:1
>=gui-libs/vte-0.77.0:2.91-gtk4
gnome-base/libgtop:2=
>=dev-libs/libpcre2-10.32:0=
gnome-base/gsettings-desktop-schemas
x11-libs/pango
"
DEPEND="${RDEPEND}"
BDEPEND="
>=dev-util/gdbus-codegen-2.80
virtual/pkgconfig
test? (
dev-util/desktop-file-utils
dev-libs/appstream-glib
)
"
src_configure() {
local emesonargs=(
-Ddevel=false
$(meson_use test tests)
)
meson_src_configure
}
pkg_postinst() {
xdg_pkg_postinst
gnome2_schemas_update
}
pkg_postrm() {
xdg_pkg_postrm
gnome2_schemas_update
}