app-text/libebook: add 0.1.4

Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
This commit is contained in:
Andreas Sturmlechner
2026-07-21 12:13:53 +02:00
parent 32d363d0f3
commit 7f41d34605
2 changed files with 57 additions and 0 deletions

View File

@@ -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

View File

@@ -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
}