games-arcade/smc: Update EAPI.
parent
f3ccd96704
commit
fa9edc19ce
|
@ -1,5 +1,5 @@
|
|||
--- src/overworld/world_manager.cpp.old 2012-11-14 17:05:19.759087973 +0100
|
||||
+++ src/overworld/world_manager.cpp 2012-11-14 17:06:55.365644219 +0100
|
||||
--- smc-1.9/src/overworld/world_manager.cpp.old 2012-11-14 17:05:19.759087973 +0100
|
||||
+++ smc-1.9/src/overworld/world_manager.cpp 2012-11-14 17:06:55.365644219 +0100
|
||||
@@ -111,14 +111,14 @@
|
||||
void cOverworld_Manager :: Load_Dir( const std::string &dir, bool user_dir /* = 0 */ )
|
||||
{
|
||||
|
@ -17,8 +17,8 @@
|
|||
|
||||
// only directories with an existing description
|
||||
if( fs::is_directory( *dir_itr ) && File_Exists( dir + "/" + current_dir + "/description.xml" ) )
|
||||
--- src/video/video.cpp.old 2012-11-14 17:10:26.448625365 +0100
|
||||
+++ src/video/video.cpp 2012-11-14 17:11:37.486580531 +0100
|
||||
--- smc-1.9/src/video/video.cpp.old 2012-11-14 17:10:26.448625365 +0100
|
||||
+++ smc-1.9/src/video/video.cpp 2012-11-14 17:11:37.486580531 +0100
|
||||
@@ -749,7 +749,7 @@
|
||||
{
|
||||
try
|
||||
|
@ -37,8 +37,8 @@
|
|||
}
|
||||
// cache available
|
||||
else
|
||||
--- src/core/filesystem/filesystem.cpp.old 2012-11-14 09:00:41.965617165 +0100
|
||||
+++ src/core/filesystem/filesystem.cpp 2012-11-14 16:57:11.282043980 +0100
|
||||
--- smc-1.9/src/core/filesystem/filesystem.cpp.old 2012-11-14 09:00:41.965617165 +0100
|
||||
+++ smc-1.9/src/core/filesystem/filesystem.cpp 2012-11-14 16:57:11.282043980 +0100
|
||||
@@ -64,7 +64,7 @@
|
||||
|
||||
bool Dir_Exists( const std::string &dir )
|
||||
|
|
|
@ -1,8 +1,8 @@
|
|||
# Copyright 1999-2020 Gentoo Authors
|
||||
# Copyright 1999-2022 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=5
|
||||
inherit autotools desktop flag-o-matic
|
||||
EAPI=6
|
||||
inherit autotools desktop
|
||||
|
||||
MUSIC_P=SMC_Music_4.1_high
|
||||
DESCRIPTION="Secret Maryo Chronicles"
|
||||
|
@ -30,6 +30,16 @@ DEPEND="${RDEPEND}
|
|||
virtual/pkgconfig
|
||||
music? ( app-arch/unzip )"
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}"/${P}-boost150.patch
|
||||
"${FILESDIR}"/${P}-underlink.patch
|
||||
)
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
eautoreconf
|
||||
}
|
||||
|
||||
src_unpack() {
|
||||
unpack ${P}.tar.bz2
|
||||
if use music; then
|
||||
|
@ -38,13 +48,6 @@ src_unpack() {
|
|||
fi
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
epatch \
|
||||
"${FILESDIR}"/${P}-boost150.patch \
|
||||
"${FILESDIR}"/${P}-underlink.patch
|
||||
eautoreconf
|
||||
}
|
||||
|
||||
src_install() {
|
||||
if use doc; then
|
||||
DOCS="docs/*.txt docs/*.html"
|
||||
|
|
Loading…
Reference in New Issue