diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2019-02-20 15:11:50 +0000 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2019-02-20 15:11:50 +0000 |
commit | 16449a80e28af2209916cc66d19c9a44ca2b90d9 (patch) | |
tree | b4cfe2332c7a6c5da27b6985bf05db4508df1a92 /app-text/diff-pdf/diff-pdf-0.3.ebuild | |
parent | 79599515788b85b18aa655e7b7f8cc05c1bbddd8 (diff) |
gentoo resync : 20.02.2019
Diffstat (limited to 'app-text/diff-pdf/diff-pdf-0.3.ebuild')
-rw-r--r-- | app-text/diff-pdf/diff-pdf-0.3.ebuild | 39 |
1 files changed, 39 insertions, 0 deletions
diff --git a/app-text/diff-pdf/diff-pdf-0.3.ebuild b/app-text/diff-pdf/diff-pdf-0.3.ebuild new file mode 100644 index 000000000000..1f289d32bcb5 --- /dev/null +++ b/app-text/diff-pdf/diff-pdf-0.3.ebuild @@ -0,0 +1,39 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +# No EAPI=7 support in wxwidgets.eclass. +EAPI=6 + +inherit wxwidgets + +DESCRIPTION="A simple tool for visually comparing two PDF files" +HOMEPAGE="http://vslavik.github.io/${PN}/ https://github.com/vslavik/${PN}/" +SRC_URI="https://github.com/vslavik/${PN}/releases/download/v${PV}/${P}.tar.gz" + +# The COPYING.icons file states that two icons were taken from +# version 2.16.5 of GTK+, which is licensed LGPL-2+. +LICENSE="GPL-2+ LGPL-2+" +SLOT="0" +KEYWORDS="~amd64" +IUSE="" + +# The build system checks for "poppler-glib", which is provided only +# when app-text/poppler is built with USE=cairo. Moreover the glib ABI +# of poppler is relatively stable, and I can only assume that diff-pdf +# uses that rather than the low-level libpoppler.so API. Since the +# subslot on app-text/poppler is ONLY for the low-level API, we +# therefore don't need a subslot dependency on app-text/poppler. +# +# Since diff-pdf.cpp includes glib.h directly, I've included +# dev-libs/glib as an explicit dependency. Ditto for x11-libs/cairo. +DEPEND="app-text/poppler[cairo] + dev-libs/glib + x11-libs/cairo + x11-libs/wxGTK:3.0[X]" +RDEPEND="${DEPEND}" + +src_configure() { + WX_GTK_VER="3.0" + setup-wxwidgets + default +} |