Gentoo Archives: gentoo-commits

From: Alexis Ballier <aballier@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: media-libs/x265/
Date: Tue, 25 Aug 2020 12:37:51
Message-Id: 1598359045.2f273e6e6ff443423db651dad539480da60648d2.aballier@gentoo
1 commit: 2f273e6e6ff443423db651dad539480da60648d2
2 Author: Alexis Ballier <aballier <AT> gentoo <DOT> org>
3 AuthorDate: Mon Aug 24 15:43:31 2020 +0000
4 Commit: Alexis Ballier <aballier <AT> gentoo <DOT> org>
5 CommitDate: Tue Aug 25 12:37:25 2020 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2f273e6e
7
8 media-libs/x265: migrate to git
9
10 Closes: https://bugs.gentoo.org/737900
11 Package-Manager: Portage-3.0.3, Repoman-3.0.0
12 Signed-off-by: Alexis Ballier <aballier <AT> gentoo.org>
13
14 media-libs/x265/x265-9999.ebuild | 11 +++++------
15 1 file changed, 5 insertions(+), 6 deletions(-)
16
17 diff --git a/media-libs/x265/x265-9999.ebuild b/media-libs/x265/x265-9999.ebuild
18 index 65ee36367ee..3bd31a5364c 100644
19 --- a/media-libs/x265/x265-9999.ebuild
20 +++ b/media-libs/x265/x265-9999.ebuild
21 @@ -6,8 +6,9 @@ EAPI=7
22 inherit cmake multilib-minimal multilib multibuild flag-o-matic
23
24 if [[ ${PV} = 9999* ]]; then
25 - inherit mercurial
26 - EHG_REPO_URI="https://bitbucket.org/multicoreware/x265"
27 + inherit git-r3
28 + EGIT_REPO_URI="https://bitbucket.org/multicoreware/x265_git/"
29 + S=${WORKDIR}/${P}/source
30 else
31 SRC_URI="https://bitbucket.org/multicoreware/x265/downloads/${PN}_${PV}.tar.gz"
32 KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~x86"
33 @@ -18,7 +19,7 @@ HOMEPAGE="http://x265.org/ https://bitbucket.org/multicoreware/x265/wiki/Home"
34
35 LICENSE="GPL-2"
36 # subslot = libx265 soname
37 -SLOT="0/192"
38 +SLOT="0/195"
39 IUSE="+10bit +12bit cpu_flags_arm_neon cpu_flags_ppc_vsx2 numa pic test"
40 RESTRICT="!test? ( test )"
41
42 @@ -39,9 +40,7 @@ PATCHES=(
43
44 src_unpack() {
45 if [[ ${PV} = 9999* ]]; then
46 - mercurial_src_unpack
47 - # Can't set it at global scope due to mercurial.eclass limitations...
48 - export S=${WORKDIR}/${P}/source
49 + git-r3_src_unpack
50 else
51 unpack ${A}
52 export S="$(echo "${WORKDIR}/${PN}_"*"/source")"