blob: 4443868341edb4f1d5b6221aaf853f1abec8f888 (
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
54
55
56
|
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-libs/dee/dee-1.0.10.ebuild,v 1.3 2012/05/09 17:52:41 jlec Exp $
EAPI=4
AUTOTOOLS_AUTORECONF=y
inherit autotools-utils
DESCRIPTION="Provide objects allowing to create Model-View-Controller type programs across DBus"
HOMEPAGE="https://launchpad.net/dee/"
SRC_URI="https://launchpad.net/dee/1.0/1.0.10/+download/${P}.tar.gz"
SLOT="0"
LICENSE="GPL-3"
KEYWORDS="~amd64 ~x86"
IUSE="doc debug examples +icu static-libs test"
RDEPEND="
dev-libs/glib:2
dev-libs/icu"
DEPEND="${RDEPEND}
dev-util/gtk-doc
test? ( dev-util/dbus-test-runner )"
PATCHES=(
"${FILESDIR}"/${P}-gcc-4.5.patch
"${FILESDIR}"/${P}-vapigen.patch )
src_prepare() {
sed \
-e '/GCC_FLAGS/s:-g::' \
-e 's:vapigen:vapigen-0.14:g' \
-i configure{,.ac} || die
autotools-utils_src_prepare
}
src_configure() {
local myeconfargs=(
$(use_enable debug trace-log)
$(use_enable test tests)
$(use_enable icu)
$(use_enable doc gtk-doc)
)
autotools-utils_src_configure
}
src_install() {
autotools-utils_src_install
if use examples; then
insinto /usr/share/doc/${PN}/
doins -r examples
fi
}
|