You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
gentoo-overlay/app-text/diffpdf/diffpdf-2.1.3.ebuild

38 lines
685 B

# Copyright 1999-2015 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
EAPI=5
inherit qt4-r2 eutils qmake-utils
DESCRIPTION="Program that textually or visually compares two PDF files"
HOMEPAGE="http://www.qtrac.eu/diffpdf.html"
SRC_URI="http://www.qtrac.eu/${P}.tar.gz"
LICENSE="GPL-2"
KEYWORDS="~amd64 ~x86"
SLOT="0"
IUSE=""
DEPEND="
app-text/poppler:=[qt4]
>=dev-qt/qtcore-4.6:4
>=dev-qt/qtgui-4.6:4
"
RDEPEND="${DEPEND}"
DOCS="README"
src_configure() {
$(qt4_get_bindir)/lrelease diffpdf.pro || die 'Generating translations failed'
qt4-r2_src_configure
}
src_install() {
qt4-r2_src_install
dobin diffpdf
doman diffpdf.1
}