SHARE
TWEET

Untitled

a guest Nov 22nd, 2019 98 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. # Maintainer: Me <me@gmail.com>
  2.  
  3. _pkgname='yuzu'
  4. pkgname="$_pkgname-git"
  5. pkgver=r13153.0e60afb8e
  6. pkgrel=1
  7. pkgdesc="An experimental open-source Nintendo Switch emulator/debugger"
  8. arch=('i686' 'x86_64')
  9. url="https://github.com/yuzu-emu/yuzu/"
  10. license=('GPL2')
  11. provides=('yuzu' 'yuzu-cmd')
  12. conflicts=('yuzu-git')
  13. depends=('shared-mime-info'
  14.          'desktop-file-utils'
  15.          'sdl2'
  16.          'qt5-base'
  17.          'qt5-multimedia'
  18.          'qt5-tools'
  19.          'libxkbcommon-x11')
  20. makedepends=('git'
  21.              'cmake'
  22.              'python2')
  23. optdepends=('qt5-wayland: for Wayland support')
  24. source=("$_pkgname::git+https://github.com/yuzu-emu/yuzu-mainline")
  25. md5sums=('SKIP')
  26.  
  27. pkgver() {
  28.     cd "$srcdir/$_pkgname"
  29.     echo "r$(git rev-list --count HEAD).$(git rev-parse --short HEAD)"
  30. }
  31.  
  32. prepare() {
  33.     cd "$srcdir/$_pkgname"
  34.  
  35.     git submodule init
  36.     git submodule update --init --recursive
  37. }
  38.  
  39. build() {
  40.     cd "$srcdir/$_pkgname"
  41.     mkdir -p build
  42.     cd build
  43.     cmake .. \
  44.       -DCMAKE_INSTALL_PREFIX=/usr \
  45.       -DCMAKE_BUILD_TYPE=Release \
  46.       -DYUZU_USE_BUNDLED_UNICORN=ON \
  47.       -DYUZU_ENABLE_COMPATIBILITY_REPORTING=ON \
  48.       -DENABLE_COMPATIBILITY_LIST_DOWNLOAD=ON \
  49.       -DENABLE_VULKAN=ON \
  50.       -DUSE_DISCORD_PRESENCE=OFF
  51.     make
  52. }
  53.  
  54. package() {
  55.     cd "$srcdir/$_pkgname/build"
  56.    
  57.     make DESTDIR="$pkgdir/" install
  58. }
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
Not a member of Pastebin yet?
Sign Up, it unlocks many cool features!
 
Top