diff options
author | 2024-07-21 22:56:30 +0800 | |
---|---|---|
committer | 2024-07-21 20:41:19 +0300 | |
commit | 277158c23f4acd67f28e1fe4094f82544ebaf10f (patch) | |
tree | bea5c99f256943119bcdcbd136e522fd50dbf724 /app-i18n | |
parent | dev-util/kdevelop-pg-qt: Port away from deprecated QString::midRef (diff) | |
download | gentoo-277158c23f4acd67f28e1fe4094f82544ebaf10f.tar.gz gentoo-277158c23f4acd67f28e1fe4094f82544ebaf10f.tar.bz2 gentoo-277158c23f4acd67f28e1fe4094f82544ebaf10f.zip |
app-i18n/librime: add 1.11.2
Signed-off-by: Yongxiang Liang <tanekliang@gmail.com>
Closes: https://github.com/gentoo/gentoo/pull/37654
Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org>
Diffstat (limited to 'app-i18n')
-rw-r--r-- | app-i18n/librime/Manifest | 1 | ||||
-rw-r--r-- | app-i18n/librime/librime-1.11.2.ebuild | 51 | ||||
-rw-r--r-- | app-i18n/librime/metadata.xml | 8 |
3 files changed, 60 insertions, 0 deletions
diff --git a/app-i18n/librime/Manifest b/app-i18n/librime/Manifest index a34fcf54e86f..222df00da0fe 100644 --- a/app-i18n/librime/Manifest +++ b/app-i18n/librime/Manifest @@ -1,2 +1,3 @@ +DIST librime-1.11.2.tar.gz 2635435 BLAKE2B 6106b6934761fd61508756bfcdfc2b892ee6b31eec9816569e9a6b96fd91cf6255f119de23dac70e8b56f06c52f7bd278d9ad2434419681a18d75e2c14b86077 SHA512 7b8ba708489d4d6bd6f71618f3c3270d07e088aae5ecdfcba5128a456dc49d3799e335b3ba386a1894ee01f5c5a51993e0a1821ff46d8addb02d0c8c4aacf5f3 DIST librime-1.7.3.tar.gz 2859513 BLAKE2B 834622860cdc3038d1b983f476bca70f211dfbc3bc2b565a998163e22688841ee3a0c7f9a64bce285e2f3f5b5a9a802bd5506f17904ccb3291babf80d4748fb5 SHA512 8767d17c3d14a5a1bbb8269fab1627b907de72c288b362fdbc6191223937da21e8b18471b4ae8f83ce5afc0ec5c3ab12fbcb49930eb9969c1764c7390d9ee4b0 DIST librime-1.9.0.tar.gz 2628091 BLAKE2B 5026fbe537520679b60b7f39cab65e97e175d574ad709e2b09bb5d71f6655f48f9f046d2caeaad73dcd839f58cd76796eded4deb775d6817a99ab7de107187a1 SHA512 7f432bbfeedc0949391fca82ebf080d113089ec9f0ab40f4bc63cf3037052a27b4ef44e55e7fc43b1217cf6635c62be0fb7520c3cc1492ec169fe5ee864e61ea diff --git a/app-i18n/librime/librime-1.11.2.ebuild b/app-i18n/librime/librime-1.11.2.ebuild new file mode 100644 index 000000000000..1c2d933f72f8 --- /dev/null +++ b/app-i18n/librime/librime-1.11.2.ebuild @@ -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 ~loong ~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 +} diff --git a/app-i18n/librime/metadata.xml b/app-i18n/librime/metadata.xml index 83e4cd488c42..03b3e258cde1 100644 --- a/app-i18n/librime/metadata.xml +++ b/app-i18n/librime/metadata.xml @@ -1,6 +1,14 @@ <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd"> <pkgmetadata> + <maintainer type="person" proxied="yes"> + <email>tanekliang@gmail.com</email> + <name>Yongxiang Liang</name> + </maintainer> + <maintainer type="project" proxied="proxy"> + <email>proxy-maint@gentoo.org</email> + <name>Proxy Maintainers</name> + </maintainer> <maintainer type="person"> <email>dlan@gentoo.org</email> <name>Yixun Lan</name> |