Gentoo Archives: gentoo-dev

From: Luis Ressel <aranea@×××××.de>
To: gentoo-dev@l.g.o
Subject: Re: [gentoo-dev] Re: [gentoo-commits] gentoo-x86 commit in media-libs/x265: x265-1.0.ebuild ChangeLog x265-1.2.ebuild x265-0.8.ebuild
Date: Wed, 30 Jul 2014 15:14:23
Message-Id: 20140730171405.6cf50455@gentp.lnet
In Reply to: Re: [gentoo-dev] Re: [gentoo-commits] gentoo-x86 commit in media-libs/x265: x265-1.0.ebuild ChangeLog x265-1.2.ebuild x265-0.8.ebuild by Samuli Suominen
1 On Wed, 30 Jul 2014 15:33:19 +0300
2 Samuli Suominen <ssuominen@g.o> wrote:
3
4 > There is no need to package.mask if proper if -logic is used, like,
5 > for example,
6 >
7 > if [[ ${PV} == 9999* ]]; then
8 > inherit git-r3
9 > KEYWORDS=""
10 > else
11 > KEYWORDS="~amd64 ~arm ~arm64 ~x86"
12 > fi
13 >
14 > Then you can just `cp foo-9999.ebuild foo-1.2.3.ebuild` and it'll have
15 > the KEYWORDS
16 > ready, and 1.2.3 and 9999 ebuilds can be identical
17 >
18 > That's what this thread was originally about... That's how x265's
19 > ebuild work, just like eg.
20 > media-libs/xine-lib or sys-fs/udev ebuilds does
21 >
22 > (It just seemed this was unclear to some replying in this thread.)
23 >
24 > - Samuli
25 >
26 >
27
28 Thanks for the clarification. This approach seems to be the optimum.
29
30
31 Regards,
32 Luis Ressel

Attachments

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