# Copyright 1999-2022 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 inherit meson DESCRIPTION="dock/panel library for GTK 4" HOMEPAGE="https://gitlab.gnome.org/GNOME/libpanel" MYPV="1.0.alpha1" SRC_URI="https://gitlab.gnome.org/GNOME/${PN}/-/archive/${MYPV}/${PN}-${MYPV}.tar.gz -> ${P}.tar.gz" S="${WORKDIR}/${PN}-${MYPV}" LICENSE="LGPL-3" SLOT="0" KEYWORDS="~amd64" IUSE="vala introspection examples" RDEPEND=">=dev-libs/glib-2.72 >=gui-libs/gtk-4.6 >=gui-libs/libadwaita-1.0 vala? ( dev-lang/vala ) introspection? ( dev-libs/gobject-introspection )" DEPEND="${RDEPEND}" BDEPEND="virtual/pkgconfig dev-util/cmake >=dev-util/meson-0.60" PATCHES=( # i know this is stupid but whatever "${FILESDIR}/${P}-gtk4.6.patch" ) src_configure() { local emesonargs=( $(meson_use vala vapi) $(meson_feature introspection) $(meson_use examples install-examples) ) meson_src_configure }