From 1c5550f1346a2f8e38b5c17a2cc3201851c9630e Mon Sep 17 00:00:00 2001 From: Matthias von Faber Date: Thu, 15 Mar 2018 06:18:11 +0100 Subject: [PATCH] New package: fcitx-anthy-0.2.3 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Closes: #12570 [via git-merge-pr] Signed-off-by: Jürgen Buchmüller --- srcpkgs/fcitx-anthy/patches/musl.patch | 10 ++++++++++ srcpkgs/fcitx-anthy/template | 15 +++++++++++++++ 2 files changed, 25 insertions(+) create mode 100644 srcpkgs/fcitx-anthy/patches/musl.patch create mode 100644 srcpkgs/fcitx-anthy/template 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'