Gentoo Archives: gentoo-commits

From: Ronny Gutbrod <gentoo@××××××××.de>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/proj/guru:dev commit in: app-text/epubgrep/
Date: Tue, 16 Aug 2022 19:10:44
Message-Id: 1660677023.1af8f839410c3aeca025719d3bb8e969e43c2893.tastytea@gentoo
1 commit: 1af8f839410c3aeca025719d3bb8e969e43c2893
2 Author: Ronny (tastytea) Gutbrod <gentoo <AT> tastytea <DOT> de>
3 AuthorDate: Tue Aug 16 19:08:14 2022 +0000
4 Commit: Ronny Gutbrod <gentoo <AT> tastytea <DOT> de>
5 CommitDate: Tue Aug 16 19:10:23 2022 +0000
6 URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=1af8f839
7
8 app-text/epubgrep: add 0.6.2
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.6.2.ebuild | 43 +++++++++++++++++++++++++++++++++
14 2 files changed, 44 insertions(+)
15
16 diff --git a/app-text/epubgrep/Manifest b/app-text/epubgrep/Manifest
17 index 7890d34c7..75779a342 100644
18 --- a/app-text/epubgrep/Manifest
19 +++ b/app-text/epubgrep/Manifest
20 @@ -1,2 +1,3 @@
21 DIST epubgrep-0.5.1.tar.gz 269799 BLAKE2B 11f67e7584a33d0ba4249e2b8d210c3d74d67a6d6f5a44b2ed8f6d50d52e6ceb4f6db18458afcefa004b185acf4848e724da85286ec7c9ee155dafc4c76f6668 SHA512 dc8550f0802ce92344c7f24d2ffb57c656bef81914414e47310c703ad5c302d1508b3cf3b28459a939156dc5772a702a6a28a8ec28a946218c541c4e690da3c5
22 DIST epubgrep-0.6.0.tar.gz 271553 BLAKE2B 6693c6bb61cf8b778145b5dcf1976ecf17716e8a42e01f9754e4fd82a72c136a09baf12f197029a84aeea727af2d95d4a56aacaf9b4aac5bae81e3ed6b356226 SHA512 4e28c041d434d85ea8dfa4c43f3e0ae7263e11714330ead356b782968ec96642baefbb4d2f37d28cabfd0e53610edb04ec8409dff7232a970f01eb8a5755befe
23 +DIST epubgrep-0.6.2.tar.gz 274513 BLAKE2B 74b9ffda1ad4a3a70e2d501b91967a842fcad18dd3227118e83b69248196a2cc832f297467c855d2ba6c391bae886978a7f1ee10cb466e2ab639d1e6a8c73b5e SHA512 9caee8565b77198aa853bfb3d2a18f5566d16b10b4e3911a5ab73b5740a8b3dc7f67978e8630167d0768e638dc8b42452164421c8914e63f990676f4e5c801bb
24
25 diff --git a/app-text/epubgrep/epubgrep-0.6.2.ebuild b/app-text/epubgrep/epubgrep-0.6.2.ebuild
26 new file mode 100644
27 index 000000000..e4e089cbc
28 --- /dev/null
29 +++ b/app-text/epubgrep/epubgrep-0.6.2.ebuild
30 @@ -0,0 +1,43 @@
31 +# Copyright 2021-2022 Gentoo Authors
32 +# Distributed under the terms of the GNU General Public License v2
33 +
34 +EAPI=8
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 +}