commit: cc28e407fe54bb02a62ac25b2b403903c428967e Author: Takuya Wakazono <pastalian46 <AT> gmail <DOT> com> AuthorDate: Wed Dec 18 14:54:03 2024 +0000 Commit: Takuya Wakazono <pastalian46 <AT> gmail <DOT> com> CommitDate: Wed Dec 18 14:54:03 2024 +0000 URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=cc28e407
www-misc/libkiwix: add 14.0.0 Closes: https://bugs.gentoo.org/934945 Closes: https://bugs.gentoo.org/937553 Signed-off-by: Takuya Wakazono <pastalian46 <AT> gmail.com> www-misc/libkiwix/Manifest | 1 + www-misc/libkiwix/libkiwix-14.0.0.ebuild | 51 ++++++++++++++++++++++++++++++++ 2 files changed, 52 insertions(+) diff --git a/www-misc/libkiwix/Manifest b/www-misc/libkiwix/Manifest index d515fe8e6..5feb7a366 100644 --- a/www-misc/libkiwix/Manifest +++ b/www-misc/libkiwix/Manifest @@ -1,2 +1,3 @@ DIST libkiwix-12.1.0.tar.gz 1098820 BLAKE2B 4dc0fa936daa1693bb398d18588d65bb22e9c60c7246eaa77c0fc198fa4d818c0a3e821e629134601aca9104d131a824677ec4f0ec785f1298cfc760c458c7f8 SHA512 9d4df7e46693a5aec545087ce37a2e83dfa3173a98e9d64cbbf364e1fd31143c30e856973cf12b0a2f608661d78a9453d8b748680c01f48e1df375c7b2b909d5 DIST libkiwix-13.1.0.tar.gz 1136812 BLAKE2B 59d6cb91a61f89904b96ea3e8de531dd5dc44937233df86d4d8e834b8576d3fab39e514eab86a128b714537f58d46c21d2c2c228fc57d4ba4e5dbc43117a474a SHA512 f1ecd14117e6805011dbcc3ec682ea330194433587224f2cc0874d6c9534d948fa1514d9c6c311c022372ab43456e3f5f1bdbf0fb0ef562fcfcfe20696048ade +DIST libkiwix-14.0.0.tar.gz 1149884 BLAKE2B f7a7a263dbbccacd4f3d922d4dfb0c347015ef9fb098c168e96c73b39175b381fe4eef9d0226820397aca37aa75f479a42bddff9d4e9ea59803532949e2e1bd5 SHA512 c0a6675e5add7221b812cdc91bd6212169922be6aea9cdcce34ec10328ae72ce5bc4eb218533172e6e926e58e9c683151b8ef13a489af0712f4c4c067d806e63 diff --git a/www-misc/libkiwix/libkiwix-14.0.0.ebuild b/www-misc/libkiwix/libkiwix-14.0.0.ebuild new file mode 100644 index 000000000..5008e9d5c --- /dev/null +++ b/www-misc/libkiwix/libkiwix-14.0.0.ebuild @@ -0,0 +1,51 @@ +# Copyright 2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{11..13} ) + +inherit meson python-any-r1 + +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" + +LICENSE="GPL-3+" +SLOT="0/14" +KEYWORDS="~amd64" +IUSE="test" +RESTRICT="!test? ( test )" + +COMMON_DEPEND=" + >=app-arch/libzim-9.0.0 + dev-libs/icu:= + dev-libs/pugixml + dev-libs/xapian:= + net-libs/libmicrohttpd:= + net-misc/curl + sys-libs/zlib +" +RDEPEND=" + ${COMMON_DEPEND} + net-misc/aria2[bittorrent,metalink,xmlrpc] +" +DEPEND=" + ${COMMON_DEPEND} + >=dev-cpp/mustache-4.1 +" +BDEPEND=" + ${PYTHON_DEPS} + test? ( dev-cpp/gtest ) +" + +src_prepare() { + default + + # requires PROPERTIES="test_network" + sed -i '/^if build_machine.system/,/endif/d' test/meson.build || die + + if ! use test; then + sed -i "/subdir('test')/d" meson.build || die + fi +}
