gui-libs/libpanel: add 1.4.1

Signed-off-by: Mart Raudsepp <leio@gentoo.org>
This commit is contained in:
Mart Raudsepp
2024-03-09 23:53:29 +02:00
parent 90e4f67570
commit 0fe80f3202
2 changed files with 57 additions and 0 deletions

View File

@@ -1 +1,2 @@
DIST libpanel-1.2.0.tar.xz 131296 BLAKE2B ee999166748e1cab227a970a9cc3ab05f47a88e5e9431b0e25f9e1933c31d13de1ce9a4132658905d6e0a7d7a6cc1ed214ff41d61ff3722355e7bc11465dce8a SHA512 28277d9679b71d6ea9ec891db2fad371e7f152240114def3ad84a24a4abe7b4de0dcec18448cd397dc79083109fdf2d0c9dd45bb198f059869a30b0f51afdb2f
DIST libpanel-1.4.1.tar.xz 160208 BLAKE2B 01f4a8a77ac4c6d26c05eea9fda88461d8c688f0c80cbb3cc119260814c3766989b6eb9d7893729eca2239670b3a9d089000b5f1185b7650b0bdcf604c7195cf SHA512 44efb5dd29c83471acd64701320b2cb6057c6165c5b7602d2e0b7a40690a493c42ff3b28bc7924569d81c6e6a8ddc784b0df1c351919924807d61c9fdd2a4263

View File

@@ -0,0 +1,56 @@
# Copyright 1999-2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
inherit gnome.org meson vala xdg
DESCRIPTION="A dock/panel library for GTK 4"
HOMEPAGE="https://gitlab.gnome.org/GNOME/libpanel"
LICENSE="LGPL-3+"
SLOT="1"
KEYWORDS="~amd64 ~arm64"
IUSE="examples gtk-doc +introspection +vala"
REQUIRED_USE="
gtk-doc? ( introspection )
vala? ( introspection )
"
RDEPEND="
>=dev-libs/glib-2.75:2
>=gui-libs/gtk-4.8:4[introspection?]
>=gui-libs/libadwaita-1.2:1
introspection? ( >=dev-libs/gobject-introspection-1.54:= )
"
DEPEND="${RDEPEND}"
BDEPEND="
dev-util/glib-utils
gtk-doc? ( >=dev-util/gi-docgen-2021.1 )
vala? ( $(vala_depend) )
"
src_prepare() {
default
use vala && vala_setup
xdg_environment_reset
}
src_configure() {
local emesonargs=(
$(meson_use examples install-examples)
$(meson_feature introspection)
$(meson_feature gtk-doc docs)
$(meson_use vala vapi)
)
meson_src_configure
}
src_install() {
meson_src_install
if use gtk-doc; then
mkdir "${ED}"/usr/share/gtk-doc || die
mv "${ED}"/usr/share/doc/panel-1.0 "${ED}"/usr/share/gtk-doc/ || die
fi
}