vp-build/srcpkgs/desmume/template

33 lines
1.1 KiB
Bash

# Template file for 'desmume'
pkgname=desmume
version=0.9.11
revision=4
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="Orphaned <orphan@voidlinux.org>"
license="GPL-2.0-or-later"
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
}
post_install() {
# locales is only used for glade, but it's never built
# The configure script set GETTEXT_PACKAGE to empty string
# this it's never usable.
# /usr/lib/locale/nb/LC_MESSAGES/.mo
# /usr/share/locale/nb/LC_MESSAGES/.mo
rm -rf $DESTDIR/usr/lib/locale
rm -rf $DESTDIR/usr/share/locale
}