diff options
-rw-r--r-- | app-text/fbpdf/Manifest | 1 | ||||
-rw-r--r-- | app-text/fbpdf/fbpdf-0_p20200614.ebuild | 42 |
2 files changed, 43 insertions, 0 deletions
diff --git a/app-text/fbpdf/Manifest b/app-text/fbpdf/Manifest index cc7b093861d2..ef0e2b843e0c 100644 --- a/app-text/fbpdf/Manifest +++ b/app-text/fbpdf/Manifest @@ -1 +1,2 @@ DIST fbpdf-0_p20190202-dfe9f0067549f759cdc04f2f62b4f89cd6e1b199.tar.gz 7874 BLAKE2B 873da768b0152559536c73b7ed575c3457efe184934a38d0a9600412ac3a8616297194ab045be1d7eddb470d8d73ead4c655797fd7ba1efe6f2be9a19a5318b4 SHA512 f216a0993573e4e491845638b72ff019910f8a333ed618158e81bcb3f68619596f0354b0039c38c7619dd65c040aa599ed8923ac974717b86fb431e5c6954f3b +DIST fbpdf-0_p20200614-27c9e28e9199a2491d0ee0a885760bedb1d4547b.tar.gz 8432 BLAKE2B 0004f8558b86c349744a37099ef86963d368ee9dedeefca861761f88adc3c94a3db9f46c9e1a6f6026357512a8320b956cd7c48108aa6c6657b84193fd5d4b49 SHA512 e037cd536e3a26b6d2364eb52803de67606bac418db8691c7530a889c95dd1f8661985021237ce7fea95f56ab5a308caf8d470c6c036b51b17211f9c200aba51 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 +} |