commit: 80d4d544d5e6f5cd11bd9af671ec89600be5fd1a Author: Lukas Schmelting <lschmelting <AT> posteo <DOT> com> AuthorDate: Wed Nov 5 18:15:48 2025 +0000 Commit: Pacho Ramos <pacho <AT> gentoo <DOT> org> CommitDate: Sun Dec 14 10:29:37 2025 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=80d4d544
media-libs/libshumate: add 1.5.1 Signed-off-by: Lukas Schmelting <lschmelting <AT> posteo.com> Part-of: https://github.com/gentoo/gentoo/pull/44497 Signed-off-by: Pacho Ramos <pacho <AT> gentoo.org> media-libs/libshumate/Manifest | 1 + media-libs/libshumate/libshumate-1.5.1.ebuild | 60 +++++++++++++++++++++++++++ 2 files changed, 61 insertions(+) diff --git a/media-libs/libshumate/Manifest b/media-libs/libshumate/Manifest index 5c29647b2377..eea65f44f63d 100644 --- a/media-libs/libshumate/Manifest +++ b/media-libs/libshumate/Manifest @@ -1,2 +1,3 @@ DIST libshumate-1.3.2.tar.xz 5910620 BLAKE2B 44b2289b6a0e7d4be51dcc780b3fd78f5774fced19f917a98be410caa4eeee15d0826521860754aae6261cc34e4fc31a9667f72402a18f118d575348280b8791 SHA512 4b4dff58ea640c0d20495b24619ed8c2cb9e6e791f9e87d5b81febd316744da334bc39470b63ecb554fecd6a59822e81146d023a241479950218a3bf227b47cd DIST libshumate-1.4.0.tar.xz 5911764 BLAKE2B 8e81611be33a7d8ff70bf2344a3d3fa7d9dba664fcae94853ce11afda9b691b80681009eeeeb3ae045f84fb497caf9b7377bf794e80f73aac678c5c50d7b4d96 SHA512 8c939798125f71ed2176ad5a098498e995a9a28d44ea11d80e52c46ad62077e737bbbdd11bdea218d3ccf79c31831141c8d0d387b45f34ae525e6fb15999d0a6 +DIST libshumate-1.5.1.tar.xz 5913300 BLAKE2B 5e557ee33063ad3dc05f46d2e6abce0cb8c768f9baaaae24d5bbb384820ffedad780d81e5a6101fb9db0cf4b89170724a57fc36e10876eaf83762132ef13691a SHA512 b90887f769c6c4cdfc387dd531c6563c11f8885389e1b21373fa7fc48782d53af861b9c839bde6a3ce01413296f426e9ef876c184cb2331d76759197508fec55 diff --git a/media-libs/libshumate/libshumate-1.5.1.ebuild b/media-libs/libshumate/libshumate-1.5.1.ebuild new file mode 100644 index 000000000000..1e818af8c636 --- /dev/null +++ b/media-libs/libshumate/libshumate-1.5.1.ebuild @@ -0,0 +1,60 @@ +# 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-1.82.0-r2:= ) + >=dev-libs/json-glib-1.6.0[introspection?] + dev-libs/protobuf-c +" +DEPEND="${RDEPEND} + sysprof? ( dev-util/sysprof-capture:4 ) +" +BDEPEND=" + dev-util/glib-utils + dev-util/gperf + 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 +}
