mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-07-10 15:45:15 -04:00
Done via:
```
git grep -l "${name}$" | xargs sed -i -e "s@${name}\$@&:=@"
```
Signed-off-by: Paul Zander <negril.nx+gentoo@gmail.com>
44 lines
791 B
Bash
44 lines
791 B
Bash
# Copyright 2021-2022 Gentoo Authors
|
|
# Distributed under the terms of the GNU General Public License v2
|
|
|
|
EAPI=8
|
|
|
|
inherit cmake
|
|
|
|
DESCRIPTION="Search tool for EPUB e-books"
|
|
HOMEPAGE="https://schlomp.space/tastytea/epubgrep"
|
|
SRC_URI="https://schlomp.space/tastytea/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
|
|
S="${WORKDIR}/${PN}"
|
|
|
|
LICENSE="AGPL-3"
|
|
SLOT="0"
|
|
KEYWORDS="~amd64"
|
|
IUSE="test"
|
|
RESTRICT="!test? ( test )"
|
|
|
|
RDEPEND="
|
|
dev-libs/boost[nls]
|
|
app-arch/libarchive[bzip2,iconv,lzma,zlib(+)]
|
|
dev-libs/libfmt:=
|
|
dev-libs/pugixml
|
|
"
|
|
DEPEND="
|
|
${RDEPEND}
|
|
dev-cpp/termcolor
|
|
dev-cpp/nlohmann_json
|
|
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
|
|
}
|