dev-db/pgroonga: new package, add 4.1.0
Signed-off-by: Yongxiang Liang <tanekliang@gmail.com>
This commit is contained in:
1 parent
de9b9677a7
commit
adc0414fc4
4 files changed
+85
No files matched your search
@@ -912,6 +912,12 @@ use_latest_release = true
|
|||||||
prefix = "v"
|
prefix = "v"
|
||||||
github_account = ["CHN-beta", "gouwazi"]
|
github_account = ["CHN-beta", "gouwazi"]
|
||||||
|
|
||||||
|
["dev-db/pgroonga"]
|
||||||
|
source = "github"
|
||||||
|
github = "pgroonga/pgroonga"
|
||||||
|
use_latest_release = true
|
||||||
|
github_account = ["liangyongxiang"]
|
||||||
|
|
||||||
["dev-debug/lldb-mi"]
|
["dev-debug/lldb-mi"]
|
||||||
source = "github"
|
source = "github"
|
||||||
github = "lldb-tools/lldb-mi"
|
github = "lldb-tools/lldb-mi"
|
||||||
|
|||||||
@@ -0,0 +1 @@
|
|||||||
|
DIST pgroonga-4.1.0.tar.gz 484023 BLAKE2B 4d5aea1d962e6bc1f37e2e44236513a5c63a8b5a9ba715c5c834cd44b7e9d85db437092510f50b8d1920aa403a924f7a0a0d65e2fe4effe0646074667e52f20f SHA512 68cb4e0fb0ad3dc9e5ba41e77932a24804c0408688a0730d6d12814f99f2702b3e0f4ca3578fb333223bbca8727157b0c3c473b339b0b4991cac900864d2f452
|
||||||
@@ -0,0 +1,14 @@
|
|||||||
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
|
||||||
|
<pkgmetadata>
|
||||||
|
<maintainer type="person">
|
||||||
|
<email>tanekliang@gmail.com</email>
|
||||||
|
<name>Yongxiang Liang</name>
|
||||||
|
</maintainer>
|
||||||
|
<use>
|
||||||
|
<flag name="msgpack">Enable WAL support through <pkg>dev-libs/msgpack</pkg></flag>
|
||||||
|
</use>
|
||||||
|
<upstream>
|
||||||
|
<remote-id type="github">pgroonga/pgroonga</remote-id>
|
||||||
|
</upstream>
|
||||||
|
</pkgmetadata>
|
||||||
@@ -0,0 +1,64 @@
|
|||||||
|
# Copyright 2026 Gentoo Authors
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
|
||||||
|
EAPI=8
|
||||||
|
|
||||||
|
POSTGRES_COMPAT=( 14 15 16 17 18 )
|
||||||
|
POSTGRES_USEDEP="server"
|
||||||
|
|
||||||
|
inherit postgres-multi meson
|
||||||
|
|
||||||
|
DESCRIPTION="Full-text search extension for PostgreSQL usable with all languages"
|
||||||
|
HOMEPAGE="https://pgroonga.github.io/"
|
||||||
|
SRC_URI="https://github.com/pgroonga/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
|
||||||
|
|
||||||
|
LICENSE="POSTGRESQL"
|
||||||
|
SLOT="0"
|
||||||
|
KEYWORDS="~amd64"
|
||||||
|
IUSE="+msgpack"
|
||||||
|
REQUIRED_USE="${POSTGRES_REQ_USE}"
|
||||||
|
|
||||||
|
DEPEND="
|
||||||
|
>=app-text/groonga-14.1.0
|
||||||
|
dev-libs/xxhash
|
||||||
|
${POSTGRES_DEP}
|
||||||
|
msgpack? ( dev-libs/msgpack:= )
|
||||||
|
"
|
||||||
|
RDEPEND="${DEPEND}"
|
||||||
|
|
||||||
|
# Needs a running PostgreSQL server with pg_regress
|
||||||
|
RESTRICT="test"
|
||||||
|
|
||||||
|
pg_configure() {
|
||||||
|
# multibuild's BUILD_DIR is a copy of the source tree; meson needs a separate dir
|
||||||
|
local BUILD_DIR="${BUILD_DIR}-build"
|
||||||
|
local emesonargs=(
|
||||||
|
-Dpg_config="${PG_CONFIG}"
|
||||||
|
-Dmessage_pack=$(usex msgpack enabled disabled)
|
||||||
|
-Dxxhash=enabled
|
||||||
|
-Dtest=false
|
||||||
|
)
|
||||||
|
meson_src_configure
|
||||||
|
}
|
||||||
|
|
||||||
|
src_configure() {
|
||||||
|
postgres-multi_foreach pg_configure
|
||||||
|
}
|
||||||
|
|
||||||
|
pg_compile() {
|
||||||
|
local BUILD_DIR="${BUILD_DIR}-build"
|
||||||
|
meson_src_compile
|
||||||
|
}
|
||||||
|
|
||||||
|
src_compile() {
|
||||||
|
postgres-multi_foreach pg_compile
|
||||||
|
}
|
||||||
|
|
||||||
|
pg_install() {
|
||||||
|
local BUILD_DIR="${BUILD_DIR}-build"
|
||||||
|
meson_src_install
|
||||||
|
}
|
||||||
|
|
||||||
|
src_install() {
|
||||||
|
postgres-multi_foreach pg_install
|
||||||
|
}
|
||||||
Reference in new issue
Block a user