diff --git a/net-misc/lagrange/lagrange-1.6.4.recipe b/net-misc/lagrange/lagrange-1.7.1.recipe similarity index 93% rename from net-misc/lagrange/lagrange-1.6.4.recipe rename to net-misc/lagrange/lagrange-1.7.1.recipe index 51f2b18e4..a9c1450b1 100644 --- a/net-misc/lagrange/lagrange-1.6.4.recipe +++ b/net-misc/lagrange/lagrange-1.7.1.recipe @@ -8,7 +8,7 @@ COPYRIGHT="2020-2021 Jaakko Keränen" LICENSE="BSD (2-clause)" REVISION="1" SOURCE_URI="https://github.com/skyjake/lagrange/releases/download/v$portVersion/lagrange-$portVersion.tar.gz" -CHECKSUM_SHA256="28f31507eeef91150067799d930f3b86fd45a956e0eb7d4f569218fca82f6488" +CHECKSUM_SHA256="f43800fbfa99c15233a5dc5333f6d981b9a6139ff354c664213a04b3d6250703" SOURCE_DIR="lagrange-$portVersion" PATCHES="lagrange-$portVersion.patchset" ADDITIONAL_FILES="lagrange.rdef.in" @@ -29,6 +29,7 @@ REQUIRES=" lib:libSDL2_2.0$secondaryArchSuffix lib:libssl$secondaryArchSuffix lib:libunistring$secondaryArchSuffix + lib:libwebp$secondaryArchSuffix lib:libz$secondaryArchSuffix " @@ -41,6 +42,7 @@ BUILD_REQUIRES=" devel:libSDL2_2.0$secondaryArchSuffix devel:libssl$secondaryArchSuffix devel:libunistring$secondaryArchSuffix + devel:libwebp$secondaryArchSuffix devel:libz$secondaryArchSuffix " BUILD_PREREQUIRES=" @@ -56,6 +58,7 @@ BUILD() mkdir -p build cd build cmake .. \ + -DCMAKE_BUILD_TYPE=Release \ -DCMAKE_INSTALL_PREFIX=$appsDir/Lagrange \ -DENABLE_MPG123=ON \ -DENABLE_HARFBUZZ_MINIMAL=OFF \ diff --git a/net-misc/lagrange/patches/lagrange-1.6.4.patchset b/net-misc/lagrange/patches/lagrange-1.7.1.patchset similarity index 80% rename from net-misc/lagrange/patches/lagrange-1.6.4.patchset rename to net-misc/lagrange/patches/lagrange-1.7.1.patchset index 8be4b338a..5733a76c6 100644 --- a/net-misc/lagrange/patches/lagrange-1.6.4.patchset +++ b/net-misc/lagrange/patches/lagrange-1.7.1.patchset @@ -9,10 +9,10 @@ diff --git a/src/ui/window.c b/src/ui/window.c index b8ed210..487710c 100644 --- a/src/ui/window.c +++ b/src/ui/window.c -@@ -824,6 +824,7 @@ iBool processEvent_Window(iWindow *d, const SDL_Event *ev) { +@@ -973,6 +973,7 @@ SDL_Event event = *ev; - if (event.type == SDL_USEREVENT && isCommand_UserEvent(ev, "window.unfreeze")) { - d->isDrawFrozen = iFalse; + if (event.type == SDL_USEREVENT && isCommand_UserEvent(ev, "window.unfreeze") && mw) { + mw->isDrawFrozen = iFalse; + d->isExposed = iTrue; if (SDL_GetWindowFlags(d->win) & SDL_WINDOW_HIDDEN) { SDL_ShowWindow(d->win);