commit 3e4e39bac9072d14771dbeb8fe29679ece0eb36b parent 2be9bebdb3d82ab8e2fc6e40d8ac486174acbefa Author: parazyd <parazyd@dyne.org> Date: Wed, 27 Sep 2023 22:59:50 +0200 dev-libs/libzim: Add 8.2.1 Diffstat:
A | dev-libs/libzim/Manifest | | | 1 | + |
A | dev-libs/libzim/libzim-8.2.1.ebuild | | | 34 | ++++++++++++++++++++++++++++++++++ |
2 files changed, 35 insertions(+), 0 deletions(-)
diff --git a/dev-libs/libzim/Manifest b/dev-libs/libzim/Manifest @@ -0,0 +1 @@ +DIST libzim-8.2.1-r1.tar.gz 244944 BLAKE2B b989bc6ae5d84de8f417832078c9b597a70e2cdaffe62ad452d9f36afffe0ac90361c03206da30575195d629e445facb41d9b76cebd49735d0008932a7d66646 SHA512 f26f1a78ed89acbf6f3dc29bb111d0ea5a95939f1f26f9e9b32084fdee4a14f9b2913f41e8f171b56e7339e2fcccd823b931e29ebd6a8b3626bef8d2c0bb421d diff --git a/dev-libs/libzim/libzim-8.2.1.ebuild b/dev-libs/libzim/libzim-8.2.1.ebuild @@ -0,0 +1,34 @@ +# Copyright 2020-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit meson + +DESCRIPTION="reference implementation for the ZIM archive format" +HOMEPAGE="https://wiki.openzim.org/wiki/OpenZIM + https://github.com/openzim/libzim" +SRC_URI="https://github.com/openzim/libzim/archive/refs/tags/${PV}.tar.gz -> ${P}-r1.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64" +IUSE="" + +RDEPEND=" + app-arch/xz-utils + app-arch/zstd + dev-libs/icu + dev-libs/xapian +" + +DEPEND="virtual/pkgconfig" + +src_prepare() { + default + + # Disable GTest automagic: https://github.com/openzim/libzim/issues/757 + sed -i \ + -e "s/gtest_dep = dependency('gtest'/gtest_dep = dependency(''/" \ + meson.build || die +}