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/x11-misc/xscreensaver/xscreensaver-4.20.ebuild,v 1.8 2005/05/03 23:43:36 agriffis Exp $ |
3 |
# $Header: /var/cvsroot/gentoo-x86/x11-misc/xscreensaver/xscreensaver-4.20.ebuild,v 1.8 2005/05/03 23:43:36 agriffis Exp $ |
4 |
|
4 |
|
5 |
inherit eutils flag-o-matic |
5 |
inherit eutils flag-o-matic pam |
6 |
|
6 |
|
7 |
IUSE="pam kerberos krb4 gtk gnome opengl jpeg xinerama offensive motif" |
7 |
IUSE="pam kerberos krb4 gtk gnome opengl jpeg xinerama offensive motif" |
8 |
|
8 |
|
Lines 29-35
Link Here
|
29 |
gnome? ( >=gnome-extra/yelp-2 ) |
29 |
gnome? ( >=gnome-extra/yelp-2 ) |
30 |
) |
30 |
) |
31 |
motif? ( x11-libs/openmotif ) |
31 |
motif? ( x11-libs/openmotif ) |
32 |
pam? ( sys-libs/pam ) |
32 |
pam? ( virtual/pam ) |
33 |
kerberos? ( krb4? ( >=app-crypt/mit-krb5-1.2.5 ) ) |
33 |
kerberos? ( krb4? ( >=app-crypt/mit-krb5-1.2.5 ) ) |
34 |
jpeg? ( media-libs/jpeg ) |
34 |
jpeg? ( media-libs/jpeg ) |
35 |
opengl? ( virtual/opengl |
35 |
opengl? ( virtual/opengl |
Lines 101-131
Link Here
|
101 |
myconf="${myconf} --without-motif --without-gtk --without-pixbuf" |
101 |
myconf="${myconf} --without-motif --without-gtk --without-pixbuf" |
102 |
fi |
102 |
fi |
103 |
|
103 |
|
104 |
use xinerama \ |
|
|
105 |
&& myconf="${myconf} --with-xinerama-ext" \ |
106 |
|| myconf="${myconf} --without-xinerama-ext" |
107 |
|
108 |
use pam \ |
109 |
&& myconf="${myconf} --with-pam" \ |
110 |
|| myconf="${myconf} --without-pam" |
111 |
|
112 |
use kerberos && use krb4 \ |
104 |
use kerberos && use krb4 \ |
113 |
&& myconf="${myconf} --with-kerberos" \ |
105 |
&& myconf="${myconf} --with-kerberos" \ |
114 |
|| myconf="${myconf} --without-kerberos" |
106 |
|| myconf="${myconf} --without-kerberos" |
115 |
|
107 |
|
116 |
use opengl \ |
|
|
117 |
&& myconf="${myconf} --with-gl --with-gle" \ |
118 |
|| myconf="${myconf} --without-gl --without-gle" |
119 |
|
120 |
use jpeg \ |
121 |
&& myconf="${myconf} --with-jpeg" \ |
122 |
|| myconf="${myconf} --without-jpeg" |
123 |
|
124 |
use nls \ |
125 |
&& myconf="${myconf} --enable-nls" \ |
126 |
|| myconf="${myconf} --disable-nls" |
127 |
|
128 |
|
129 |
econf \ |
108 |
econf \ |
130 |
--enable-hackdir=/usr/lib/xscreensaver \ |
109 |
--enable-hackdir=/usr/lib/xscreensaver \ |
131 |
--x-libraries=/usr/X11R6/lib \ |
110 |
--x-libraries=/usr/X11R6/lib \ |
Lines 139-144
Link Here
|
139 |
--with-xshm-ext \ |
118 |
--with-xshm-ext \ |
140 |
--with-xdbe-ext \ |
119 |
--with-xdbe-ext \ |
141 |
--enable-locking \ |
120 |
--enable-locking \ |
|
|
121 |
$(use_with xinerama xinerama-ext) \ |
122 |
$(use_with pam) \ |
123 |
$(use_with opengl gl) $(use_with opengl gle) \ |
124 |
$(use_with jpeg) \ |
125 |
$(use_enable nls) \ |
142 |
${myconf} || die |
126 |
${myconf} || die |
143 |
|
127 |
|
144 |
emake || die |
128 |
emake || die |
Lines 169-176
Link Here
|
169 |
newins ${S}/utils/images/logo-50.xpm xscreensaver.xpm |
153 |
newins ${S}/utils/images/logo-50.xpm xscreensaver.xpm |
170 |
fi |
154 |
fi |
171 |
|
155 |
|
172 |
if use pam ; then |
156 |
pamd_mimic_system xscreensaver auth |
173 |
insinto /etc/pam.d |
|
|
174 |
doins ${FILESDIR}/pam.d/xscreensaver |
175 |
fi |
176 |
} |
157 |
} |