Gentoo Archives: gentoo-commits

From: Andrew Ammerlaan <andrewammerlaan@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/proj/guru:master commit in: app-text/epubgrep/
Date: Tue, 25 May 2021 07:46:33
Message-Id: 1621922816.566eb1f3e048489464d32ce71aaaa75cd06466af.andrewammerlaan@gentoo
1 commit: 566eb1f3e048489464d32ce71aaaa75cd06466af
2 Author: Ronny (tastytea) Gutbrod <gentoo <AT> tastytea <DOT> de>
3 AuthorDate: Tue May 25 05:57:23 2021 +0000
4 Commit: Andrew Ammerlaan <andrewammerlaan <AT> gentoo <DOT> org>
5 CommitDate: Tue May 25 06:06:56 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=566eb1f3
7
8 app-text/epubgrep: New package.
9
10 Search tool for EPUB e-books.
11
12 Signed-off-by: Ronny (tastytea) Gutbrod <gentoo <AT> tastytea.de>
13
14 app-text/epubgrep/Manifest | 1 +
15 app-text/epubgrep/epubgrep-0.1.3.ebuild | 43 +++++++++++++++++++++++++++++++++
16 app-text/epubgrep/metadata.xml | 15 ++++++++++++
17 3 files changed, 59 insertions(+)
18
19 diff --git a/app-text/epubgrep/Manifest b/app-text/epubgrep/Manifest
20 new file mode 100644
21 index 000000000..a6bef4a14
22 --- /dev/null
23 +++ b/app-text/epubgrep/Manifest
24 @@ -0,0 +1 @@
25 +DIST epubgrep-0.1.3.tar.gz 33668 BLAKE2B 717de938e4830dbf970b11e67dd361e619ab77c83bfe4e3cb94dc3654317099e7bafb8029ab7899e83c16eb0d25f6bd41ac28d72c28b8826c1d6cd25d24b401b SHA512 c321578607400e365143111324851497681cc0464e1ddc8362dbbc3b76096b379d080800efd11e217a643ced14b6032fd16b8f0e01922e248926ac2e3840d659
26
27 diff --git a/app-text/epubgrep/epubgrep-0.1.3.ebuild b/app-text/epubgrep/epubgrep-0.1.3.ebuild
28 new file mode 100644
29 index 000000000..bd43f7caa
30 --- /dev/null
31 +++ b/app-text/epubgrep/epubgrep-0.1.3.ebuild
32 @@ -0,0 +1,43 @@
33 +# Copyright 2021 Gentoo Authors
34 +# Distributed under the terms of the GNU General Public License v2
35 +
36 +EAPI=7
37 +
38 +inherit cmake
39 +
40 +DESCRIPTION="Search tool for EPUB ebooks"
41 +HOMEPAGE="https://schlomp.space/tastytea/epubgrep"
42 +SRC_URI="https://schlomp.space/tastytea/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
43 +S="${WORKDIR}/${PN}"
44 +
45 +LICENSE="AGPL-3"
46 +SLOT="0"
47 +KEYWORDS="~amd64"
48 +IUSE="test"
49 +RESTRICT="!test? ( test )"
50 +
51 +RDEPEND="
52 + dev-libs/boost[nls]
53 + app-arch/libarchive[bzip2,iconv,lzma,zlib]
54 + dev-libs/libfmt
55 +"
56 +DEPEND="
57 + ${RDEPEND}
58 + test? ( dev-cpp/catch )
59 +"
60 +BDEPEND="
61 + sys-devel/gettext
62 + app-text/asciidoc
63 +"
64 +
65 +src_configure() {
66 + local mycmakeargs=(
67 + "-DWITH_TESTS=$(usex test)"
68 + )
69 +
70 + cmake_src_configure
71 +}
72 +
73 +src_test() {
74 + BUILD_DIR="${BUILD_DIR}/tests" cmake_src_test
75 +}
76
77 diff --git a/app-text/epubgrep/metadata.xml b/app-text/epubgrep/metadata.xml
78 new file mode 100644
79 index 000000000..8f792c266
80 --- /dev/null
81 +++ b/app-text/epubgrep/metadata.xml
82 @@ -0,0 +1,15 @@
83 +<?xml version="1.0" encoding="UTF-8"?>
84 +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
85 +<pkgmetadata>
86 + <maintainer type="person">
87 + <email>gentoo@××××××××.de</email>
88 + <name>Ronny (tastytea) Gutbrod</name>
89 + </maintainer>
90 + <upstream>
91 + <maintainer>
92 + <name>tastytea</name>
93 + <email>tastytea@××××××××.de</email>
94 + </maintainer>
95 + <bugs-to>https://schlomp.space/tastytea/epubgrep/issues</bugs-to>
96 + </upstream>
97 +</pkgmetadata>