summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIonen Wolkens <ionen@gentoo.org>2025-02-14 01:37:09 -0500
committerIonen Wolkens <ionen@gentoo.org>2025-02-14 01:51:50 -0500
commit75d8079e0115158c90972363eb5e99310170e1d4 (patch)
tree7e17338be9a8050e7502a7705d960f200ecf9731 /games-emulation
parentapp-emulation/dxvk: use eapi9-ver.eclass (diff)
downloadgentoo-75d8079e0115158c90972363eb5e99310170e1d4.tar.gz
gentoo-75d8079e0115158c90972363eb5e99310170e1d4.tar.bz2
gentoo-75d8079e0115158c90972363eb5e99310170e1d4.zip
games-emulation/pcsx2: use eapi9-ver.eclass
Signed-off-by: Ionen Wolkens <ionen@gentoo.org>
Diffstat (limited to 'games-emulation')
-rw-r--r--games-emulation/pcsx2/pcsx2-2.2.0-r1.ebuild6
-rw-r--r--games-emulation/pcsx2/pcsx2-9999.ebuild6
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