Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # Maintainer: Me <me@gmail.com>
- _pkgname='yuzu'
- pkgname="$_pkgname-git"
- pkgver=r13153.0e60afb8e
- pkgrel=1
- pkgdesc="An experimental open-source Nintendo Switch emulator/debugger"
- arch=('i686' 'x86_64')
- url="https://github.com/yuzu-emu/yuzu/"
- license=('GPL2')
- provides=('yuzu' 'yuzu-cmd')
- conflicts=('yuzu-git')
- depends=('shared-mime-info'
- 'desktop-file-utils'
- 'sdl2'
- 'qt5-base'
- 'qt5-multimedia'
- 'qt5-tools'
- 'libxkbcommon-x11')
- makedepends=('git'
- 'cmake'
- 'python2')
- optdepends=('qt5-wayland: for Wayland support')
- source=("$_pkgname::git+https://github.com/yuzu-emu/yuzu-mainline")
- md5sums=('SKIP')
- pkgver() {
- cd "$srcdir/$_pkgname"
- echo "r$(git rev-list --count HEAD).$(git rev-parse --short HEAD)"
- }
- prepare() {
- cd "$srcdir/$_pkgname"
- git submodule init
- git submodule update --init --recursive
- }
- build() {
- cd "$srcdir/$_pkgname"
- mkdir -p build
- cd build
- cmake .. \
- -DCMAKE_INSTALL_PREFIX=/usr \
- -DCMAKE_BUILD_TYPE=Release \
- -DYUZU_USE_BUNDLED_UNICORN=ON \
- -DYUZU_ENABLE_COMPATIBILITY_REPORTING=ON \
- -DENABLE_COMPATIBILITY_LIST_DOWNLOAD=ON \
- -DENABLE_VULKAN=ON \
- -DUSE_DISCORD_PRESENCE=OFF
- make
- }
- package() {
- cd "$srcdir/$_pkgname/build"
- make DESTDIR="$pkgdir/" install
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement