From 10325f9929e0b60927442c48d788c2f8dc50fa0e Mon Sep 17 00:00:00 2001 From: 7185 <7185@users.noreply.github.com> Date: Sat, 11 Jul 2015 09:54:05 +0200 Subject: [PATCH 1/2] New package: anthy-9100h --- srcpkgs/anthy/template | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 srcpkgs/anthy/template diff --git a/srcpkgs/anthy/template b/srcpkgs/anthy/template new file mode 100644 index 00000000000..a939d47a6e0 --- /dev/null +++ b/srcpkgs/anthy/template @@ -0,0 +1,14 @@ +# Template file for 'anthy' +pkgname=anthy +version=9100h +revision=1 +wrksrc="${pkgname}-${version}" +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.osdn.jp/${pkgname}/37536/${pkgname}-${version}.tar.gz" +checksum="d256f075f018b4a3cb0d165ed6151fda4ba7db1621727e0eb54569b6e2275547" + From c8ba6fc8f445fcc7d561c9e02830e31b159eeea8 Mon Sep 17 00:00:00 2001 From: 7185 <7185@users.noreply.github.com> Date: Sat, 11 Jul 2015 09:57:57 +0200 Subject: [PATCH 2/2] New package: ibus-anthy-1.5.6 --- common/shlibs | 4 ++++ srcpkgs/anthy/template | 1 - srcpkgs/ibus-anthy/template | 27 +++++++++++++++++++++++++++ 3 files changed, 31 insertions(+), 1 deletion(-) create mode 100644 srcpkgs/ibus-anthy/template diff --git a/common/shlibs b/common/shlibs index bec392dae00..f076c87f082 100644 --- a/common/shlibs +++ b/common/shlibs @@ -2084,3 +2084,7 @@ 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 +libanthygobject-1.0.so.5 ibus-anthy-1.5.6_1 diff --git a/srcpkgs/anthy/template b/srcpkgs/anthy/template index a939d47a6e0..aa7ad0eacbb 100644 --- a/srcpkgs/anthy/template +++ b/srcpkgs/anthy/template @@ -2,7 +2,6 @@ pkgname=anthy version=9100h revision=1 -wrksrc="${pkgname}-${version}" build_style=gnu-configure configure_args="--disable-static" short_desc="Hiragana text to Kana Kanji mixed text Japanese input method" diff --git a/srcpkgs/ibus-anthy/template b/srcpkgs/ibus-anthy/template new file mode 100644 index 00000000000..3e7b954a9c2 --- /dev/null +++ b/srcpkgs/ibus-anthy/template @@ -0,0 +1,27 @@ +# Template file for 'ibus-anthy' +pkgname=ibus-anthy +version=1.5.6 +revision=1 +build_style=gnu-configure +configure_args="--prefix=/usr --libexec=/usr/lib/ibus $(vopt_enable gir introspection)" +hostmakedepends="anthy pkg-config intltool automake python-gobject-devel gettext-devel ibus-devel libtool swig $(vopt_if gir gobject-introspection)" +depends="ibus anthy gtk-update-icon-cache python-gobject" +short_desc="Japanese input method Anthy IMEngine for IBus Framework" +maintainer="7185 <7185@free.fr>" +license="LGPL-2.1" +homepage="https://code.google.com/p/ibus/" +distfiles="https://github.com/ibus/${pkgname}/archive/${version}.tar.gz" +checksum="1117db0dd4150cb5e0ca0c72d76303c7968657cac6681f20bc8976f55d43ce85" + +# Package build options +build_options="gir" + +# Disable gir for cross builds. +if [ -z "$CROSS_BUILD" ]; then + build_options_default="gir" +fi + +pre_configure() { + autoreconf -fi + intltoolize -f +}