summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPacho Ramos <pacho@gentoo.org>2016-04-03 13:12:21 +0200
committerPacho Ramos <pacho@gentoo.org>2016-04-03 14:40:52 +0200
commitea6a2ab00acfd1556fd56dce0a83449d5a4ef8d5 (patch)
tree0d08686756fe3416388bc685ffb6a3745850c8e3 /media-libs/libchamplain
parentmedia-libs/libchamplain: Drop old (diff)
downloadgentoo-ea6a2ab00acfd1556fd56dce0a83449d5a4ef8d5.tar.gz
gentoo-ea6a2ab00acfd1556fd56dce0a83449d5a4ef8d5.tar.bz2
gentoo-ea6a2ab00acfd1556fd56dce0a83449d5a4ef8d5.zip
media-libs/libchamplain: Version bump
Package-Manager: portage-2.2.28
Diffstat (limited to 'media-libs/libchamplain')
-rw-r--r--media-libs/libchamplain/Manifest1
-rw-r--r--media-libs/libchamplain/libchamplain-0.12.13.ebuild64
2 files changed, 65 insertions, 0 deletions
diff --git a/media-libs/libchamplain/Manifest b/media-libs/libchamplain/Manifest
index ad9e348e233b..5bf817659b19 100644
--- a/media-libs/libchamplain/Manifest
+++ b/media-libs/libchamplain/Manifest
@@ -1 +1,2 @@
DIST libchamplain-0.12.12.tar.xz 604468 SHA256 e7de797200a91dba07bd8ba6583a672e1b3dcee842b9b100798925ebde8254a6 SHA512 bc5b6c69c9c60e2a9bba15095aeb2e4f43182a9adf9cddde4e5a04fcce16ac7c355bccc7fde2db6bf6dbc8e63feb3f58c219ec1643a57ee6713791872510c351 WHIRLPOOL 811fae588f4c4bba8983181708e061f27341080cb09ab66c211d0322770bd2585226bf4cd290d2fe48001a11aa5b9670882378f3257bbd65dcf850d03f99f8f4
+DIST libchamplain-0.12.13.tar.xz 605664 SHA256 b3b3a44530ac94c0b3c3710a2d9495d47450c4133006c5e3ca24e0a761683fab SHA512 8cf5a9869d81008daeb51d8e6c4c23d7b67768b3e2e244c61c6f6861f6af09abb6aa6ec7cb69bdab7804dff0fa64a8b543230cf6031cf6266b69f149e898baf9 WHIRLPOOL ad9490d22e4bd65a2fd973c720d3a3801701c3f73944944d437ad28e073090515f4a96c9d50d8ae63f78d17acf34dbe086def25b4241e916a16d58b0c72f54cf
diff --git a/media-libs/libchamplain/libchamplain-0.12.13.ebuild b/media-libs/libchamplain/libchamplain-0.12.13.ebuild
new file mode 100644
index 000000000000..9eb401a9dbb7
--- /dev/null
+++ b/media-libs/libchamplain/libchamplain-0.12.13.ebuild
@@ -0,0 +1,64 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI="5"
+GCONF_DEBUG="no"
+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
+ >=media-libs/clutter-1.12:1.0[introspection?]
+ media-libs/cogl:=
+ >=net-libs/libsoup-2.34:2.4
+ x11-libs/cairo
+ 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)
+}