Contents of /trunk/core/imlib/imlib-1.9.15-r11.smage2
Parent Directory | Revision Log
Revision 5342 -
(show annotations)
(download)
Tue May 4 17:13:42 2010 UTC (14 years, 4 months ago) by niro
File size: 1794 byte(s)
Tue May 4 17:13:42 2010 UTC (14 years, 4 months ago) by niro
File size: 1794 byte(s)
-rev bump to 0.9.15-r11; added patch to fix rendering issues with EXA enabled
1 | # $Id$ |
2 | |
3 | PNAME="imlib" |
4 | PVER="1.9.15" |
5 | PBUILD="r11" |
6 | |
7 | PCATEGORIE="media-libs" |
8 | STATE="unstable" |
9 | |
10 | DESCRIPTION="imlib" |
11 | HOMEPAGE="http://ftp.gnome.org/pub/GNOME/sources/imlib/" |
12 | |
13 | DEPEND=">= media-libs/libtiff-3.9 |
14 | >= media-libs/giflib-4.1.6 |
15 | >= media-libs/libpng-1.2.40 |
16 | >= media-libs/libjpeg-7" |
17 | |
18 | SDEPEND=">= sys-apps/sed-4" |
19 | |
20 | SRCFILE="${PNAME}-${PVER}.tar.bz2" |
21 | SRCDIR="${BUILDDIR}/${PNAME}-${PVER}" |
22 | |
23 | SRC_URI=( |
24 | http://ftp.gnome.org/pub/GNOME/sources/${PNAME}/${PVER:0:3}/${SRCFILE} |
25 | mirror://${PNAME}/${SRCFILE} |
26 | mirror://${PNAME}/${PNAME}-${PVER}-m4-underquoted.patch |
27 | mirror://${PNAME}/${PNAME}-${PVER}-asneeded.patch |
28 | mirror://${PNAME}/${PNAME}-${PVER}-conditional-gtk1.patch |
29 | mirror://${PNAME}/${PNAME}-${PVER}-fix-rendering.patch |
30 | ) |
31 | |
32 | # fake |
33 | UP2DATE="echo ${PVER}" |
34 | |
35 | src_prepare() |
36 | { |
37 | munpack ${SRCFILE} || die |
38 | cd ${SRCDIR} |
39 | |
40 | # fixes m4 warnings |
41 | mpatch ${PNAME}-${PVER}-m4-underquoted.patch || die |
42 | |
43 | # fix link issues with libtool22 |
44 | mpatch ${PNAME}-${PVER}-asneeded.patch || die |
45 | |
46 | # make gtk1 conditional |
47 | mpatch ${PNAME}-${PVER}-conditional-gtk1.patch || die |
48 | |
49 | # fix rendering issues with EXA enabled |
50 | mpatch ${PNAME}-${PVER}-fix-rendering.patch || die |
51 | |
52 | # fix config script |
53 | sed -i -e "49,51D" -e "55,57D" imlib-config.in || die |
54 | |
55 | # the gtk1 patch provides the missing gtk1.m4, so be sure to include this one |
56 | autoreconf --verbose --install --force --include=m4 || die |
57 | |
58 | # fix libtool issues |
59 | mlibtoolize || die |
60 | } |
61 | |
62 | src_compile() |
63 | { |
64 | cd ${SRCDIR} |
65 | |
66 | # no gdk support anymore, gtk1+ is deprecated for a long time |
67 | mconfigure --sysconfdir=/etc/imlib --disable-gdk --disable-gdktest || die |
68 | mmake || die |
69 | } |
70 | |
71 | src_install() |
72 | { |
73 | cd ${SRCDIR} |
74 | minstall \ |
75 | includedir=${BINDIR}/usr/include \ |
76 | sysconfdir=${BINDIR}/etc/imlib \ |
77 | || die |
78 | |
79 | minstalldocs ABOUT-NLS AUTHORS ChangeLog COPYING* NEWS README || die |
80 | } |
Properties
Name | Value |
---|---|
svn:keywords | Id |