void-packages/srcpkgs/stella/template
mobinmob a523a04bb1 stella: update to 6.5.3.
Also add changelog.

Closes: #31828 [via git-merge-pr]
2021-07-06 22:59:01 -03:00

30 lines
951 B
Bash

# Template file for 'stella'
pkgname=stella
version=6.5.3
revision=1
build_style=configure
configure_args="--prefix=/usr"
hostmakedepends="pkg-config"
makedepends="SDL2-devel glu-devel libpng-devel zlib-devel"
depends="desktop-file-utils hicolor-icon-theme"
short_desc="Multi-platform Atari 2600 VCS Emulator"
maintainer="Diogo Leal <diogo@diogoleal.com>"
license="GPL-2.0-or-later, BSD-3-Clause"
homepage="https://stella-emu.github.io/"
changelog="https://stella-emu.github.io/changelog.html"
distfiles="https://github.com/stella-emu/stella/releases/download/${version}/stella-${version}-src.tar.xz"
checksum=b49d5e5a5aa872e1f4b6f24eabd72304abdd577801d6ec349760c73b99e7f14d
post_extract() {
case "$XBPS_TARGET_MACHINE" in
*-musl)
sed -i 's/::PAGE_SIZE/::_PAGE_SIZE/g' $(grep -r '::PAGE_SIZE' -l)
sed -i 's/PAGE_SIZE/_PAGE_SIZE/g' src/emucore/MT24LC256.[ch]xx \
src/emucore/System.hxx
;;
esac
}
post_install() {
vlicense Copyright.txt
}