Annotation of /branches/R11-unstable/extras/fltk/fltk-1.3.3-r1.smage2
Parent Directory | Revision Log
Revision 23567 -
(hide annotations)
(download)
Thu Jan 15 12:02:16 2015 UTC (9 years, 8 months ago) by niro
Original Path: trunk/extras/fltk/fltk-1.3.3-r1.smage2
File size: 1590 byte(s)
Thu Jan 15 12:02:16 2015 UTC (9 years, 8 months ago) by niro
Original Path: trunk/extras/fltk/fltk-1.3.3-r1.smage2
File size: 1590 byte(s)
-fixed SRC_URI
1 | niro | 23565 | # $Id$ |
2 | |||
3 | PNAME="fltk" | ||
4 | niro | 23566 | PVER="1.3.3" |
5 | niro | 23565 | PBUILD="r1" |
6 | |||
7 | PCAT="x11-libs" | ||
8 | |||
9 | DESCRIPTION="C++ user interface toolkit for X and OpenGL." | ||
10 | HOMEPAGE="http://www.fltk.org/" | ||
11 | |||
12 | SRCFILE="${PNAME}-${PVER}-source.tar.gz" | ||
13 | SRCDIR="${BUILDDIR}/${PNAME}-${PVER}" | ||
14 | |||
15 | DEPEND=">= sys-libs/libstdc++-4.8 | ||
16 | >= sys-libs/zlib-1.2 | ||
17 | >= media-libs/glu-9 | ||
18 | >= media-libs/fontconfig-2.11 | ||
19 | >= media-libs/libjpeg-8d | ||
20 | >= media-libs/libpng-1.5 | ||
21 | >= x11-libs/cairo-1.12 | ||
22 | >= x11-libs/libX11-1.6 | ||
23 | >= x11-libs/libXext-1.3 | ||
24 | >= x11-libs/libXft-2.3 | ||
25 | >= x11-libs/libXinerama-1.1 | ||
26 | >= x11-libs/pixman-0.32" | ||
27 | |||
28 | SDEPEND=">= media-libs/alsa-lib-1.0.28" | ||
29 | |||
30 | sminclude mbuild | ||
31 | |||
32 | SRC_URI=( | ||
33 | niro | 23567 | http://fltk.org/pub/${PNAME}/${PVER}/${SRCFILE} |
34 | #http://ftp.easysw.com/pub/${PNAME}/${PVER}/${SRCFILE} | ||
35 | niro | 23565 | mirror://${PNAME}/${SRCFILE} |
36 | mirror://${PNAME}/${PNAME}-1.3.2-as-needed.patch | ||
37 | mirror://${PNAME}/${PNAME}-1.3.2-conf-tests.patch | ||
38 | ) | ||
39 | |||
40 | UP2DATE="updatecmd ${HOMEPAGE}/software.php | grep -- '-source' | sed 's:-source::g' | highesttarball gz" | ||
41 | |||
42 | src_prepare() | ||
43 | { | ||
44 | munpack ${SRCFILE} || die | ||
45 | cd ${SRCDIR} | ||
46 | |||
47 | # fix linking issues with as-needed (cairo not linked in) | ||
48 | mpatch ${PNAME}-1.3.2-as-needed.patch || die | ||
49 | |||
50 | # enable make check and remove tests and documentation from install target | ||
51 | mpatch ${PNAME}-1.3.2-conf-tests.patch || die | ||
52 | |||
53 | mautoreconf || die | ||
54 | } | ||
55 | |||
56 | src_compile() | ||
57 | { | ||
58 | cd ${SRCDIR} | ||
59 | |||
60 | mconfigure \ | ||
61 | --disable-debug \ | ||
62 | --disable-localjpeg \ | ||
63 | --disable-localpng \ | ||
64 | --disable-localzlib \ | ||
65 | --enable-largefile \ | ||
66 | --enable-threads \ | ||
67 | --enable-xft \ | ||
68 | --enable-xdbe \ | ||
69 | --enable-cairo \ | ||
70 | --enable-gl \ | ||
71 | --enable-xft \ | ||
72 | --enable-xinerama \ | ||
73 | || die | ||
74 | |||
75 | mmake || die | ||
76 | } |