Contents of /trunk/extras/openexr/openexr-2.2.1-r1.smage2
Parent Directory | Revision Log
Revision 30332 -
(show annotations)
(download)
Mon Dec 4 12:21:02 2017 UTC (6 years, 9 months ago) by niro
File size: 1126 byte(s)
Mon Dec 4 12:21:02 2017 UTC (6 years, 9 months ago) by niro
File size: 1126 byte(s)
auto added: ver bump to 2.2.1-r1
1 | # $Id$ |
2 | |
3 | PNAME="openexr" |
4 | PVER="2.2.1" |
5 | PBUILD="r1" |
6 | |
7 | PCAT="media-libs" |
8 | |
9 | DESCRIPTION="ILM's OpenEXR high dynamic-range image file format libraries." |
10 | HOMEPAGE="http://openexr.com/" |
11 | |
12 | DEPEND=">= sys-libs/libstdc++-5.3 |
13 | >= media-libs/ilmbase-2.2" |
14 | |
15 | SDEPEND=">= dev-util/pkgconfig-0.25" |
16 | |
17 | SRCFILE="${PNAME}-${PVER}.tar.gz" |
18 | SRCDIR="${BUILDDIR}/${PNAME}-${PVER}" |
19 | |
20 | sminclude multilib mbuild mtools |
21 | msetfeature "!check" # fails atm |
22 | |
23 | SRC_URI=( |
24 | http://download.savannah.nongnu.org/releases/${PNAME}/${SRCFILE} |
25 | mirror://${PNAME}/${SRCFILE} |
26 | mirror://${PNAME}/${PNAME}-2.2.0-build-pic.patch |
27 | ) |
28 | |
29 | UP2DATE="updatecmd http://download.savannah.gnu.org/releases/${PNAME} | grep ${PNAME}-[0-9] | lasttarball gz" |
30 | |
31 | src_prepare() |
32 | { |
33 | munpack ${SRCFILE} || die |
34 | |
35 | # fixes PIC build issues |
36 | # https://github.com/openexr/openexr/issues/128 |
37 | mpatch ${PNAME}-2.2.0-build-pic.patch || die |
38 | } |
39 | |
40 | src_compile() |
41 | { |
42 | mconfigure --disable-imfexamples || die |
43 | mmake || die |
44 | } |
45 | |
46 | src_install() |
47 | { |
48 | mmake DESTDIR=${BINDIR} install || die |
49 | |
50 | # remove unwanted stuff |
51 | mdelete -r /usr/share/doc/OpenEXR\* || die |
52 | |
53 | minstalldocs AUTHORS COPYING ChangeLog LICENSE NEWS README || die |
54 | } |