Contents of /branches/branch-xorg18/core/imlib/imlib-1.9.15-r10.smage2
Parent Directory | Revision Log
Revision 5192 -
(show annotations)
(download)
Tue Apr 6 21:54:10 2010 UTC (14 years, 5 months ago) by niro
File size: 1644 byte(s)
Tue Apr 6 21:54:10 2010 UTC (14 years, 5 months ago) by niro
File size: 1644 byte(s)
created branch 'branch-xorg18'
1 | # $Id$ |
2 | |
3 | PNAME="imlib" |
4 | PVER="1.9.15" |
5 | PBUILD="r10" |
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 | ) |
30 | |
31 | # fake |
32 | UP2DATE="echo ${PVER}" |
33 | |
34 | src_prepare() |
35 | { |
36 | munpack ${SRCFILE} || die |
37 | cd ${SRCDIR} |
38 | |
39 | # fixes m4 warnings |
40 | mpatch ${PNAME}-${PVER}-m4-underquoted.patch || die |
41 | |
42 | # fix link issues with libtool22 |
43 | mpatch ${PNAME}-${PVER}-asneeded.patch || die |
44 | |
45 | # make gtk1 conditional |
46 | mpatch ${PNAME}-${PVER}-conditional-gtk1.patch || die |
47 | |
48 | # fix config script |
49 | sed -i -e "49,51D" -e "55,57D" imlib-config.in || die |
50 | |
51 | # the gtk1 patch provides the missing gtk1.m4, so be sure to include this one |
52 | autoreconf --verbose --install --force --include=m4 || die |
53 | |
54 | # fix libtool issues |
55 | mlibtoolize || die |
56 | } |
57 | |
58 | src_compile() |
59 | { |
60 | cd ${SRCDIR} |
61 | |
62 | # no gdk support anymore, gtk1+ is deprecated for a long time |
63 | mconfigure --sysconfdir=/etc/imlib --disable-gdk --disable-gdktest || die |
64 | mmake || die |
65 | } |
66 | |
67 | src_install() |
68 | { |
69 | cd ${SRCDIR} |
70 | minstall \ |
71 | includedir=${BINDIR}/usr/include \ |
72 | sysconfdir=${BINDIR}/etc/imlib \ |
73 | || die |
74 | |
75 | minstalldocs ABOUT-NLS AUTHORS ChangeLog COPYING* NEWS README || die |
76 | } |
Properties
Name | Value |
---|---|
svn:keywords | Id |