summaryrefslogtreecommitdiff
path: root/libsdl2
diff options
context:
space:
mode:
authorJuergen Daubert <jue@jue.li>2021-12-14 10:34:52 +0100
committerJuergen Daubert <jue@jue.li>2021-12-14 10:34:52 +0100
commit144d4378ed2ea69ae86150bee31c0308ed0a76f6 (patch)
tree52632d99d7a0b602dfb692a113477dc682fef9cd /libsdl2
parentadaa5aa29620326b5e37a9c51ffd52b1d17a0768 (diff)
downloadopt-144d4378ed2ea69ae86150bee31c0308ed0a76f6.tar.gz
opt-144d4378ed2ea69ae86150bee31c0308ed0a76f6.tar.xz
libsdl2: fix build against wayland 1.20
Diffstat (limited to 'libsdl2')
-rw-r--r--libsdl2/.signature5
-rw-r--r--libsdl2/Pkgfile7
2 files changed, 8 insertions, 4 deletions
diff --git a/libsdl2/.signature b/libsdl2/.signature
index 01b2d0e7e..73eecae22 100644
--- a/libsdl2/.signature
+++ b/libsdl2/.signature
@@ -1,5 +1,6 @@
untrusted comment: verify with /etc/ports/opt.pub
-RWSE3ohX2g5d/SwiObi8cZ98jD3XlWpAeDTK4fUdyfkB9ZwDaXSKhFnQ57gKtRs8TKzqOSWytXa5ZFRxnQAAJsgVE52qMZ4DowA=
-SHA256 (Pkgfile) = 699de3d7888748f6bfa78ed0a9187cdef09538eaec5e9ab9f1c2c32b4fc8b046
+RWSE3ohX2g5d/ZSLIGWVr0Zcm9cfKhJwT+B0cIJDz4/jgWpDbVQcP+mh4CtsVIUyS3Yq+eqVQrb8w3WlEoZmSkU0H83CxS4FsQE=
+SHA256 (Pkgfile) = 370fedb8547efd698a8c9529ffda1f24f3fad39221cc6bb25e1a7ebec7311081
SHA256 (.footprint) = 35fddd68b42b5d279cf8ad85cdf6334d76a68cbf13fc9492804d31234ba790bc
SHA256 (SDL2-2.0.18.tar.gz) = 94d40cd73dbfa10bb6eadfbc28f355992bb2d6ef6761ad9d4074eff95ee5711c
+SHA256 (libsdl2-wayland-1.20.patch) = 1bb3a1a1dd4d437a0549d17dbd26e9c87c55097a87ae1b7998a77e120a849176
diff --git a/libsdl2/Pkgfile b/libsdl2/Pkgfile
index 7f39c73dc..ec54e71f3 100644
--- a/libsdl2/Pkgfile
+++ b/libsdl2/Pkgfile
@@ -6,10 +6,13 @@
name=libsdl2
version=2.0.18
-release=2
-source=(https://www.libsdl.org/release/SDL2-$version.tar.gz)
+release=3
+source=(https://www.libsdl.org/release/SDL2-$version.tar.gz
+ $name-wayland-1.20.patch)
build() {
+ patch -p1 -d SDL2-$version -i $SRC/$name-wayland-1.20.patch
+
prt-get isinst ninja && PKGMK_SDL2+=' -G Ninja'
prt-get isinst alsa-lib && PKGMK_SDL2+=' -D SDL_ALSA_SHARED=ON'
prt-get isinst ibus && PKGMK_SDL2+=' -D SDL_USE_IME=ON'

Generated by cgit