Lines 1-6
Link Here
|
1 |
# Copyright 1999-2006 Gentoo Foundation |
1 |
# Copyright 1999-2006 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/x11-misc/adesklets/adesklets-0.5.0.ebuild,v 1.4 2006/02/11 00:03:09 nelchael Exp $ |
3 |
# $Header: |
|
|
4 |
|
5 |
inherit eutils |
4 |
|
6 |
|
5 |
DESCRIPTION="An interactive Imlib2 console for the X Window system" |
7 |
DESCRIPTION="An interactive Imlib2 console for the X Window system" |
6 |
HOMEPAGE="http://adesklets.sf.net/" |
8 |
HOMEPAGE="http://adesklets.sf.net/" |
Lines 9-32
Link Here
|
9 |
SLOT="0" |
11 |
SLOT="0" |
10 |
LICENSE="GPL-2" |
12 |
LICENSE="GPL-2" |
11 |
KEYWORDS="amd64 ~ppc x86" |
13 |
KEYWORDS="amd64 ~ppc x86" |
12 |
IUSE="X python" |
14 |
IUSE="X python debug ctrlmenu" |
13 |
|
|
|
14 |
RDEPEND="X? ( || ( ( |
15 |
x11-libs/libX11 |
16 |
x11-apps/xprop |
17 |
x11-libs/libXt ) |
18 |
virtual/x11 ) )" |
19 |
|
15 |
|
20 |
DEPEND=">=media-libs/imlib2-1.2.0-r2 |
16 |
DEPEND=">=media-libs/imlib2-1.2.0-r2 |
21 |
X? ( || ( x11-proto/xproto virtual/x11 ) ) |
17 |
X? ( || ( ( |
|
|
18 |
x11-libs/libX11 |
19 |
x11-libs/libXt |
20 |
x11-proto/xproto ) |
21 |
virtual/x11 ) ) |
22 |
python? ( >=dev-lang/python-2.3.4-r1 )" |
22 |
python? ( >=dev-lang/python-2.3.4-r1 )" |
23 |
|
23 |
|
|
|
24 |
src_unpack() |
25 |
{ |
26 |
unpack ${A} |
27 |
cd ${S} |
28 |
epatch ${FILESDIR}/${P}-ctrlmenu.patch || die "epatch failed" |
29 |
# when patching src/adesklets.c or src/commands.c, you need to touch these files |
30 |
touch scripting/enums scripting/prototypes |
31 |
} |
32 |
|
24 |
src_compile() |
33 |
src_compile() |
25 |
{ |
34 |
{ |
26 |
local myconf="" |
35 |
local myconf="--enable-control-on-context-menu" |
27 |
|
36 |
|
28 |
use X || myconf="--without-x" |
37 |
use X || myconf="--without-x" |
29 |
use python || myconf="${myconf} --without-python-support" |
38 |
use python || myconf="${myconf} --without-python-support" |
|
|
39 |
myconf="${myconf} $(use_enable debug)" |
30 |
|
40 |
|
31 |
econf ${myconf} || die |
41 |
econf ${myconf} || die |
32 |
emake || die |
42 |
emake || die |