Patrick Williams | b48b7b4 | 2016-08-17 15:04:38 -0500 | [diff] [blame^] | 1 | SUMMARY = "The GIMP is the GNU Image Manipulation Program" |
| 2 | HOMEPAGE = "http://www.gimp.org" |
| 3 | SECTION = "x11/graphics" |
| 4 | LICENSE = "GPLv3" |
| 5 | LIC_FILES_CHKSUM = "file://COPYING;md5=d32239bcb673463ab874e80d47fae504" |
| 6 | |
| 7 | DEPENDS = "babl gdk-pixbuf-native libart-lgpl gtk+ jpeg libpng libexif tiff lcms gegl poppler jasper bzip2 libgudev" |
| 8 | DEPENDS += "${@bb.utils.contains('DISTRO_FEATURES', 'x11', 'libxmu libxpm', '', d)}" |
| 9 | |
| 10 | inherit gnome gtk-doc |
| 11 | |
| 12 | SRC_URI = " \ |
| 13 | http://ftp.gimp.org/pub/gimp/v2.8/gimp-${PV}.tar.bz2 \ |
| 14 | file://0001-configure-ac-do-not-check-for-freetype-config.patch \ |
| 15 | file://bump_Babl-GEGL_versions.patch \ |
| 16 | " |
| 17 | SRC_URI[md5sum] = "233c948203383fa078434cc3f8f925cb" |
| 18 | SRC_URI[sha256sum] = "d82a958641c9c752d68e35f65840925c08e314cea90222ad845892a40e05b22d" |
| 19 | |
| 20 | EXTRA_OECONF = "--disable-python \ |
| 21 | --without-webkit \ |
| 22 | --without-wmf" |
| 23 | |
| 24 | do_configure_append() { |
| 25 | find ${B} -name Makefile | xargs sed -i s:'-I$(includedir)':'-I.':g |
| 26 | find ${B} -name Makefile | xargs sed -i s:'-I/usr/include':'-I${STAGING_INCDIR}':g |
| 27 | } |
| 28 | |
| 29 | CFLAGS += "-fPIC" |
| 30 | |
| 31 | FILES_${PN}-dbg += "${libdir}/gimp/2.0/*/.debug" |
| 32 | FILES_${PN} += "${datadir}/appdata" |