summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGuillermo Joandet <gjoandet@gmail.com>2023-01-18 16:37:27 -0300
committerMatt Turner <mattst88@gentoo.org>2023-01-18 20:14:32 -0500
commit1e3e7e35447ac5ec70b7e30cc08e951491a5f48b (patch)
tree14bb762bc450496e36ad144783edf944acf86e9b /media-libs/libchamplain
parentmedia-gfx/photoqt: fix build w/ libraw 0.21 (diff)
downloadgentoo-1e3e7e35447ac5ec70b7e30cc08e951491a5f48b.tar.gz
gentoo-1e3e7e35447ac5ec70b7e30cc08e951491a5f48b.tar.bz2
gentoo-1e3e7e35447ac5ec70b7e30cc08e951491a5f48b.zip
media-libs/libchamplain: Version bump to 0.12.21
Signed-off-by: Guillermo Joandet <gjoandet@gmail.com> Closes: https://github.com/gentoo/gentoo/pull/29162 Signed-off-by: Matt Turner <mattst88@gentoo.org>
Diffstat (limited to 'media-libs/libchamplain')
-rw-r--r--media-libs/libchamplain/Manifest1
-rw-r--r--media-libs/libchamplain/libchamplain-0.12.21.ebuild63
2 files changed, 64 insertions, 0 deletions
diff --git a/media-libs/libchamplain/Manifest b/media-libs/libchamplain/Manifest
index a2c74a206d91..2234cc19afa1 100644
--- a/media-libs/libchamplain/Manifest
+++ b/media-libs/libchamplain/Manifest
@@ -1 +1,2 @@
DIST libchamplain-0.12.20.tar.xz 222168 BLAKE2B 72093eecffca24a5f255269472216f24d0804b7c8daf7cf9dc1273df9afc3fe5664dd2ca7d351bf94065f61bf4a419b3babcf3e9b2ed9a0f67c9947190aaa476 SHA512 514e4bd2803ace0d87a95a318a03bc2f2ccc454129146d76590d1b1f5666c95a4fb7013e2ad0cfafc5844d7d8b732c81a44cd0e7d51c505adcfe55c55abb4f6f
+DIST libchamplain-0.12.21.tar.xz 223748 BLAKE2B afe6b409107d12b8c674d9335d00ca21cf7faf036fd852b48ec371fb76dcd35cc30d4bc3dab555667069d7d41411eea31343240de9bd29dcc2e0f290bc925641 SHA512 8e3b4a292056b1d90be128dab347b1953e6acd00b1abf56fcc496eea15688ef232b81afe39147a9d6059ab248e3ceb7e07683c23501671b93797b0a87faccca9
diff --git a/media-libs/libchamplain/libchamplain-0.12.21.ebuild b/media-libs/libchamplain/libchamplain-0.12.21.ebuild
new file mode 100644
index 000000000000..28d12931004e
--- /dev/null
+++ b/media-libs/libchamplain/libchamplain-0.12.21.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 xdg
+
+DESCRIPTION="Clutter based world map renderer"
+HOMEPAGE="https://wiki.gnome.org/Projects/libchamplain"
+
+SLOT="0.12"
+LICENSE="LGPL-2.1+"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~ia64 ~ppc ~ppc64 ~riscv ~sparc ~x86"
+
+IUSE="+gtk gtk-doc +introspection vala"
+REQUIRED_USE="
+ vala? ( introspection )
+ gtk-doc? ( gtk )
+" # gtk-doc build gets disabled in meson if gtk widgetry is disabled (no separate libchamplain-gtk gtk-docs anymore)
+
+RDEPEND="
+ >=dev-libs/glib-2.68:2
+ >=x11-libs/gtk+-3.0:3
+ >=media-libs/clutter-1.24:1.0[introspection?]
+ gtk? (
+ x11-libs/gtk+:3[introspection?]
+ media-libs/clutter-gtk:1.0
+ )
+ >=x11-libs/cairo-1.4
+ dev-db/sqlite:3
+ >=net-libs/libsoup-3:3.0
+ introspection? ( >=dev-libs/gobject-introspection-1.54:= )
+ media-libs/cogl:=
+"
+DEPEND="${RDEPEND}"
+BDEPEND="
+ dev-util/glib-utils
+ virtual/pkgconfig
+ gtk-doc? (
+ >=dev-util/gtk-doc-1.15
+ app-text/docbook-xml-dtd:4.1.2
+ )
+ vala? ( $(vala_depend) )
+"
+
+src_prepare() {
+ default
+ xdg_environment_reset
+ use vala && vala_setup
+}
+
+src_configure() {
+ local emesonargs=(
+ -Dmemphis=false # TODO: What's the state of this vector renderer?
+ $(meson_use introspection)
+ -Dlibsoup3=true
+ $(meson_use vala vapi)
+ $(meson_use gtk widgetry)
+ $(meson_use gtk-doc gtk_doc)
+ -Ddemos=false # only built, not installed
+ )
+ meson_src_configure
+}