mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-22 03:30:05 +02:00
lagrange: bump to 1.7.1 (#6226)
This commit is contained in:
@@ -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 \
|
||||
@@ -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);
|
||||
Reference in New Issue
Block a user