Gentoo Archives: gentoo-dev

From: Zac Medico <zmedico@g.o>
To: gentoo-dev@l.g.o
Subject: Re: [gentoo-dev] [RFC] new vala.eclass
Date: Sun, 26 Aug 2012 22:47:00
Message-Id: 503AA725.8020306@gentoo.org
In Reply to: Re: [gentoo-dev] [RFC] new vala.eclass by Alexandre Rostovtsev
1 On 08/25/2012 11:59 PM, Alexandre Rostovtsev wrote:
2 > On Sat, 2012-08-25 at 23:45 +0200, Ulrich Mueller wrote:
3 >>>>>>> On Sat, 25 Aug 2012, Alexandre Rostovtsev wrote:
4 >>
5 >>> export VALAC=$(type -P valac-${VALA_API_VERSION})
6 >>> export VALA=$(type -P vala-${VALA_API_VERSION})
7 >>> export VALA_GEN_INTROSPECT=$(type -P vala-gen-introspect-${VALA_API_VERSION})
8 >>> export VAPIGEN="$(type -P vapigen-${VALA_API_VERSION})"
9 >>
10 >> Is it guaranteed that these commands are present at pkg_setup time?
11 >
12 > I am assuming that the ebuild writer has added the correct vala
13 > dependency to DEPEND. Maybe something like this:
14
15 Note that pkg_setup is called for binary packages too, which means that
16 DEPEND may not necessarily be installed. In EAPI 4 you can check the
17 MERGE_TYPE variable which can have a value of binary, source, orbuildonly.
18 --
19 Thanks,
20 Zac

Replies

Subject Author
Re: [gentoo-dev] [RFC] new vala.eclass Alexandre Rostovtsev <tetromino@g.o>