www-misc/libkiwix: new package

copy from https://data.gpo.zugaina.org/stefantalpalaru/www-misc/kiwix-lib

Signed-off-by: Vitaly Zdanevich <zdanevich.vitaly@ya.ru>
This commit is contained in:
Vitaly Zdanevich
2024-06-20 01:16:23 +04:00
parent 393e07c6b8
commit 818fbb349e
4 changed files with 106 additions and 0 deletions

View File

@@ -0,0 +1,2 @@
DIST libkiwix-12.1.0.tar.gz 1098820 BLAKE2B 4dc0fa936daa1693bb398d18588d65bb22e9c60c7246eaa77c0fc198fa4d818c0a3e821e629134601aca9104d131a824677ec4f0ec785f1298cfc760c458c7f8 SHA512 9d4df7e46693a5aec545087ce37a2e83dfa3173a98e9d64cbbf364e1fd31143c30e856973cf12b0a2f608661d78a9453d8b748680c01f48e1df375c7b2b909d5
DIST libkiwix-13.1.0.tar.gz 1136812 BLAKE2B 59d6cb91a61f89904b96ea3e8de531dd5dc44937233df86d4d8e834b8576d3fab39e514eab86a128b714537f58d46c21d2c2c228fc57d4ba4e5dbc43117a474a SHA512 f1ecd14117e6805011dbcc3ec682ea330194433587224f2cc0874d6c9534d948fa1514d9c6c311c022372ab43456e3f5f1bdbf0fb0ef562fcfcfe20696048ade

View File

@@ -0,0 +1,46 @@
# Copyright 2020-2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
inherit meson
DESCRIPTION="Kiwix software suite core: code shared by all Kiwix ports"
HOMEPAGE="https://kiwix.org/"
SRC_URI="https://github.com/kiwix/$PN/archive/$PV.tar.gz -> $P.tar.gz"
S="${WORKDIR}/libkiwix-${PV}"
LICENSE="GPL-3"
SLOT="0/12"
KEYWORDS="~amd64"
RDEPEND="
net-misc/aria2[bittorrent,metalink,xmlrpc]
"
DEPEND="
>=app-arch/libzim-8.1.0:=
>=dev-cpp/mustache-4.1
dev-libs/icu
dev-libs/pugixml
net-libs/libmicrohttpd
net-misc/curl
sys-libs/zlib
"
src_prepare() {
default
# disable tests
sed -i \
-e "/subdir('test')/d" \
meson.build || die
}
src_configure() {
local emesonargs=(
-Dwerror=false
)
meson_src_configure
}

View File

@@ -0,0 +1,47 @@
# Copyright 2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
inherit meson
DESCRIPTION="Kiwix software suite core: code shared by all Kiwix ports"
HOMEPAGE="https://kiwix.org/"
SRC_URI="https://github.com/kiwix/$PN/archive/$PV.tar.gz -> $P.tar.gz"
S="${WORKDIR}/libkiwix-${PV}"
LICENSE="GPL-3"
SLOT="0/12"
KEYWORDS="~amd64"
RDEPEND="
net-misc/aria2[bittorrent,metalink,xmlrpc]
"
DEPEND="
>=app-arch/libzim-8.1.0:=
>=dev-cpp/mustache-4.1
dev-libs/icu
dev-libs/pugixml
net-libs/libmicrohttpd
net-misc/curl
sys-libs/zlib
"
src_prepare() {
default
# disable tests
sed -i \
-e "/subdir('test')/d" \
meson.build || die
}
src_configure() {
local emesonargs=(
-Dwerror=false
)
meson_src_configure
}

View File

@@ -0,0 +1,11 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="person" proxied="yes">
<email>zdanevich.vitaly@ya.ru</email>
<name>Vitaly Zdanevich</name>
</maintainer>
<upstream>
<remote-id type="github">nulloy/nulloy</remote-id>
</upstream>
</pkgmetadata>