void-packages/srcpkgs/dolphin-emu/template

30 lines
1 KiB
Bash

# Template file for 'dolphin-emu'
only_for_archs="i686 i686-musl x86_64 x86_64-musl"
# XXX polarssl is incompatible.
# XXX wxWidgets-3.0: undefined reference to wxCommandEvent::Clone()
CFLAGS="-mssse3"
CXXFLAGS="-mssse3"
pkgname=dolphin-emu
version=4.0.2
revision=6
wrksrc="dolphin-${version}"
build_style=cmake
configure_args="-DUSE_X11=ON -DUSE_WAYLAND=OFF -DUSE_EGL=OFF -DUSE_GLES=OFF -DUSE_GLES3=OFF"
hostmakedepends="cmake pkg-config"
makedepends="
zlib-devel glew-devel libusb-devel gtk+-devel miniupnpc-devel
SDL2-devel pulseaudio-devel alsa-lib-devel ffmpeg-devel libgomp-devel
portaudio-devel libopenal-devel soundtouch-devel lzo-devel"
depends="desktop-file-utils"
short_desc="A Gamecube / Wii / Triforce emulator"
maintainer="Juan RP <xtraeme@voidlinux.eu>"
license="GPL-2"
homepage="http://dolphin-emu.org"
distfiles="https://github.com/dolphin-emu/dolphin/archive/${version}.tar.gz"
checksum=09f10f73abe0a7b5d10a51b3b56dc0044331bb12d6a18fe969c9bbd83a9b1129
post_install() {
rm -f ${DESTDIR}/usr/lib/*.a
}