Gentoo Archives: gentoo-dev

From: Alexandre Rostovtsev <tetromino@g.o>
To: gentoo-dev@l.g.o
Subject: Re: [gentoo-dev] [RFC] new vala.eclass
Date: Sun, 26 Aug 2012 07:11:16
Message-Id: 1345964909.9829.83.camel@rook
In Reply to: Re: [gentoo-dev] [RFC] new vala.eclass by Alexandre Rostovtsev
1 On Sun, 2012-08-26 at 02:59 -0400, Alexandre Rostovtsev wrote:
2 > path=$(type -P valac-${VALA_API_VERSION})
3 > [[ -n "${path}" ]] && VALAC="${path}"
4 >
5 > path=$(type -P vala-${VALA_API_VERSION})
6 > [[ -n "${path}" ]] && VALA="${path}"
7 >
8 > path=$(type -P vala-gen-introspect-${VALA_API_VERSION})
9 > [[ -n "${path}" ]] && VALA_GEN_INTROSPECT="${path}"
10 >
11 > path=$(type -P vapigen-${VALA_API_VERSION})
12 > [[ -n "${path}" ]] && VAPIGEN="${path}"
13
14 Sorry, meant
15
16 path=$(type -P valac-${VALA_API_VERSION})
17 [[ -n "${path}" ]] && export VALAC="${path}"
18
19 path=$(type -P vala-${VALA_API_VERSION})
20 [[ -n "${path}" ]] && export VALA="${path}"
21
22 path=$(type -P vala-gen-introspect-${VALA_API_VERSION})
23 [[ -n "${path}" ]] && export VALA_GEN_INTROSPECT="${path}"
24
25 path=$(type -P vapigen-${VALA_API_VERSION})
26 [[ -n "${path}" ]] && export VAPIGEN="${path}"