mozc: rebuild against protobuf-3.6.0

This commit is contained in:
maxice8 2018-06-07 00:00:52 -03:00
parent 7aefa7878d
commit 2f15a4bd1c

View file

@ -1,7 +1,7 @@
# Template file for 'mozc'
pkgname=mozc
version=2.23.2785.102
revision=1
revision=2
hostmakedepends="ninja pkg-config protobuf-devel python"
makedepends="gtk+-devel ibus-devel libzinnia-devel protobuf-devel qt5-devel
fcitx-devel"
@ -10,7 +10,7 @@ maintainer="Matthias von Faber <mvf@gmx.eu>"
homepage="https://github.com/google/mozc"
license="3-clause-BSD"
short_desc="Japanese IME (Open Source version of Google Japanese Input)"
build_wrksrc="mozc/src"
build_wrksrc=mozc/src
create_wrksrc=yes
distfiles="
https://github.com/fcitx/mozc/archive/44820a08db487fb1abe996f3ac2876457b05465d.tar.gz
@ -23,7 +23,7 @@ checksum="
0b6efee0eebac2c1a8eeea333278aa40fcef7846bba9a379962c6e567e7e3dc1
"
if [ -n "$CROSS_BUILD" ]; then
if [ "$CROSS_BUILD" ]; then
hostmakedepends+=" qt5-devel"
fi
@ -39,7 +39,7 @@ post_extract() {
ln -sr $_src-* $_dst
done
if [ -n "$CROSS_BUILD" ]; then
if [ "$CROSS_BUILD" ]; then
# find fcitx4-config
sed -i -e "s;fcitx4-config;${XBPS_CROSS_BASE}/usr/bin/fcitx4-config;" mozc/src/unix/fcitx/fcitx.gyp
fi