commit: c55e04fa771d3fe3bd9caca98d344297870d328a Author: Sam James <sam <AT> gentoo <DOT> org> AuthorDate: Fri Mar 7 06:11:37 2025 +0000 Commit: Sam James <sam <AT> gentoo <DOT> org> CommitDate: Fri Mar 7 06:11:37 2025 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c55e04fa
media-libs/libshumate: add 1.3.2 Closes: https://bugs.gentoo.org/944449 Signed-off-by: Sam James <sam <AT> gentoo.org> media-libs/libshumate/Manifest | 1 + media-libs/libshumate/libshumate-1.3.2.ebuild | 58 +++++++++++++++++++++++++++ 2 files changed, 59 insertions(+) diff --git a/media-libs/libshumate/Manifest b/media-libs/libshumate/Manifest index 3a884cdfc906..74ea00aeb6bd 100644 --- a/media-libs/libshumate/Manifest +++ b/media-libs/libshumate/Manifest @@ -1,2 +1,3 @@ DIST libshumate-1.2.3.tar.xz 321768 BLAKE2B 42349a0d96d35972cf5440470983792ffe897aa0d3e8a1cd7435f1a0ecd870142d33fa28f4e5cc559cd9adba66dbd6ab1bf57d10aa5cfb4934dd3b67ae4983c6 SHA512 4f56e51b72a63d89d6b159dc002617866abd388cb6c3a092107bc5751728c99466f8c36e8086bb39b22b3d91de28f840e9d28fc29dba0b94bafd643950fee8ec DIST libshumate-1.3.1.tar.xz 5910692 BLAKE2B 6e6d37aa93605751d55c52b9884859c7a8e4a1dfe70a80b080a5f7aea8520f2cd74bb31b6aff12c3442d49d166c790f288c580e6c88168d3d9055f6b3d5fd227 SHA512 ecb3dc45144bca035ff007c5ecfe835850bb01d05d2b985c40f7c5e7c0a2bf03b5e82ed26ec119e98dfc9cb69ae84a483d5b35bcc35b016f2930530577e4e218 +DIST libshumate-1.3.2.tar.xz 5910620 BLAKE2B 44b2289b6a0e7d4be51dcc780b3fd78f5774fced19f917a98be410caa4eeee15d0826521860754aae6261cc34e4fc31a9667f72402a18f118d575348280b8791 SHA512 4b4dff58ea640c0d20495b24619ed8c2cb9e6e791f9e87d5b81febd316744da334bc39470b63ecb554fecd6a59822e81146d023a241479950218a3bf227b47cd diff --git a/media-libs/libshumate/libshumate-1.3.2.ebuild b/media-libs/libshumate/libshumate-1.3.2.ebuild new file mode 100644 index 000000000000..a7b27b98c0ee --- /dev/null +++ b/media-libs/libshumate/libshumate-1.3.2.ebuild @@ -0,0 +1,58 @@ +# Copyright 1999-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit gnome.org meson vala virtualx + +DESCRIPTION="Shumate is a GTK toolkit providing widgets for embedded maps" +HOMEPAGE="https://gitlab.gnome.org/GNOME/libshumate" + +LICENSE="LGPL-2.1+" +SLOT="1.0/1" +KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~sparc ~x86" +REQUIRED_USE="gtk-doc? ( introspection )" + +IUSE="gtk-doc +introspection sysprof vala" + +RDEPEND=" + >=dev-libs/glib-2.74.0:2 + >=x11-libs/cairo-1.4 + >=dev-db/sqlite-1.12:3 + >=gui-libs/gtk-4:4 + >=net-libs/libsoup-3.0:3.0 + introspection? ( >=dev-libs/gobject-introspection-0.6.3:= ) + >=dev-libs/json-glib-1.6.0[introspection?] + dev-libs/protobuf-c +" +DEPEND="${RDEPEND} + sysprof? ( dev-util/sysprof-capture:4 ) +" +BDEPEND=" + gtk-doc? ( >=dev-util/gi-docgen-2021.1 ) + vala? ( $(vala_depend) ) +" + +src_configure() { + local emesonargs=( + $(meson_use introspection gir) + $(meson_use vala vapi) + $(meson_use gtk-doc gtk_doc) + -Ddemos=false # only built, not installed + -Dvector_renderer=true + $(meson_feature sysprof) + ) + meson_src_configure +} + +src_test() { + virtx dbus-run-session meson test -C "${BUILD_DIR}" || die 'tests failed' +} + +src_install() { + meson_src_install + if use gtk-doc; then + mkdir -p "${ED}"/usr/share/gtk-doc/html || die + mv "${ED}"/usr/share/doc/libshumate-1.0 "${ED}"/usr/share/gtk-doc/html/libshumate-1.0 || die + fi +}
