app-text/epubgrep: New package.
Just the git version, releases are on ::guru.
This commit is contained in:
parent
4ec160a5ae
commit
20a9e2ba45
43
app-text/epubgrep/epubgrep-9999.ebuild
Normal file
43
app-text/epubgrep/epubgrep-9999.ebuild
Normal file
@ -0,0 +1,43 @@
|
|||||||
|
# Copyright 2021 Gentoo Authors
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
|
||||||
|
EAPI=7
|
||||||
|
|
||||||
|
inherit cmake git-r3
|
||||||
|
|
||||||
|
DESCRIPTION="Search tool for EPUB e-books"
|
||||||
|
HOMEPAGE="https://schlomp.space/tastytea/epubgrep"
|
||||||
|
EGIT_REPO_URI="https://schlomp.space/tastytea/epubgrep.git"
|
||||||
|
|
||||||
|
LICENSE="AGPL-3"
|
||||||
|
SLOT="0"
|
||||||
|
IUSE="test"
|
||||||
|
RESTRICT="!test? ( test )"
|
||||||
|
|
||||||
|
RDEPEND="
|
||||||
|
dev-libs/boost[nls]
|
||||||
|
app-arch/libarchive[bzip2,iconv,lzma,zlib]
|
||||||
|
dev-libs/libfmt
|
||||||
|
"
|
||||||
|
DEPEND="
|
||||||
|
${RDEPEND}
|
||||||
|
dev-cpp/termcolor
|
||||||
|
test? ( dev-cpp/catch )
|
||||||
|
"
|
||||||
|
BDEPEND="
|
||||||
|
sys-devel/gettext
|
||||||
|
app-text/asciidoc
|
||||||
|
"
|
||||||
|
|
||||||
|
src_configure() {
|
||||||
|
local mycmakeargs=(
|
||||||
|
"-DWITH_TESTS=$(usex test)"
|
||||||
|
"-DFALLBACK_BUNDLED=NO"
|
||||||
|
)
|
||||||
|
|
||||||
|
cmake_src_configure
|
||||||
|
}
|
||||||
|
|
||||||
|
src_test() {
|
||||||
|
BUILD_DIR="${BUILD_DIR}/tests" cmake_src_test
|
||||||
|
}
|
15
app-text/epubgrep/metadata.xml
Normal file
15
app-text/epubgrep/metadata.xml
Normal file
@ -0,0 +1,15 @@
|
|||||||
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||||
|
<pkgmetadata>
|
||||||
|
<maintainer type="person">
|
||||||
|
<email>gentoo@tastytea.de</email>
|
||||||
|
<name>tastytea</name>
|
||||||
|
</maintainer>
|
||||||
|
<upstream>
|
||||||
|
<maintainer>
|
||||||
|
<name>tastytea</name>
|
||||||
|
<email>tastytea@tastytea.de</email>
|
||||||
|
</maintainer>
|
||||||
|
<bugs-to>https://schlomp.space/tastytea/epubgrep/issues</bugs-to>
|
||||||
|
</upstream>
|
||||||
|
</pkgmetadata>
|
Reference in New Issue
Block a user