summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--meta-oe/recipes-printing/gutenprint/gutenprint_5.3.4.bb (renamed from meta-oe/recipes-printing/gutenprint/gutenprint_git.bb)21
1 files changed, 5 insertions, 16 deletions
diff --git a/meta-oe/recipes-printing/gutenprint/gutenprint_git.bb b/meta-oe/recipes-printing/gutenprint/gutenprint_5.3.4.bb
index f0dc6adea0..5263890239 100644
--- a/meta-oe/recipes-printing/gutenprint/gutenprint_git.bb
+++ b/meta-oe/recipes-printing/gutenprint/gutenprint_5.3.4.bb
@@ -12,18 +12,14 @@
12DESCRIPTION = "Gutenprint printer drivers" 12DESCRIPTION = "Gutenprint printer drivers"
13HOMEPAGE = "http://gimp-print.sourceforge.net/" 13HOMEPAGE = "http://gimp-print.sourceforge.net/"
14LICENSE = "GPL-2.0-or-later" 14LICENSE = "GPL-2.0-or-later"
15
16SRC_URI = "git://git.code.sf.net/p/gimp-print/source;protocol=https;branch=master"
17SRCREV = "66b0a7bc3fd25659a3f295db0ebb39d04e413c01"
18PV = "5.3.3+git${SRCPV}"
19
20S = "${WORKDIR}/git"
21
22LIC_FILES_CHKSUM = "file://COPYING;md5=59530bdf33659b29e73d4adb9f9f6552" 15LIC_FILES_CHKSUM = "file://COPYING;md5=59530bdf33659b29e73d4adb9f9f6552"
23 16
17SRC_URI = "https://downloads.sourceforge.net/gimp-print/${BP}.tar.xz"
18SRC_URI[sha256sum] = "db44a701d2b8e6a8931c83cec06c91226be266d23e5c189d20a39dd175f2023b"
19
24inherit autotools gettext pkgconfig 20inherit autotools gettext pkgconfig
25 21
26DEPENDS += "glib-2.0-native cups gutenprint-native" 22DEPENDS += "glib-2.0-native cups gutenprint-native tiff libusb libpng libjpeg-turbo ghostscript"
27# autogen.sh needs autopoint 23# autogen.sh needs autopoint
28DEPENDS:class-native = "glib-2.0-native gettext-native" 24DEPENDS:class-native = "glib-2.0-native gettext-native"
29 25
@@ -36,18 +32,11 @@ do_configure:prepend:class-target() {
36 # So we are using the xmli18n-tmp.h created by gutenprint-native 32 # So we are using the xmli18n-tmp.h created by gutenprint-native
37 sed -i 's/all-local: xmli18n-tmp.h xml-stamp/all-local: xml-stamp/' ${S}/src/xml/Makefile.am 33 sed -i 's/all-local: xmli18n-tmp.h xml-stamp/all-local: xml-stamp/' ${S}/src/xml/Makefile.am
38 sed -i 's/dist-hook: xmli18n-tmp.h xml-stamp/dist-hook: xml-stamp/' ${S}/src/xml/Makefile.am 34 sed -i 's/dist-hook: xmli18n-tmp.h xml-stamp/dist-hook: xml-stamp/' ${S}/src/xml/Makefile.am
35 sed -i '/$(AM_TESTS_ENVIRONMENT) .\/check_duplicate_printers.test/d' ${S}/src/xml/printers/Makefile.am
39 # Despite being a generated file, this needs to be in S. 36 # Despite being a generated file, this needs to be in S.
40 cp ${STAGING_DATADIR_NATIVE}/gutenprint/xmli18n-tmp.h ${S}/src/xml/ 37 cp ${STAGING_DATADIR_NATIVE}/gutenprint/xmli18n-tmp.h ${S}/src/xml/
41} 38}
42 39
43do_configure() {
44 # Need to call autogen.sh as that creates m4/stp_release.m4
45 cd ${S}
46 NOCONFIGURE=1 ./autogen.sh
47 cd ${B}
48 oe_runconf
49}
50
51do_install:append() { 40do_install:append() {
52 # This file contains build paths and isn't very useful, remove it 41 # This file contains build paths and isn't very useful, remove it
53 rm -f ${D}${libdir}/gutenprint/*/config.summary 42 rm -f ${D}${libdir}/gutenprint/*/config.summary