libattr: remove libattr because it is clashing with udev/attr and is not used by...
[openembedded.git] / recipes / gimp / gimp.inc
blob64621120b960bd3f8443a5cfdfb0a3d9b08d3da3
1 DESCRIPTION = "The GIMP is the GNU Image Manipulation Program."
2 HOMEPAGE = "http://www.gimp.org"
3 SECTION = "x11/graphics"
4 LICENSE = "GPL"
6 DEPENDS = "sed-native gdk-pixbuf-csource-native libart-lgpl gtk+ jpeg libpng libexif tiff"
8 SRC_URI = "ftp://ftp.gimp.org/pub/gimp/v2.3/gimp-${PV}.tar.bz2 \
9                  file://configure-libwmf.patch"
11 inherit gnome
13 FILES_gimp-dbg =+ "${libdir}/gimp/2.0/modules/.debug \
14                    ${libdir}/gimp/2.0/plug-ins/.debug"
16 #Don't laugh, this just builds a threaded gimp
17 EXTRA_OECONF = " --disable-gtktest \
18                 --disable-print \
19                 --disable-python \
20                 --enable-mp \
21                 --without-libwmf"
23 do_configure_append() {
24         find ${S} -name Makefile | xargs sed -i s:'-I$(includedir)':'-I.':g
25         find ${S} -name Makefile | xargs sed -i s:'-I/usr/include':'-I${STAGING_INCDIR}':g
26         find ${S} -name Makefile | xargs sed -i s:'file-wmf$(EXEEXT)':'':g
30 do_stage() {
31         autotools_stage_all
34 python populate_packages_prepend () {
35         cv_libdir = bb.data.expand('${libdir}', d)
36         do_split_packages(d, cv_libdir, '^lib(.*)\.so\.*', 'lib%s', 'GIMP %s library', extra_depends='', allow_links=True)
39 FILES_${PN} =  "${bindir} ${sysconfdir} ${datadir}/gimp* ${libdir}/gimp* \
40                 ${datadir}/applications \
41                 ${datadir}/icons \
42                 ${datadir}/mime-info \
43                 ${datadir}/application-registry "
45 FILES_${PN}-dbg += "${libdir}/gimp/2.0/plug-ins/.debug \
46                     ${libdir}/gimp/2.0/modules/.debug"