Contents of /branches/magellan-next/extras/gimp/gimp-2.6.11-r1.smage2
Parent Directory | Revision Log
Revision 9533 -
(show annotations)
(download)
Mon Dec 5 19:51:29 2011 UTC (12 years, 9 months ago) by niro
File size: 2036 byte(s)
Mon Dec 5 19:51:29 2011 UTC (12 years, 9 months ago) by niro
File size: 2036 byte(s)
auto added: ver bump to 2.6.11-r1
1 | # $Id$ |
2 | |
3 | PNAME="gimp" |
4 | PVER="2.6.11" |
5 | PBUILD="r1" |
6 | |
7 | PCATEGORIE="media-gfx" |
8 | |
9 | DESCRIPTION="The Gimp - GNU Image Manipulation Program." |
10 | HOMEPAGE="http://www.gimp.org/" |
11 | |
12 | DEPEND=">= dev-libs/glib2-2.28 |
13 | >= x11-libs/gtk2+-2.24 |
14 | >= x11-libs/pango-1. |
15 | >= dev-libs/libxml2-2.7 |
16 | >= dev-libs/libxslt-1.1.28 |
17 | >= x11-themes/hicolor-icon-theme-0.12 |
18 | >= media-libs/freetype-2.4 |
19 | >= media-libs/fontconfig-2.7 |
20 | >= media-libs/libart_lgpl-2.3.21 |
21 | >= media-libs/libpng-1.5 |
22 | >= media-libs/libjasper-1.900 |
23 | >= media-libs/libjpeg-8 |
24 | >= media-libs/libexif-0.6.20 |
25 | >= media-libs/libtiff-3.9.5 |
26 | >= media-libs/libmng-1.0.10 |
27 | >= media-libs/libwmf-0.2.8.4 |
28 | >= media-libs/lcms-1.19 |
29 | >= media-libs/alsa-lib-1.0.24 |
30 | >= sys-libs/zlib-1.2.5 |
31 | >= gnome-base/librsvg-2.34 |
32 | >= app-text/poppler-glib-0.18 |
33 | >= dev-lang/python-2.7 |
34 | >= dev-python/pygtk-2.24 |
35 | >= sys-apps/dbus-1.5 |
36 | >= dev-libs/dbus-glib-0.98 |
37 | >= net-misc/curl-7 |
38 | >= media-libs/gegl-0.1.6 |
39 | >= x11-apps/xdg-utils-1.1" |
40 | |
41 | SDEPEND=">= dev-util/pkgconfig-0.26 |
42 | >= dev-util/intltool-0.50 |
43 | >= sys-dev/gettext-0.18" |
44 | |
45 | SRCFILE="${PNAME}-${PVER}.tar.bz2" |
46 | SRCDIR="${BUILDDIR}/${PNAME}-${PVER}" |
47 | |
48 | sminclude mtools mbuild |
49 | |
50 | SRC_URI=( |
51 | ftp://ftp.gimp.org/pub/${PNAME}/v${PVER:0:3}/${SRCFILE} |
52 | mirror://${PNAME}/${SRCFILE} |
53 | ) |
54 | |
55 | # grep only 'stable' releases |
56 | #UP2DATE="updatecmd ${HOMEPAGE}/downloads/ | grep '[0-9].[02468].[0-9].tar.bz2' | sed -n 's/.*-\(.*\)\.t.*/\1/;$ p'" |
57 | UP2DATE="updatecmd -listonly ftp://ftp.gimp.org/pub/gimp/v2.6/ | grep LATEST | sed 's:.*-\(.*\):\1:'" |
58 | |
59 | src_compile() |
60 | { |
61 | cd ${SRCDIR} |
62 | |
63 | # gutenprint provides the gimp plugin ! |
64 | mconfigure \ |
65 | --enable-default-binary \ |
66 | --with-x \ |
67 | --with-alsa \ |
68 | --with-dbus \ |
69 | --with-hal \ |
70 | --with-lcms \ |
71 | --with-libcurl \ |
72 | --with-libpng \ |
73 | --with-libjpeg \ |
74 | --with-libexif \ |
75 | --with-libtiff \ |
76 | --with-libmng \ |
77 | --with-librsvg \ |
78 | --with-poppler \ |
79 | --with-wmf \ |
80 | --without-aa \ |
81 | --without-gvfs \ |
82 | --without-gnomevfs \ |
83 | --without-hal \ |
84 | --enable-python \ |
85 | --enable-gtkhtml2 \ |
86 | --disable-gnome \ |
87 | --disable-print \ |
88 | --disable-debug \ |
89 | || die |
90 | |
91 | mmake || die |
92 | } |