git: ecea31a489e2 - main - x11-toolkits/imgui: update 1.89.8 → 1.90

From: Yuri Victorovich <yuri_at_FreeBSD.org>
Date: Sat, 18 Nov 2023 01:52:24 UTC
The branch main has been updated by yuri:

URL: https://cgit.FreeBSD.org/ports/commit/?id=ecea31a489e2b343ab81c6c4c9a712d451bf6c14

commit ecea31a489e2b343ab81c6c4c9a712d451bf6c14
Author:     Yuri Victorovich <yuri@FreeBSD.org>
AuthorDate: 2023-11-18 01:52:02 +0000
Commit:     Yuri Victorovich <yuri@FreeBSD.org>
CommitDate: 2023-11-18 01:52:19 +0000

    x11-toolkits/imgui: update 1.89.8 → 1.90
    
    Reported by:    portscout
---
 x11-toolkits/imgui/Makefile | 9 ++++++++-
 x11-toolkits/imgui/distinfo | 6 +++---
 2 files changed, 11 insertions(+), 4 deletions(-)

diff --git a/x11-toolkits/imgui/Makefile b/x11-toolkits/imgui/Makefile
index a6d3a5fa5a5e..635fe753d2c4 100644
--- a/x11-toolkits/imgui/Makefile
+++ b/x11-toolkits/imgui/Makefile
@@ -1,6 +1,6 @@
 PORTNAME=	imgui
 DISTVERSIONPREFIX=	v
-DISTVERSION=	1.89.8
+DISTVERSION=	1.90
 CATEGORIES=	x11-toolkits
 
 MAINTAINER=	yuri@FreeBSD.org
@@ -67,4 +67,11 @@ VULKAN_LIB_DEPENDS=		libvulkan.so:graphics/vulkan-loader
 post-patch:
 	@${CP} ${FILESDIR}/CMakeLists.txt ${FILESDIR}/imgui-config.cmake.in ${WRKSRC}
 
+do-test:
+	@cd ${WRKSRC}/examples/example_sdl2_opengl3 && \
+		${GMAKE} \
+			CXXFLAGS="${CXFLAGS} `pkg-config --cflags sdl2` -I${STAGEDIR}${PREFIX}/include -I${WRKSRC}/backends" \
+			LIBS="`pkg-config --libs sdl2` -lGL" && \
+		./example_sdl2_opengl3
+
 .include <bsd.port.mk>
diff --git a/x11-toolkits/imgui/distinfo b/x11-toolkits/imgui/distinfo
index 3102c135a57d..48e4784e6ec1 100644
--- a/x11-toolkits/imgui/distinfo
+++ b/x11-toolkits/imgui/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1690964788
-SHA256 (ocornut-imgui-v1.89.8_GH0.tar.gz) = 6680ccc32430009a8204291b1268b2367d964bd6d1b08a4e0358a017eb8e8c9e
-SIZE (ocornut-imgui-v1.89.8_GH0.tar.gz) = 1603652
+TIMESTAMP = 1700271482
+SHA256 (ocornut-imgui-v1.90_GH0.tar.gz) = 170986e6a4b83d165bfc1d33c2c5a5bc2d67e5b97176287485c51a2299249296
+SIZE (ocornut-imgui-v1.90_GH0.tar.gz) = 1638971