distribution/packages/emulators/standalone/hypseus/package.mk

31 lines
1.3 KiB
Makefile
Raw Normal View History

2022-02-05 14:23:32 +00:00
# SPDX-License-Identifier: GPL-2.0-or-later
# Copyright (C) 2020-present Shanti Gilbert (https://github.com/shantigilbert)
PKG_NAME="hypseus"
2023-03-14 21:59:38 +00:00
PKG_VERSION="3f7c4cbad8e36c3babf230321de9e67dee100767"
2022-02-05 14:23:32 +00:00
PKG_REV="1"
PKG_ARCH="any"
PKG_LICENSE="GPL3"
PKG_SITE="https://github.com/btolab/hypseus"
2023-02-24 13:53:43 +00:00
PKG_URL="${PKG_SITE}.git"
2022-02-05 14:23:32 +00:00
PKG_DEPENDS_TARGET="toolchain SDL2 SDL2_ttf SDL2_image zlib libogg libvorbis libmpeg2"
PKG_LONGDESC="Hypseus is a fork of Daphne. A program that lets one play the original versions of many laserdisc arcade games on one's PC."
PKG_TOOLCHAIN="cmake"
GET_HANDLER_SUPPORT="git"
PKG_CMAKE_OPTS_TARGET=" ./src"
pre_configure_target() {
2023-02-24 13:53:43 +00:00
mkdir -p ${INSTALL}/usr/config/game/configs/hypseus
ln -fs /storage/roms/daphne/roms ${INSTALL}/usr/config/game/configs/hypseus/roms
ln -fs /storage/roms/daphne/sound ${INSTALL}/usr/config/game/configs/hypseus/sound
ln -fs /usr/share/daphne/fonts ${INSTALL}/usr/config/game/configs/hypseus/fonts
ln -fs /usr/share/daphne/pics ${INSTALL}/usr/config/game/configs/hypseus/pics
2022-02-05 14:23:32 +00:00
cp -a ${PKG_DIR}/config/* ${INSTALL}/usr/config/hypseus
2023-02-24 13:53:43 +00:00
cp ${PKG_BUILD}/doc/hypinput.ini ${INSTALL}/usr/config/game/configs/hypseus/
2022-02-05 14:23:32 +00:00
}
post_makeinstall_target() {
2023-02-24 13:53:43 +00:00
ln -fs /storage/.config/game/configs/hypseus/hypinput.ini ${INSTALL}/usr/share/daphne/hypinput.ini
2022-02-05 14:23:32 +00:00
}