From ec1cebb2fcd6941b1d7e7bd867ef0c07e73bd28b Mon Sep 17 00:00:00 2001 From: Sergei Reznikov Date: Fri, 28 Jan 2022 20:20:18 +0300 Subject: [PATCH] libsdl2: fix cmake file --- media-libs/libsdl2/libsdl2-2.0.20.recipe | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/media-libs/libsdl2/libsdl2-2.0.20.recipe b/media-libs/libsdl2/libsdl2-2.0.20.recipe index 6f6ec84b6..bdb75306f 100644 --- a/media-libs/libsdl2/libsdl2-2.0.20.recipe +++ b/media-libs/libsdl2/libsdl2-2.0.20.recipe @@ -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 \