summaryrefslogtreecommitdiff
path: root/app-i18n/librime-lua
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2024-08-30 12:00:55 +0100
committerV3n3RiX <venerix@koprulu.sector>2024-08-30 12:00:55 +0100
commit2e8abb8c82f14dd064991a1afd337b2f022b37f6 (patch)
treed600b9d779be602cd4b6e93bf715ec8fba07624c /app-i18n/librime-lua
parentadcf4f8116a4a850dae301fb4dbcd7b71cb35975 (diff)
gentoo auto-resync : 30:08:2024 - 12:00:55
Diffstat (limited to 'app-i18n/librime-lua')
-rw-r--r--app-i18n/librime-lua/Manifest4
-rw-r--r--app-i18n/librime-lua/librime-lua-20240819212322.ebuild49
-rw-r--r--app-i18n/librime-lua/librime-lua-99999999999999.ebuild9
3 files changed, 54 insertions, 8 deletions
diff --git a/app-i18n/librime-lua/Manifest b/app-i18n/librime-lua/Manifest
index f0f66d26e827..6184e29aec3a 100644
--- a/app-i18n/librime-lua/Manifest
+++ b/app-i18n/librime-lua/Manifest
@@ -1,4 +1,6 @@
DIST librime-lua-20211030072627.tar.gz 27894 BLAKE2B a527e865a9945aa7d56cce3905bc80156b60ebf6323828ca40999cb73ebe8d8f66ddf6b0a1d6d5904f2bc754b5f8fe6ac1f5ecdc56351c2222a21429a0c2b701 SHA512 b15f85b0a18e5e05fa691a84aef7cf3689b4a5271a1d5b6f78ea42488f6dbe4dfc56a91fa547ca3636269b9c898d646d24d3a160096ace9927901f9fdba06e9c
+DIST librime-lua-20240819212322.tar.gz 45085 BLAKE2B 3f5d6f5282def197477ea45daadf56be22a41f3bc0f2d9254ec6c3c95d16a19ca63de5f8041c44547bc736146ad804ab6a3e95e19d49c3f344d36e083e173c9b SHA512 65177c6ab36e16393c0412fd75cbd1b7e8b45cbad0129743bee101db47d4575e45846709d7a76be59c51fed04a0fb97fa872750e0762e04774204ddbc8519831
EBUILD librime-lua-20211030072627.ebuild 1404 BLAKE2B 4fcb8728741f0b2c7e74f1789a0bb855ab992a610a405015a0e026a383af077aa33ffdaeb62cef1a26f0cff0555ab4ae982ac4032b5c742282241d06cb57b61e SHA512 791d7cbc9d4c7df43da783a05c0d9e17439970e80287249ebbaa13c45a9896fbb47de43d038ca799372aaccea2e1dfed6d6bf7231db8c58ed3fabcd84f696071
-EBUILD librime-lua-99999999999999.ebuild 1341 BLAKE2B 084fc35e63bfee88ccae0079346afe6db06c94ddf92ff09c59d5ce8091f48bb0949476d6fba87760deef4dfc0ff7f7fb430176cb89bd35971bb95d27547923e3 SHA512 41061d67933983f942174488723604266aa521a6e22133ed68e43541d7f765bb2ba06f242f2ad7b7157a9050b2207b67ce6daef00540781c39a603deb25f7e1a
+EBUILD librime-lua-20240819212322.ebuild 1368 BLAKE2B b3ce9a300de33cb758131dc1ae2c6bd99ec4b9baa55c6a6a363d23cd003dbaae5f699ea25ec70c76b6894cffab5a15bd0fa6aef12d5e50aa9729b9ad9c917a26 SHA512 55810c3e7e6b995972c1f656d02b86993efa8a25bddcef76465b73aedfa380324129b150052c2b71dc250d10d810e6bc3eeae8ef460ccaede1569b08053abd05
+EBUILD librime-lua-99999999999999.ebuild 1293 BLAKE2B ac05743761ecf9087e39cd8dc03f8c82a945260ad990045526d0f48af2a4cd77b6f71315756cd7eff5c2b403a26fa852f4630f24a8cf902867f39d2db43ac20b SHA512 ccdaee593a3b6e076153c59f422ee96d0b71ac5fe53d167c48bcfb90d32b114f23f04e9fbdacd2bd279a9be67c9c580134eb6e8b4ce8b99499f3b27915a039e5
MISC metadata.xml 320 BLAKE2B 61a14fae790fd4964f1f8c71f0bae8c001172b3c29b27b5ad91b031defa5ee41f8ed6271f701b7b946e4b3a6a43b554009526519634c271aae1a96e468debe3d SHA512 1ff24864f0309e227ae66fb6b0f66772f43cc6db4280613fba36aa6540a4959bc2c9bf6d179147cf6d04e3500459be0de327e333d24c830f3a201aebabc31388
diff --git a/app-i18n/librime-lua/librime-lua-20240819212322.ebuild b/app-i18n/librime-lua/librime-lua-20240819212322.ebuild
new file mode 100644
index 000000000000..d1f5dd7e4886
--- /dev/null
+++ b/app-i18n/librime-lua/librime-lua-20240819212322.ebuild
@@ -0,0 +1,49 @@
+# Copyright 2020-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI="7"
+LUA_COMPAT=( lua5-{3..4} )
+
+inherit cmake lua-single
+
+if [[ "${PV}" == "99999999999999" ]]; then
+ inherit git-r3
+
+ EGIT_REPO_URI="https://github.com/hchunhui/librime-lua"
+else
+ LIBRIME_LUA_GIT_REVISION="fa6563cf7b40f3bfbf09e856420bff8de6820558"
+fi
+
+DESCRIPTION="Lua module for RIME"
+HOMEPAGE="https://github.com/hchunhui/librime-lua"
+if [[ "${PV}" != "99999999999999" ]]; then
+ SRC_URI="https://github.com/hchunhui/${PN}/archive/${LIBRIME_LUA_GIT_REVISION}.tar.gz -> ${P}.tar.gz"
+fi
+
+LICENSE="BSD MIT"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~ppc64 ~x86"
+REQUIRED_USE="${LUA_REQUIRED_USE}"
+
+RDEPEND=">=app-i18n/librime-1.6:0=
+ ${LUA_DEPS}"
+DEPEND="${RDEPEND}
+ dev-libs/boost:0"
+
+if [[ "${PV}" != "99999999999999" ]]; then
+ S="${WORKDIR}/${PN}-${LIBRIME_LUA_GIT_REVISION}"
+fi
+
+src_prepare() {
+ sed \
+ -e "1icmake_minimum_required(VERSION 3.0)\nproject(${PN})\n" \
+ -e "s/ PARENT_SCOPE//" \
+ -e "\$a\\\n" \
+ -e "\$aadd_library(\${plugin_modules} MODULE \${plugin_objs})" \
+ -e "\$aset_target_properties(\${plugin_modules} PROPERTIES PREFIX \"\")" \
+ -e "\$atarget_link_libraries(\${plugin_modules} rime \${plugin_deps})" \
+ -e "\$ainstall(TARGETS \${plugin_modules} DESTINATION $(get_libdir)/rime-plugins)" \
+ -i CMakeLists.txt || die
+
+ cmake_src_prepare
+}
diff --git a/app-i18n/librime-lua/librime-lua-99999999999999.ebuild b/app-i18n/librime-lua/librime-lua-99999999999999.ebuild
index 2211e7aea769..9f01797781a9 100644
--- a/app-i18n/librime-lua/librime-lua-99999999999999.ebuild
+++ b/app-i18n/librime-lua/librime-lua-99999999999999.ebuild
@@ -1,4 +1,4 @@
-# Copyright 2020-2022 Gentoo Authors
+# Copyright 2020-2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI="7"
@@ -16,19 +16,14 @@ fi
DESCRIPTION="Lua module for RIME"
HOMEPAGE="https://github.com/hchunhui/librime-lua"
-if [[ "${PV}" == "99999999999999" ]]; then
- SRC_URI=""
-else
+if [[ "${PV}" != "99999999999999" ]]; then
SRC_URI="https://github.com/hchunhui/${PN}/archive/${LIBRIME_LUA_GIT_REVISION}.tar.gz -> ${P}.tar.gz"
fi
LICENSE="BSD MIT"
SLOT="0"
-KEYWORDS=""
-IUSE=""
REQUIRED_USE="${LUA_REQUIRED_USE}"
-BDEPEND=""
RDEPEND=">=app-i18n/librime-1.6:0=
${LUA_DEPS}"
DEPEND="${RDEPEND}