2022-04-06 01:22:12 +00:00
|
|
|
# SPDX-License-Identifier: Apache-2.0
|
|
|
|
# Copyright (C) 2022-present Fewtarius
|
|
|
|
|
|
|
|
PKG_NAME="pico-8"
|
2023-05-09 19:21:47 +00:00
|
|
|
PKG_VERSION="e0dcefc4fc2df80821b167b1bb8f50dedac2f3c5"
|
2022-04-06 01:22:12 +00:00
|
|
|
PKG_ARCH="any"
|
|
|
|
PKG_LICENSE="GPLv2"
|
|
|
|
PKG_SITE=""
|
|
|
|
PKG_URL=""
|
2022-07-11 22:23:00 +00:00
|
|
|
PKG_DEPENDS_TARGET="toolchain SDL2"
|
2022-04-06 01:22:12 +00:00
|
|
|
PKG_SECTION="emulators"
|
|
|
|
PKG_SHORTDESC="PICO-8 Fantasy Console"
|
|
|
|
PKG_TOOLCHAIN="manual"
|
|
|
|
|
2022-07-11 22:23:00 +00:00
|
|
|
if [ ! "${OPENGL}" = "no" ]; then
|
|
|
|
PKG_DEPENDS_TARGET+=" ${OPENGL} glu libglvnd"
|
|
|
|
fi
|
|
|
|
|
|
|
|
if [ "${OPENGLES_SUPPORT}" = yes ]; then
|
|
|
|
PKG_DEPENDS_TARGET+=" ${OPENGLES}"
|
|
|
|
fi
|
|
|
|
|
2022-04-06 01:22:12 +00:00
|
|
|
makeinstall_target() {
|
|
|
|
mkdir -p ${INSTALL}/usr/bin
|
|
|
|
cp ${PKG_DIR}/sources/start_pico8.sh ${INSTALL}/usr/bin
|
|
|
|
chmod 0755 ${INSTALL}/usr/bin/start_pico8.sh
|
|
|
|
|
|
|
|
mkdir -p ${INSTALL}/usr/lib/autostart/common
|
|
|
|
cp ${PKG_DIR}/sources/autostart/common/* ${INSTALL}/usr/lib/autostart/common
|
|
|
|
chmod 0755 ${INSTALL}/usr/lib/autostart/common/*
|
|
|
|
}
|