1 |
That is a great way! Thanks! |
2 |
|
3 |
// Wigren |
4 |
|
5 |
Friday 31 May 2002 17.02 skrev Jano Lukac: |
6 |
> i used openoffice ebuild as sorta example, but there are numerous ways |
7 |
> to do this, and this is just one way that might work (take with grain of |
8 |
> salt): |
9 |
> |
10 |
> if [ use opengl ] |
11 |
> then |
12 |
> GLDEPEND="app-emulation/psemu-gpupetemesagl" |
13 |
> else |
14 |
> GLDEPEND="app-emulation/psemu-peopssoftgpu" |
15 |
> fi |
16 |
> |
17 |
> RDEPEND="blah blah ${GLDEPEND}" |
18 |
> |
19 |
> jano |
20 |
> |
21 |
> On Fri, May 31, 2002 at 07:57:27AM +0000, Per Wigren wrote: |
22 |
> > The OpenGL-GPU and Software-GPU are plugins which are |
23 |
> > developed and distributed separate from the emulators. All |
24 |
> > (=most) PSX-emulators use the same plugins. The emulators |
25 |
> > requires at least one GPU-plugin to be installed.. |
26 |
> > like: |
27 |
> > RDEPEND="opengl? ( app-emulation/psemu-gpupetemesagl ) |
28 |
> > !opengl ( app-emulation/psemu-peopssoftgpu )" |
29 |
> > |
30 |
> > where "!opengl" means "NOT opengl".. How to do this? |
31 |
> > |
32 |
> > Regards |
33 |
> > Per Wigren |
34 |
> > |
35 |
> > > not sure how the gpu-plugin parts work (config options, i |
36 |
> > |
37 |
> > guess?), but |
38 |
> > |
39 |
> > > you could do something like this: |
40 |
> > > |
41 |
> > > (use opengl && gl-gpu-plugin) || sw-gpu-plugin |
42 |
> > > |
43 |
> > > |
44 |
> > > Jano |
45 |
> > > |
46 |
> > > |
47 |
> > > On Thu, May 30, 2002 at 09:15:40PM +0200, Per Wigren |
48 |
> > |
49 |
> > wrote: |
50 |
> > > > How can I have a "if not"-dependancy? |
51 |
> > > > I'm making ebuilds for the ePSXe and PCSX Playstation- |
52 |
> > |
53 |
> > emulators and their |
54 |
> > |
55 |
> > > > plugins.. |
56 |
> > > > I want to have dependancy similar to (in pseudocode): |
57 |
> > > > IF USE opengl: gl-gpu-plugin |
58 |
> > > > ELSE: sw-gpu-plugin |
59 |
> > > > |
60 |
> > > > I can't find anything in the docs... |
61 |
> > > > |
62 |
> > > > // Wigren |
63 |
> > > > |
64 |
> > > > _______________________________________________ |
65 |
> > > > gentoo-dev mailing list |
66 |
> > > > gentoo-dev@g.o |
67 |
> > > > http://lists.gentoo.org/mailman/listinfo/gentoo-dev |
68 |
> > > |
69 |
> > > _______________________________________________ |
70 |
> > > gentoo-dev mailing list |
71 |
> > > gentoo-dev@g.o |
72 |
> > > http://lists.gentoo.org/mailman/listinfo/gentoo-dev |
73 |
> > |
74 |
> > _______________________________________________ |
75 |
> > gentoo-dev mailing list |
76 |
> > gentoo-dev@g.o |
77 |
> > http://lists.gentoo.org/mailman/listinfo/gentoo-dev |
78 |
> |
79 |
> _______________________________________________ |
80 |
> gentoo-dev mailing list |
81 |
> gentoo-dev@g.o |
82 |
> http://lists.gentoo.org/mailman/listinfo/gentoo-dev |