From 7f41d346053630d5343fedb9da63b31258c7d81a Mon Sep 17 00:00:00 2001 From: Andreas Sturmlechner Date: Tue, 21 Jul 2026 12:13:53 +0200 Subject: [PATCH] app-text/libebook: add 0.1.4 Signed-off-by: Andreas Sturmlechner --- app-text/libebook/Manifest | 1 + app-text/libebook/libebook-0.1.4.ebuild | 56 +++++++++++++++++++++++++ 2 files changed, 57 insertions(+) create mode 100644 app-text/libebook/libebook-0.1.4.ebuild diff --git a/app-text/libebook/Manifest b/app-text/libebook/Manifest index 105c5030daaf7..b118b88a59c8e 100644 --- a/app-text/libebook/Manifest +++ b/app-text/libebook/Manifest @@ -1 +1,2 @@ DIST libe-book-0.1.3.tar.xz 416268 BLAKE2B 569bb68603bec5635a7ecdc8312f759816aff3d8e45e0ea9a14dc8c291ebb4dfd8ed430994d255e6be95a6ef4407f459c8d9c3d3945d4fd63841e0401f1c70a2 SHA512 56dfa93816b8a1b7e223bda517ff81547fd7b311c3fe2bea64b12c4290642d4b9ed3778df06c4ee7a65f2b9db57702c00c32aec819efb7820115165af3d5ebdc +DIST libe-book-0.1.4.tar.xz 430872 BLAKE2B 7a5aa2173f49801e7a0674989f00b06d1f114ef1836495164ec69fb3608383c1af77f2d0a20e0253a6a30c4edf9e6beb6807ea2c845053673fc1555bdb91a801 SHA512 3c0c867be58d9f617dc3aec29980b097b188422b8c793f9368ea724be87c738bf1d097148842cff7cba8c618949b3828232e94e4ea9bfbf70571662733ea0ca0 diff --git a/app-text/libebook/libebook-0.1.4.ebuild b/app-text/libebook/libebook-0.1.4.ebuild new file mode 100644 index 0000000000000..02c9e6bf8b8ef --- /dev/null +++ b/app-text/libebook/libebook-0.1.4.ebuild @@ -0,0 +1,56 @@ +# Copyright 1999-2026 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=9 + +MY_P="libe-book-${PV}" +inherit autotools + +DESCRIPTION="Library parsing various ebook formats" +HOMEPAGE="https://sourceforge.net/projects/libebook/" +SRC_URI="https://downloads.sourceforge.net/${PN}/${MY_P}.tar.xz" +S="${WORKDIR}/${MY_P}" + +LICENSE="MPL-2.0" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~loong ~ppc64 ~riscv ~x86" +IUSE="doc test tools" + +RESTRICT="!test? ( test )" + +RDEPEND=" + app-text/liblangtag + dev-libs/icu:= + dev-libs/librevenge + dev-libs/libxml2:= + virtual/zlib:= +" +DEPEND="${RDEPEND} + dev-libs/boost + dev-util/gperf +" +BDEPEND=" + virtual/pkgconfig + doc? ( app-text/doxygen ) + test? ( dev-util/cppunit ) +" + +src_prepare() { + default + eautoreconf +} + +src_configure() { + local myeconfargs=( + --disable-werror + $(use_with doc docs) + $(use_enable test tests) + $(use_with tools) + ) + econf "${myeconfargs[@]}" +} + +src_install() { + default + find "${D}" -name '*.la' -type f -delete || die +}