libsdl2: fix cmake file

This commit is contained in:
Sergei Reznikov
2022-01-28 20:20:18 +03:00
parent 42e118ed45
commit ec1cebb2fc

View File

@@ -4,9 +4,9 @@ designed to provide low level access to audio, keyboard, mouse, joystick, and \
graphics hardware via OpenGL and Direct3D. It is used by video playback \
software, emulators, and popular games."
HOMEPAGE="https://www.libsdl.org/"
COPYRIGHT="1997-2021 Sam Lantinga"
COPYRIGHT="1997-2022 Sam Lantinga"
LICENSE="Zlib"
REVISION="2"
REVISION="3"
SOURCE_URI="https://www.libsdl.org/release/SDL2-$portVersion.tar.gz"
CHECKSUM_SHA256="c56aba1d7b5b0e7e999e4a7698c70b63a3394ff9704b5f6e1c57e0c16f04dd06"
SOURCE_DIR="SDL2-$portVersion"
@@ -61,6 +61,10 @@ INSTALL()
{
ninja -C build install
sed -i "s|.self/$relativeLibDir|.self/$relativeDevelopLibDir|" \
$libDir/cmake/SDL2/SDL2mainTargets-release.cmake
# devel package
prepareInstalledDevelLibs \
libSDL2 \