|
Lines 1-8
Link Here
|
| 1 |
# Copyright 1999-2008 Gentoo Foundation |
1 |
# Copyright 1999-2009 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/xlockmore/xlockmore-5.25.ebuild,v 1.5 2008/05/12 18:31:14 corsair Exp $ |
3 |
# $Header: $ |
| 4 |
|
4 |
|
| 5 |
inherit flag-o-matic pam |
5 |
EAPI="2" |
|
|
6 |
|
| 7 |
inherit pam autotools |
| 6 |
|
8 |
|
| 7 |
DESCRIPTION="Just another screensaver application for X" |
9 |
DESCRIPTION="Just another screensaver application for X" |
| 8 |
HOMEPAGE="http://www.tux.org/~bagleyd/xlockmore.html" |
10 |
HOMEPAGE="http://www.tux.org/~bagleyd/xlockmore.html" |
|
Lines 10-17
Link Here
|
| 10 |
|
12 |
|
| 11 |
LICENSE="BSD GPL-2" |
13 |
LICENSE="BSD GPL-2" |
| 12 |
SLOT="0" |
14 |
SLOT="0" |
| 13 |
KEYWORDS="amd64 hppa ~ppc ppc64 ~sparc ~x86" |
15 |
KEYWORDS="~amd64 ~hppa ~ppc ~ppc64 ~sparc ~x86" |
| 14 |
IUSE="crypt debug nas esd motif opengl truetype gtk pam xlockrc unicode" |
16 |
IUSE="crypt debug esd gtk motif nas opengl pam syslog truetype unicode xlockrc" |
| 15 |
|
17 |
|
| 16 |
RDEPEND="opengl? ( media-libs/mesa ) |
18 |
RDEPEND="opengl? ( media-libs/mesa ) |
| 17 |
x11-libs/libX11 |
19 |
x11-libs/libX11 |
|
Lines 19-54
Link Here
|
| 19 |
x11-libs/libXext |
21 |
x11-libs/libXext |
| 20 |
x11-libs/libXt |
22 |
x11-libs/libXt |
| 21 |
x11-libs/libXpm |
23 |
x11-libs/libXpm |
| 22 |
media-libs/freetype |
24 |
media-libs/freetype:2 |
| 23 |
pam? ( virtual/pam ) |
25 |
pam? ( virtual/pam ) |
| 24 |
nas? ( media-libs/nas ) |
26 |
nas? ( media-libs/nas ) |
| 25 |
esd? ( media-sound/esound ) |
27 |
esd? ( media-sound/esound ) |
| 26 |
motif? ( x11-libs/openmotif ) |
28 |
motif? ( x11-libs/openmotif ) |
| 27 |
gtk? ( >=x11-libs/gtk+-2 )" |
29 |
gtk? ( x11-libs/gtk+:2 )" |
| 28 |
DEPEND="${RDEPEND} |
30 |
DEPEND="${RDEPEND} |
| 29 |
dev-util/pkgconfig |
31 |
dev-util/pkgconfig |
| 30 |
x11-proto/xineramaproto" |
32 |
x11-proto/xineramaproto" |
| 31 |
|
33 |
|
| 32 |
src_compile() { |
34 |
src_prepare() { |
|
|
35 |
# Let the package manager handle striping binaries |
| 36 |
sed -i -e "s/\(INSTPGMFLAGS=\"\)-s /\1/" configure.in |
| 37 |
eautoreconf |
| 38 |
} |
| 39 |
|
| 40 |
src_configure() { |
| 33 |
econf --enable-appdefaultdir=/usr/share/X11/app-defaults \ |
41 |
econf --enable-appdefaultdir=/usr/share/X11/app-defaults \ |
| 34 |
--enable-vtlock --without-ftgl --without-gltt \ |
42 |
--enable-vtlock --without-ftgl --without-gltt \ |
| 35 |
$(use_enable crypt) \ |
|
|
| 36 |
$(use_with opengl) \ |
| 37 |
$(use_with opengl mesa) \ |
| 38 |
$(use_enable xlockrc) \ |
| 39 |
$(use_enable unicode use-mb) \ |
| 40 |
$(use_enable pam) \ |
43 |
$(use_enable pam) \ |
| 41 |
$(use_with truetype ttf) \ |
44 |
$(use_enable syslog) \ |
|
|
45 |
$(use_enable unicode use-mb) \ |
| 46 |
$(use_enable xlockrc) \ |
| 47 |
$(use_with crypt) \ |
| 48 |
$(use_with debug editres) \ |
| 49 |
$(use_with esd esound) \ |
| 42 |
$(use_with gtk gtk2) \ |
50 |
$(use_with gtk gtk2) \ |
|
|
51 |
$(use_with opengl) \ |
| 52 |
$(use_with opengl mesa) \ |
| 43 |
$(use_with motif) \ |
53 |
$(use_with motif) \ |
| 44 |
$(use_with esd esound) \ |
|
|
| 45 |
$(use_with nas) \ |
54 |
$(use_with nas) \ |
| 46 |
$(use_with debug editres) |
55 |
$(use_with truetype ttf) |
| 47 |
|
|
|
| 48 |
# suid-with-lazy-bindings problem |
| 49 |
append-flags $(bindnow-flags) |
| 50 |
|
| 51 |
emake || die "emake failed." |
| 52 |
} |
56 |
} |
| 53 |
|
57 |
|
| 54 |
src_install() { |
58 |
src_install() { |