distribution/packages/games/libretro/flycast/package.mk
Brooksytech f43a729882
Flycast update (#16)
* Setting flycast flyinghead as the default dc core

* setting flyinghead as the default DC core.

* setting flyinghead as the default dc core

* setting flyinghead as the default DC core

* Delete packages/games/libretro/flycast directory

* Update retroarch-core-options.cfg

* Update retroarch-core-options.cfg

* Update retroarch-core-options.cfg

* Update retroarch-core-options.cfg

* Update package.mk

* Update package.mk

* Update es_systems.cfg

* Update package.mk

* Update package.mk

* Create package.mk

* Delete packages/games/libretro/flycast_flyinghead directory

* Update package.mk
2022-04-05 08:32:51 -07:00

24 lines
872 B
Makefile

# SPDX-License-Identifier: GPL-2.0
# Copyright (C) 2022-present AmberELEC (https://github.com/AmberELEC)
PKG_NAME="flycast"
PKG_VERSION="e46d819c465ef342f5e9ef4c683231b17f56f206"
PKG_SITE="https://github.com/flyinghead/flycast"
PKG_URL="$PKG_SITE.git"
PKG_DEPENDS_TARGET="toolchain $OPENGLES libzip"
PKG_LONGDESC="Flycast is a multi-platform Sega Dreamcast, Naomi and Atomiswave emulator"
PKG_TOOLCHAIN="cmake"
pre_configure_target() {
sed -i 's/"reicast"/"flycast"/g' $PKG_BUILD/shell/libretro/libretro_core_option_defines.h
PKG_CMAKE_OPTS_TARGET="-Wno-dev -DLIBRETRO=ON \
-DWITH_SYSTEM_ZLIB=ON \
-DUSE_OPENMP=ON \
-DUSE_VULKAN=OFF
-DUSE_GLES=ON"
}
makeinstall_target() {
mkdir -p $INSTALL/usr/lib/libretro
cp flycast_libretro.so $INSTALL/usr/lib/libretro/
}