aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLeo <thinkabit.ukim@gmail.com>2020-08-13 23:51:51 -0300
committerLeo <thinkabit.ukim@gmail.com>2020-08-14 00:03:30 -0300
commit1e5a276141e5977eba7f162fe7b166eee0fc61df (patch)
treeaad45f6a6761ff0f1c424bfdb3c26a5b4b35dfdc
parent51a736cf42a9c20662ddc3e9efe7fb3f6e4a5f85 (diff)
downloadaports-1e5a276141e5977eba7f162fe7b166eee0fc61df.tar.gz
aports-1e5a276141e5977eba7f162fe7b166eee0fc61df.tar.bz2
aports-1e5a276141e5977eba7f162fe7b166eee0fc61df.tar.xz
community/sdl2: move mesa-dev to depends_dev
mesa-dev is required because it provides KHR/khrplatform.h, which is used if people include SDL_opengl_glext.h, this is alpine linux specific
-rw-r--r--community/sdl2/APKBUILD11
1 files changed, 6 insertions, 5 deletions
diff --git a/community/sdl2/APKBUILD b/community/sdl2/APKBUILD
index ce738112a0..3ba8d2cbae 100644
--- a/community/sdl2/APKBUILD
+++ b/community/sdl2/APKBUILD
@@ -2,15 +2,15 @@
# Maintainer: August Klein <amatcoder@gmail.com>
pkgname=sdl2
pkgver=2.0.12
-pkgrel=2
-pkgdesc="A development library designed to provide low level access to audio, keyboard, mouse, joystick and graphics"
+pkgrel=3
+pkgdesc="development library designed to provide low level access to audio, keyboard, mouse, joystick and graphics"
url="https://www.libsdl.org"
arch="all"
license="Zlib"
-depends_dev="directfb-dev"
-makedepends="cmake alsa-lib-dev directfb-dev libxcursor-dev libxrandr-dev libxrender-dev mesa-dev
+depends_dev="directfb-dev mesa-dev"
+makedepends="cmake alsa-lib-dev libxcursor-dev libxrandr-dev libxrender-dev
libxscrnsaver-dev libxi-dev libx11-dev libxext-dev libusb-dev libxkbcommon-dev
- pulseaudio-dev wayland-dev wayland-protocols"
+ pulseaudio-dev wayland-dev wayland-protocols $depends_dev"
subpackages="$pkgname-dev"
source="https://www.libsdl.org/release/SDL2-$pkgver.tar.gz
directfb-cflags.patch
@@ -57,6 +57,7 @@ build() {
-DCMAKE_C_FLAGS="$CFLAGS" \
-DSDL_STATIC=ON \
-DSDL_SHARED=ON \
+ -DPULSEAUDIO_SHARED=ON \
"$CMAKE_CROSSOPTS"
make -C build
}