diff options
author | Gilles Dartiguelongue <eva@gentoo.org> | 2016-09-08 09:21:34 +0200 |
---|---|---|
committer | Gilles Dartiguelongue <eva@gentoo.org> | 2016-09-08 09:25:36 +0200 |
commit | 7e6ce493a115713de0fa06a7082dcf93cdc16f7f (patch) | |
tree | a3c454aa9d22c2e7b12c33b0bbbbb48f2d4e668a /media-libs | |
parent | gnome-base/libgtop: version bump from 2.34.0 to 2.34.1 (diff) | |
download | gentoo-7e6ce493a115713de0fa06a7082dcf93cdc16f7f.tar.gz gentoo-7e6ce493a115713de0fa06a7082dcf93cdc16f7f.tar.bz2 gentoo-7e6ce493a115713de0fa06a7082dcf93cdc16f7f.zip |
media-libs/libchamplain: version bump from 0.12.13 to 0.12.14
Switch to EAPI=6 and fix vala USE flag handling.
Package-Manager: portage-2.3.0
Diffstat (limited to 'media-libs')
-rw-r--r-- | media-libs/libchamplain/Manifest | 1 | ||||
-rw-r--r-- | media-libs/libchamplain/libchamplain-0.12.14.ebuild | 65 |
2 files changed, 66 insertions, 0 deletions
diff --git a/media-libs/libchamplain/Manifest b/media-libs/libchamplain/Manifest index 317a3ad44e61..23c00e14eed3 100644 --- a/media-libs/libchamplain/Manifest +++ b/media-libs/libchamplain/Manifest @@ -1 +1,2 @@ DIST libchamplain-0.12.13.tar.xz 605664 SHA256 b3b3a44530ac94c0b3c3710a2d9495d47450c4133006c5e3ca24e0a761683fab SHA512 8cf5a9869d81008daeb51d8e6c4c23d7b67768b3e2e244c61c6f6861f6af09abb6aa6ec7cb69bdab7804dff0fa64a8b543230cf6031cf6266b69f149e898baf9 WHIRLPOOL ad9490d22e4bd65a2fd973c720d3a3801701c3f73944944d437ad28e073090515f4a96c9d50d8ae63f78d17acf34dbe086def25b4241e916a16d58b0c72f54cf +DIST libchamplain-0.12.14.tar.xz 615972 SHA256 f1621ddec1ffe64ca01c3216db8663f60ae0bb107521195fc6856119d4b4568f SHA512 83d69a7dc88be5e056612643fa8d77c7c552758178a4a9e0f4bea908798dd4aeb3423b7cc64db02332f782d91c3da68290a2346363c47c7a83a48d8708b91c6c WHIRLPOOL 1948959c9660f07938218757d973a4c2f4468631ff656ad1782e0c3a8b0b599e9591bd9cfb68919b044154f69553526bef47f1a04135b7b8a479a596baa47ff7 diff --git a/media-libs/libchamplain/libchamplain-0.12.14.ebuild b/media-libs/libchamplain/libchamplain-0.12.14.ebuild new file mode 100644 index 000000000000..5f230c0088c7 --- /dev/null +++ b/media-libs/libchamplain/libchamplain-0.12.14.ebuild @@ -0,0 +1,65 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=6 +VALA_USE_DEPEND="vapigen" + +inherit gnome2 vala + +DESCRIPTION="Clutter based world map renderer" +HOMEPAGE="https://wiki.gnome.org/Projects/libchamplain" + +SLOT="0.12" +LICENSE="LGPL-2" +KEYWORDS="~alpha ~amd64 ~arm ~ia64 ~ppc ~ppc64 ~sparc ~x86" + +IUSE="debug +gtk +introspection vala" +REQUIRED_USE="vala? ( introspection )" + +RDEPEND=" + dev-db/sqlite:3 + >=dev-libs/glib-2.16:2 + >=media-libs/clutter-1.12: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:= ) +" +DEPEND="${RDEPEND} + dev-util/gtk-doc-am + virtual/pkgconfig + vala? ( $(vala_depend) ) +" + +src_prepare() { + # Fix documentation slotability + sed \ + -e "s/^DOC_MODULE.*/DOC_MODULE = ${PN}-${SLOT}/" \ + -i docs/reference/Makefile.{am,in} || die "sed (1) failed" + sed \ + -e "s/^DOC_MODULE.*/DOC_MODULE = ${PN}-gtk-${SLOT}/" \ + -i docs/reference-gtk/Makefile.{am,in} || die "sed (2) failed" + mv "${S}"/docs/reference/${PN}{,-${SLOT}}-docs.sgml || die "mv (1) failed" + mv "${S}"/docs/reference-gtk/${PN}-gtk{,-${SLOT}}-docs.sgml || die "mv (2) failed" + + use vala && vala_src_prepare + gnome2_src_prepare +} + +src_configure() { + # Vala demos are only built, so just disable them + gnome2_src_configure \ + --disable-maemo \ + --disable-memphis \ + --disable-static \ + --disable-vala-demos \ + $(use_enable debug) \ + $(use_enable gtk) \ + $(use_enable introspection) \ + $(use_enable vala) +} |