aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRob Walker <bob.mt.wya@gmail.com>2018-10-21 14:57:19 +0100
committerNick Sarnie <sarnex@gentoo.org>2018-10-22 19:30:56 -0400
commit463c041c091513d108568369fa3bf0e035cb0aba (patch)
tree402b17d82799c34c5b594275fa0857d4dfecfe1e /app-emulation/wine-d3d9/wine-d3d9-2.8-r1.ebuild
parentapp-emulation/wine-staging: update/fix metadata.xml (diff)
downloadwine-463c041c091513d108568369fa3bf0e035cb0aba.tar.gz
wine-463c041c091513d108568369fa3bf0e035cb0aba.tar.bz2
wine-463c041c091513d108568369fa3bf0e035cb0aba.zip
app-emulation/wine-d3d9: migrate to new eapi7-ver eclass
Signed-off-by: Rob Walker <bob.mt.wya@gmail.com>
Diffstat (limited to 'app-emulation/wine-d3d9/wine-d3d9-2.8-r1.ebuild')
-rw-r--r--app-emulation/wine-d3d9/wine-d3d9-2.8-r1.ebuild4
1 files changed, 2 insertions, 2 deletions
diff --git a/app-emulation/wine-d3d9/wine-d3d9-2.8-r1.ebuild b/app-emulation/wine-d3d9/wine-d3d9-2.8-r1.ebuild
index 28fe2a3..220ca63 100644
--- a/app-emulation/wine-d3d9/wine-d3d9-2.8-r1.ebuild
+++ b/app-emulation/wine-d3d9/wine-d3d9-2.8-r1.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