1 |
commit: 20db5ad751285ec579ad6c39343d9cce429197ff |
2 |
Author: Ronny (tastytea) Gutbrod <gentoo <AT> tastytea <DOT> de> |
3 |
AuthorDate: Tue May 25 10:39:46 2021 +0000 |
4 |
Commit: Haelwenn Monnier <contact <AT> hacktivis <DOT> me> |
5 |
CommitDate: Tue May 25 10:42:59 2021 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=20db5ad7 |
7 |
|
8 |
app-text/epubgrep: Version bump 0.2.0. |
9 |
|
10 |
Signed-off-by: Ronny (tastytea) Gutbrod <gentoo <AT> tastytea.de> |
11 |
|
12 |
app-text/epubgrep/Manifest | 1 + |
13 |
app-text/epubgrep/epubgrep-0.2.0.ebuild | 45 +++++++++++++++++++++++++++++++++ |
14 |
2 files changed, 46 insertions(+) |
15 |
|
16 |
diff --git a/app-text/epubgrep/Manifest b/app-text/epubgrep/Manifest |
17 |
index a6bef4a14..c8a012e96 100644 |
18 |
--- a/app-text/epubgrep/Manifest |
19 |
+++ b/app-text/epubgrep/Manifest |
20 |
@@ -1 +1,2 @@ |
21 |
DIST epubgrep-0.1.3.tar.gz 33668 BLAKE2B 717de938e4830dbf970b11e67dd361e619ab77c83bfe4e3cb94dc3654317099e7bafb8029ab7899e83c16eb0d25f6bd41ac28d72c28b8826c1d6cd25d24b401b SHA512 c321578607400e365143111324851497681cc0464e1ddc8362dbbc3b76096b379d080800efd11e217a643ced14b6032fd16b8f0e01922e248926ac2e3840d659 |
22 |
+DIST epubgrep-0.2.0.tar.gz 217269 BLAKE2B 4bf4065009ad4ee0f8963e692ad5c08d04950920b7f7a1ffab6ca8f24fadfc7f48486fe166799e1a984d683af962ef850cafab717eed9b068f1a0918a4faebbd SHA512 ab6d8433db63c7ab2e8c9ec334f573bb81f3d9390124f60d6619d52fe83d4df15abca240c55e74022abd17cf536fa00b31ac32f597a1370f99826bb8a6d5b904 |
23 |
|
24 |
diff --git a/app-text/epubgrep/epubgrep-0.2.0.ebuild b/app-text/epubgrep/epubgrep-0.2.0.ebuild |
25 |
new file mode 100644 |
26 |
index 000000000..46a105b76 |
27 |
--- /dev/null |
28 |
+++ b/app-text/epubgrep/epubgrep-0.2.0.ebuild |
29 |
@@ -0,0 +1,45 @@ |
30 |
+# Copyright 2021 Gentoo Authors |
31 |
+# Distributed under the terms of the GNU General Public License v2 |
32 |
+ |
33 |
+EAPI=7 |
34 |
+ |
35 |
+inherit cmake |
36 |
+ |
37 |
+DESCRIPTION="Search tool for EPUB ebooks" |
38 |
+HOMEPAGE="https://schlomp.space/tastytea/epubgrep" |
39 |
+SRC_URI="https://schlomp.space/tastytea/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz" |
40 |
+S="${WORKDIR}/${PN}" |
41 |
+ |
42 |
+LICENSE="AGPL-3" |
43 |
+SLOT="0" |
44 |
+KEYWORDS="~amd64" |
45 |
+IUSE="test" |
46 |
+RESTRICT="!test? ( test )" |
47 |
+ |
48 |
+RDEPEND=" |
49 |
+ dev-libs/boost[nls] |
50 |
+ app-arch/libarchive[bzip2,iconv,lzma,zlib] |
51 |
+ dev-libs/libfmt |
52 |
+" |
53 |
+DEPEND=" |
54 |
+ ${RDEPEND} |
55 |
+ dev-cpp/termcolor |
56 |
+ test? ( dev-cpp/catch ) |
57 |
+" |
58 |
+BDEPEND=" |
59 |
+ sys-devel/gettext |
60 |
+ app-text/asciidoc |
61 |
+" |
62 |
+ |
63 |
+src_configure() { |
64 |
+ local mycmakeargs=( |
65 |
+ "-DWITH_TESTS=$(usex test)" |
66 |
+ "-DFALLBACK_BUNDLED=NO" |
67 |
+ ) |
68 |
+ |
69 |
+ cmake_src_configure |
70 |
+} |
71 |
+ |
72 |
+src_test() { |
73 |
+ BUILD_DIR="${BUILD_DIR}/tests" cmake_src_test |
74 |
+} |