Lines 11-20
Link Here
|
11 |
LICENSE="GPL-2" |
11 |
LICENSE="GPL-2" |
12 |
SLOT="2" |
12 |
SLOT="2" |
13 |
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86" |
13 |
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86" |
14 |
IUSE="X nls ssl" |
14 |
IUSE="X nls ssl gnutls" |
15 |
|
15 |
|
16 |
DEPEND="=dev-libs/glib-1* |
16 |
DEPEND="=dev-libs/glib-1* |
17 |
ssl? ( dev-libs/openssl ) |
17 |
ssl? ( dev-libs/openssl ) |
|
|
18 |
gnutls? ( net-libs/gnutls |
19 |
dev-libs/libgcrypt) |
18 |
X? ( >=x11-libs/gtk+-2.0.5 |
20 |
X? ( >=x11-libs/gtk+-2.0.5 |
19 |
>=x11-libs/pango-1.4.0 )" |
21 |
>=x11-libs/pango-1.4.0 )" |
20 |
RDEPEND="${DEPEND} |
22 |
RDEPEND="${DEPEND} |
Lines 23-28
Link Here
|
23 |
S=${WORKDIR}/${P/a/} |
25 |
S=${WORKDIR}/${P/a/} |
24 |
|
26 |
|
25 |
src_compile() { |
27 |
src_compile() { |
|
|
28 |
epatch ${FILESDIR}/gkrellm-configure.patch |
26 |
local myconf |
29 |
local myconf |
27 |
if ! use nls; then |
30 |
if ! use nls; then |
28 |
sed -i "s:enable_nls=1:enable_nls=0:" Makefile || die |
31 |
sed -i "s:enable_nls=1:enable_nls=0:" Makefile || die |
Lines 37-46
Link Here
|
37 |
src/gkrellm.h || die |
40 |
src/gkrellm.h || die |
38 |
|
41 |
|
39 |
if use X |
42 |
if use X |
40 |
then |
43 |
then |
41 |
use ssl || myconf="without-ssl=yes" |
44 |
use gnutls || myconf="without-gnutls=yes" |
|
|
45 |
use ssl || myconf="without-gnutls without-ssl=yes" |
46 |
|
42 |
PREFIX=/usr emake ${myconf} || die |
47 |
PREFIX=/usr emake ${myconf} || die |
43 |
else |
48 |
else |
44 |
cd ${S}/server |
49 |
cd ${S}/server |
45 |
emake glib12=1 || die |
50 |
emake glib12=1 || die |
46 |
fi |
51 |
fi |