community/sdl2: drop DirectFB support

Unnecessary since
https://gitlab.com/postmarketOS/pmaports/-/merge_requests/4732 got merged.

Signed-off-by: David Heidelberg <david@ixit.cz>
This commit is contained in:
David Heidelberg 2024-01-17 18:22:14 +01:00 committed by Simon Zeni
parent 7073e8a289
commit 8c520453c9

View File

@ -2,12 +2,12 @@
# Maintainer: Simon Zeni <simon@bl4ckb0ne.ca>
pkgname=sdl2
pkgver=2.28.5
pkgrel=0
pkgrel=1
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="$pkgname directfb-dev mesa-dev"
depends_dev="$pkgname mesa-dev"
makedepends="
alsa-lib-dev
cmake
@ -50,8 +50,6 @@ builddir="$srcdir/SDL2-$pkgver"
# - CVE-2019-7638
build() {
# NOTE: Please do not remove the -DSDL_DIRECTFB=ON flag.
# Some apps, used for booting Alpine derivatives, require this to function!
if [ "$CBUILD" != "$CHOST" ]; then
CMAKE_CROSSOPTS="-DCMAKE_SYSTEM_NAME=Linux -DCMAKE_HOST_SYSTEM_NAME=Linux"
fi
@ -73,7 +71,7 @@ build() {
-DSDL_NAS=OFF \
-DSDL_RPATH=OFF \
-DSDL_X11=ON \
-DSDL_DIRECTFB=ON \
-DSDL_DIRECTFB=OFF \
-DSDL_WAYLAND=ON \
-DSDL_STATIC=ON \
-DSDL_SHARED=ON \