Contents of /trunk/extras/gimp/gimp-2.8.2-r1.smage2
Parent Directory | Revision Log
Revision 15912 -
(show annotations)
(download)
Thu Jan 17 08:37:33 2013 UTC (11 years, 4 months ago) by niro
File size: 2367 byte(s)
Thu Jan 17 08:37:33 2013 UTC (11 years, 4 months ago) by niro
File size: 2367 byte(s)
auto added: ver bump to 2.8.2-r1
1 | # $Id$ |
2 | |
3 | PNAME="gimp" |
4 | PVER="2.8.2" |
5 | PBUILD="r1" |
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.34 |
13 | >= x11-libs/gtk2+-2.24 |
14 | >= x11-libs/pango-1.32 |
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.10 |
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.21 |
25 | >= media-libs/libtiff-4 |
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.26 |
30 | >= sys-libs/zlib-1.2.5 |
31 | >= gnome-base/librsvg-2.36 |
32 | >= app-text/poppler-glib-0.21 |
33 | >= dev-lang/python-2.7 |
34 | >= dev-python/pygtk-2.24 |
35 | >= sys-apps/dbus-1.6 |
36 | >= dev-libs/dbus-glib-0.100 |
37 | >= net-misc/curl-7 |
38 | >= media-libs/gegl-0.2 |
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 | msetfeature "!check" |
50 | |
51 | SRC_URI=( |
52 | ftp://ftp.gimp.org/pub/${PNAME}/v${PVER:0:3}/${SRCFILE} |
53 | mirror://${PNAME}/${SRCFILE} |
54 | mirror://${PNAME}/${PNAME}-2.6.11-curl.patch |
55 | mirror://${PNAME}/${PNAME}-2.6.11-xdg.patch |
56 | ) |
57 | |
58 | # grep only 'stable' releases |
59 | #UP2DATE="updatecmd ${HOMEPAGE}/downloads/ | grep '[0-9].[02468].[0-9].tar.bz2' | sed -n 's/.*-\(.*\)\.t.*/\1/;$ p'" |
60 | UP2DATE="updatecmd -listonly ftp://ftp.gimp.org/pub/gimp/v2.6/ | grep LATEST | sed 's:.*-\(.*\):\1:'" |
61 | |
62 | src_prepare() |
63 | { |
64 | munpack ${SRCFILE} || die |
65 | cd ${SRCDIR} |
66 | |
67 | # fix build against newer curl and better uri handling scheme |
68 | mpatch ${PNAME}-2.6.11-curl.patch || die |
69 | # use xdg-open instead of default browser |
70 | mpatch ${PNAME}-2.6.11-xdg.patch || die |
71 | } |
72 | |
73 | src_compile() |
74 | { |
75 | cd ${SRCDIR} |
76 | |
77 | # gutenprint provides the gimp plugin ! |
78 | mconfigure \ |
79 | --enable-default-binary \ |
80 | --with-x \ |
81 | --with-alsa \ |
82 | --with-dbus \ |
83 | --with-hal \ |
84 | --with-lcms \ |
85 | --with-libcurl \ |
86 | --with-libpng \ |
87 | --with-libjpeg \ |
88 | --with-libexif \ |
89 | --with-libtiff \ |
90 | --with-libmng \ |
91 | --with-librsvg \ |
92 | --with-poppler \ |
93 | --with-wmf \ |
94 | --without-aa \ |
95 | --without-gvfs \ |
96 | --without-gnomevfs \ |
97 | --without-hal \ |
98 | --enable-python \ |
99 | --disable-gnome \ |
100 | --disable-print \ |
101 | --disable-debug \ |
102 | || die |
103 | |
104 | mmake || die |
105 | } |