Merge branch 'dev' of github.com:fewtarius/distribution into dev
This commit is contained in:
commit
8eb883b0d1
3 changed files with 43 additions and 2 deletions
36
packages/games/libretro/dolphin/package.mk
Normal file
36
packages/games/libretro/dolphin/package.mk
Normal file
|
@ -0,0 +1,36 @@
|
|||
# SPDX-License-Identifier: GPL-2.0-or-later
|
||||
# Copyright (C) 2022-present BrooksyTech (https://github.com/brooksytech)
|
||||
|
||||
PKG_NAME="dolphin"
|
||||
PKG_VERSION="016a5926aeda89087a073b1e6d245396da4b2256"
|
||||
PKG_ARCH="any"
|
||||
PKG_LICENSE="GPLv2"
|
||||
PKG_DEPENDS_TARGET="toolchain libevdev libdrm ffmpeg zlib libpng lzo libusb"
|
||||
PKG_SITE="https://github.com/libretro/dolphin"
|
||||
PKG_URL="$PKG_SITE/archive/$PKG_VERSION.tar.gz"
|
||||
PKG_DEPENDS_TARGET="toolchain"
|
||||
PKG_SECTION="libretro"
|
||||
PKG_SHORTDESC="Dolphin Libretro, a Gamecube & Wii emulator core for Retroarch"
|
||||
PKG_TOOLCHAIN="cmake"
|
||||
|
||||
pre_configure_target() {
|
||||
PKG_CMAKE_OPTS_TARGET+=" -DENABLE_EGL=ON \
|
||||
-DUSE_SHARED_ENET=OFF \
|
||||
-DUSE_UPNP=ON \
|
||||
-DENABLE_NOGUI=ON \
|
||||
-DENABLE_QT=OFF \
|
||||
-DENABLE_LTO=ON \
|
||||
-DENABLE_GENERIC=OFF \
|
||||
-DENABLE_HEADLESS=ON \
|
||||
-DENABLE_ALSA=ALSA \
|
||||
-DENABLE_PULSEAUDIO=ON \
|
||||
-DENABLE_LLVM=OFF \
|
||||
-DENABLE_TESTS=OFF \
|
||||
-DUSE_DISCORD_PRESENCE=OFF \
|
||||
-DLIBRETRO=ON"
|
||||
}
|
||||
|
||||
makeinstall_target() {
|
||||
mkdir -p $INSTALL/usr/lib/libretro
|
||||
cp $PKG_BUILD/.$TARGET_NAME/dolphin_libretro.so $INSTALL/usr/lib/libretro/
|
||||
}
|
|
@ -789,6 +789,11 @@
|
|||
<core default="true">dolphinsa</core>
|
||||
</cores>
|
||||
</emulator>
|
||||
<emulator name="retroarch">
|
||||
<cores>
|
||||
<core>dolphin</core>
|
||||
</cores>
|
||||
</emulator>
|
||||
</emulators>
|
||||
</system>
|
||||
<system>
|
||||
|
|
|
@ -36,12 +36,12 @@ PKG_DEPENDS_TARGET="${PKG_EMUS} ${PKG_RETROARCH} ${LIBRETRO_CORES}"
|
|||
### Emulators or cores for specific devices
|
||||
case "${DEVICE}" in
|
||||
RG552)
|
||||
PKG_DEPENDS_TARGET+=" duckstationsa dolphinsa"
|
||||
PKG_DEPENDS_TARGET+=" duckstationsa dolphinsa dolphin"
|
||||
;;
|
||||
RG503|RG353P)
|
||||
PKG_DEPENDS_TARGET+=" duckstationsa dolphinsa"
|
||||
;;
|
||||
handheld)
|
||||
PKG_DEPENDS_TARGET+=" duckstationsa dolphinsa pcsx2"
|
||||
PKG_DEPENDS_TARGET+=" duckstationsa dolphinsa dolphin pcsx2"
|
||||
;;
|
||||
esac
|
||||
|
|
Loading…
Reference in a new issue