Contents of /trunk/extras/gimp/gimp-2.8.10-r2.smage2
Parent Directory | Revision Log
Revision 21099 -
(show annotations)
(download)
Tue Mar 11 10:35:54 2014 UTC (10 years, 6 months ago) by niro
File size: 2408 byte(s)
Tue Mar 11 10:35:54 2014 UTC (10 years, 6 months ago) by niro
File size: 2408 byte(s)
-rebuild against libmng2 (soname change)
1 | # $Id$ |
2 | |
3 | PNAME="gimp" |
4 | PVER="2.8.10" |
5 | PBUILD="r2" |
6 | |
7 | PCAT="media-gfx" |
8 | |
9 | DESCRIPTION="The Gimp - GNU Image Manipulation Program." |
10 | HOMEPAGE="http://www.gimp.org/" |
11 | |
12 | DEPEND=">= dev-libs/glib2-2.38 |
13 | >= dev-libs/atk-2.10 |
14 | >= x11-libs/cairo-1.12 |
15 | >= x11-libs/gdk-pixbuf-2.30 |
16 | >= x11-libs/gtk2+-2.24 |
17 | >= x11-libs/libX11-1.6 |
18 | >= x11-libs/libXcursor-1.1 |
19 | >= x11-libs/libXext-1.3 |
20 | >= x11-libs/libXfixes-5 |
21 | >= x11-libs/libXmu-1.1 |
22 | >= x11-libs/pango-1.36 |
23 | >= dev-libs/libxml2-2.7 |
24 | >= dev-libs/libxslt-1.1.28 |
25 | >= x11-themes/hicolor-icon-theme-0.12 |
26 | >= media-libs/freetype-2.5.1 |
27 | >= media-libs/fontconfig-2.11 |
28 | >= media-libs/libart_lgpl-2.3.21 |
29 | >= x11-libs/libXpm-3.5 |
30 | >= media-libs/libpng-1.5 |
31 | >= media-libs/libjasper-1.900 |
32 | >= media-libs/libjpeg-8 |
33 | >= media-libs/libexif-0.6.21 |
34 | >= media-libs/libtiff-4 |
35 | >= media-libs/libmng-2 |
36 | >= media-libs/libwmf-0.2.8.4 |
37 | >= media-libs/lcms-1.19 |
38 | >= media-libs/alsa-lib-1.0.27 |
39 | >= app-arch/bzip2-1 |
40 | >= sys-libs/zlib-1.2.5 |
41 | >= gnome-base/librsvg-2.40 |
42 | >= app-text/poppler-glib-0.22 |
43 | >= app-text/ghostscript-gpl-9 |
44 | >= dev-lang/python-2.7 |
45 | >= dev-python/pygtk-2.24 |
46 | >= sys-apps/dbus-1.8 |
47 | >= dev-libs/dbus-glib-0.100 |
48 | >= sys-fs/libgudev-210 |
49 | >= net-misc/curl-7 |
50 | >= media-libs/gegl-0.2 |
51 | >= x11-apps/xdg-utils-1.1" |
52 | |
53 | SDEPEND=">= dev-util/pkgconfig-0.26 |
54 | >= dev-util/intltool-0.50 |
55 | >= sys-dev/gettext-0.18" |
56 | |
57 | SRCFILE="${PNAME}-${PVER}.tar.bz2" |
58 | SRCDIR="${BUILDDIR}/${PNAME}-${PVER}" |
59 | |
60 | sminclude mtools mbuild |
61 | msetfeature "!check" |
62 | |
63 | SRC_URI=( |
64 | ftp://ftp.gimp.org/pub/${PNAME}/v${PVER:0:3}/${SRCFILE} |
65 | mirror://${PNAME}/${SRCFILE} |
66 | mirror://${PNAME}/${PNAME}-${PVER}-freetype251.patch |
67 | ) |
68 | |
69 | # only 'stable' releases |
70 | UP2DATE="updatecmd -listonly ftp://ftp.gimp.org/pub/gimp/stable/ | grep LATEST | sed 's:.*-\(.*\):\1:'" |
71 | |
72 | src_prepare() |
73 | { |
74 | munpack ${SRCFILE} || die |
75 | cd ${SRCDIR} |
76 | |
77 | # fix build against >=freetype-2.5.1 |
78 | mpatch ${PNAME}-${PVER}-freetype251.patch || die |
79 | } |
80 | |
81 | src_compile() |
82 | { |
83 | cd ${SRCDIR} |
84 | |
85 | # gutenprint provides the gimp plugin ! |
86 | mconfigure \ |
87 | --enable-default-binary \ |
88 | --with-x \ |
89 | --with-alsa \ |
90 | --with-dbus \ |
91 | --with-hal \ |
92 | --with-lcms \ |
93 | --with-libcurl \ |
94 | --with-libpng \ |
95 | --with-libjpeg \ |
96 | --with-libexif \ |
97 | --with-libtiff \ |
98 | --with-libmng \ |
99 | --with-librsvg \ |
100 | --with-poppler \ |
101 | --with-wmf \ |
102 | --without-aa \ |
103 | --without-gvfs \ |
104 | --without-gnomevfs \ |
105 | --without-hal \ |
106 | --enable-python \ |
107 | --disable-gnome \ |
108 | --disable-print \ |
109 | --disable-debug \ |
110 | || die |
111 | |
112 | mmake || die |
113 | } |