summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndrew Whatson2019-05-09 23:24:26 +1000
committerAndrew Whatson2019-05-09 23:24:26 +1000
commitec5b477fd96064285265cfb8761e56409df4c856 (patch)
tree5497bf5ff9b4dd48bfc65e6adf297d8e05caaaac
parentf35d233e5892eea02cb4619ab89e5f888abc725e (diff)
downloadaur-ec5b477fd96064285265cfb8761e56409df4c856.tar.gz
Fix force-lib32-sdl2.patch
-rw-r--r--.SRCINFO4
-rw-r--r--PKGBUILD4
-rw-r--r--force-lib32-sdl2.patch8
3 files changed, 9 insertions, 7 deletions
diff --git a/.SRCINFO b/.SRCINFO
index f183275b279..72051f89605 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,6 +1,6 @@
pkgbase = lib32-faudio-git
pkgdesc = Accuracy-focused XAudio reimplementation for open platforms
- pkgver = r1022.8ecb4ed
+ pkgver = r1121.3dd4e04
pkgrel = 1
url = https://github.com/FNA-XNA/FAudio
arch = x86_64
@@ -16,7 +16,7 @@ pkgbase = lib32-faudio-git
source = force-lib32-sdl2.patch
sha256sums = SKIP
sha256sums = 371d1dfdfa335a354f41376807848ba0cc448890d6da60d0b5c9478033b7e54c
- sha256sums = 0eab2af80c54a96612aef920f53fd1b753b73f46a4f9cd0c0cf639201c5b8881
+ sha256sums = 14762bf049e8de0675d297e174a6b4c31de65d543e738a1c400747aa155d57ae
pkgname = lib32-faudio-git
diff --git a/PKGBUILD b/PKGBUILD
index 5c3d09b4480..581713a3117 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -4,7 +4,7 @@ _pkgbase=faudio
_pkgname=lib32-${_pkgbase}
_gitname=FAudio
pkgname=${_pkgname}-git
-pkgver=r1022.8ecb4ed
+pkgver=r1121.3dd4e04
pkgrel=1
pkgdesc="Accuracy-focused XAudio reimplementation for open platforms"
arch=('x86_64')
@@ -18,7 +18,7 @@ source=('git+https://github.com/FNA-XNA/FAudio'
'force-lib32-sdl2.patch')
sha256sums=('SKIP'
'371d1dfdfa335a354f41376807848ba0cc448890d6da60d0b5c9478033b7e54c'
- '0eab2af80c54a96612aef920f53fd1b753b73f46a4f9cd0c0cf639201c5b8881')
+ '14762bf049e8de0675d297e174a6b4c31de65d543e738a1c400747aa155d57ae')
pkgver() {
cd "$srcdir/${_gitname}"
diff --git a/force-lib32-sdl2.patch b/force-lib32-sdl2.patch
index ccca8a770f6..439dd11cf75 100644
--- a/force-lib32-sdl2.patch
+++ b/force-lib32-sdl2.patch
@@ -1,12 +1,14 @@
diff --git a/CMakeLists.txt b/CMakeLists.txt
-index 01da0b3..0ce4228 100644
+index bb2b6b3..db2afa9 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
-@@ -135,7 +135,7 @@ if(FFMPEG)
+@@ -154,9 +154,7 @@ if(FFMPEG)
endif(FFMPEG)
# SDL2 Dependency
--find_package(SDL2 CONFIG)
+-if (NOT DEFINED SDL2_INCLUDE_DIRS AND NOT DEFINED SDL2_LIBRARIES)
+- find_package(SDL2 CONFIG)
+-endif()
+include(/usr/lib32/cmake/SDL2/SDL2Config.cmake)
if (TARGET SDL2::SDL2)
message(STATUS "using TARGET SDL2::SDL2")