Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 307687
Collapse All | Expand All

(-)graphlcd-base-0.1.5-r1.ebuild (-12 / +6 lines)
Lines 1-23 Link Here
1
# Copyright 1999-2009 Gentoo Foundation
1
# Copyright 1999-2010 Gentoo Foundation
2
# Distributed under the terms of the GNU General Public License v2
2
# Distributed under the terms of the GNU General Public License v2
3
# $Header: /var/cvsroot/gentoo-x86/app-misc/graphlcd-base/graphlcd-base-0.1.5-r1.ebuild,v 1.8 2009/02/01 22:03:34 hd_brummy Exp $
3
# $Header:
4
4
5
inherit eutils flag-o-matic multilib
5
inherit eutils flag-o-matic multilib
6
6
7
DESCRIPTION="Graphical LCD Driver"
7
DESCRIPTION="Graphical LCD Driver"
8
HOMEPAGE="http://graphlcd.berlios.de/"
8
HOMEPAGE="http://projects.vdr-developer.org/projects/show/graphlcd"
9
SRC_URI="mirror://berlios/graphlcd/${P}.tgz
9
SRC_URI="http://projects.vdr-developer.org/attachments/download/248/${P}.tgz"
10
		mirror://vdrfiles/${PN}/${P}_utf8.diff.tgz"
11
10
12
KEYWORDS="amd64 x86 ~ppc"
11
KEYWORDS="amd64 x86 ~ppc"
13
SLOT="0"
12
SLOT="0"
14
LICENSE="GPL-2"
13
LICENSE="GPL-2"
15
IUSE="truetype unicode g15"
14
IUSE="truetype g15"
16
15
17
DEPEND=""
16
DEPEND=""
18
17
19
RDEPEND="truetype? ( media-libs/freetype media-fonts/corefonts )
18
RDEPEND="truetype? ( media-libs/freetype media-fonts/corefonts )
20
		unicode? ( media-libs/freetype media-fonts/corefonts )
21
		g15? ( app-misc/g15daemon )"
19
		g15? ( app-misc/g15daemon )"
22
20
23
src_unpack() {
21
src_unpack() {
Lines 26-38 Link Here
26
	cd "${S}"
24
	cd "${S}"
27
25
28
	sed -i Make.config -e "s:usr\/local:usr:" -e "s:FLAGS *=:FLAGS ?=:"
26
	sed -i Make.config -e "s:usr\/local:usr:" -e "s:FLAGS *=:FLAGS ?=:"
29
	epatch "${FILESDIR}/${P}-nostrip.patch"
27
	epatch "${FILESDIR}/${PN}-0.1.5-nostrip.patch"
30
	epatch "${FILESDIR}/${P}-gcc43.patch"
31
28
32
	use !truetype && sed -i "s:HAVE_FREETYPE2:#HAVE_FREETYPE2:" Make.config
29
	use !truetype && sed -i "s:HAVE_FREETYPE2:#HAVE_FREETYPE2:" Make.config
33
34
	use unicode && epatch "${WORKDIR}/${P}_utf8.diff" && \
35
	sed -i "s:#HAVE_FREETYPE2:HAVE_FREETYPE2:" Make.config
36
}
30
}
37
31
38
src_install() {
32
src_install() {

Return to bug 307687