diff options
Diffstat (limited to 'recipes/gimp/gimp.inc')
-rw-r--r-- | recipes/gimp/gimp.inc | 47 |
1 files changed, 47 insertions, 0 deletions
diff --git a/recipes/gimp/gimp.inc b/recipes/gimp/gimp.inc new file mode 100644 index 0000000000..2894582a8e --- /dev/null +++ b/recipes/gimp/gimp.inc @@ -0,0 +1,47 @@ +DESCRIPTION = "The GIMP is the GNU Image Manipulation Program." +HOMEPAGE = "http://www.gimp.org" +SECTION = "x11/graphics" +LICENSE = "GPL" + +DEPENDS = "sed-native gdk-pixbuf-csource-native libart-lgpl gtk+ jpeg libpng libexif tiff" + +SRC_URI = "ftp://ftp.gimp.org/pub/gimp/v2.3/gimp-${PV}.tar.bz2 \ + file://configure-libwmf.patch;patch=1" + +inherit gnome + +FILES_gimp-dbg =+ "${libdir}/gimp/2.0/modules/.debug \ + ${libdir}/gimp/2.0/plug-ins/.debug" + +#Don't laugh, this just builds a threaded gimp +EXTRA_OECONF = " --disable-gtktest \ + --disable-print \ + --disable-python \ + --enable-mp \ + --without-libwmf" + +do_configure_append() { + find ${S} -name Makefile | xargs sed -i s:'-I$(includedir)':'-I.':g + find ${S} -name Makefile | xargs sed -i s:'-I/usr/include':'-I${STAGING_INCDIR}':g + find ${S} -name Makefile | xargs sed -i s:'file-wmf$(EXEEXT)':'':g +} + + +do_stage() { + autotools_stage_all +} + +python populate_packages_prepend () { + cv_libdir = bb.data.expand('${libdir}', d) + do_split_packages(d, cv_libdir, '^lib(.*)\.so\.*', 'lib%s', 'GIMP %s library', extra_depends='', allow_links=True) +} + +FILES_${PN} = "${bindir} ${sysconfdir} ${datadir}/gimp* ${libdir}/gimp* \ + ${datadir}/applications \ + ${datadir}/icons \ + ${datadir}/mime-info \ + ${datadir}/application-registry " + +FILES_${PN}-dbg += "${libdir}/gimp/2.0/plug-ins/.debug \ + ${libdir}/gimp/2.0/modules/.debug" + |