commit: 75d8079e0115158c90972363eb5e99310170e1d4
Author: Ionen Wolkens <ionen <AT> gentoo <DOT> org>
AuthorDate: Fri Feb 14 06:37:09 2025 +0000
Commit: Ionen Wolkens <ionen <AT> gentoo <DOT> org>
CommitDate: Fri Feb 14 06:51:50 2025 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=75d8079e
games-emulation/pcsx2: use eapi9-ver.eclass
Signed-off-by: Ionen Wolkens <ionen <AT> gentoo.org>
games-emulation/pcsx2/pcsx2-2.2.0-r1.ebuild | 6 ++----
games-emulation/pcsx2/pcsx2-9999.ebuild | 6 ++----
2 files changed, 4 insertions(+), 8 deletions(-)
diff --git a/games-emulation/pcsx2/pcsx2-2.2.0-r1.ebuild
b/games-emulation/pcsx2/pcsx2-2.2.0-r1.ebuild
index 6acafc7fc8cf..10d1cad152da 100644
--- a/games-emulation/pcsx2/pcsx2-2.2.0-r1.ebuild
+++ b/games-emulation/pcsx2/pcsx2-2.2.0-r1.ebuild
@@ -3,7 +3,7 @@
EAPI=8
-inherit cmake desktop fcaps flag-o-matic optfeature toolchain-funcs
+inherit cmake desktop eapi9-ver fcaps flag-o-matic optfeature toolchain-funcs
if [[ ${PV} == 9999 ]]; then
inherit git-r3
@@ -164,9 +164,7 @@ pkg_postinst() {
media-sound/alsa-utils \
media-libs/gst-plugins-base:1.0
- if [[ ${REPLACING_VERSIONS##* } ]] &&
- ver_test ${REPLACING_VERSIONS##* } -lt 2.2.0
- then
+ if ver_replacing -lt 2.2.0; then
elog
elog "Note that the 'pcsx2' executable was renamed to
'pcsx2-qt' with this version."
fi
diff --git a/games-emulation/pcsx2/pcsx2-9999.ebuild
b/games-emulation/pcsx2/pcsx2-9999.ebuild
index 08e6cf5fee2d..29a6ad0fc597 100644
--- a/games-emulation/pcsx2/pcsx2-9999.ebuild
+++ b/games-emulation/pcsx2/pcsx2-9999.ebuild
@@ -3,7 +3,7 @@
EAPI=8
-inherit cmake desktop fcaps flag-o-matic optfeature toolchain-funcs
+inherit cmake desktop eapi9-ver fcaps flag-o-matic optfeature toolchain-funcs
if [[ ${PV} == 9999 ]]; then
inherit git-r3
@@ -159,9 +159,7 @@ pkg_postinst() {
media-sound/alsa-utils \
media-libs/gst-plugins-base:1.0
- if [[ ${REPLACING_VERSIONS##* } ]] &&
- ver_test ${REPLACING_VERSIONS##* } -lt 2.2.0
- then
+ if ver_replacing -lt 2.2.0; then
elog
elog "Note that the 'pcsx2' executable was renamed to
'pcsx2-qt' with this version."
fi