diff options
-rw-r--r-- | .SRCINFO | 4 | ||||
-rw-r--r-- | PKGBUILD | 14 | ||||
-rw-r--r-- | duckstation-cubeb-doxygen-out.patch | 11 |
3 files changed, 24 insertions, 5 deletions
@@ -1,6 +1,6 @@ pkgbase = duckstation-git pkgdesc = A Sony PlayStation (PSX) emulator, focusing on playability, speed, and long-term maintainability (git version) - pkgver = r5491.c2f4b7e7 + pkgver = r5564.73a80d3a pkgrel = 1 url = https://github.com/stenzek/duckstation arch = x86_64 @@ -18,6 +18,8 @@ pkgbase = duckstation-git provides = duckstation conflicts = duckstation source = git+https://github.com/stenzek/duckstation.git + source = duckstation-cubeb-doxygen-out.patch sha256sums = SKIP + sha256sums = e1b264d1037659702691094d44d3221070edeb2c540ad79dc87e1c4effe994ad pkgname = duckstation-git @@ -1,7 +1,7 @@ # Maintainer: katt <magunasu.b97@gmail.com> pkgname=duckstation-git -pkgver=r5491.c2f4b7e7 +pkgver=r5564.73a80d3a pkgdesc='A Sony PlayStation (PSX) emulator, focusing on playability, speed, and long-term maintainability (git version)' pkgrel=1 arch=(x86_64 aarch64) @@ -12,14 +12,20 @@ depends=(sdl2 qt6-base) optdepends=() provides=("${pkgname%-git}") conflicts=("${pkgname%-git}") -source=(git+"$url".git) -sha256sums=('SKIP') +source=(git+"$url".git duckstation-cubeb-doxygen-out.patch) +sha256sums=('SKIP' + 'e1b264d1037659702691094d44d3221070edeb2c540ad79dc87e1c4effe994ad') pkgver() { - cd "${srcdir}/duckstation" + cd "${srcdir}/${pkgname%-git}" printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)" } +prepare() { + cd "${srcdir}/${pkgname%-git}" + patch -uNp1 -i ../duckstation-cubeb-doxygen-out.patch +} + build() { cmake -B build -S duckstation \ -DBUILD_NOGUI_FRONTEND=OFF \ diff --git a/duckstation-cubeb-doxygen-out.patch b/duckstation-cubeb-doxygen-out.patch new file mode 100644 index 000000000000..b0b13e9083c6 --- /dev/null +++ b/duckstation-cubeb-doxygen-out.patch @@ -0,0 +1,11 @@ +diff -u3 -r -N a/dep/cubeb/CMakeLists.txt b/dep/cubeb/CMakeLists.txt +--- a/dep/cubeb/CMakeLists.txt 2022-08-09 13:16:07.605581486 +0300 ++++ b/dep/cubeb/CMakeLists.txt 2022-08-09 13:26:38.909929480 +0300 +@@ -331,7 +331,6 @@ + optimized "${PROJECT_SOURCE_DIR}/src/cubeb-coreaudio-rs/target/release/libcubeb_coreaudio.a") + endif() + +-find_package(Doxygen) + if(DOXYGEN_FOUND) + configure_file(${CMAKE_CURRENT_SOURCE_DIR}/docs/Doxyfile.in ${CMAKE_CURRENT_BINARY_DIR}/docs/Doxyfile @ONLY) + add_custom_target(doc ALL |