summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authoreugene2022-08-09 10:44:28 +0000
committereugene2022-08-09 10:44:28 +0000
commit1860e8a0343ac351ce4c058a078a4cdbf8481738 (patch)
tree9f3fcc0d186ccc9fd3d7faf5060336bf55121f58
parente6c4d44fdf11cd6c9ebd086fe721c711aa7c526d (diff)
downloadaur-1860e8a0343ac351ce4c058a078a4cdbf8481738.tar.gz
fix build by patching out doxygen detection for cubeb dep
-rw-r--r--.SRCINFO4
-rw-r--r--PKGBUILD14
-rw-r--r--duckstation-cubeb-doxygen-out.patch11
3 files changed, 24 insertions, 5 deletions
diff --git a/.SRCINFO b/.SRCINFO
index ff09bc6060b..6aa900f36ef 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -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
diff --git a/PKGBUILD b/PKGBUILD
index 05f620f0772..987cc9fc41d 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -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 00000000000..b0b13e9083c
--- /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