summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPacho Ramos <pacho@gentoo.org>2019-11-10 19:46:24 +0100
committerPacho Ramos <pacho@gentoo.org>2019-11-10 19:55:23 +0100
commitdf213ea497a2be40b8b4d1e1dd766277e3c5d141 (patch)
tree2ae60bfe75512ffec51e5a506ecf30f71f0f0f6a /media-libs/libchamplain
parentdev-cpp/gtkmm: Bump to 3.24.2 (diff)
downloadgentoo-df213ea497a2be40b8b4d1e1dd766277e3c5d141.tar.gz
gentoo-df213ea497a2be40b8b4d1e1dd766277e3c5d141.tar.bz2
gentoo-df213ea497a2be40b8b4d1e1dd766277e3c5d141.zip
media-libs/libchamplain: Bump to 0.12.20
Package-Manager: Portage-2.3.79, Repoman-2.3.18 Signed-off-by: Pacho Ramos <pacho@gentoo.org>
Diffstat (limited to 'media-libs/libchamplain')
-rw-r--r--media-libs/libchamplain/Manifest1
-rw-r--r--media-libs/libchamplain/libchamplain-0.12.20.ebuild59
2 files changed, 60 insertions, 0 deletions
diff --git a/media-libs/libchamplain/Manifest b/media-libs/libchamplain/Manifest
index ed897e1defc6..37266705769f 100644
--- a/media-libs/libchamplain/Manifest
+++ b/media-libs/libchamplain/Manifest
@@ -1 +1,2 @@
DIST libchamplain-0.12.19.tar.xz 233084 BLAKE2B b46ef4b1ceaef3d3b7d52652e825de30a11d7b8f5a68b5a08abcec7111c58443ba76b9aea6b350007ccd91bfc86a4062079c51416fc4e63795318269045ce509 SHA512 3fc03c123859b078f1c4f5062706c95446146a7ed2352306cea3f72f3fbf95099afd2a99f61182e3cb7c47e546de6501ff3ed6ff17614f23dc2e4139ba5e4902
+DIST libchamplain-0.12.20.tar.xz 222168 BLAKE2B 72093eecffca24a5f255269472216f24d0804b7c8daf7cf9dc1273df9afc3fe5664dd2ca7d351bf94065f61bf4a419b3babcf3e9b2ed9a0f67c9947190aaa476 SHA512 514e4bd2803ace0d87a95a318a03bc2f2ccc454129146d76590d1b1f5666c95a4fb7013e2ad0cfafc5844d7d8b732c81a44cd0e7d51c505adcfe55c55abb4f6f
diff --git a/media-libs/libchamplain/libchamplain-0.12.20.ebuild b/media-libs/libchamplain/libchamplain-0.12.20.ebuild
new file mode 100644
index 000000000000..d6c790ec238c
--- /dev/null
+++ b/media-libs/libchamplain/libchamplain-0.12.20.ebuild
@@ -0,0 +1,59 @@
+# Copyright 1999-2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+VALA_USE_DEPEND="vapigen"
+
+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 ~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.38: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-2.42:2.4
+ introspection? ( >=dev-libs/gobject-introspection-1.54:= )
+ media-libs/cogl:=
+"
+DEPEND="${RDEPEND}"
+BDEPEND="
+ dev-util/glib-utils
+ >=dev-util/meson-0.49.0
+ virtual/pkgconfig
+ gtk-doc? ( >=dev-util/gtk-doc-1.15 )
+ vala? ( $(vala_depend) )
+"
+
+src_prepare() {
+ xdg_src_prepare
+ use vala && vala_src_prepare
+}
+
+src_configure() {
+ local emesonargs=(
+ -Dmemphis=false # TODO: What's the state of this vector renderer?
+ $(meson_use introspection)
+ $(meson_use vala vapi)
+ $(meson_use gtk widgetry)
+ $(meson_use gtk-doc gtk_doc)
+ -Ddemos=false # only built, not installed
+ )
+ meson_src_configure
+}