1 |
commit: 6e949053fc31bb12f90a0a00d954f21f42d885a5 |
2 |
Author: Ronny (tastytea) Gutbrod <gentoo <AT> tastytea <DOT> de> |
3 |
AuthorDate: Wed Jun 2 07:35:18 2021 +0000 |
4 |
Commit: Andrew Ammerlaan <andrewammerlaan <AT> gentoo <DOT> org> |
5 |
CommitDate: Wed Jun 2 07:35:18 2021 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=6e949053 |
7 |
|
8 |
app-text/epubgrep: Version bump 0.5.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.5.0.ebuild | 47 +++++++++++++++++++++++++++++++++ |
14 |
2 files changed, 48 insertions(+) |
15 |
|
16 |
diff --git a/app-text/epubgrep/Manifest b/app-text/epubgrep/Manifest |
17 |
index 5a283250d..9ca543128 100644 |
18 |
--- a/app-text/epubgrep/Manifest |
19 |
+++ b/app-text/epubgrep/Manifest |
20 |
@@ -1,2 +1,3 @@ |
21 |
DIST epubgrep-0.3.2.tar.gz 241538 BLAKE2B 77de3e45ae79e957bf6ecaaccb55b1944b845894dce9ec2e6eb2f8440d0e90a6ee4185824a04435351726d72ea4cacef2d63d14265ae1f9c952d6ad341126533 SHA512 ea9eb953a05cfa1cb9cf54d27341d1b0af6fb95835495d975405e43c7c01d6c74e69f20e36aaf4ac238e55f9cf0ede7ecb42822d717b40e068e7a6aaef798ec3 |
22 |
DIST epubgrep-0.4.0.tar.gz 247541 BLAKE2B f193ea359edc56343cfaab85b33c52f1fda832e335b58a7d2f6d6b98538870e043d6a1b56e8e3f562bd2dff8ddd809aeacad88bf047b2a6e7933a68b29312f49 SHA512 ae6005b62c8fc0ce8d3ae00fb4c04b2f6d84aca4c3497722be52c064b4403a15bc30aa33b4f59bc834d0501bee984f4df1c4a5c620ad14f83186776c46a73fa5 |
23 |
+DIST epubgrep-0.5.0.tar.gz 253335 BLAKE2B 43a0fff1368a4173797355b8e408ea740ec2810fc13d2a96fb96fda861d076b28c2ce1ce66ddeea64370be21f0873327a96bddca249c73427f6874476dd1d628 SHA512 87deba97675f827dd7e8914b7cf537d903f22a91504e0316e70fd04e567e0282998c729d1a7cef0d0bfaaaa8cf2bd4765afa18c41403248f261bc4240dd08c1a |
24 |
|
25 |
diff --git a/app-text/epubgrep/epubgrep-0.5.0.ebuild b/app-text/epubgrep/epubgrep-0.5.0.ebuild |
26 |
new file mode 100644 |
27 |
index 000000000..35dd9fa50 |
28 |
--- /dev/null |
29 |
+++ b/app-text/epubgrep/epubgrep-0.5.0.ebuild |
30 |
@@ -0,0 +1,47 @@ |
31 |
+# Copyright 2021 Gentoo Authors |
32 |
+# Distributed under the terms of the GNU General Public License v2 |
33 |
+ |
34 |
+EAPI=7 |
35 |
+ |
36 |
+inherit cmake |
37 |
+ |
38 |
+DESCRIPTION="Search tool for EPUB e-books" |
39 |
+HOMEPAGE="https://schlomp.space/tastytea/epubgrep" |
40 |
+SRC_URI="https://schlomp.space/tastytea/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz" |
41 |
+S="${WORKDIR}/${PN}" |
42 |
+ |
43 |
+LICENSE="AGPL-3" |
44 |
+SLOT="0" |
45 |
+KEYWORDS="~amd64" |
46 |
+IUSE="test" |
47 |
+RESTRICT="!test? ( test )" |
48 |
+ |
49 |
+RDEPEND=" |
50 |
+ dev-libs/boost[nls] |
51 |
+ app-arch/libarchive[bzip2,iconv,lzma,zlib] |
52 |
+ dev-libs/libfmt |
53 |
+ dev-libs/pugixml |
54 |
+" |
55 |
+DEPEND=" |
56 |
+ ${RDEPEND} |
57 |
+ dev-cpp/termcolor |
58 |
+ dev-cpp/nlohmann_json |
59 |
+ test? ( dev-cpp/catch ) |
60 |
+" |
61 |
+BDEPEND=" |
62 |
+ sys-devel/gettext |
63 |
+ app-text/asciidoc |
64 |
+" |
65 |
+ |
66 |
+src_configure() { |
67 |
+ local mycmakeargs=( |
68 |
+ "-DWITH_TESTS=$(usex test)" |
69 |
+ "-DFALLBACK_BUNDLED=NO" |
70 |
+ ) |
71 |
+ |
72 |
+ cmake_src_configure |
73 |
+} |
74 |
+ |
75 |
+src_test() { |
76 |
+ BUILD_DIR="${BUILD_DIR}/tests" cmake_src_test |
77 |
+} |