Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 361323 | Differences between
and this patch

Collapse All | Expand All

(-)orig/fbgrab-1.0.ebuild (-6 / +5 lines)
Lines 2-8 Link Here
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/media-gfx/fbgrab/fbgrab-1.0.ebuild,v 1.12 2008/12/07 12:11:32 vapier Exp $
3
# $Header: /var/cvsroot/gentoo-x86/media-gfx/fbgrab/fbgrab-1.0.ebuild,v 1.12 2008/12/07 12:11:32 vapier Exp $
4
4
5
inherit toolchain-funcs
5
EAPI="2"
6
7
inherit eutils toolchain-funcs
6
8
7
DESCRIPTION="Framebuffer screenshot utility"
9
DESCRIPTION="Framebuffer screenshot utility"
8
HOMEPAGE="http://hem.bredband.net/gmogmo/fbgrab/"
10
HOMEPAGE="http://hem.bredband.net/gmogmo/fbgrab/"
Lines 15-30 IUSE="" Link Here
15
17
16
DEPEND="media-libs/libpng"
18
DEPEND="media-libs/libpng"
17
19
18
S=${WORKDIR}/${PN}-1.0
20
src_prepare() {
19
20
src_unpack() {
21
	unpack ${A}
22
	cd "${S}"
23
	sed -i \
21
	sed -i \
24
		-e "s:gcc :\$(CC) :" \
22
		-e "s:gcc :\$(CC) :" \
25
		-e "s:splint:#splint:" \
23
		-e "s:splint:#splint:" \
26
		-e "s:-Wall:-Wall ${CPPFLAGS} ${CFLAGS} ${LDFLAGS}:" \
24
		-e "s:-Wall:-Wall ${CPPFLAGS} ${CFLAGS} ${LDFLAGS}:" \
27
		Makefile
25
		Makefile
26
	epatch "${FILESDIR}/${PN}-libpng15.patch"
28
}
27
}
29
28
30
src_compile() {
29
src_compile() {

Return to bug 361323