1 DESCRIPTION = "The GIMP is the GNU Image Manipulation Program."
2 HOMEPAGE = "http://www.gimp.org"
3 SECTION = "x11/graphics"
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;patch=1"
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 \
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
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 \
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"