blob: 2894582a8e4c16563dca652dcdca60a009caa4de (
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
39
40
41
42
43
44
45
46
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"
|