blob: 57311db296f83b0d12de9bc58329dc02bbd40cf2 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
|
# Copyright 1999-2014 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/media-libs/memphis/memphis-0.2.3.ebuild,v 1.23 2014/01/15 12:58:16 ago Exp $
EAPI=4
WANT_AUTOMAKE=1.11
AUTOTOOLS_AUTORECONF=true
VALA_MIN_API_VERSION=0.12
inherit autotools-utils vala
DESCRIPTION="A map-rendering application and a library for OpenStreetMap"
HOMEPAGE="http://trac.openstreetmap.ch/trac/memphis/"
SRC_URI="http://wenner.ch/files/public/mirror/${PN}/${P}.tar.gz"
LICENSE="LGPL-2.1"
SLOT="0.2"
KEYWORDS="alpha amd64 arm ia64 ppc ppc64 sparc x86"
IUSE="debug doc +introspection vala static-libs"
RDEPEND="
dev-libs/expat
dev-libs/glib:2
x11-libs/cairo
introspection? ( dev-libs/gobject-introspection )"
DEPEND="${RDEPEND}
vala? ( $(vala_depend) )
dev-util/gtk-doc"
AUTOTOOLS_IN_SOURCE_BUILD=1
DOCS=( AUTHORS ChangeLog NEWS README )
PATCHES=( "${FILESDIR}"/${P}-link_gobject.patch )
src_prepare() {
unset VALAC
use vala && vala_src_prepare
autotools-utils_src_prepare
}
src_configure() {
local myeconfargs=(
$(use_enable debug)
$(use_enable doc gtk-doc)
$(use_enable introspection)
$(use_enable vala)
)
CFLAGS="${CFLAGS}" \
autotools-utils_src_configure
}
|