diff options
author | 2019-03-19 10:32:22 +0200 | |
---|---|---|
committer | 2019-03-19 10:41:22 +0200 | |
commit | d6e61afea56bb12919144ceb66a0d1dd221aeb21 (patch) | |
tree | f54d5dfc6e38d6903fd7820dab54b1748061ab4f /media-libs/libchamplain | |
parent | net-libs/webkit-gtk: add support for building with ruby:2.6 (diff) | |
download | gentoo-d6e61afea56bb12919144ceb66a0d1dd221aeb21.tar.gz gentoo-d6e61afea56bb12919144ceb66a0d1dd221aeb21.tar.bz2 gentoo-d6e61afea56bb12919144ceb66a0d1dd221aeb21.zip |
media-libs/libchamplain: fix gtk-doc, other fixes and touchups
* Fix LICENSE from LGPL-2 to LGPL-2.1+.
* Fix USE=gtk-doc to always be honored (implicitly disabled upstream
if gtk widgetry is disabled) and actually show up in devhelp.
* Add missing meson minimum version requirement - requires 0.49.0,
but meson.eclass only guarantees 0.48.2 at this point.
* Fix EAPI-7 bump to actually be an EAPI-7 port by properly using
DEPEND and BDEPEND.
* Use emesonargs array to be able to comment options on the relevant
line.
* Add longdescription to metadata.
* Sort deps and options in occurrences order for easier review on
future bumps.
* Depend on >=gobject-introspection-1.54 to ensure compat with meson.
Package-Manager: Portage-2.3.52, Repoman-2.3.12
Signed-off-by: Mart Raudsepp <leio@gentoo.org>
Diffstat (limited to 'media-libs/libchamplain')
-rw-r--r-- | media-libs/libchamplain/libchamplain-0.12.19-r1.ebuild (renamed from media-libs/libchamplain/libchamplain-0.12.19.ebuild) | 42 | ||||
-rw-r--r-- | media-libs/libchamplain/metadata.xml | 6 |
2 files changed, 31 insertions, 17 deletions
diff --git a/media-libs/libchamplain/libchamplain-0.12.19.ebuild b/media-libs/libchamplain/libchamplain-0.12.19-r1.ebuild index 9cecc17634ab..1240a3e7c15c 100644 --- a/media-libs/libchamplain/libchamplain-0.12.19.ebuild +++ b/media-libs/libchamplain/libchamplain-0.12.19-r1.ebuild @@ -10,44 +10,52 @@ DESCRIPTION="Clutter based world map renderer" HOMEPAGE="https://wiki.gnome.org/Projects/libchamplain" SLOT="0.12" -LICENSE="LGPL-2" +LICENSE="LGPL-2.1+" KEYWORDS="~alpha ~amd64 ~arm ~ia64 ~ppc ~ppc64 ~sparc ~x86" IUSE="+gtk gtk-doc +introspection vala" -REQUIRED_USE="vala? ( introspection )" +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-db/sqlite:3 >=dev-libs/glib-2.38:2 + >=x11-libs/gtk+-3.0:3 >=media-libs/clutter-1.24:1.0[introspection?] - media-libs/cogl:= - >=net-libs/libsoup-2.42:2.4 - >=x11-libs/cairo-1.4 - x11-libs/gtk+:3 gtk? ( x11-libs/gtk+:3[introspection?] media-libs/clutter-gtk:1.0 ) - introspection? ( dev-libs/gobject-introspection:= ) + >=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} +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() { - use vala && vala_src_prepare xdg_src_prepare + use vala && vala_src_prepare + # Fix showing inside devhelp (gtkdocdir subdir and name of the module need to match) + sed -i -e 's:package_name:package_string:' docs/reference/meson.build || die # https://gitlab.gnome.org/GNOME/libchamplain/merge_requests/7 } src_configure() { - # demos are only built, so just disable them - meson_src_configure \ - -Dmemphis=false \ - -Ddemos=false \ - $(meson_use gtk widgetry) \ - $(meson_use gtk-doc gtk_doc) \ - $(meson_use introspection) \ + 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 } diff --git a/media-libs/libchamplain/metadata.xml b/media-libs/libchamplain/metadata.xml index 996e7cacd217..c119093f59a9 100644 --- a/media-libs/libchamplain/metadata.xml +++ b/media-libs/libchamplain/metadata.xml @@ -5,4 +5,10 @@ <email>gnome@gentoo.org</email> <name>Gentoo GNOME Desktop</name> </maintainer> + <longdescription lang="en"> + libchamplain is a Gtk widget displaying zoomable and pannable maps that can be + loaded from various network sources. It supports overlay layers, markers, and + custom elements displayed on top of the maps. The library is written in C but + other language mappings are also available thanks to GObject-introspection. + </longdescription> </pkgmetadata> |