Advertisement
Guest User

PKGBUILD for dolphin 7840

a guest
Oct 30th, 2015
687
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 1.37 KB | None | 0 0
  1. # Maintainer: Maxime Gauduin <alucryd@archlinux.org>
  2. # Contributor: Lightning <sgsdxzy@gmail.com>
  3. # Ugly netplay hack: nicman23 (please do not message me)
  4.  
  5. pkgbase=dolphin-emu-netplay
  6. pkgname=('dolphin-emu-netplay')
  7. pkgver=r7840
  8. pkgrel=1
  9. pkgdesc='A GameCube / Wii / Triforce emulator'
  10. arch=('x86_64')
  11. url='http://www.dolphin-emu.org/'
  12. license=('GPL2')
  13. depends=('bluez-libs' 'enet' 'ffmpeg' 'libao' 'libevdev' 'mbedtls' 'miniupnpc'
  14.          'portaudio' 'sfml' 'soundtouch' 'xdg-utils' 'wxgtk')
  15. makedepends=('cmake' 'git' 'qt5-base')
  16. optdepends=('pulseaudio: PulseAudio backend')
  17. options=('!emptydirs')
  18. source=('https://github.com/dolphin-emu/dolphin/archive/ce493b897d6d3735c930a8465cc0c26bbe5feb86.zip')
  19. sha256sums=('SKIP')
  20.  
  21.  
  22. build() {
  23.   unzip -o -u ce493b897d6d3735c930a8465cc0c26bbe5feb86.zip
  24.  
  25.   cd dolphin-ce493b897d6d3735c930a8465cc0c26bbe5feb86
  26.  
  27.   if [[ -d build ]]; then
  28.     rm -rf build
  29.   fi
  30.   mkdir build && cd build
  31.  
  32.   cmake .. \
  33.     -DUSE_UPNP='FALSE' \
  34.     -DCMAKE_INSTALL_PREFIX='/usr' \
  35.     -DENABLE_LTO='TRUE' \
  36.     -DENABLE_QT='TRUE' \
  37.     -DUSE_SHARED_ENET='TRUE'
  38.   make
  39. }
  40.  
  41. package_dolphin-emu-netplay() {
  42.   provides=('dolphin-emu-netplay')
  43.   conflicts=('dolphin-emu')
  44.  
  45.   cd dolphin-ce493b897d6d3735c930a8465cc0c26bbe5feb86/build
  46.  
  47.   make DESTDIR="${pkgdir}" install
  48.   rm -rf "${pkgdir}"/usr/bin/dolphin-emu-nogui
  49. }
  50.  
  51.  
  52. # vim: ts=2 sw=2 et:
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement