View previous topic :: View next topic |
Author |
Message |
equinox0r l33t


Joined: 18 Feb 2004 Posts: 614
|
Posted: Thu Mar 24, 2005 1:35 pm Post subject: [solved] ebuild-fragen: IUSE vs. RDEPEND |
|
|
Ich habe, wie vielleicht schon bekannt, für nerolinux ein ebuild gechrieben.
jetzt wurde vorgeschlagen (https://bugs.gentoo.org/show_bug.cgi?id=85503#c5) use-flags für das encoding/decoding zeugs einzuführen, was ungefähr so aussehen würde:
Code: | IUSE="mpg123 oggvorbis shorten"
RDEPEND="x11-libs/gtk+
media-sound/shorten
media-sound/mpg123
media-sound/vorbis-tools" |
ist natürlich etwas blöd, weil es a) keine use-flags "mpg123" und "shorten" gibt und b) die 3 letzten zusatzprogramme nur dann emerged werden sollen, wenn die use-flags entsprechend gesetzt sind.
wie löse ich das jetzt am besten?
thx equi
EDIT: s. https://bugs.gentoo.org/show_bug.cgi?id=85503#c6 _________________ AMD 2400+ XP | 1024 MB RAM | ATI Radeon 9600Pro
Gentoo Base System version 1.4.16 | Portage 2.0.51.19 | 2.6.11-gentoo-r9 Kernel
Last edited by equinox0r on Thu Mar 24, 2005 2:18 pm; edited 2 times in total |
|
Back to top |
|
 |
pablo_supertux Advocate


Joined: 25 Jan 2004 Posts: 2953 Location: Somewhere between reality and Middle-Earth and in Freiburg (Germany)
|
Posted: Thu Mar 24, 2005 2:17 pm Post subject: |
|
|
USE Falgs, die es nicht gibt und in IUSE gesetzt werden, werden "erstellt".
Code: |
IUSE="mpg123 oggvorbis shorten"
RDEPEND="x11-libs/gtk+
shorten? ( media-sound/shorten )
mpg123? ( media-sound/mpg123 )
oggvorbis? ( media-sound/vorbis-tools )"
|
mehr infos dazu: man 5 ebuild _________________ A! Elbereth Gilthoniel!
silivren penna míriel
o menel aglar elenath,
Gilthoniel, A! Elbereth! |
|
Back to top |
|
 |
Earthwings Bodhisattva


Joined: 14 Apr 2003 Posts: 7753 Location: Germany
|
Posted: Thu Mar 24, 2005 2:17 pm Post subject: |
|
|
Wie wäre es damit?
Code: | IUSE="mp3 oggvorbis shorten"
RDEPEND="x11-libs/gtk+
shorten? ( media-sound/shorten )
mp3? ( virtual/mpg123 )
oggvorbis? ( media-sound/vorbis-tools )" |
virtual/mpg123 aber nur, wenn es auch mit mpg321 funktioniert, sonst halt media-sound.
shorten wäre damit ein neues lokales USE flag. |
|
Back to top |
|
 |
equinox0r l33t


Joined: 18 Feb 2004 Posts: 614
|
Posted: Thu Mar 24, 2005 2:19 pm Post subject: |
|
|
Earthwings wrote: | Wie wäre es damit?
Code: | IUSE="mp3 oggvorbis shorten"
RDEPEND="x11-libs/gtk+
shorten? ( media-sound/shorten )
mp3? ( virtual/mpg123 )
oggvorbis? ( media-sound/vorbis-tools )" |
virtual/mpg123 aber nur, wenn es auch mit mpg321 funktioniert, sonst halt media-sound.
shorten wäre damit ein neues lokales USE flag. |
so ähnlich hab ich das jetzt gemacht, allerdings mit media-sound/mpg123.
thx an alle  _________________ AMD 2400+ XP | 1024 MB RAM | ATI Radeon 9600Pro
Gentoo Base System version 1.4.16 | Portage 2.0.51.19 | 2.6.11-gentoo-r9 Kernel |
|
Back to top |
|
 |
|