Annotation of /trunk/extras/gimp/gimp-2.8.22-r3.smage2
Parent Directory | Revision Log
Revision 29227 -
(hide annotations)
(download)
Tue May 30 09:36:40 2017 UTC (7 years, 3 months ago) by niro
File size: 2328 byte(s)
Tue May 30 09:36:40 2017 UTC (7 years, 3 months ago) by niro
File size: 2328 byte(s)
-rebuild against libjpeg-turbo
1 | niro | 29227 | # $Id$ |
2 | |||
3 | PNAME="gimp" | ||
4 | PVER="2.8.22" | ||
5 | PBUILD="r3" | ||
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.52 | ||
13 | >= dev-libs/atk-2.24 | ||
14 | >= x11-libs/cairo-1.14 | ||
15 | >= x11-libs/gdk-pixbuf-2.36 | ||
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.40 | ||
23 | >= dev-libs/libxml2-2.9 | ||
24 | >= dev-libs/libxslt-1.1.28 | ||
25 | >= media-libs/freetype-2.6 | ||
26 | >= media-libs/fontconfig-2.11 | ||
27 | >= media-libs/libart_lgpl-2.3.21 | ||
28 | >= x11-libs/libXpm-3.5 | ||
29 | >= media-libs/libpng-1.5 | ||
30 | >= media-libs/libjasper-2.0 | ||
31 | >= virtual/libjpeg | ||
32 | >= media-libs/libexif-0.6.21 | ||
33 | >= media-libs/libtiff-4 | ||
34 | >= media-libs/libmng-2 | ||
35 | >= media-libs/libwmf-0.2.8.4 | ||
36 | >= media-libs/lcms-1.19 | ||
37 | >= media-libs/alsa-lib-1.1 | ||
38 | >= app-arch/bzip2-1 | ||
39 | >= sys-libs/zlib-1.2.8 | ||
40 | >= gnome-base/librsvg-2.40 | ||
41 | >= app-text/poppler-glib-0.54 | ||
42 | >= app-text/ghostscript-gpl-9 | ||
43 | >= dev-lang/python-2.7 | ||
44 | >= dev-python/pygtk-2.24 | ||
45 | >= sys-apps/dbus-1.10 | ||
46 | >= dev-libs/dbus-glib-0.108 | ||
47 | >= sys-fs/libgudev-230 | ||
48 | >= net-libs/libcurl-7 | ||
49 | >= media-libs/gegl-0.2 | ||
50 | >= x11-apps/xdg-utils-1.1" | ||
51 | |||
52 | SDEPEND=">= dev-util/pkgconfig-0.26 | ||
53 | >= dev-util/intltool-0.50 | ||
54 | >= sys-dev/gettext-0.18" | ||
55 | |||
56 | SRCFILE="${PNAME}-${PVER}.tar.bz2" | ||
57 | SRCDIR="${BUILDDIR}/${PNAME}-${PVER}" | ||
58 | |||
59 | sminclude mtools mbuild fdo-mime gtk2 | ||
60 | msetfeature "!check" | ||
61 | |||
62 | SRC_URI=( | ||
63 | http://download.gimp.org/pub/${PNAME}/v${PVER%.*}/${SRCFILE} | ||
64 | mirror://${PNAME}/${SRCFILE} | ||
65 | ) | ||
66 | |||
67 | # only 'stable' releases | ||
68 | UP2DATE="updatecmd -listonly http://download.gimp.org/pub/${PNAME}/stable/ | grep LATEST | sed 's:.*-\(.*\):\1:'" | ||
69 | |||
70 | src_compile() | ||
71 | { | ||
72 | cd ${SRCDIR} | ||
73 | |||
74 | # gutenprint provides the gimp plugin ! | ||
75 | mconfigure \ | ||
76 | --enable-default-binary \ | ||
77 | --with-x \ | ||
78 | --with-alsa \ | ||
79 | --with-dbus \ | ||
80 | --with-hal \ | ||
81 | --with-lcms \ | ||
82 | --with-libcurl \ | ||
83 | --with-libpng \ | ||
84 | --with-libjpeg \ | ||
85 | --with-libexif \ | ||
86 | --with-libtiff \ | ||
87 | --with-libmng \ | ||
88 | --with-librsvg \ | ||
89 | --with-poppler \ | ||
90 | --with-wmf \ | ||
91 | --without-aa \ | ||
92 | --without-gvfs \ | ||
93 | --without-gnomevfs \ | ||
94 | --without-hal \ | ||
95 | --enable-python \ | ||
96 | --disable-gnome \ | ||
97 | --disable-print \ | ||
98 | --disable-debug \ | ||
99 | || die | ||
100 | |||
101 | mmake || die | ||
102 | } | ||
103 | |||
104 | postinstall() | ||
105 | { | ||
106 | fdo-mime_update_desktop_db | ||
107 | gtk2_update_icon_cache | ||
108 | } | ||
109 | |||
110 | postremove() | ||
111 | { | ||
112 | fdo-mime_update_desktop_db | ||
113 | gtk2_update_icon_cache | ||
114 | } |