mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-07-29 13:46:49 +00:00
SDL2: drop PKG_BUILD_FLAGS & pre_configure_target()
This commit is contained in:
parent
c4b33d5bd0
commit
cf975a4348
@ -12,7 +12,6 @@ PKG_DEPENDS_TARGET="toolchain yasm:host alsa-lib systemd dbus"
|
|||||||
PKG_SECTION="multimedia"
|
PKG_SECTION="multimedia"
|
||||||
PKG_SHORTDESC="SDL2: A cross-platform Graphic API"
|
PKG_SHORTDESC="SDL2: A cross-platform Graphic API"
|
||||||
PKG_LONGDESC="Simple DirectMedia Layer is a cross-platform multimedia library designed to provide fast access to the graphics framebuffer and audio device. It is used by MPEG playback software, emulators, and many popular games, including the award winning Linux port of 'Civilization: Call To Power.' Simple DirectMedia Layer supports Linux, Win32, BeOS, MacOS, Solaris, IRIX, and FreeBSD."
|
PKG_LONGDESC="Simple DirectMedia Layer is a cross-platform multimedia library designed to provide fast access to the graphics framebuffer and audio device. It is used by MPEG playback software, emulators, and many popular games, including the award winning Linux port of 'Civilization: Call To Power.' Simple DirectMedia Layer supports Linux, Win32, BeOS, MacOS, Solaris, IRIX, and FreeBSD."
|
||||||
PKG_BUILD_FLAGS="-parallel +pic"
|
|
||||||
|
|
||||||
PKG_CMAKE_OPTS_TARGET="-DSDL_STATIC=ON \
|
PKG_CMAKE_OPTS_TARGET="-DSDL_STATIC=ON \
|
||||||
-DSDL_SHARED=OFF \
|
-DSDL_SHARED=OFF \
|
||||||
@ -94,10 +93,6 @@ else
|
|||||||
-DPULSEAUDIO_SHARED=OFF"
|
-DPULSEAUDIO_SHARED=OFF"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
pre_configure_target() {
|
|
||||||
export LDFLAGS=`$SED -i 's/[ \t]*$//' "$LDFLAGS"`
|
|
||||||
}
|
|
||||||
|
|
||||||
post_makeinstall_target() {
|
post_makeinstall_target() {
|
||||||
$SED "s:\(['=\" ]\)/usr:\\1$SYSROOT_PREFIX/usr:g" $SYSROOT_PREFIX/usr/bin/sdl2-config
|
$SED "s:\(['=\" ]\)/usr:\\1$SYSROOT_PREFIX/usr:g" $SYSROOT_PREFIX/usr/bin/sdl2-config
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user