Gentoo Archives: gentoo-dev

From: Davide Pesavento <pesa@g.o>
To: Ben de Groot <yngwin@g.o>
Cc: gentoo-dev <gentoo-dev@l.g.o>, Gentoo Qt herd <qt@g.o>
Subject: [gentoo-dev] Re: [PATCH] qmake-utils.eclass: add qt{4,5}_get_bindir helper functions
Date: Wed, 18 Feb 2015 14:08:25
Message-Id: CADfzvvbmsw8MJ1WVWWy4YpRqWDVDegKXyx9KdWs9uCz+QLVTvA@mail.gmail.com
In Reply to: [gentoo-dev] [PATCH] qmake-utils.eclass: add qt{4,5}_get_bindir helper functions by Ben de Groot
1 On Wed, Feb 18, 2015 at 12:58 PM, Ben de Groot <yngwin@g.o> wrote:
2 > The attached patch proposes two helper functions to be added to
3 > qmake-utils.eclass. These functions echo the correct directory where
4 > qt binaries such as moc and lrelease are located. They can be used in
5 > ebuilds when such binaries need to be called directly. (Ebuilds should
6 > not rely on qtchooser for this.)
7 >
8 > Please review before I commit.
9 >
10
11 Thanks Ben.
12
13 The -x test on line 59 should be a -d.
14
15 Also, I'd rephrase the description as follows:
16 "Echoes the directory where Qt{4,5} binaries are installed."
17
18 And you're missing a colon after @FUNCTION.
19
20 Thanks,
21 Davide