summaryrefslogtreecommitdiff
blob: 6628294ba749e72bb69e046f84c04fc5e500ba96 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
# Copyright 1999-2019 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=6

inherit autotools

DESCRIPTION="a collection of programs for creating high dynamic range images"
HOMEPAGE="http://comparametric.sourceforge.net/"
SRC_URI="mirror://sourceforge/comparametric/${P}.tgz"

LICENSE="GPL-2"
SLOT="0"
KEYWORDS="amd64 ppc x86"
IUSE=""

RDEPEND="x11-libs/libX11
	sys-libs/zlib
	media-libs/libpng:0=
	virtual/jpeg:0
	sci-libs/fftw:2.1
	media-libs/netpbm"
DEPEND="${RDEPEND}"

PATCHES=(
	"${FILESDIR}/${PN}-2.201-libpng15.patch"
	"${FILESDIR}/${P}-qa-implicit-declarations.patch"
	"${FILESDIR}/${P}-fix-buildsystem.patch"
	"${FILESDIR}/${P}-remove-bits-nan.patch"
)
DOCS=( AUTHORS README README.MORE )

src_prepare() {
	default
	mv configure.{in,ac} || die
	eautoreconf
}