From 6aa93d79d4800a2ac6cf540d0d1251094ac3a812 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C4=90o=C3=A0n=20Tr=E1=BA=A7n=20C=C3=B4ng=20Danh?= Date: Fri, 26 Aug 2022 17:00:27 +0700 Subject: [PATCH] Aegisub: rebuild for boost-1.80 --- srcpkgs/Aegisub/patches/link-icu18n.patch | 15 +++++++++++++++ srcpkgs/Aegisub/template | 2 +- 2 files changed, 16 insertions(+), 1 deletion(-) create mode 100644 srcpkgs/Aegisub/patches/link-icu18n.patch diff --git a/srcpkgs/Aegisub/patches/link-icu18n.patch b/srcpkgs/Aegisub/patches/link-icu18n.patch new file mode 100644 index 00000000000..e5c037ca1f6 --- /dev/null +++ b/srcpkgs/Aegisub/patches/link-icu18n.patch @@ -0,0 +1,15 @@ +--- a/CMakeLists.txt ++++ b/CMakeLists.txt +@@ -347,9 +347,9 @@ target_link_libraries(Aegisub PRIVATE "O + find_package(Iconv REQUIRED) + target_link_libraries(libaegisub PRIVATE "Iconv::Iconv") + +-find_package(ICU REQUIRED uc) +-target_link_libraries(libaegisub PRIVATE "ICU::uc") +-target_link_libraries(Aegisub PRIVATE "ICU::uc") ++find_package(ICU REQUIRED uc i18n) ++target_link_libraries(libaegisub PRIVATE "ICU::uc" ICU::i18n) ++target_link_libraries(Aegisub PRIVATE "ICU::uc" ICU::i18n) + + find_package(wxWidgets REQUIRED adv base core gl stc xml) + include(${wxWidgets_USE_FILE}) diff --git a/srcpkgs/Aegisub/template b/srcpkgs/Aegisub/template index ff34249aaee..a68e1ab4308 100644 --- a/srcpkgs/Aegisub/template +++ b/srcpkgs/Aegisub/template @@ -1,7 +1,7 @@ # Template file for 'Aegisub' pkgname=Aegisub version=3.3.2 -revision=4 +revision=5 build_style=cmake build_helper=cmake-wxWidgets-gtk3 cmake_builddir="BUILD"