1 |
On Wed, 04 Mar 2015 15:16:55 +0100 Helmut Jarausch wrote: |
2 |
> On 03/04/2015 02:41:55 PM, Andrew Savchenko wrote: |
3 |
> > On Wed, 04 Mar 2015 13:41:32 +0100 Helmut Jarausch wrote: |
4 |
> > > Hi, |
5 |
> > > |
6 |
> > > I'd like to write an ebuild www-client/qupzilla-9999. |
7 |
> > > For this I need to fetch from several repositories like |
8 |
> > > |
9 |
> > > EGIT_REPO_URI="https://github.com/QupZilla/qupzilla.git" |
10 |
> > > EGIT_SECONDARY=("https://github.com/QupZilla/qupzilla-plugins/tree/master/plugins/Videoner.git" |
11 |
> > > "https://github.com/QupZilla/qupzilla-plugins/tree/master/plugins/CopyTitle.git" |
12 |
> > > "https://github.com/QupZilla/qupzilla-plugins/tree/master/plugins/MailHandle.git") |
13 |
> > > |
14 |
> > > How can this be achieved? |
15 |
> > |
16 |
> > Provide them as a list (or array) in EGIT_REPO_URI, |
17 |
> > from git-r3.eclass manual page: |
18 |
> > |
19 |
> > EGIT_REPO_URI (REQUIRED) |
20 |
> > URIs to the repository, e.g. git://foo, https://foo. If |
21 |
> > multiple URIs are provided, the eclass will consider them |
22 |
> > as fallback URIs to try if the first URI does not work. |
23 |
> > |
24 |
> > It can be overriden via env using ${PN}_LIVE_REPO |
25 |
> > variable. |
26 |
> > |
27 |
> > Can be a whitespace-separated list or an array. |
28 |
> > |
29 |
> > Example: |
30 |
> > EGIT_REPO_URI="git://a/b.git https://c/d.git" |
31 |
> > |
32 |
> > |
33 |
> |
34 |
> I don't understand this. I've tried to add |
35 |
> qupzilla_LIVE_PRO=("https://github.com/QupZilla/qupzilla-plugins/tree/master/plugins/Videoner.git" |
36 |
> "https://github.com/QupZilla/qupzilla-plugins/tree/master/plugins/CopyTitle.git" |
37 |
> "https://github.com/QupZilla/qupzilla-plugins/tree/master/plugins/MailHandle.git") |
38 |
> to /etc/portage/env/www-client/qupzilla |
39 |
> |
40 |
> In addition, I've tried |
41 |
> EGIT_REPO_URI=("https://github.com/QupZilla/qupzilla.git" |
42 |
> "https://github.com/QupZilla/qupzilla-plugins/tree/master/plugins/Videoner.git" |
43 |
> "https://github.com/QupZilla/qupzilla-plugins/tree/master/plugins/CopyTitle.git" |
44 |
> "https://github.com/QupZilla/qupzilla-plugins/tree/master/plugins/MailHandle.git") |
45 |
> |
46 |
> within the ebuild, but nothing helps. |
47 |
> What am I missing? |
48 |
|
49 |
Sorry, as Justin pointed in another mail, I misunderstood meaning |
50 |
of additionals URIs: they are fallback links to the same |
51 |
project. |
52 |
|
53 |
Another idea: maybe you should separate plugins to their own |
54 |
ebuilds? This will solve URI issue and will follow Gentoo |
55 |
unbundling policy nicely. |
56 |
|
57 |
Best regards, |
58 |
Andrew Savchenko |