summaryrefslogtreecommitdiff
path: root/recipes/gutenprint/gutenprint_5.1.3.bb
blob: 3ccb7eeb304c6c379b2d5433d87e61a165a12817 (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
49
50
51
require gutenprint.inc

PR = "r2"

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"



SRC_URI[md5sum] = "276196ad27fa7d4b8b3ed3ca9c4af64c"
SRC_URI[sha256sum] = "6be13b32d9f222506368bf214f8ba0a3ef08a36b1ebbed8be61cfe38ca2f35c7"