summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatt Turner <mattst88@gentoo.org>2023-08-20 23:42:30 -0400
committerMatt Turner <mattst88@gentoo.org>2023-08-20 23:42:30 -0400
commit869e1c3a793b2572c931c268f67b2b6c6bcfd453 (patch)
treed7ed3153b73650dc6c58444e45475d0b803a35c2 /dev-libs
parentx11-base/xwayland: Version bump to 23.2.0 (diff)
downloadgentoo-869e1c3a793b2572c931c268f67b2b6c6bcfd453.tar.gz
gentoo-869e1c3a793b2572c931c268f67b2b6c6bcfd453.tar.bz2
gentoo-869e1c3a793b2572c931c268f67b2b6c6bcfd453.zip
dev-libs/libdex: Version bump to 0.3.1
Signed-off-by: Matt Turner <mattst88@gentoo.org>
Diffstat (limited to 'dev-libs')
-rw-r--r--dev-libs/libdex/Manifest1
-rw-r--r--dev-libs/libdex/libdex-0.3.1.ebuild60
2 files changed, 61 insertions, 0 deletions
diff --git a/dev-libs/libdex/Manifest b/dev-libs/libdex/Manifest
index e62d47d2fae1..059dde053b44 100644
--- a/dev-libs/libdex/Manifest
+++ b/dev-libs/libdex/Manifest
@@ -1,2 +1,3 @@
DIST libdex-0.2.0.tar.xz 91648 BLAKE2B 258193b29082024cce30d5e20903f1ba6a3c8e566652d341845178797126796fcc1cf628636de02ba9776cb9d8ff5d38c24f10f269fcd9acbc0cdbb1c0918d8b SHA512 db54fa974af97e59e7a21c19be73db8fec6565377ce313a3532435845d3571216d6617f9a8db500019390d85677ca6f30be3f9a36c60240c8130ae0834826a65
DIST libdex-0.3.0.tar.xz 94572 BLAKE2B 1c5ac31b71b076592aeeec8a8005dc429495bd2ee00918d3a2b9d63a8f48b94f2b4bad1b09b5ebaeb7c1799e90e91e6d8c56cc92c4874ae247013d9bba9a489b SHA512 04093447a77e972074425acb38876c62473bf6f609938fa2d7ec36fc944972547c7e8bebfe279273f530f90e18c45ed190ccbf602846c0d783af7fd0c9ac08ce
+DIST libdex-0.3.1.tar.xz 95460 BLAKE2B b79e53cde3c1cafe086a0ebb1af74d8c6a05d38bd6e2a74b363fe6b07ab7483014a7caef59ba38176b16df35c92a8f86b9f3a320dc100cc668d915ab3b31d430 SHA512 52ded12bdd088839c7f5bcac24b09667183fe2d515472b41cf7725b4d031b4817e3c043e9b377ccdd2a09c52825ba16f5f368b96d33d35f23fad5264b9225eb9
diff --git a/dev-libs/libdex/libdex-0.3.1.ebuild b/dev-libs/libdex/libdex-0.3.1.ebuild
new file mode 100644
index 000000000000..f0d86d8a55dd
--- /dev/null
+++ b/dev-libs/libdex/libdex-0.3.1.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
+}