diff options
author | Alexis Ballier <aballier@gentoo.org> | 2020-08-24 17:43:31 +0200 |
---|---|---|
committer | Alexis Ballier <aballier@gentoo.org> | 2020-08-25 14:37:25 +0200 |
commit | 2f273e6e6ff443423db651dad539480da60648d2 (patch) | |
tree | 39ee525198f71f9f1e093a54320891f1c35a8e78 /media-libs | |
parent | ros-meta/ros_control: Bump to 0.19.2. (diff) | |
download | gentoo-2f273e6e6ff443423db651dad539480da60648d2.tar.gz gentoo-2f273e6e6ff443423db651dad539480da60648d2.tar.bz2 gentoo-2f273e6e6ff443423db651dad539480da60648d2.zip |
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 <aballier@gentoo.org>
Diffstat (limited to 'media-libs')
-rw-r--r-- | media-libs/x265/x265-9999.ebuild | 11 |
1 files changed, 5 insertions, 6 deletions
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")" |