void-packages/srcpkgs/desmume/template

25 lines
780 B
Text

# Template file for 'desmume'
pkgname=desmume
version=0.9.9
revision=1
build_style=gnu-configure
configure_args="--enable-wifi --enable-hud --disable-openal"
hostmakedepends="pkg-config intltool"
makedepends="SDL-devel libpcap-devel soundtouch-devel alsa-lib-devel gtk+-devel
agg-devel zziplib-devel desktop-file-utils"
depends="desktop-file-utils"
short_desc="Nintendo DS emulator"
maintainer="Juan RP <xtraeme@gmail.com>"
license="GPL-2"
homepage="http://www.desmume.org"
distfiles="${SOURCEFORGE_SITE}/$pkgname/$pkgname-$version.tar.gz"
checksum=cd2ad70cdde1236eba5a4ff8cea838f42b7dc470e32ac938263f49f12a55d754
if [ "$CROSS_BUILD" ]; then
# XXX needs sdl-config
hostmakedepends+=" SDL-devel"
fi
pre_configure() {
sed -i 's/@GETTEXT_PACKAGE@/desmume/' po/Makefile.in.in
}