mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-24 04:59:14 -07:00
app-i18n/librime: add 1.9.0
Closes: https://github.com/gentoo/gentoo/pull/34247 Signed-off-by: Ryan Qian <i@bitbili.net> Signed-off-by: Yixun Lan <dlan@gentoo.org>
This commit is contained in:
@@ -1 +1,2 @@
|
||||
DIST librime-1.7.3.tar.gz 2859513 BLAKE2B 834622860cdc3038d1b983f476bca70f211dfbc3bc2b565a998163e22688841ee3a0c7f9a64bce285e2f3f5b5a9a802bd5506f17904ccb3291babf80d4748fb5 SHA512 8767d17c3d14a5a1bbb8269fab1627b907de72c288b362fdbc6191223937da21e8b18471b4ae8f83ce5afc0ec5c3ab12fbcb49930eb9969c1764c7390d9ee4b0
|
||||
DIST librime-1.9.0.tar.gz 2628091 BLAKE2B 5026fbe537520679b60b7f39cab65e97e175d574ad709e2b09bb5d71f6655f48f9f046d2caeaad73dcd839f58cd76796eded4deb775d6817a99ab7de107187a1 SHA512 7f432bbfeedc0949391fca82ebf080d113089ec9f0ab40f4bc63cf3037052a27b4ef44e55e7fc43b1217cf6635c62be0fb7520c3cc1492ec169fe5ee864e61ea
|
||||
|
||||
51
app-i18n/librime/librime-1.9.0.ebuild
Normal file
51
app-i18n/librime/librime-1.9.0.ebuild
Normal file
@@ -0,0 +1,51 @@
|
||||
# Copyright 2012-2024 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI="8"
|
||||
|
||||
inherit cmake multiprocessing
|
||||
|
||||
DESCRIPTION="RIME (Rime Input Method Engine) core library"
|
||||
HOMEPAGE="https://rime.im/ https://github.com/rime/librime"
|
||||
SRC_URI="https://github.com/rime/librime/archive/refs/tags/${PV}.tar.gz -> ${P}.tar.gz"
|
||||
|
||||
LICENSE="BSD BSD-2 Boost-1.0 MIT"
|
||||
SLOT="0/1-${PV}"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="debug test"
|
||||
RESTRICT="!test? ( test )"
|
||||
|
||||
RDEPEND="
|
||||
dev-cpp/glog:=
|
||||
>=dev-libs/boost-1.74:=
|
||||
app-i18n/opencc:0=
|
||||
dev-cpp/yaml-cpp:0=
|
||||
dev-libs/leveldb:0=
|
||||
dev-libs/marisa:0=
|
||||
"
|
||||
DEPEND="${RDEPEND}
|
||||
test? ( dev-cpp/gtest )
|
||||
"
|
||||
|
||||
DOCS=(CHANGELOG.md README.md)
|
||||
|
||||
src_configure() {
|
||||
local -x CXXFLAGS="${CXXFLAGS}"
|
||||
|
||||
# for glog
|
||||
if use debug; then
|
||||
CXXFLAGS+=" -DDCHECK_ALWAYS_ON"
|
||||
CMAKE_BUILD_TYPE=Debug
|
||||
else
|
||||
CXXFLAGS+=" -DNDEBUG"
|
||||
fi
|
||||
|
||||
local mycmakeargs=(
|
||||
-DBUILD_TEST=$(usex test ON OFF)
|
||||
-DCMAKE_BUILD_PARALLEL_LEVEL=$(makeopts_jobs)
|
||||
-DENABLE_EXTERNAL_PLUGINS=ON
|
||||
-DINSTALL_PRIVATE_HEADERS=ON
|
||||
)
|
||||
|
||||
cmake_src_configure
|
||||
}
|
||||
Reference in New Issue
Block a user