1 # Copyright © 2012, 2014-2015, 2020 Nick Bowler
2 # License GPLv3+: GNU General Public License version 3 or any later version.
3 # This is free software: you are free to change and redistribute it.
4 # There is NO WARRANTY, to the extent permitted by law.
10 DESCRIPTION="An X viewer for PDF files"
11 HOMEPAGE="http://www.foolabs.com/xpdf/"
12 SRC_URI="https://xpdfreader-dl.s3.amazonaws.com/old/$P.tar.gz"
14 LICENSE="|| ( GPL-2 GPL-3 )"
18 DEPEND=">=x11-libs/motif-2.3:0
24 media-fonts/urw-fonts"
26 PATCHES=("$FILESDIR/xpdf-Add-Gentoo-font-path.patch")
29 econf --with-freetype2-includes=${EROOT%/}/usr/include/freetype2
36 dodoc README ANNOUNCE CHANGES
37 newicon xpdf/xpdfIcon.xpm xpdf.xpm
40 newins doc/sample-xpdfrc xpdfrc
41 newdoc doc/sample-xpdfrc xpdfrc.example
43 insinto /usr/share/applications
44 doins "$FILESDIR/xpdf.desktop"