summaryrefslogtreecommitdiff
path: root/recipes/gutenprint/gutenprint_5.1.3.bb
blob: f0e0b734ab88365ab28bea4178760bd84e73eb47 (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
48
require gutenprint.inc

PR = "r1"

DEPENDS = "glib-2.0 ijs ncurses cups tiff jpeg libpng gutenprint-native espgs"

SRC_URI = "${SOURCEFORGE_MIRROR}/gimp-print/gutenprint-5.1.3.tar.bz2"
S = "${WORKDIR}/gutenprint-${PV}"


EXTRA_OECONF = "\
		--disable-nls \
		 --disable-gtktest \
#		--enable-cups-ppds \
# this option is disabled here, since the ppds are generated during native build
		 --disable-libgutenprintui \
		 --disable-libgutenprintui2 \
		--disable-translated-cups-ppds \
#		--with-ghostscript \
# i MAY have to disable this one as well, since these are probably built in native as well
		--enable-cups-level3-ppds \
		 --disable-gimptest \
		--enable-test \
		--enable-epson \
		--with-user-guide \
		--with-samples \
		--with-escputil \
		 "		   		   

do_configure() {
        gnu-configize
	libtoolize --force
        oe_runconf
}


do_install_append() {
        install -d ${D}${datadir}/cups/model/
	install -m 644 ${STAGING_DATADIR_NATIVE}/cups/model/* ${D}${datadir}/cups/model/
        cp -pPr ${D}${STAGING_LIBDIR}/* ${D}${libdir}/
	cp -pPr ${D}${STAGING_DATADIR}/* ${D}${datadir}/
}


FILES_${PN} += "${datadir}/cups/model ${libdir}/cups ${datadir}/cups/calibrate.ppm"
FILES_${PN}-dbg += "${libdir}/cups/*/.debug"