summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarkos Chandras <hwoarang@gentoo.org>2014-01-03 21:44:31 +0000
committerMarkos Chandras <hwoarang@gentoo.org>2014-01-03 21:44:31 +0000
commit916896a00b7fd58141c53c2b6238567b5b7edc66 (patch)
treef8d645c0eb24f33e2a65b014fb3c2168b88b5cef /app-i18n
parentUpdate. (diff)
downloadgentoo-2-916896a00b7fd58141c53c2b6238567b5b7edc66.tar.gz
gentoo-2-916896a00b7fd58141c53c2b6238567b5b7edc66.tar.bz2
gentoo-2-916896a00b7fd58141c53c2b6238567b5b7edc66.zip
Version bump. Bug #496080. Thanks to Yixun Lan <dennis.yxun@gmail.com>
(Portage version: 2.2.7/cvs/Linux x86_64, signed Manifest commit with key C2BA7F3C!)
Diffstat (limited to 'app-i18n')
-rw-r--r--app-i18n/librime/ChangeLog9
-rw-r--r--app-i18n/librime/librime-1.1.ebuild46
2 files changed, 53 insertions, 2 deletions
diff --git a/app-i18n/librime/ChangeLog b/app-i18n/librime/ChangeLog
index bf1e72da3dff..98effd5550a8 100644
--- a/app-i18n/librime/ChangeLog
+++ b/app-i18n/librime/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for app-i18n/librime
-# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-i18n/librime/ChangeLog,v 1.12 2013/09/02 08:06:22 ago Exp $
+# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/app-i18n/librime/ChangeLog,v 1.13 2014/01/03 21:44:31 hwoarang Exp $
+
+*librime-1.1 (03 Jan 2014)
+
+ 03 Jan 2014; Markos Chandras <hwoarang@gentoo.org> +librime-1.1.ebuild:
+ Version bump. Bug #496080. Thanks to Yixun Lan <dennis.yxun@gmail.com>
02 Sep 2013; Agostino Sarubbo <ago@gentoo.org> librime-0.9.9.ebuild:
Stable for x86, wrt bug #479718
diff --git a/app-i18n/librime/librime-1.1.ebuild b/app-i18n/librime/librime-1.1.ebuild
new file mode 100644
index 000000000000..1a8a4d52357d
--- /dev/null
+++ b/app-i18n/librime/librime-1.1.ebuild
@@ -0,0 +1,46 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/app-i18n/librime/librime-1.1.ebuild,v 1.1 2014/01/03 21:44:31 hwoarang Exp $
+
+EAPI=5
+
+inherit cmake-utils multilib versionator toolchain-funcs
+
+DESCRIPTION="Rime Input Method Engine library"
+HOMEPAGE="http://code.google.com/p/rimeime/"
+SRC_URI="http://rimeime.googlecode.com/files/${P}.tar.gz"
+
+LICENSE="GPL-3"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="static-libs test"
+
+RDEPEND="app-i18n/opencc
+ dev-cpp/glog
+ >=dev-cpp/yaml-cpp-0.5.0
+ dev-db/kyotocabinet
+ >=dev-libs/boost-1.46.0[threads(+)]
+ sys-libs/zlib
+ x11-proto/xproto"
+DEPEND="${RDEPEND}
+ test? ( dev-cpp/gtest )"
+
+S="${WORKDIR}/${PN}"
+
+pkg_pretend() {
+ if [ ${MERGE_TYPE} != binary ]; then
+ version_is_at_least 4.8.0 "$(gcc-fullversion)" \
+ || die "Sorry, but gcc-4.8.0 and earlier wont work for librime (see bug 496080)."
+ fi
+}
+
+src_configure() {
+ local mycmakeargs=(
+ $(cmake-utils_use_build static-libs STATIC)
+ -DBUILD_DATA=OFF
+ -DBUILD_SEPARATE_LIBS=OFF
+ $(cmake-utils_use_build test TEST)
+ -DLIB_INSTALL_DIR=/usr/$(get_libdir)
+ )
+ cmake-utils_src_configure
+}