Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:malkavi
yuzu
_service:set_version:PKGBUILD
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File _service:set_version:PKGBUILD of Package yuzu
_pkgname=yuzu pkgname=$_pkgname pkgver=20230825 _yuzu_tar=yuzu-$pkgver pkgrel=0 pkgdesc="An experimental open-source Nintendo Switch emulator/debugger" arch=('i686' 'x86_64') url="https://github.com/yuzu-emu/yuzu-mainline" license=('GPL2') 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=("$_yuzu_tar.tar.xz") md5sums=('SKIP') prepare() { cd "$srcdir/$_yuzu_tar" #Static link unicorn sed -i \ -e 's|NAMES unicorn|libunicorn.a|g' \ externals/cmake-modules/FindUnicorn.cmake #enforce package versioning in GUI sed -i \ -e 's|@GIT_REV@|%{release}|g' \ -e 's|@GIT_BRANCH@|master|g' \ -e 's|@GIT_DESC@|%{version}|g' \ -e 's|@BUILD_NAME@|%{yuzu_name}|g' \ src/common/scm_rev.cpp.in #avoid submodule checks as OBS ensures source consistency sed -i 's|check_submodules_present()||g' CMakeLists.txt } build() { # Trick the compiler into thinking we're building from a continuous # integration tool so the build number is correctly shown in the title cd "$srcdir/$_yuzu_tar" 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 \ -DUSE_SYSTEM_CURL=ON make } # Tests removed temporarily as they haven't been updated and throw a false error #check() { # cd "$srcdir/$_pkgname/build" # make test #} package() { cd "$srcdir/$_yuzu_tar/build" make DESTDIR="$pkgdir/" install # Temporary fix until yuzu fixes the zlib and libzip patch cd "$pkgdir/usr" rm -rf include lib lib64 share/man share/pkgconfig }
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor