void-packages/srcpkgs/dolphin-emu/template

33 lines
1.0 KiB
Bash

# Template file for 'dolphin-emu'
pkgname=dolphin-emu
version=5.0
revision=18
archs="x86_64* ppc64le*"
wrksrc="dolphin-${version}"
build_style=cmake
configure_args="-DUSE_X11=1 -DUSE_EGL=0
-DwxWidgets_CONFIG_EXECUTABLE=/usr/bin/wx-config-3.0"
hostmakedepends="pkg-config"
makedepends="
zlib-devel glew-devel libusb-devel gtk+-devel miniupnpc-devel libevdev-devel
SDL2-devel pulseaudio-devel alsa-lib-devel ffmpeg-devel libgomp-devel libcurl-devel
portaudio-devel libopenal-devel soundtouch-devel lzo-devel wxWidgets-devel
mbedtls-devel SFML-devel libenet-devel"
depends="desktop-file-utils"
short_desc="Gamecube / Wii / Triforce emulator"
maintainer="Juan RP <xtraeme@voidlinux.org>"
license="GPL-2.0-or-later"
homepage="http://dolphin-emu.org"
distfiles="https://github.com/dolphin-emu/dolphin/archive/${version}.tar.gz"
checksum=62c4602055767ab314ff50a3b94ea57f792832aa1629e6b1117ebce10518dc0b
nopie=yes
case "$XBPS_TARGET_MACHINE" in
x86_64*|aarch64*) ;;
*) configure_args+=" -DENABLE_GENERIC=ON" ;;
esac
post_install() {
rm -f ${DESTDIR}/usr/lib/*.a
}