Gentoo Archives: gentoo-dev

From: "Petteri Räty" <betelgeuse@g.o>
To: gentoo-dev@l.g.o
Subject: Re: [gentoo-dev] New eclass: gkrellm-plugin
Date: Thu, 08 Mar 2007 18:06:42
Message-Id: 45F04FCA.6020903@gentoo.org
In Reply to: [gentoo-dev] New eclass: gkrellm-plugin by Jim Ramsay
1 Jim Ramsay wrote:
2 > ECLASS="gkrellm-plugin"
3 > INHERITED="$INHERITED $ECLASS"
4
5 No need to set INHERITED yourself any more either. Ciaran already
6 pointed out ECLASS.
7
8 >
9 > gkrellm-plugin_pkg_setup() {
10 > if ! built_with_use app-admin/gkrellm X && \
11 > ! has X ${IUSE}; then
12 > eerror "This plugin requires the X frontend of gkrellm."
13 > eerror "Please re-emerge app-admin/gkrellm with USE=\"X\""
14 > die "Please re-emerge app-admin/gkrellm with USE=\"X\""
15 > fi
16 > }
17
18 How useful is the X use flag in gkrellm? Just thinking if it would be
19 better to just remove the use flag and always build that code.
20
21 Regards,
22 Petteri

Attachments

File name MIME type
signature.asc application/pgp-signature

Replies

Subject Author
Re: [gentoo-dev] New eclass: gkrellm-plugin Seemant Kulleen <seemant@g.o>
Re: [gentoo-dev] New eclass: gkrellm-plugin Andrej Kacian <ticho@g.o>
Re: [gentoo-dev] New eclass: gkrellm-plugin Jim Ramsay <lack@g.o>