From 700c49292eccc0cd96372e45027e2a929229e060 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C4=90o=C3=A0n=20Tr=E1=BA=A7n=20C=C3=B4ng=20Danh?= Date: Tue, 2 Feb 2021 22:30:30 +0700 Subject: [PATCH] anthy: update to 0.4. --- common/shlibs | 6 +++--- srcpkgs/anthy/template | 35 +++++++++++++++++++++++------------ srcpkgs/libanthy | 1 + 3 files changed, 27 insertions(+), 15 deletions(-) create mode 120000 srcpkgs/libanthy diff --git a/common/shlibs b/common/shlibs index 7319cc8d20c..3a9f74b6acb 100644 --- a/common/shlibs +++ b/common/shlibs @@ -2325,9 +2325,9 @@ libIL.so.1 devil-1.7.8_1 libILU.so.1 devil-1.7.8_1 libILUT.so.1 devil-1.7.8_1 liboath.so.0 oath-toolkit-2.6.0_2 -libanthy.so.0 anthy-9100h_1 -libanthydic.so.0 anthy-9100h_1 -libanthyinput.so.0 anthy-9100h_1 +libanthy.so.1 libanthy-0.4_1 +libanthydic.so.1 libanthy-0.4_1 +libanthyinput.so.0 libanthy-0.4_1 libanthygobject-1.0.so.5 ibus-anthy-1.5.6_1 libtbbmalloc_proxy_debug.so.2 tbb-4.3_1 libtbbmalloc_proxy.so.2 tbb-4.3_1 diff --git a/srcpkgs/anthy/template b/srcpkgs/anthy/template index 15ab07d942e..a4f6b13c601 100644 --- a/srcpkgs/anthy/template +++ b/srcpkgs/anthy/template @@ -1,26 +1,37 @@ # Template file for 'anthy' pkgname=anthy -version=9100h -revision=2 -_filecode=37536 -conf_files="/etc/anthy-conf" +reverts="9100h_1 9100h_2" +version=0.4 +revision=1 build_style=gnu-configure configure_args="--disable-static" short_desc="Hiragana text to Kana Kanji mixed text Japanese input method" maintainer="7185 <7185@free.fr>" -license="LGPL-2.1" -homepage="http://osdn.jp/projects/anthy/" -distfiles="http://dl.sourceforge.jp/anthy/${_filecode}/${pkgname}-${version}.tar.gz" -checksum="d256f075f018b4a3cb0d165ed6151fda4ba7db1621727e0eb54569b6e2275547" -# Would need to build lt-mkdepgraph for the host -nocross=yes +# src-worddic/textdic.c is LGPL-3.0+ +# alt-cannadic is GPL-2, corpus: Public Domain +license="LGPL-3.0-or-later, GPL-2.0-only, Public Domain" +homepage="https://wiki.debian.org/Teams/DebianAnthy" +distfiles="$DEBIAN_SITE/main/a/anthy/anthy_${version}.orig.tar.gz" +checksum=fdf590beea7093f3327b1eee76013e4936e4c6659e7cc01dd1fdd6e6f2e9c9f7 +nocross="need to run lt-mkdepgraph" + +libanthy_package() { + short_desc+=" - libraries" + conf_files="/etc/anthy-conf" + conflicts="anthy-9100h_1 anthy-9100h_2" + pkg_install() { + vmove etc/anthy-conf + vmove "usr/lib/*.so.*" + vmove usr/share + } +} anthy-devel_package() { short_desc+=" - development files" - depends="${sourcepkg}-${version}_${revision}" + depends="libanthy-${version}_${revision}" pkg_install() { vmove usr/include vmove usr/lib/pkgconfig - vmove usr/lib/*.so + vmove "usr/lib/*.so" } } diff --git a/srcpkgs/libanthy b/srcpkgs/libanthy new file mode 120000 index 00000000000..b38e2adfa2d --- /dev/null +++ b/srcpkgs/libanthy @@ -0,0 +1 @@ +anthy \ No newline at end of file