diff options
| -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 @@ | |||
| 12 | DESCRIPTION = "Gutenprint printer drivers" | 12 | DESCRIPTION = "Gutenprint printer drivers" |
| 13 | HOMEPAGE = "http://gimp-print.sourceforge.net/" | 13 | HOMEPAGE = "http://gimp-print.sourceforge.net/" |
| 14 | LICENSE = "GPL-2.0-or-later" | 14 | LICENSE = "GPL-2.0-or-later" |
| 15 | |||
| 16 | SRC_URI = "git://git.code.sf.net/p/gimp-print/source;protocol=https;branch=master" | ||
| 17 | SRCREV = "66b0a7bc3fd25659a3f295db0ebb39d04e413c01" | ||
| 18 | PV = "5.3.3+git${SRCPV}" | ||
| 19 | |||
| 20 | S = "${WORKDIR}/git" | ||
| 21 | |||
| 22 | LIC_FILES_CHKSUM = "file://COPYING;md5=59530bdf33659b29e73d4adb9f9f6552" | 15 | LIC_FILES_CHKSUM = "file://COPYING;md5=59530bdf33659b29e73d4adb9f9f6552" |
| 23 | 16 | ||
| 17 | SRC_URI = "https://downloads.sourceforge.net/gimp-print/${BP}.tar.xz" | ||
| 18 | SRC_URI[sha256sum] = "db44a701d2b8e6a8931c83cec06c91226be266d23e5c189d20a39dd175f2023b" | ||
| 19 | |||
| 24 | inherit autotools gettext pkgconfig | 20 | inherit autotools gettext pkgconfig |
| 25 | 21 | ||
| 26 | DEPENDS += "glib-2.0-native cups gutenprint-native" | 22 | DEPENDS += "glib-2.0-native cups gutenprint-native tiff libusb libpng libjpeg-turbo ghostscript" |
| 27 | # autogen.sh needs autopoint | 23 | # autogen.sh needs autopoint |
| 28 | DEPENDS:class-native = "glib-2.0-native gettext-native" | 24 | DEPENDS: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 | ||
| 43 | do_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 | |||
| 51 | do_install:append() { | 40 | do_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 |
