From f7d75dda95b077e3ce95cfc06c1f1f6a01e077ea Mon Sep 17 00:00:00 2001 From: emmett1 Date: Wed, 29 Jan 2025 00:52:23 +0800 Subject: imv: added patch fix build --- repos/wayland/imv/.checksum | 1 + repos/wayland/imv/abuild | 3 ++- repos/wayland/imv/icu76.1.patch | 11 +++++++++++ 3 files changed, 14 insertions(+), 1 deletion(-) create mode 100644 repos/wayland/imv/icu76.1.patch (limited to 'repos') diff --git a/repos/wayland/imv/.checksum b/repos/wayland/imv/.checksum index fc90283d..363be5e1 100644 --- a/repos/wayland/imv/.checksum +++ b/repos/wayland/imv/.checksum @@ -1 +1,2 @@ +c5896188364ae669363b448fa1604fec9fd39e5e217823b8654ff387a5d2942c icu76.1.patch 2c51ad23e92cec1dcbc0ee803fd54dcdac21b932c4e18086eec861db3007dad9 imv-4.5.0.tar.gz diff --git a/repos/wayland/imv/abuild b/repos/wayland/imv/abuild index 851c52fe..8b3771b9 100644 --- a/repos/wayland/imv/abuild +++ b/repos/wayland/imv/abuild @@ -1,6 +1,7 @@ name=imv version=4.5.0 release=1 -source="imv-${version}.tar.gz::https://git.sr.ht/~exec64/${name}/archive/v${version}.tar.gz" +source="imv-${version}.tar.gz::https://git.sr.ht/~exec64/${name}/archive/v${version}.tar.gz + icu76.1.patch" [ -f $SPM_PKGDB/libx11 ] && build_opt="-Dwindows=x11" [ -f $SPM_PKGDB/wayland ] && build_opt="-Dwindows=wayland" diff --git a/repos/wayland/imv/icu76.1.patch b/repos/wayland/imv/icu76.1.patch new file mode 100644 index 00000000..3cfb6748 --- /dev/null +++ b/repos/wayland/imv/icu76.1.patch @@ -0,0 +1,11 @@ +--- imv-v4.5.0-orig/meson.build ++++ imv-v4.5.0/meson.build +@@ -42,7 +42,7 @@ + + _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') -- cgit v1.2.3