From d39430b96ad12b39a0ce35745f3d45d980d1b328 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Tue, 21 Mar 2023 00:38:34 +0000 Subject: gentoo auto-resync : 21:03:2023 - 00:38:34 --- dev-libs/libdex/Manifest | 3 ++ dev-libs/libdex/libdex-0.2.0.ebuild | 60 +++++++++++++++++++++++++++++++++++++ dev-libs/libdex/metadata.xml | 22 ++++++++++++++ 3 files changed, 85 insertions(+) create mode 100644 dev-libs/libdex/Manifest create mode 100644 dev-libs/libdex/libdex-0.2.0.ebuild create mode 100644 dev-libs/libdex/metadata.xml (limited to 'dev-libs/libdex') diff --git a/dev-libs/libdex/Manifest b/dev-libs/libdex/Manifest new file mode 100644 index 000000000000..db4c2ab1fc0e --- /dev/null +++ b/dev-libs/libdex/Manifest @@ -0,0 +1,3 @@ +DIST libdex-0.2.0.tar.xz 91648 BLAKE2B 258193b29082024cce30d5e20903f1ba6a3c8e566652d341845178797126796fcc1cf628636de02ba9776cb9d8ff5d38c24f10f269fcd9acbc0cdbb1c0918d8b SHA512 db54fa974af97e59e7a21c19be73db8fec6565377ce313a3532435845d3571216d6617f9a8db500019390d85677ca6f30be3f9a36c60240c8130ae0834826a65 +EBUILD libdex-0.2.0.ebuild 1196 BLAKE2B 3e57c9a99a587f694750bad331a817591f0a62f97ba6a2f5c2c5aa07070abacbad0ab445b748126ac2940a5dcf90c0f65f4f155d78316b189fa31cd2ea5b9813 SHA512 9ac43c58013f6f2a66b7bcc7131d7cda25f1c21351fcdfb23d4912c284474a730a6876fa3809a1c0f9d1d5184def8d025c74ffb9f2787cddfce7faa61bdfb836 +MISC metadata.xml 887 BLAKE2B 981f85ed363974888b20a6a1c7d24a22e47502af784bbe983a15359546afba333fe347e6aab5e5f5bef90a6995a4216702a8dde7ad760b9e730f5113076d38ee SHA512 eea5374f3eb48ee5770cc0d6d9133f405b058e74714d29f973c46ad912ca96282eb7f584b6b396c9aa72eae345d45461bcf8d376d93cf5370f04ac45fbab7e47 diff --git a/dev-libs/libdex/libdex-0.2.0.ebuild b/dev-libs/libdex/libdex-0.2.0.ebuild new file mode 100644 index 000000000000..f0d86d8a55dd --- /dev/null +++ b/dev-libs/libdex/libdex-0.2.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) + -Dsysprof=false + $(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 +} diff --git a/dev-libs/libdex/metadata.xml b/dev-libs/libdex/metadata.xml new file mode 100644 index 000000000000..64509955e2ba --- /dev/null +++ b/dev-libs/libdex/metadata.xml @@ -0,0 +1,22 @@ + + + + + gnome@gentoo.org + Gentoo GNOME Desktop + + + Dex is a library supporting "Deferred Execution" with the explicit + goal of integrating with GNOME and GTK-based applications. + It provides primatives for supporting futures in a variety of ways + with both read-only and writable views. Additionally, integration + with existing asynchronous-based APIs is provided through the use + of wrapper promises. + + + GNOME/libdex + + + Enable profiling data capture support using dev-util/sysprof-capture + + -- cgit v1.2.3