blob: 1fd419678f7dd2ff5616725e1b962914131fa50e (
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
|
# Copyright 1999-2011 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/gpe-base/libgpewidget/libgpewidget-0.117-r1.ebuild,v 1.7 2011/05/15 22:21:30 miknix Exp $
EAPI=2
GPE_TARBALL_SUFFIX="bz2"
inherit gpe autotools
DESCRIPTION="A collection of widgets and other common code shared by many GPE applications."
LICENSE="LGPL-2"
SLOT="0"
KEYWORDS="amd64 arm x86"
IUSE="+cairo"
RDEPEND="${RDEPEND}
x11-libs/gtk+:2
media-libs/libpng
cairo? (
x11-libs/cairo[X]
x11-libs/pango[X]
)
"
DEPEND="${RDEPEND}
>=gpe-base/gpe-icons-0.25
sys-devel/gettext
x11-proto/kbproto
x11-proto/renderproto
x11-proto/xproto
"
GPE_DOCS="ChangeLog"
GPECONF="$(use_enable cairo)"
src_prepare() {
# Fix underlinking, bug #367421
sed -i -e 's/^infoprint_LDADD =/infoprint_LDADD = -lX11/' Makefile.am \
|| die 'Failed to sed Makefile.am'
eautomake
}
|