distribution/packages/games/native/moonlight/package.mk

22 lines
750 B
Makefile
Raw Normal View History

2022-05-26 22:14:52 +00:00
# SPDX-License-Identifier: GPL-2.0-or-later
# Copyright (C) 2020-present Fewtarius
PKG_NAME="moonlight"
2022-05-27 21:21:03 +00:00
PKG_VERSION="5fe7b36b4004c93d916e38183d58a2e9f6d5b9d6"
2022-05-26 22:14:52 +00:00
PKG_ARCH="any"
PKG_LICENSE="GPLv3"
PKG_SITE="https://github.com/moonlight-stream/moonlight-embedded"
PKG_URL="$PKG_SITE.git"
PKG_DEPENDS_TARGET="toolchain opus libevdev alsa enet"
PKG_SHORTDESC="Moonlight Embedded is an open source implementation of NVIDIA's GameStream, as used by the NVIDIA Shield, but built for Linux."
PKG_TOOLCHAIN="cmake"
GET_HANDLER_SUPPORT="git"
2022-05-27 21:21:03 +00:00
post_makeinstall_target() {
mkdir -p $INSTALL/storage/.config
cp $PKG_BUILD/moonlight.conf $INSTALL/storage/.config/
rm ${INSTALL}/usr/etc/moonlight.conf
rm ${INSTALL}/usr/share/moonlight/gamecontrollerdb.txt
}