diff options
author | V3n3RiX <venerix@koprulu.sector> | 2023-03-05 23:52:45 +0000 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2023-03-05 23:52:45 +0000 |
commit | 1c33e521c460dc40899ce7bc919602b842ce27e2 (patch) | |
tree | 580eefad4cce1e883e7504b93352a9029b53036d /gui-libs/libhandy/libhandy-1.8.2.ebuild | |
parent | 65e4244e411c4f65f55f2aa91f39e228f4c0680b (diff) |
gentoo auto-resync : 05:03:2023 - 23:52:45
Diffstat (limited to 'gui-libs/libhandy/libhandy-1.8.2.ebuild')
-rw-r--r-- | gui-libs/libhandy/libhandy-1.8.2.ebuild | 61 |
1 files changed, 61 insertions, 0 deletions
diff --git a/gui-libs/libhandy/libhandy-1.8.2.ebuild b/gui-libs/libhandy/libhandy-1.8.2.ebuild new file mode 100644 index 000000000000..1a9f78259e46 --- /dev/null +++ b/gui-libs/libhandy/libhandy-1.8.2.ebuild @@ -0,0 +1,61 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit gnome.org meson xdg vala virtualx + +DESCRIPTION="Building blocks for modern adaptive GNOME apps" +HOMEPAGE="https://gitlab.gnome.org/GNOME/libhandy/" + +LICENSE="LGPL-2.1+" +SLOT="1" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~ia64 ~loong ~ppc ~ppc64 ~riscv ~sparc ~x86" + +IUSE="examples glade gtk-doc +introspection test +vala" +REQUIRED_USE=" + gtk-doc? ( introspection ) + vala? ( introspection ) +" +RESTRICT="!test? ( test )" + +RDEPEND=" + >=dev-libs/glib-2.44:2 + >=x11-libs/gtk+-3.24.1:3[introspection?] + glade? ( dev-util/glade:3.10= ) + introspection? ( >=dev-libs/gobject-introspection-1.54:= ) +" +DEPEND="${RDEPEND} + x11-base/xorg-proto" +BDEPEND=" + dev-libs/libxml2:2 + dev-util/glib-utils + >=sys-devel/gettext-0.19.8 + virtual/pkgconfig + gtk-doc? ( >=dev-util/gi-docgen-2021.1 + app-text/docbook-xml-dtd:4.3 ) + vala? ( $(vala_depend) ) +" + +src_prepare() { + default + use vala && vala_setup + xdg_environment_reset +} + +src_configure() { + local emesonargs=( + -Dprofiling=false # -pg passing + $(meson_feature introspection) + $(meson_use vala vapi) + $(meson_use gtk-doc gtk_doc) + $(meson_use test tests) + $(meson_use examples) + $(meson_feature glade glade_catalog) + ) + meson_src_configure +} + +src_test() { + virtx meson_src_test +} |