diff --git a/pkg.info b/pkg.info index cd0e1ef..ea44219 100644 --- a/pkg.info +++ b/pkg.info @@ -1,7 +1,7 @@ name: imv description: X11 and Wayland image viewer intended for use with tiling window managers -version: 4.5.0 -revision: 4 +version: 5.0.0 +revision: 1 url: https://sr.ht/~exec64/imv/ license: MIT architecture: any @@ -15,6 +15,7 @@ depends: - librsvg - libxkbcommon - pango + - wayland-protocols make_depends: - asciidoc - cmake @@ -24,4 +25,4 @@ downloads: - url: https://git.sr.ht/~exec64/imv/archive/v${BPM_PKG_VERSION}.tar.gz extract_to: ${BPM_SOURCE} extract_strip_components: 1 - checksum: 3b11991a86942d757830015033b1c3a3cc915be2f0c20fee7bc7493be560cbcb + checksum: fe4c954da6578d476cb6a57677d958fbc2cfeb7c5d9a3bfc5f18c9f21a7170d8 diff --git a/source-files/imv-4.5.0-Link-to-the-common-ICU-library.patch b/source-files/imv-4.5.0-Link-to-the-common-ICU-library.patch deleted file mode 100644 index 2050348..0000000 --- a/source-files/imv-4.5.0-Link-to-the-common-ICU-library.patch +++ /dev/null @@ -1,27 +0,0 @@ -From 859c3fd09c1b8c30998b03da9002e7f00b6670cc Mon Sep 17 00:00:00 2001 -From: Aleksei Bavshin -Date: Wed, 22 Jan 2025 00:50:53 -0800 -Subject: [PATCH imv] Link to the common ICU library - -Both the utext and the ubrk APIs are parts of the common library, so -icu-uc should be the right dependency to use. ---- - meson.build | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -diff --git a/meson.build b/meson.build -index ea3a653..9fa1b15 100644 ---- a/meson.build -+++ b/meson.build -@@ -42,7 +42,7 @@ endif - - _unicode = get_option('unicode') - if _unicode == 'icu' -- unicode_lib = dependency('icu-io') -+ unicode_lib = dependency('icu-uc') - add_project_arguments('-DIMV_USE_ICU', language: 'c') - elif _unicode == 'grapheme' - unicode_lib = cc.find_library('grapheme') --- -2.48.1 - diff --git a/source.sh b/source.sh index 4d0f658..3968941 100644 --- a/source.sh +++ b/source.sh @@ -2,14 +2,6 @@ # BPM Expects the source code to be extracted into the automatically created 'source' directory which can be accessed using $BPM_SOURCE # BPM Expects the output files to be present in the automatically created 'output' directory which can be accessed using $BPM_OUTPUT -# The prepare function is executed in the root of the temp directory -# This function is used for putting downloaded files to the correct location or applying patches -prepare() { - # Apply icu 76.1 patch - cd "$BPM_SOURCE" - patch -Np1 -i ../imv-4.5.0-Link-to-the-common-ICU-library.patch -} - # The build function is executed in the source directory # This function is used to compile the source code build() {