mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-09 05:10:05 +02:00
libsdl2: fix cmake file
This commit is contained in:
@@ -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 \
|
||||
|
||||
Reference in New Issue
Block a user