aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLucio Sauer <watermanpaint@posteo.net>2024-04-28 01:18:34 +0200
committerJulien Roy <julien@jroy.ca>2024-05-13 18:18:20 -0400
commitd6ae7d0c076c6f3e25baddcc28d31b6e7b05f5cc (patch)
tree33de9196b9bf108bf4da7606b99327ba2c5f1af9 /games-emulation/np2kai
parentdev-vcs/*: fix variable order (diff)
downloadguru-d6ae7d0c076c6f3e25baddcc28d31b6e7b05f5cc.tar.gz
guru-d6ae7d0c076c6f3e25baddcc28d31b6e7b05f5cc.tar.bz2
guru-d6ae7d0c076c6f3e25baddcc28d31b6e7b05f5cc.zip
games-*/*: fix variable order
I manually went through some entries for `pkgcheck scan -c VariableOrderCheck`. Misc updates: UnusedEclassesCheck RESTRICT+=" .." -> RESTRICT=".." Signed-off-by: Lucio Sauer <watermanpaint@posteo.net> Signed-off-by: Julien Roy <julien@jroy.ca>
Diffstat (limited to 'games-emulation/np2kai')
-rw-r--r--games-emulation/np2kai/np2kai-22.ebuild5
-rw-r--r--games-emulation/np2kai/np2kai-22_p20210211.ebuild5
2 files changed, 6 insertions, 4 deletions
diff --git a/games-emulation/np2kai/np2kai-22.ebuild b/games-emulation/np2kai/np2kai-22.ebuild
index cf91d20a7..92817c60b 100644
--- a/games-emulation/np2kai/np2kai-22.ebuild
+++ b/games-emulation/np2kai/np2kai-22.ebuild
@@ -7,9 +7,12 @@ DESCRIPTION="NP2kai is an emulator for the japanese PC-98 series of computers"
HOMEPAGE="https://domisan.sakura.ne.jp/article/np2kai/np2kai.html"
SRC_URI="https://github.com/AZO234/NP2kai/archive/refs/tags/rev.${PV}.tar.gz -> ${P}.tar.gz"
+S="${WORKDIR}/NP2kai-rev.${PV}/x11"
+
LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64"
+
IUSE="sdl +sdl2 +i286 ia32 haxm"
REQUIRED_USE="^^ ( sdl sdl2 )"
@@ -33,8 +36,6 @@ DEPEND="media-libs/libsdl
RDEPEND="${DEPEND}"
BDEPEND="dev-build/automake"
-S="${WORKDIR}/NP2kai-rev.${PV}/x11"
-
PATCHES=(
"${FILESDIR}/${P}-autogen.patch"
)
diff --git a/games-emulation/np2kai/np2kai-22_p20210211.ebuild b/games-emulation/np2kai/np2kai-22_p20210211.ebuild
index 15ccd8f3d..e08fafd79 100644
--- a/games-emulation/np2kai/np2kai-22_p20210211.ebuild
+++ b/games-emulation/np2kai/np2kai-22_p20210211.ebuild
@@ -16,9 +16,12 @@ SRC_URI="
-> sdl2-cmake-modules-${MY_SDL2_CMAKE_MODULES_REV}.tar.gz
"
+S="${WORKDIR}/NP2kai-${MY_REV}"
+
LICENSE="MIT BSD"
SLOT="0"
KEYWORDS="~amd64"
+
IUSE="+i286 ia32 haxm +sdl2 +X"
REQUIRED_USE="|| ( X sdl2 ) ^^ ( i286 ia32 )"
@@ -46,8 +49,6 @@ DEPEND="
"
RDEPEND="${DEPEND}"
-S="${WORKDIR}/NP2kai-${MY_REV}"
-
src_prepare() {
sed -i '+s/CONFIGURATIONS Release/CONFIGURATIONS Gentoo/g' CMakeLists.txt || die
mv "${WORKDIR}"/sdl2-cmake-modules-${MY_SDL2_CMAKE_MODULES_REV}/* \