commit:     bf5b580a8c8789604547da565180411b3b858e02
Author:     Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
AuthorDate: Tue Mar 13 19:31:21 2018 +0000
Commit:     Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
CommitDate: Tue Mar 13 19:34:36 2018 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bf5b580a

app-text/diffpdf: Add missing DEPENDs, switch to https

Closes: https://bugs.gentoo.org/650432
Package-Manager: Portage-2.3.24, Repoman-2.3.6

 app-text/diffpdf/diffpdf-2.1.3-r2.ebuild | 41 ++++++++++++++++++++++++++++++++
 1 file changed, 41 insertions(+)

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 00000000000..37946835730
--- /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
+}

Reply via email to