diff options
Diffstat (limited to 'dev-libs/libdex')
-rw-r--r-- | dev-libs/libdex/Manifest | 2 | ||||
-rw-r--r-- | dev-libs/libdex/libdex-0.6.1.ebuild | 70 |
2 files changed, 72 insertions, 0 deletions
diff --git a/dev-libs/libdex/Manifest b/dev-libs/libdex/Manifest index 3ec791d15de9..eaa2e1deeabe 100644 --- a/dev-libs/libdex/Manifest +++ b/dev-libs/libdex/Manifest @@ -1,3 +1,5 @@ DIST libdex-0.4.3.tar.xz 96820 BLAKE2B 51f6c9a209d8ff19d7e97f4d8cbc9065739f08c555712076c9b6f4d345d56522f31afa1b8dffe8da2cfc128d368d7dc5f6a93757f0fe5cfd0a55de17587d776e SHA512 26691373d560d20cefa3a23e31677259b234cdf623b17b8fb2b6976b03768e86e458d2670aa3b260638b595994f278240e972bf3ff5b765013fb6d3114f46cef +DIST libdex-0.6.1.tar.xz 99056 BLAKE2B 3899f89ac652c2790c93e2799a5b0d066c45ee314c6f773bb586e49c89a8a78e6a09ebf08263b88b25900a15ac736d2bd37590720e0ac0e074581342534eaba3 SHA512 36be15d2da9edeae195abcb6f97639dd7fdea74463cdfdf752293007e44ab41a5e5350a7005883f202d70f96047567fba6370f1a2c45a0f898c242bebc88e847 EBUILD libdex-0.4.3.ebuild 1481 BLAKE2B b88a3f2ee52b2ded6c15eaf019b022b4b732bf4ab548a98256dbd40133bf5938728a26708825130cce5a7651ebed72a4e8093724b98a02b7164ba8f75f9149f5 SHA512 cc31ea3c815fc288b4b18a542823ba60564af86944f1993437746d2924def8525ed8588b6e5bc1fa992a7fc9b2a10c56299d4c4bc3e0c5faea948ac6f8aff78b +EBUILD libdex-0.6.1.ebuild 1503 BLAKE2B edd7f2cee68bdc8f3fca67d0c6cdec1c937659e0c8d5f8c3fd563211f0488e80bea43a07a5fb8e044d49b75641815a09109ca49ffba965dfc68e6082593d3e9d SHA512 a7df20f8a4d866ebfc5b175da0e829c9dbb25d927b66c806ce88dad76903cea9ccf681da58b76f864c088e67ec0dae81231982a653cdd7a9f3089a85f0dea7e6 MISC metadata.xml 1034 BLAKE2B 279009c53ff4ecfd3fc2b053ec13f7497aeb65b5a6f0b225633067c173e353662654adbdf3cdd3eb5dc94fdf4c06b44750108309f917309b09957467eb3f12a3 SHA512 0d87d47c39375628cd18abdfb97db9a8d9d3ae1dab37f7937a60aa6935132dbcb36407bf7308b1b4239401676bbe65a1868e2a06f79e8da16f7f96e246bf5f8f diff --git a/dev-libs/libdex/libdex-0.6.1.ebuild b/dev-libs/libdex/libdex-0.6.1.ebuild new file mode 100644 index 000000000000..8da02332bd2d --- /dev/null +++ b/dev-libs/libdex/libdex-0.6.1.ebuild @@ -0,0 +1,70 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit gnome.org linux-info meson vala + +DESCRIPTION="Dex provides Future-based programming for GLib-based applications" +HOMEPAGE="https://gitlab.gnome.org/GNOME/libdex" + +LICENSE="LGPL-2.1+" +SLOT="0/1" +KEYWORDS="~amd64 ~arm64 ~x86" + +IUSE="+eventfd gtk-doc +introspection +liburing sysprof test vala" +REQUIRED_USE=" + gtk-doc? ( introspection ) + vala? ( introspection ) +" +RESTRICT="!test? ( test )" + +RDEPEND=" + >=dev-libs/glib-2.68:2 + liburing? ( >=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 ) +" + +pkg_setup() { + if use eventfd && linux_config_exists; then + if ! linux_chkconfig_present EVENTFD ; then + ewarn "CONFIG_EVENTFD must be enabled for USE=eventfd" + fi + fi +} + +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_feature liburing) + $(meson_feature eventfd) + ) + 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 +} |