git: 5105b8b0a2bf - main - graphics/imv: Update to 4.5.0

From: Nuno Teixeira <eduardo_at_FreeBSD.org>
Date: Tue, 24 Dec 2024 23:43:31 UTC
The branch main has been updated by eduardo:

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

commit 5105b8b0a2bf1978255fcaa3fa5481c0343a8982
Author:     Nuno Teixeira <eduardo@FreeBSD.org>
AuthorDate: 2024-12-24 23:34:53 +0000
Commit:     Nuno Teixeira <eduardo@FreeBSD.org>
CommitDate: 2024-12-24 23:43:20 +0000

    graphics/imv: Update to 4.5.0
    
    - Unbreak build with ICU 76
      Fix imported from NetBSD pkgsrc (see ${FILESDIR}/patch-meson.build
      for details)
    
    ChangeLog:      https://git.sr.ht/~exec64/imv/tree/v4.5.0/item/CHANGELOG
    PR:             283573
---
 graphics/imv/Makefile                |  3 +--
 graphics/imv/distinfo                |  6 +++---
 graphics/imv/files/patch-meson.build | 17 +++++++++++++++--
 3 files changed, 19 insertions(+), 7 deletions(-)

diff --git a/graphics/imv/Makefile b/graphics/imv/Makefile
index 0154aa5d63ca..c7ba5d919bb2 100644
--- a/graphics/imv/Makefile
+++ b/graphics/imv/Makefile
@@ -1,7 +1,6 @@
 PORTNAME=	imv
 DISTVERSIONPREFIX=	v
-DISTVERSION=	4.4.0
-PORTREVISION=	5
+DISTVERSION=	4.5.0
 CATEGORIES=	graphics
 MASTER_SITES=	https://git.sr.ht/~exec64/${PORTNAME}/archive/${DISTVERSIONFULL}${EXTRACT_SUFX}?dummy=/
 
diff --git a/graphics/imv/distinfo b/graphics/imv/distinfo
index 525b166403a5..c015fb2c7778 100644
--- a/graphics/imv/distinfo
+++ b/graphics/imv/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1699561634
-SHA256 (imv-v4.4.0.tar.gz) = 55431c8c27fbe82d05955f61bde38ba15febf8a7fd8f0f741e504bae0b823bcf
-SIZE (imv-v4.4.0.tar.gz) = 80360
+TIMESTAMP = 1735079239
+SHA256 (imv-v4.5.0.tar.gz) = 3b11991a86942d757830015033b1c3a3cc915be2f0c20fee7bc7493be560cbcb
+SIZE (imv-v4.5.0.tar.gz) = 82559
diff --git a/graphics/imv/files/patch-meson.build b/graphics/imv/files/patch-meson.build
index ac1369ba632f..d129ba66df53 100644
--- a/graphics/imv/files/patch-meson.build
+++ b/graphics/imv/files/patch-meson.build
@@ -1,5 +1,18 @@
---- meson.build.orig	2023-01-18 22:20:52 UTC
+imv: directly link against everything that it uses, needed for ICU 76
+From NetBSD pkgsrc:
+http://cvsweb.netbsd.org/bsdweb.cgi/pkgsrc/graphics/imv/patches/patch-meson.build?rev=1.2;content-type=text%2Fplain
+
+--- meson.build.orig	2024-02-20 22:30:06 UTC
 +++ meson.build
+@@ -42,7 +42,7 @@ if _unicode == 'icu'
+ 
+ _unicode = get_option('unicode')
+ if _unicode == 'icu'
+-  unicode_lib = dependency('icu-io')
++  unicode_lib = [dependency('icu-io'), dependency('icu-uc')]
+   add_project_arguments('-DIMV_USE_ICU', language: 'c')
+ elif _unicode == 'grapheme'
+   unicode_lib = cc.find_library('grapheme')
 @@ -120,7 +120,7 @@ foreach backend : [
  
  enabled_backends = []
@@ -9,7 +22,7 @@
    ['libtiff', 'dependency', 'libtiff-4', []],
    ['libpng', 'dependency', 'libpng', []],
    ['libjpeg', 'dependency', 'libturbojpeg', []],
-@@ -204,6 +204,7 @@ install_data(
+@@ -205,6 +205,7 @@ install_data(
    files('files/imv_config'),
    install_dir: get_option('sysconfdir'),
    install_mode: 'rw-r--r--',