diff options
author | Guillermo Joandet <gjoandet@gmail.com> | 2023-03-14 10:52:16 -0300 |
---|---|---|
committer | Matt Turner <mattst88@gentoo.org> | 2023-03-17 22:28:45 -0400 |
commit | 5836e636609e6da42d25cc46f93ad976567edfe4 (patch) | |
tree | 762d231c74c9682418c84d848c0ee241e1c0aaa3 /gui-libs/libpanel/libpanel-1.2.0.ebuild | |
parent | gui-libs/gtksourceview: Version bump to 5.8.0 (diff) | |
download | gentoo-5836e636609e6da42d25cc46f93ad976567edfe4.tar.gz gentoo-5836e636609e6da42d25cc46f93ad976567edfe4.tar.bz2 gentoo-5836e636609e6da42d25cc46f93ad976567edfe4.zip |
gui-libs/libpanel: Version bump to 1.2.0
Signed-off-by: Guillermo Joandet <gjoandet@gmail.com>
Signed-off-by: Matt Turner <mattst88@gentoo.org>
Diffstat (limited to 'gui-libs/libpanel/libpanel-1.2.0.ebuild')
-rw-r--r-- | gui-libs/libpanel/libpanel-1.2.0.ebuild | 55 |
1 files changed, 55 insertions, 0 deletions
diff --git a/gui-libs/libpanel/libpanel-1.2.0.ebuild b/gui-libs/libpanel/libpanel-1.2.0.ebuild new file mode 100644 index 000000000000..242a28496abe --- /dev/null +++ b/gui-libs/libpanel/libpanel-1.2.0.ebuild @@ -0,0 +1,55 @@ +# Copyright 1999-2023 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" + +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=" + 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 +} |