aboutsummaryrefslogtreecommitdiff
path: root/repos
diff options
context:
space:
mode:
Diffstat (limited to 'repos')
-rw-r--r--repos/wayland/imv/.checksum1
-rw-r--r--repos/wayland/imv/abuild3
-rw-r--r--repos/wayland/imv/icu76.1.patch11
3 files changed, 14 insertions, 1 deletions
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')