diff options
author | Guillermo Joandet <gjoandet@gmail.com> | 2023-11-01 17:48:36 -0300 |
---|---|---|
committer | Mart Raudsepp <leio@gentoo.org> | 2023-11-03 01:44:20 +0200 |
commit | a12ff80e3f893337b1c20da4045075cf1ebf8cc8 (patch) | |
tree | d6cdee26699fe909526c69d605beb4eae2afdefe /media-libs/libshumate/libshumate-1.1.2.ebuild | |
parent | net-im/telegram-desktop-bin: add 4.11.3, drop 4.11.1-r1 (diff) | |
download | gentoo-a12ff80e3f893337b1c20da4045075cf1ebf8cc8.tar.gz gentoo-a12ff80e3f893337b1c20da4045075cf1ebf8cc8.tar.bz2 gentoo-a12ff80e3f893337b1c20da4045075cf1ebf8cc8.zip |
media-libs/libshumate: Version bump to 1.1.2
Signed-off-by: Guillermo Joandet <gjoandet@gmail.com>
Closes: https://github.com/gentoo/gentoo/pull/33633
Signed-off-by: Mart Raudsepp <leio@gentoo.org>
Diffstat (limited to 'media-libs/libshumate/libshumate-1.1.2.ebuild')
-rw-r--r-- | media-libs/libshumate/libshumate-1.1.2.ebuild | 63 |
1 files changed, 63 insertions, 0 deletions
diff --git a/media-libs/libshumate/libshumate-1.1.2.ebuild b/media-libs/libshumate/libshumate-1.1.2.ebuild new file mode 100644 index 000000000000..0238d92667b6 --- /dev/null +++ b/media-libs/libshumate/libshumate-1.1.2.ebuild @@ -0,0 +1,63 @@ +# Copyright 1999-2023 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 +} |