|
Re: Re: DEPEND question: msg#00261linux.gentoo.devel
That is a great way! Thanks! // Wigren Friday 31 May 2002 17.02 skrev Jano Lukac: > i used openoffice ebuild as sorta example, but there are numerous ways > to do this, and this is just one way that might work (take with grain of > salt): > > if [ use opengl ] > then > GLDEPEND="app-emulation/psemu-gpupetemesagl" > else > GLDEPEND="app-emulation/psemu-peopssoftgpu" > fi > > RDEPEND="blah blah ${GLDEPEND}" > > jano > > On Fri, May 31, 2002 at 07:57:27AM +0000, Per Wigren wrote: > > The OpenGL-GPU and Software-GPU are plugins which are > > developed and distributed separate from the emulators. All > > (=most) PSX-emulators use the same plugins. The emulators > > requires at least one GPU-plugin to be installed.. > > like: > > RDEPEND="opengl? ( app-emulation/psemu-gpupetemesagl ) > > !opengl ( app-emulation/psemu-peopssoftgpu )" > > > > where "!opengl" means "NOT opengl".. How to do this? > > > > Regards > > Per Wigren > > > > > not sure how the gpu-plugin parts work (config options, i > > > > guess?), but > > > > > you could do something like this: > > > > > > (use opengl && gl-gpu-plugin) || sw-gpu-plugin > > > > > > > > > Jano > > > > > > > > > On Thu, May 30, 2002 at 09:15:40PM +0200, Per Wigren > > > > wrote: > > > > How can I have a "if not"-dependancy? > > > > I'm making ebuilds for the ePSXe and PCSX Playstation- > > > > emulators and their > > > > > > plugins.. > > > > I want to have dependancy similar to (in pseudocode): > > > > IF USE opengl: gl-gpu-plugin > > > > ELSE: sw-gpu-plugin > > > > > > > > I can't find anything in the docs... > > > > > > > > // Wigren > > > > > > > > _______________________________________________ > > > > gentoo-dev mailing list > > > > gentoo-dev@xxxxxxxxxx > > > > http://lists.gentoo.org/mailman/listinfo/gentoo-dev > > > > > > _______________________________________________ > > > gentoo-dev mailing list > > > gentoo-dev@xxxxxxxxxx > > > http://lists.gentoo.org/mailman/listinfo/gentoo-dev > > > > _______________________________________________ > > gentoo-dev mailing list > > gentoo-dev@xxxxxxxxxx > > http://lists.gentoo.org/mailman/listinfo/gentoo-dev > > _______________________________________________ > gentoo-dev mailing list > gentoo-dev@xxxxxxxxxx > http://lists.gentoo.org/mailman/listinfo/gentoo-dev |
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | Re: Failure to emerge scrollkeeper with gnome2 and gcc-3.1: 00261, Spider |
|---|---|
| Next by Date: | Re: Debug info in an .ebuild: 00261, Spider |
| Previous by Thread: | Re: Re: DEPEND questioni: 00261, Jano Lukac |
| Next by Thread: | kernel recompile on existing gentoo system?: 00261, Phil Hall |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
| News | FAQ | advertise |