diff --git a/srcpkgs/fcitx-anthy/patches/musl.patch b/srcpkgs/fcitx-anthy/patches/musl.patch new file mode 100644 index 00000000000..53c76bca78e --- /dev/null +++ b/srcpkgs/fcitx-anthy/patches/musl.patch @@ -0,0 +1,10 @@ +--- src/utils.h ++++ src/utils.h +@@ -22,6 +22,7 @@ + #define __FCITX_ANTHY_UTILS_H__ + + #include "common.h" ++#include + + size_t + util_utf8_string_length(const std::string& s); diff --git a/srcpkgs/fcitx-anthy/template b/srcpkgs/fcitx-anthy/template new file mode 100644 index 00000000000..cb0c8f2b364 --- /dev/null +++ b/srcpkgs/fcitx-anthy/template @@ -0,0 +1,15 @@ +# Template file for 'fcitx-anthy' +pkgname=fcitx-anthy +version=0.2.3 +revision=1 +build_style=cmake +makedepends="anthy-devel fcitx-devel" +depends="fcitx>=4.2.9" +short_desc="Fcitx wrapper for Anthy IM engine" +maintainer="Matthias von Faber " +license="GPL-2" +homepage="https://fcitx-im.org/" +distfiles="https://github.com/fcitx/fcitx-anthy/archive/${version}.tar.gz" +checksum=31826a49a7ff743f830e1279527301abce9e669bc176934c76775999299421a8 + +CXXFLAGS='-D_GNU_SOURCE'