summaryrefslogtreecommitdiff
path: root/packages/gimp/gimp.inc
blob: 7a75f7d61974a027b5b47fb638937cec1adb83ab (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
DESCRIPTION = "The GIMP is the GNU Image Manipulation Program."
HOMEPAGE = "http://www.gimp.org"
SECTION = "x11/graphics"
LICENSE = "GPL"

DEPENDS = "sed-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 autotools pkgconfig

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
}


do_stage() {
        autotools_stage_all
}

FILES_${PN} += "${datadir}/icons \
                ${datadir}/mime-info \
		${datadir}/application-registry "

FILES_${PN}-dbg += "${libdir}/gimp/2.0/plug-ins/.debug \
                    ${libdir}/gimp/2.0/modules/.debug"