diff options
author | V3n3RiX <venerix@koprulu.sector> | 2023-09-17 05:02:24 +0100 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2023-09-17 05:02:24 +0100 |
commit | 58018a2c9504435bb719f2d60439ebe22fbeb503 (patch) | |
tree | 7c4241c639fcf98d0a61506786b8b3be9bfef48d /dev-libs/libdex/libdex-0.4.0.ebuild | |
parent | 5017c48e54de7e3dcebd1db96598cf0a07b21f16 (diff) |
gentoo auto-resync : 17:09:2023 - 05:02:24
Diffstat (limited to 'dev-libs/libdex/libdex-0.4.0.ebuild')
-rw-r--r-- | dev-libs/libdex/libdex-0.4.0.ebuild | 60 |
1 files changed, 60 insertions, 0 deletions
diff --git a/dev-libs/libdex/libdex-0.4.0.ebuild b/dev-libs/libdex/libdex-0.4.0.ebuild new file mode 100644 index 000000000000..71b799ea6e23 --- /dev/null +++ b/dev-libs/libdex/libdex-0.4.0.ebuild @@ -0,0 +1,60 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit gnome.org meson vala + +DESCRIPTION="Deferred Execution library for GNOME and GTK" +HOMEPAGE="https://gitlab.gnome.org/GNOME/libdex" + +LICENSE="LGPL-2.1+" +SLOT="0/1" +KEYWORDS="~amd64 ~x86" + +IUSE="gtk-doc +introspection sysprof test vala" +REQUIRED_USE=" + gtk-doc? ( introspection ) + vala? ( introspection ) +" +RESTRICT="!test? ( test )" + +RDEPEND=" + >=dev-libs/glib-2.68:2 + >=sys-libs/liburing-0.7:= + introspection? ( dev-libs/gobject-introspection:= ) + sysprof? ( dev-util/sysprof-capture:4 ) +" +DEPEND="${RDEPEND}" +BDEPEND=" + vala? ( $(vala_depend) ) + dev-util/glib-utils + virtual/pkgconfig + gtk-doc? ( dev-util/gi-docgen ) +" + +src_prepare() { + default + use vala && vala_setup +} + +src_configure() { + local emesonargs=( + $(meson_use gtk-doc docs) + -Dexamples=false + $(meson_use vala vapi) + $(meson_feature introspection) + $(meson_use sysprof) + $(meson_use test tests) + ) + meson_src_configure +} + +src_install() { + meson_src_install + + if use gtk-doc; then + mkdir -p "${ED}"/usr/share/gtk-doc/html/ || die + mv "${ED}"/usr/share/doc/${PN}-1 "${ED}"/usr/share/gtk-doc/html/ || die + fi +} |