void-packages/srcpkgs/desmume/template

21 lines
789 B
Bash

# Template file for 'desmume'
pkgname=desmume
version=0.9.11
revision=3
build_style=gnu-configure
configure_args="--enable-wifi --enable-hud --disable-openal --enable-glx"
hostmakedepends="pkg-config intltool dos2unix"
makedepends="SDL-devel libpcap-devel soundtouch-devel alsa-lib-devel gtk+-devel agg-devel zziplib-devel glu-devel"
depends="desktop-file-utils"
short_desc="Nintendo DS emulator"
maintainer="Juan RP <xtraeme@voidlinux.org>"
license="GPL-2"
homepage="http://www.desmume.org"
distfiles="${SOURCEFORGE_SITE}/$pkgname/$pkgname-$version.tar.gz"
checksum=3ab34ba6cc009566245025c1dd94bf449b6a1b416d24387cb42e183c78e38896
post_extract() {
# git eats CRLFs, so the patch has wrong line ending. Instead
# convert the target file to LF-only.
dos2unix $wrksrc/src/MMU_timing.h
}