mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-06-09 13:54:35 +02:00
64 lines
1.3 KiB
Text
64 lines
1.3 KiB
Text
# Contributor: mio <miyopan@e.email>
|
|
# Maintainer: mio <miyopan@e.email>
|
|
pkgname=ibus-anthy
|
|
pkgver=1.5.17
|
|
pkgrel=0
|
|
pkgdesc="Japanese input method Anthy IMEngine for IBus Framework"
|
|
url="https://github.com/ibus/ibus-anthy"
|
|
arch="all"
|
|
license="GPL-2.0-only"
|
|
depends="
|
|
ibus
|
|
py3-gobject3
|
|
"
|
|
makedepends="
|
|
anthy-dev
|
|
autoconf
|
|
automake
|
|
gobject-introspection-dev
|
|
ibus-dev
|
|
intltool
|
|
m4
|
|
"
|
|
checkdepends="
|
|
bash
|
|
libfaketime
|
|
sed
|
|
"
|
|
# Patch disables checking for optional checkdepends package not in repos
|
|
source="$pkgname-$pkgver.tar.gz::https://github.com/ibus/ibus-anthy/archive/$pkgver.tar.gz
|
|
disable-pycotap.patch
|
|
"
|
|
subpackages="$pkgname-lang"
|
|
|
|
prepare() {
|
|
default_prepare
|
|
|
|
NOCONFIGURE=1 ./autogen.sh
|
|
}
|
|
|
|
build() {
|
|
./configure \
|
|
--prefix=/usr \
|
|
--host=$CHOST \
|
|
--build=$CBUILD \
|
|
--libexec=/usr/lib/ibus
|
|
make
|
|
}
|
|
|
|
check() {
|
|
# tests use current date output and need yearly updates
|
|
# they also run rm -r HOME/.config/anthy ...
|
|
HOME="$builddir" \
|
|
faketime '2021-01-01' \
|
|
make check
|
|
}
|
|
|
|
package() {
|
|
make DESTDIR="$pkgdir" install
|
|
}
|
|
|
|
sha512sums="
|
|
c361452af73ef49278142e3eb63e7697bb6f4369fd26fdc94405aa976cb5b3a323cb67f31099d348cf3495160a1259b56c941cfb0facce1d3c050daa5264b3d2 ibus-anthy-1.5.17.tar.gz
|
|
a918038736e6ce4cc8a357c042cb7b4271970ae9e58d855f481c4cc06b436215732e194c700518baaacfa947b34e3ad7172795087d8287319cb0a6a974d25d32 disable-pycotap.patch
|
|
"
|