Brad Bishop | d7bf8c1 | 2018-02-25 22:55:05 -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 = " \ |
| 8 | gdk-pixbuf-native \ |
| 9 | intltool-native \ |
| 10 | libxslt-native \ |
Brad Bishop | 26bdd44 | 2019-08-16 17:08:17 -0400 | [diff] [blame^] | 11 | dbus-glib \ |
Brad Bishop | d7bf8c1 | 2018-02-25 22:55:05 -0500 | [diff] [blame] | 12 | gtk+ \ |
| 13 | babl \ |
| 14 | gegl \ |
| 15 | jpeg \ |
| 16 | libpng \ |
| 17 | libexif \ |
| 18 | tiff \ |
| 19 | lcms \ |
| 20 | poppler \ |
| 21 | jasper \ |
| 22 | bzip2 \ |
| 23 | libgudev \ |
| 24 | libmng \ |
| 25 | " |
| 26 | DEPENDS += "${@bb.utils.contains('DISTRO_FEATURES', 'x11', 'libxmu libxpm', '', d)}" |
| 27 | |
Brad Bishop | 26bdd44 | 2019-08-16 17:08:17 -0400 | [diff] [blame^] | 28 | inherit distro_features_check gnomebase gtk-icon-cache gtk-doc |
Brad Bishop | 316dfdd | 2018-06-25 12:45:53 -0400 | [diff] [blame] | 29 | |
| 30 | REQUIRED_DISTRO_FEATURES = "x11" |
Brad Bishop | d7bf8c1 | 2018-02-25 22:55:05 -0500 | [diff] [blame] | 31 | |
| 32 | SRC_URI = "http://ftp.gimp.org/pub/gimp/v2.8/gimp-${PV}.tar.bz2 \ |
| 33 | file://0001-configure-ac-do-not-check-for-freetype-config.patch \ |
| 34 | file://bump_Babl-GEGL_versions.patch \ |
| 35 | file://0003-Fix-use-of-gegl-API.patch \ |
| 36 | " |
| 37 | SRC_URI[md5sum] = "7e4fd7a53b1d3c32dff642ab1a94b44d" |
| 38 | SRC_URI[sha256sum] = "9187a35cc52b110d78124d7b27b68a68ade14a794c2721314bac6134d2a5638a" |
| 39 | |
| 40 | EXTRA_OECONF = "--disable-python \ |
| 41 | --without-webkit \ |
| 42 | --without-wmf" |
| 43 | |
| 44 | do_configure_append() { |
| 45 | find ${B} -name Makefile | xargs sed -i s:'-I$(includedir)':'-I.':g |
| 46 | find ${B} -name Makefile | xargs sed -i s:'-I/usr/include':'-I${STAGING_INCDIR}':g |
| 47 | } |
| 48 | |
| 49 | CFLAGS += "-fPIC" |
| 50 | |
| 51 | FILES_${PN}-dbg += "${libdir}/gimp/2.0/*/.debug" |
| 52 | FILES_${PN} += "${datadir}/appdata" |