public inbox for gentoo-dev@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-dev] ebuild dependencies
@ 2001-12-04 21:25 Zach Forrest
  2001-12-04 21:27 ` Geert Bevin
  2001-12-04 21:37 ` Martin Schlemmer
  0 siblings, 2 replies; 7+ messages in thread
From: Zach Forrest @ 2001-12-04 21:25 UTC (permalink / raw
  To: gentoo-dev

After looking through some ebuild files, I have noticed that some of the 
depends entries have a question mark after them. I'm not exatly sure 
what this means, but it seems like an optional dependency, maybe for a 
use flag?

Example:
decss? ( media-libs/libdvdcss )

If someone wouldn't mind giving me a quick how-to, I would really 
appreciate it.

Thanks.

Zach



^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [gentoo-dev] ebuild dependencies
  2001-12-04 21:25 [gentoo-dev] ebuild dependencies Zach Forrest
@ 2001-12-04 21:27 ` Geert Bevin
  2001-12-04 21:39   ` Zach Forrest
  2001-12-04 21:37 ` Martin Schlemmer
  1 sibling, 1 reply; 7+ messages in thread
From: Geert Bevin @ 2001-12-04 21:27 UTC (permalink / raw
  To: gentoo-dev

If decss is set as USE flag, enforce the media-libs/libdvdcss dependancy

On Tue, 2001-12-04 at 22:25, Zach Forrest wrote:
> After looking through some ebuild files, I have noticed that some of the 
> depends entries have a question mark after them. I'm not exatly sure 
> what this means, but it seems like an optional dependency, maybe for a 
> use flag?
> 
> Example:
> decss? ( media-libs/libdvdcss )
> 
> If someone wouldn't mind giving me a quick how-to, I would really 
> appreciate it.
> 
> Thanks.
> 
> Zach
> 
> _______________________________________________
> gentoo-dev mailing list
> gentoo-dev@gentoo.org
> http://lists.gentoo.org/mailman/listinfo/gentoo-dev
> 
-- 
Geert Bevin
the Leaf sprl/bvba
"Use what you need"           Pierre Theunisstraat 1/47
http://www.theleaf.be         1030 Brussels
gbevin@theleaf.be             Tel & Fax +32 2 241 19 98



^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [gentoo-dev] ebuild dependencies
  2001-12-04 21:25 [gentoo-dev] ebuild dependencies Zach Forrest
  2001-12-04 21:27 ` Geert Bevin
@ 2001-12-04 21:37 ` Martin Schlemmer
  1 sibling, 0 replies; 7+ messages in thread
From: Martin Schlemmer @ 2001-12-04 21:37 UTC (permalink / raw
  To: Gentoo-Dev

[-- Attachment #1: Type: text/plain, Size: 644 bytes --]

On Tue, 2001-12-04 at 23:25, Zach Forrest wrote:
> After looking through some ebuild files, I have noticed that some of the 
> depends entries have a question mark after them. I'm not exatly sure 
> what this means, but it seems like an optional dependency, maybe for a 
> use flag?
> 
> Example:
> decss? ( media-libs/libdvdcss )
> 
> If someone wouldn't mind giving me a quick how-to, I would really 
> appreciate it.
> 

it means if you have decss in your USE flags, media-libs/libdvdcss will
be a dependancy, else not ....

-- 

Martin Schlemmer
Gentoo Linux Developer, Desktop Team Developer
Cape Town, South Africa


[-- Attachment #2: Type: application/pgp-signature, Size: 232 bytes --]

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [gentoo-dev] ebuild dependencies
  2001-12-04 21:27 ` Geert Bevin
@ 2001-12-04 21:39   ` Zach Forrest
  0 siblings, 0 replies; 7+ messages in thread
From: Zach Forrest @ 2001-12-04 21:39 UTC (permalink / raw
  To: gentoo-dev

It all makes sense now. Thanks.

Geert Bevin wrote:

> If decss is set as USE flag, enforce the media-libs/libdvdcss dependancy
> 
> On Tue, 2001-12-04 at 22:25, Zach Forrest wrote:
> 
>>After looking through some ebuild files, I have noticed that some of the 
>>depends entries have a question mark after them. I'm not exatly sure 
>>what this means, but it seems like an optional dependency, maybe for a 
>>use flag?
>>
>>Example:
>>decss? ( media-libs/libdvdcss )
>>
>>If someone wouldn't mind giving me a quick how-to, I would really 
>>appreciate it.
>>
>>Thanks.
>>
>>Zach
>>
>>_______________________________________________
>>gentoo-dev mailing list
>>gentoo-dev@gentoo.org
>>http://lists.gentoo.org/mailman/listinfo/gentoo-dev
>>
>>




^ permalink raw reply	[flat|nested] 7+ messages in thread

* [gentoo-dev] ebuild dependencies
@ 2004-03-29 19:10 Lukasz Strzygowski
  2004-03-29 19:27 ` Mike Frysinger
  2004-03-30  7:23 ` Eivind Tagseth
  0 siblings, 2 replies; 7+ messages in thread
From: Lukasz Strzygowski @ 2004-03-29 19:10 UTC (permalink / raw
  To: gentoo-dev

[-- Attachment #1: Type: text/plain, Size: 321 bytes --]

hello guys,

i want my ebuild to depend on a package merged with specified  use
flag (concrete on pygtk with support for gnome). how can i do it?

thanks
-- 
Lukasz 'lucass' Strzygowski  -  http://qm.kom.pl/
           "The purpose of software engineering is
           to control complexity, not to create it"

[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [gentoo-dev] ebuild dependencies
  2004-03-29 19:10 Lukasz Strzygowski
@ 2004-03-29 19:27 ` Mike Frysinger
  2004-03-30  7:23 ` Eivind Tagseth
  1 sibling, 0 replies; 7+ messages in thread
From: Mike Frysinger @ 2004-03-29 19:27 UTC (permalink / raw
  To: gentoo-dev

On Monday 29 March 2004 02:10 pm, Lukasz Strzygowski wrote:
> i want my ebuild to depend on a package merged with specified  use
> flag (concrete on pygtk with support for gnome). how can i do it?

you cant currently ... there are bugs open about this though
-mike

--
gentoo-dev@gentoo.org mailing list


^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [gentoo-dev] ebuild dependencies
  2004-03-29 19:10 Lukasz Strzygowski
  2004-03-29 19:27 ` Mike Frysinger
@ 2004-03-30  7:23 ` Eivind Tagseth
  1 sibling, 0 replies; 7+ messages in thread
From: Eivind Tagseth @ 2004-03-30  7:23 UTC (permalink / raw
  To: gentoo-dev

* Lukasz Strzygowski <lucass@gentoo.pl> [2004-03-29 21:10:42 +0200]:

> hello guys,
> 
> i want my ebuild to depend on a package merged with specified  use
> flag (concrete on pygtk with support for gnome). how can i do it?


I guess you could do something like this:

grep -q "\<gnome\>" /var/db/pkg/dev-python/pygtk-2.0.0*/USE

and issue a warning/error to the user explaining the situation if gnome 
support was not enabled for pygtk?



Eivind


--
gentoo-dev@gentoo.org mailing list


^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2004-03-30  7:23 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2001-12-04 21:25 [gentoo-dev] ebuild dependencies Zach Forrest
2001-12-04 21:27 ` Geert Bevin
2001-12-04 21:39   ` Zach Forrest
2001-12-04 21:37 ` Martin Schlemmer
  -- strict thread matches above, loose matches on Subject: below --
2004-03-29 19:10 Lukasz Strzygowski
2004-03-29 19:27 ` Mike Frysinger
2004-03-30  7:23 ` Eivind Tagseth

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox