Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # Maintainer: Maxime Gauduin <alucryd@archlinux.org>
- # Contributor: Lightning <sgsdxzy@gmail.com>
- # Ugly netplay hack: nicman23 (please do not message me)
- pkgbase=dolphin-emu-netplay
- pkgname=('dolphin-emu-netplay')
- pkgver=r7840
- pkgrel=1
- pkgdesc='A GameCube / Wii / Triforce emulator'
- arch=('x86_64')
- url='http://www.dolphin-emu.org/'
- license=('GPL2')
- depends=('bluez-libs' 'enet' 'ffmpeg' 'libao' 'libevdev' 'mbedtls' 'miniupnpc'
- 'portaudio' 'sfml' 'soundtouch' 'xdg-utils' 'wxgtk')
- makedepends=('cmake' 'git' 'qt5-base')
- optdepends=('pulseaudio: PulseAudio backend')
- options=('!emptydirs')
- source=('https://github.com/dolphin-emu/dolphin/archive/ce493b897d6d3735c930a8465cc0c26bbe5feb86.zip')
- sha256sums=('SKIP')
- build() {
- unzip -o -u ce493b897d6d3735c930a8465cc0c26bbe5feb86.zip
- cd dolphin-ce493b897d6d3735c930a8465cc0c26bbe5feb86
- if [[ -d build ]]; then
- rm -rf build
- fi
- mkdir build && cd build
- cmake .. \
- -DUSE_UPNP='FALSE' \
- -DCMAKE_INSTALL_PREFIX='/usr' \
- -DENABLE_LTO='TRUE' \
- -DENABLE_QT='TRUE' \
- -DUSE_SHARED_ENET='TRUE'
- make
- }
- package_dolphin-emu-netplay() {
- provides=('dolphin-emu-netplay')
- conflicts=('dolphin-emu')
- cd dolphin-ce493b897d6d3735c930a8465cc0c26bbe5feb86/build
- make DESTDIR="${pkgdir}" install
- rm -rf "${pkgdir}"/usr/bin/dolphin-emu-nogui
- }
- # vim: ts=2 sw=2 et:
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement