You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
|
# Copyright 1999-2012 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.10 2012/07/21 16:30:05 pacho Exp $
|
|
|
|
|
|
|
|
EAPI=4
|
|
|
|
GPE_TARBALL_SUFFIX="bz2"
|
|
|
|
|
|
|
|
inherit gpe autotools eutils
|
|
|
|
|
|
|
|
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 LINGUAS bug #406419
|
|
|
|
epatch "${FILESDIR}/${P}-linguas.patch"
|
|
|
|
|
|
|
|
epatch "${FILESDIR}/${P}-glib-single-include.patch"
|
|
|
|
|
|
|
|
# Fix underlinking, bug #367421
|
|
|
|
sed -i -e 's/^infoprint_LDADD =/infoprint_LDADD = -lX11/' Makefile.am \
|
|
|
|
|| die 'Failed to sed Makefile.am'
|
|
|
|
|
|
|
|
eautomake
|
|
|
|
}
|