---- src/scim_hangul_imengine_setup.cpp.orig 2012-07-08 07:52:07.000000000 -0400
-+++ src/scim_hangul_imengine_setup.cpp 2012-11-02 14:13:14.000000000 -0400
+--- a/src/scim_hangul_imengine_setup.cpp
++++ b/src/scim_hangul_imengine_setup.cpp
@@ -346,7 +346,7 @@
for (i = 0; i < n; i++) {
const char* name = hangul_ic_get_keyboard_name(i);
-# Copyright 1999-2013 Gentoo Foundation
+# Copyright 1999-2017 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-EAPI=5
-
-inherit autotools-utils
+EAPI=6
DESCRIPTION="Hangul IMEngine for SCIM ported from imhangul"
HOMEPAGE="http://www.scim-im.org/"
KEYWORDS="amd64 ppc x86"
IUSE="nls"
-RDEPEND="|| ( >=app-i18n/scim-0.99.8 >=app-i18n/scim-cvs-0.99.8 )
+RDEPEND="
+ >=app-i18n/scim-0.99.8
>=app-i18n/libhangul-0.0.4
nls? ( virtual/libintl )"
DEPEND="${RDEPEND}
nls? ( sys-devel/gettext )"
PATCHES=(
- "${FILESDIR}/${PN}-0.3.2+gcc-4.3.patch"
- "${FILESDIR}/${PN}-0.3.2+gcc-4.7.patch"
- "${FILESDIR}/${PN}-0.4.0+gtk.patch" )
-
-DOCS=(AUTHORS NEWS)
+ "${FILESDIR}"/${PN}-0.3.2+gcc-4.3.patch
+ "${FILESDIR}"/${PN}-0.3.2+gcc-4.7.patch
+ "${FILESDIR}"/${PN}-0.4.0+gtk.patch
+)
src_configure() {
- local myeconfargs=(
- --disable-skim-support
+ econf \
+ --disable-skim-support \
$(use_enable nls)
- )
- autotools-utils_src_configure
}
src_install() {
- autotools-utils_src_install
- dodoc ChangeLog* README*
+ default
+ dodoc ChangeLog*
+
+ # plugin module, no point in .la files
+ find "${D}" -name '*.la' -delete || die
}
pkg_postinst() {