aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRob Walker <bob.mt.wya@gmail.com>2018-10-21 17:06:47 +0100
committerNick Sarnie <sarnex@gentoo.org>2018-10-22 19:32:59 -0400
commit222d266ca1e46e7caf7fc4288670e3daea7ca30b (patch)
tree3b330d07a0398f590b978d94b9a2044bad7b348c /app-emulation/wine-any/wine-any-3.12.ebuild
parentapp-emulation/wine-d3d9: update/fix metadata.xml (diff)
downloadwine-222d266ca1e46e7caf7fc4288670e3daea7ca30b.tar.gz
wine-222d266ca1e46e7caf7fc4288670e3daea7ca30b.tar.bz2
wine-222d266ca1e46e7caf7fc4288670e3daea7ca30b.zip
app-emulation/wine-any: migrate to new eapi7-ver eclass
Signed-off-by: Rob Walker <bob.mt.wya@gmail.com>
Diffstat (limited to 'app-emulation/wine-any/wine-any-3.12.ebuild')
-rw-r--r--app-emulation/wine-any/wine-any-3.12.ebuild4
1 files changed, 2 insertions, 2 deletions
diff --git a/app-emulation/wine-any/wine-any-3.12.ebuild b/app-emulation/wine-any/wine-any-3.12.ebuild
index b418c48..c65730b 100644
--- a/app-emulation/wine-any/wine-any-3.12.ebuild
+++ b/app-emulation/wine-any/wine-any-3.12.ebuild
@@ -6,7 +6,7 @@ EAPI=6
PLOCALES="ar bg ca cs da de el en en_US eo es fa fi fr he hi hr hu it ja ko lt ml nb_NO nl or pa pl pt_BR pt_PT rm ro ru sk sl sr_RS@cyrillic sr_RS@latin sv te th tr uk wa zh_CN zh_TW"
PLOCALE_BACKUP="en"
-inherit autotools estack eutils flag-o-matic gnome2-utils l10n multilib multilib-minimal pax-utils toolchain-funcs virtualx versionator xdg-utils
+inherit autotools eapi7-ver estack eutils flag-o-matic gnome2-utils l10n multilib multilib-minimal pax-utils toolchain-funcs virtualx xdg-utils
MY_PN="${PN%%-*}"
MY_P="${MY_PN}-${PV}"
@@ -18,7 +18,7 @@ if [[ ${PV} == "9999" ]] ; then
SRC_URI=""
#KEYWORDS=""
else
- MAJOR_V=$(get_version_component_range 1)
+ MAJOR_V=$(ver_cut 1)
SRC_URI="https://dl.winehq.org/wine/source/${MAJOR_V}.x/${MY_P}.tar.xz"
KEYWORDS="-* ~amd64 ~x86 ~x86-fbsd"
fi