I worked with upstream and they accepted this patch, and
updated their boost m4 so no longer required in ebuild.
Bug: https://bugs.gentoo.org/696512
Package-Manager: Portage-2.3.76, Repoman-2.3.16
Signed-off-by: Graham Ramsey <graham.ramsey@gmail.com>
Signed-off-by: Yixun Lan <dlan@gentoo.org>
inherit autotools gnome2-utils python-single-r1
-BOOST_M4_GIT_VERSION=282b1e01f5bc5ae94347474fd8c35cb2f7a7e65d
-
DESCRIPTION="Intelligent Pinyin and Bopomofo input methods based on LibPinyin for IBus"
HOMEPAGE="https://github.com/libpinyin/ibus-libpinyin https://sourceforge.net/projects/libpinyin/"
SRC_URI="https://github.com/libpinyin/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz
- boost? ( https://github.com/tsuna/boost.m4/raw/${BOOST_M4_GIT_VERSION}/build-aux/boost.m4 -> boost.${BOOST_M4_GIT_VERSION}.m4 )
"
LICENSE="GPL-2"
RDEPEND="${DEPEND}"
src_prepare() {
- if use boost; then
- cp "${DISTDIR}/boost.${BOOST_M4_GIT_VERSION}.m4" "m4/boost.m4" \
- || die "copying newer version of boost.m4 file failed"
- fi
default
eautoreconf
}