From 2f273e6e6ff443423db651dad539480da60648d2 Mon Sep 17 00:00:00 2001 From: Alexis Ballier Date: Mon, 24 Aug 2020 17:43:31 +0200 Subject: media-libs/x265: migrate to git Closes: https://bugs.gentoo.org/737900 Package-Manager: Portage-3.0.3, Repoman-3.0.0 Signed-off-by: Alexis Ballier --- media-libs/x265/x265-9999.ebuild | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) (limited to 'media-libs') diff --git a/media-libs/x265/x265-9999.ebuild b/media-libs/x265/x265-9999.ebuild index 65ee36367eef..3bd31a5364ce 100644 --- a/media-libs/x265/x265-9999.ebuild +++ b/media-libs/x265/x265-9999.ebuild @@ -6,8 +6,9 @@ EAPI=7 inherit cmake multilib-minimal multilib multibuild flag-o-matic if [[ ${PV} = 9999* ]]; then - inherit mercurial - EHG_REPO_URI="https://bitbucket.org/multicoreware/x265" + inherit git-r3 + EGIT_REPO_URI="https://bitbucket.org/multicoreware/x265_git/" + S=${WORKDIR}/${P}/source else SRC_URI="https://bitbucket.org/multicoreware/x265/downloads/${PN}_${PV}.tar.gz" KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~x86" @@ -18,7 +19,7 @@ HOMEPAGE="http://x265.org/ https://bitbucket.org/multicoreware/x265/wiki/Home" LICENSE="GPL-2" # subslot = libx265 soname -SLOT="0/192" +SLOT="0/195" IUSE="+10bit +12bit cpu_flags_arm_neon cpu_flags_ppc_vsx2 numa pic test" RESTRICT="!test? ( test )" @@ -39,9 +40,7 @@ PATCHES=( src_unpack() { if [[ ${PV} = 9999* ]]; then - mercurial_src_unpack - # Can't set it at global scope due to mercurial.eclass limitations... - export S=${WORKDIR}/${P}/source + git-r3_src_unpack else unpack ${A} export S="$(echo "${WORKDIR}/${PN}_"*"/source")" -- cgit v1.2.3-65-gdbad