From 566eb1f3e048489464d32ce71aaaa75cd06466af Mon Sep 17 00:00:00 2001 From: "Ronny (tastytea) Gutbrod" Date: Tue, 25 May 2021 07:57:23 +0200 Subject: [PATCH] app-text/epubgrep: New package. Search tool for EPUB e-books. Signed-off-by: Ronny (tastytea) Gutbrod --- app-text/epubgrep/Manifest | 1 + app-text/epubgrep/epubgrep-0.1.3.ebuild | 43 +++++++++++++++++++++++++ app-text/epubgrep/metadata.xml | 15 +++++++++ 3 files changed, 59 insertions(+) create mode 100644 app-text/epubgrep/Manifest create mode 100644 app-text/epubgrep/epubgrep-0.1.3.ebuild create mode 100644 app-text/epubgrep/metadata.xml diff --git a/app-text/epubgrep/Manifest b/app-text/epubgrep/Manifest new file mode 100644 index 0000000000..a6bef4a145 --- /dev/null +++ b/app-text/epubgrep/Manifest @@ -0,0 +1 @@ +DIST epubgrep-0.1.3.tar.gz 33668 BLAKE2B 717de938e4830dbf970b11e67dd361e619ab77c83bfe4e3cb94dc3654317099e7bafb8029ab7899e83c16eb0d25f6bd41ac28d72c28b8826c1d6cd25d24b401b SHA512 c321578607400e365143111324851497681cc0464e1ddc8362dbbc3b76096b379d080800efd11e217a643ced14b6032fd16b8f0e01922e248926ac2e3840d659 diff --git a/app-text/epubgrep/epubgrep-0.1.3.ebuild b/app-text/epubgrep/epubgrep-0.1.3.ebuild new file mode 100644 index 0000000000..bd43f7caaf --- /dev/null +++ b/app-text/epubgrep/epubgrep-0.1.3.ebuild @@ -0,0 +1,43 @@ +# Copyright 2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit cmake + +DESCRIPTION="Search tool for EPUB ebooks" +HOMEPAGE="https://schlomp.space/tastytea/epubgrep" +SRC_URI="https://schlomp.space/tastytea/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz" +S="${WORKDIR}/${PN}" + +LICENSE="AGPL-3" +SLOT="0" +KEYWORDS="~amd64" +IUSE="test" +RESTRICT="!test? ( test )" + +RDEPEND=" + dev-libs/boost[nls] + app-arch/libarchive[bzip2,iconv,lzma,zlib] + dev-libs/libfmt +" +DEPEND=" + ${RDEPEND} + test? ( dev-cpp/catch ) +" +BDEPEND=" + sys-devel/gettext + app-text/asciidoc +" + +src_configure() { + local mycmakeargs=( + "-DWITH_TESTS=$(usex test)" + ) + + cmake_src_configure +} + +src_test() { + BUILD_DIR="${BUILD_DIR}/tests" cmake_src_test +} diff --git a/app-text/epubgrep/metadata.xml b/app-text/epubgrep/metadata.xml new file mode 100644 index 0000000000..8f792c266f --- /dev/null +++ b/app-text/epubgrep/metadata.xml @@ -0,0 +1,15 @@ + + + + + gentoo@tastytea.de + Ronny (tastytea) Gutbrod + + + + tastytea + tastytea@tastytea.de + + https://schlomp.space/tastytea/epubgrep/issues + +