Skip to content

Commit 9154851

Browse files
committed
easyrpg: add core back
1 parent 18afade commit 9154851

2 files changed

Lines changed: 26 additions & 0 deletions

File tree

distributions/Lakka/options

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -219,6 +219,7 @@
219219
dolphin \
220220
dosbox_pure \
221221
dosbox_svn \
222+
easyrpg \
222223
emux_sms\
223224
ecwolf \
224225
fake_08 \
Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
PKG_NAME="easyrpg"
2+
PKG_VERSION="281be71fee034ea789308919b2a77c92b7446c20"
3+
PKG_LICENSE="GPLv3"
4+
PKG_SITE="https://github.com/EasyRPG/Player"
5+
PKG_URL="${PKG_SITE}.git"
6+
PKG_DEPENDS_TARGET="toolchain zlib libfmt liblcf pixman speexdsp mpg123 libsndfile libvorbis opusfile wildmidi libxmp-lite libpng"
7+
PKG_LONGDESC="An unofficial libretro port of the EasyRPG/Player."
8+
PKG_TOOLCHAIN="cmake"
9+
PKG_BUILD_FLAGS="+pic"
10+
PKG_LR_UPDATE_TAG="yes"
11+
12+
PKG_CMAKE_OPTS_TARGET="-DPLAYER_TARGET_PLATFORM=libretro \
13+
-DPLAYER_WITH_FREETYPE=OFF \
14+
-DBUILD_SHARED_LIBS=ON \
15+
-DCMAKE_BUILD_TYPE=Release"
16+
17+
pre_make_taget() {
18+
find ${PKG_BUILD} -name flags.make -exec sed -i "s:isystem :I:g" \{} \;
19+
find ${PKG_BUILD} -name build.ninja -exec sed -i "s:isystem :I:g" \{} \;
20+
}
21+
22+
makeinstall_target() {
23+
mkdir -p ${INSTALL}/usr/lib/libretro
24+
cp -v ${PKG_BUILD}/.${TARGET_NAME}/easyrpg_libretro.so ${INSTALL}/usr/lib/libretro/
25+
}

0 commit comments

Comments
 (0)