* Re: Re: [gentoo-dev] DEPEND question
@ 2002-05-31 7:57 Per Wigren
2002-05-31 15:02 ` Jano Lukac
0 siblings, 1 reply; 3+ messages in thread
From: Per Wigren @ 2002-05-31 7:57 UTC (permalink / raw
To: gentoo-dev
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@gentoo.org
> > http://lists.gentoo.org/mailman/listinfo/gentoo-dev
> _______________________________________________
> gentoo-dev mailing list
> gentoo-dev@gentoo.org
> http://lists.gentoo.org/mailman/listinfo/gentoo-dev
>
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Re: [gentoo-dev] DEPEND question
2002-05-31 7:57 Re: [gentoo-dev] DEPEND question Per Wigren
@ 2002-05-31 15:02 ` Jano Lukac
2002-05-31 15:42 ` Per Wigren
0 siblings, 1 reply; 3+ messages in thread
From: Jano Lukac @ 2002-05-31 15:02 UTC (permalink / raw
To: gentoo-dev
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@gentoo.org
> > > http://lists.gentoo.org/mailman/listinfo/gentoo-dev
> > _______________________________________________
> > gentoo-dev mailing list
> > gentoo-dev@gentoo.org
> > http://lists.gentoo.org/mailman/listinfo/gentoo-dev
> >
>
>
> _______________________________________________
> gentoo-dev mailing list
> gentoo-dev@gentoo.org
> http://lists.gentoo.org/mailman/listinfo/gentoo-dev
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Re: [gentoo-dev] DEPEND question
2002-05-31 15:02 ` Jano Lukac
@ 2002-05-31 15:42 ` Per Wigren
0 siblings, 0 replies; 3+ messages in thread
From: Per Wigren @ 2002-05-31 15:42 UTC (permalink / raw
To: gentoo-dev
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@gentoo.org
> > > > http://lists.gentoo.org/mailman/listinfo/gentoo-dev
> > >
> > > _______________________________________________
> > > gentoo-dev mailing list
> > > gentoo-dev@gentoo.org
> > > http://lists.gentoo.org/mailman/listinfo/gentoo-dev
> >
> > _______________________________________________
> > gentoo-dev mailing list
> > gentoo-dev@gentoo.org
> > http://lists.gentoo.org/mailman/listinfo/gentoo-dev
>
> _______________________________________________
> gentoo-dev mailing list
> gentoo-dev@gentoo.org
> http://lists.gentoo.org/mailman/listinfo/gentoo-dev
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2002-05-31 15:42 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-05-31 7:57 Re: [gentoo-dev] DEPEND question Per Wigren
2002-05-31 15:02 ` Jano Lukac
2002-05-31 15:42 ` Per Wigren
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox