diff options
Diffstat (limited to 'app-text/fbpdf/fbpdf-0_p20200614.ebuild')
-rw-r--r-- | app-text/fbpdf/fbpdf-0_p20200614.ebuild | 42 |
1 files changed, 42 insertions, 0 deletions
diff --git a/app-text/fbpdf/fbpdf-0_p20200614.ebuild b/app-text/fbpdf/fbpdf-0_p20200614.ebuild new file mode 100644 index 000000000000..964e63527de6 --- /dev/null +++ b/app-text/fbpdf/fbpdf-0_p20200614.ebuild @@ -0,0 +1,42 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit toolchain-funcs vcs-snapshot + +COMMIT="27c9e28e9199a2491d0ee0a885760bedb1d4547b" + +DESCRIPTION="framebuffer pdf and djvu viewer" +HOMEPAGE="https://github.com/aligrudi/fbpdf" + +SRC_URI="https://github.com/aligrudi/fbpdf/archive/${COMMIT}.tar.gz -> ${P}-${COMMIT}.tar.gz" + +LICENSE="BSD ISC" +SLOT="0" +KEYWORDS="~amd64 ~x86" + +RDEPEND=" + >=app-text/mupdf-1.10:0= + app-text/djvu:0= + !media-gfx/fbida[fbcon(-)] +" + +DEPEND="${RDEPEND}" + +BDEPEND="virtual/pkgconfig" + +S=${WORKDIR}/${P}-${COMMIT} + +PATCHES=( + "${FILESDIR}"/${PN}-0_p20190202-use-pkg-config.patch +) + +src_compile() { + emake CC="$(tc-getCC)" CXX="$(tc-getCXX)" CFLAGS="${CFLAGS}" CXXFLAGS="${CXXFLAGS}" LDFLAGS="${LDFLAGS}" +} + +src_install() { + dobin fbpdf fbdjvu + dodoc README +} |