diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2018-07-14 21:03:06 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2018-07-14 21:03:06 +0100 |
commit | 8376ef56580626e9c0f796d5b85b53a0a1c7d5f5 (patch) | |
tree | 7681bbd4e8b05407772df40a4bf04cbbc8afc3fa /app-text/diffpdf/diffpdf-2.1.3-r2.ebuild | |
parent | 30a9caf154332f12ca60756e1b75d2f0e3e1822d (diff) |
gentoo resync : 14.07.2018
Diffstat (limited to 'app-text/diffpdf/diffpdf-2.1.3-r2.ebuild')
-rw-r--r-- | app-text/diffpdf/diffpdf-2.1.3-r2.ebuild | 41 |
1 files changed, 41 insertions, 0 deletions
diff --git a/app-text/diffpdf/diffpdf-2.1.3-r2.ebuild b/app-text/diffpdf/diffpdf-2.1.3-r2.ebuild new file mode 100644 index 000000000000..379468357300 --- /dev/null +++ b/app-text/diffpdf/diffpdf-2.1.3-r2.ebuild @@ -0,0 +1,41 @@ +# Copyright 1999-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +inherit desktop qmake-utils + +DESCRIPTION="Program that textually or visually compares two PDF files" +HOMEPAGE="https://www.qtrac.eu/diffpdf.html" +SRC_URI="http://www.qtrac.eu/${P}.tar.gz" + +LICENSE="GPL-2" +KEYWORDS="~amd64 ~x86" +SLOT="0" +IUSE="" + +RDEPEND=" + app-text/poppler[qt5] + dev-qt/qtcore:5 + dev-qt/qtgui:5 + dev-qt/qtprintsupport:5 + dev-qt/qtwidgets:5 +" +DEPEND="${RDEPEND} + dev-qt/linguist-tools:5 +" + +PATCHES=( "${FILESDIR}"/${P}-qt5.patch ) + +src_configure() { + $(qt5_get_bindir)/lrelease diffpdf.pro || die "Generating translations failed" + eqmake5 PREFIX="${EPREFIX}/usr" diffpdf.pro +} + +src_install() { + einstalldocs + dobin diffpdf + doman diffpdf.1 + domenu "${FILESDIR}"/${PN}.desktop + newicon images/icon.png ${PN}.png +} |