commit:     47eaa8edd614f05606cede6f735aeda3d072823c
Author:     Mart Raudsepp <leio <AT> gentoo <DOT> org>
AuthorDate: Sat Feb 10 13:13:16 2024 +0000
Commit:     Mart Raudsepp <leio <AT> gentoo <DOT> org>
CommitDate: Sat Feb 10 13:13:16 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=47eaa8ed

media-libs/libshumate: add 1.1.3

Signed-off-by: Mart Raudsepp <leio <AT> gentoo.org>

 media-libs/libshumate/Manifest                |  1 +
 media-libs/libshumate/libshumate-1.1.3.ebuild | 63 +++++++++++++++++++++++++++
 2 files changed, 64 insertions(+)

diff --git a/media-libs/libshumate/Manifest b/media-libs/libshumate/Manifest
index 0296b053888d..b4e26402a391 100644
--- a/media-libs/libshumate/Manifest
+++ b/media-libs/libshumate/Manifest
@@ -2,3 +2,4 @@ DIST libshumate-1.0.5.tar.xz 112008 BLAKE2B 
e20e53fdcd34aa67853f68d72801e7ef7dfc
 DIST libshumate-1.1.0.tar.xz 299096 BLAKE2B 
111eaca1ed7d0abc9f4bc5d83c10bd84aadd42cf92d3a5ac37e00edd9b433c1db768686c9935f7f88b200c6a2b7c1898b0e96bcf036947bc7097e5ddfcd34d82
 SHA512 
138736090ad448cd73812e5b3da6d1e9199601ca7ee9b026a19586c680ccb306871fe2a779db4cffde822834974154ccd55117dd58ce849c655fde71dab0237a
 DIST libshumate-1.1.1.tar.xz 299200 BLAKE2B 
763bba4c27d2e576b687120fff1d9dd07029307032618e4b629b1a5cd7091d46349cc3908388b84e7053b6e76d11ea0c646edbda2468bee5fc3c8cad874cfe3d
 SHA512 
d39d47d7a41eb692b4f42c66ee4e4c84f028314d6bf8757b7c7803fb67eff72ad2af3b5cb5256b2325f39291df0b1440f64b685e5a98b7c3a3712977ff495c5e
 DIST libshumate-1.1.2.tar.xz 299324 BLAKE2B 
8ccd692af5404c694198e41adc2543a140ef02abbe4b044f71575022aad027357a67f6a9f57c195e7fad6d2e619f91bfc06d9b9c5af68d57d3c11ac118ea6151
 SHA512 
371ac56493653a552ecaaf534065dba94c1a8a08d05432cb6a76f3d6cb7c4c3ead2a76459fa2bec49e7554492ffa67c2a8e6f85618ef23981db238efb6c52006
+DIST libshumate-1.1.3.tar.xz 299644 BLAKE2B 
f07a583e1fd142a0601c725840e84397ed04962f828cbc15217dcdc0d767015664a06252879416e9422cb32154406dae2742ffb511404c5923ce9acab7efae0c
 SHA512 
163cce5c9aca2f3c52da3ecb3b4a651798e314d38a145ed4c69b0510303c72a0934c24084036ca2dfaab8b008753a37f7116b0bd2907cddc78a2aceee4f847d2

diff --git a/media-libs/libshumate/libshumate-1.1.3.ebuild 
b/media-libs/libshumate/libshumate-1.1.3.ebuild
new file mode 100644
index 000000000000..94e5f6d11dba
--- /dev/null
+++ b/media-libs/libshumate/libshumate-1.1.3.ebuild
@@ -0,0 +1,63 @@
+# Copyright 1999-2024 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://wiki.gnome.org/Projects/libshumate 
https://gitlab.gnome.org/GNOME/libshumate";
+
+SLOT="1.0/1"
+LICENSE="LGPL-2.1+"
+KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~sparc ~x86"
+REQUIRED_USE="gtk-doc? ( introspection )"
+
+IUSE="gtk-doc +introspection sysprof vala" # vector-renderer is still 
experimental, maybe put in at a later release
+
+RDEPEND="
+       >=dev-libs/glib-2.68.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:= )
+"
+# vector-renderer? (
+#      >=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
+               # $(meson_use vector-renderer vector_renderer)
+               -Dvector_renderer=false
+               -Dlibsoup3=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
+}

Reply via email to