1 |
commit: 2f678f2aad9c14d3cf4262cbc955fa0857c463c0 |
2 |
Author: Matt Turner <mattst88 <AT> gmail <DOT> com> |
3 |
AuthorDate: Wed Aug 29 05:55:11 2012 +0000 |
4 |
Commit: Matt Turner <mattst88 <AT> gmail <DOT> com> |
5 |
CommitDate: Wed Aug 29 05:55:11 2012 +0000 |
6 |
URL: http://git.overlays.gentoo.org/gitweb/?p=proj/x11.git;a=commit;h=2f678f2a |
7 |
|
8 |
x11-apps/mesa-progs: Update to git-2 eclass |
9 |
|
10 |
--- |
11 |
x11-apps/mesa-progs/mesa-progs-9999.ebuild | 9 ++++++++- |
12 |
1 files changed, 8 insertions(+), 1 deletions(-) |
13 |
|
14 |
diff --git a/x11-apps/mesa-progs/mesa-progs-9999.ebuild b/x11-apps/mesa-progs/mesa-progs-9999.ebuild |
15 |
index 89ddd94..4aa4258 100644 |
16 |
--- a/x11-apps/mesa-progs/mesa-progs-9999.ebuild |
17 |
+++ b/x11-apps/mesa-progs/mesa-progs-9999.ebuild |
18 |
@@ -7,9 +7,11 @@ EAPI=4 |
19 |
MY_PN=${PN/progs/demos} |
20 |
MY_P=${MY_PN}-${PV} |
21 |
EGIT_REPO_URI="git://anongit.freedesktop.org/${MY_PN/-//}" |
22 |
+EGIT_PROJECT="mesa-progs" |
23 |
|
24 |
if [[ ${PV} = 9999* ]]; then |
25 |
- GIT_ECLASS="git" |
26 |
+ GIT_ECLASS="git-2" |
27 |
+ EXPERIMENTAL="true" |
28 |
fi |
29 |
|
30 |
inherit toolchain-funcs ${GIT_ECLASS} |
31 |
@@ -32,6 +34,11 @@ DEPEND="${RDEPEND}" |
32 |
|
33 |
S=${WORKDIR}/${MY_P} |
34 |
|
35 |
+src_unpack() { |
36 |
+ default |
37 |
+ [[ $PV = 9999* ]] && git-2_src_unpack |
38 |
+} |
39 |
+ |
40 |
src_configure() { |
41 |
# We're not using the complete buildsystem if we only want to build |
42 |
# glxinfo and glxgears. |