Gentoo Archives: gentoo-devhelp

From: Sergei Trofimovich <slyfox@g.o>
To: Nikos Chantziaras <realnc@×××××.de>
Cc: gentoo-devhelp@l.g.o
Subject: Re: [gentoo-devhelp] How do I select a specific Git "head" in live ebuilds?
Date: Fri, 27 Aug 2010 19:53:20
Message-Id: 20100827225306.544c52a7@sf.home
In Reply to: [gentoo-devhelp] How do I select a specific Git "head" in live ebuilds? by Nikos Chantziaras
> I am trying to create an ebuild that fetches a specific head from a Git > repo. As you can see here: > > http://lmms.git.sourceforge.net/git/gitweb.cgi?p=lmms/lmms;a=summary > > There are several "heads" listed: master, stable-0.4, calf-updates, etc. > By default, the git eclass uses "master". I tried putting: > > EGIT_BRANCH="stable-0.4" > > in the ebuild. But this doesn't seem to help; "master" is emerged > instead of "stable-0.4". > > What am I doing wrong?
Hi Nikos! I didn't dig seriously in eclass, but EGIT_TREE and _BRANCH both helped me. EGIT_REPO_URI="git://repo.or.cz/tinycc.git" EGIT_TREE="mob" EGIT_BRANCH="mob" Whole thing is here: http://repo.or.cz/w/slyfox-gentoo.git/blob_plain/aaa609469a6f819b8823ad45dc424eb18d24078c:/dev-lang/tcc/tcc-9999.ebuild -- Sergei

Attachments

File name MIME type
signature.asc application/pgp-signature