diff mbox series

[meta-oe,2/2] cups-filters: Upgrade to 1.28.17 release

Message ID 20230207023620.2243785-2-raj.khem@gmail.com
State New
Headers show
Series [meta-oe,1/2] cups-filters: Fix build with clang16/c++17 | expand

Commit Message

Khem Raj Feb. 7, 2023, 2:36 a.m. UTC
- Switch to github release artifact downloads
- Add missing dependency on libexif
- Merge .inc into .bb as there are no other users of it

Signed-off-by: Khem Raj <raj.khem@gmail.com>
---
 meta-oe/recipes-printing/cups/cups-filters_1.28.11.bb     | 4 ----
 .../cups/{cups-filters.inc => cups-filters_1.28.17.bb}    | 8 +++++---
 2 files changed, 5 insertions(+), 7 deletions(-)
 delete mode 100644 meta-oe/recipes-printing/cups/cups-filters_1.28.11.bb
 rename meta-oe/recipes-printing/cups/{cups-filters.inc => cups-filters_1.28.17.bb} (87%)
diff mbox series

Patch

diff --git a/meta-oe/recipes-printing/cups/cups-filters_1.28.11.bb b/meta-oe/recipes-printing/cups/cups-filters_1.28.11.bb
deleted file mode 100644
index 9a0a23671b..0000000000
--- a/meta-oe/recipes-printing/cups/cups-filters_1.28.11.bb
+++ /dev/null
@@ -1,4 +0,0 @@ 
-include cups-filters.inc
-
-SRC_URI += "file://0001-use-noexcept-false-instead-of-throw-from-c-17-onward.patch"
-SRC_URI[sha256sum] = "472418f1a1e12c9ad91b01caa020eb668626776d85de9da488be38e6663102ca"
diff --git a/meta-oe/recipes-printing/cups/cups-filters.inc b/meta-oe/recipes-printing/cups/cups-filters_1.28.17.bb
similarity index 87%
rename from meta-oe/recipes-printing/cups/cups-filters.inc
rename to meta-oe/recipes-printing/cups/cups-filters_1.28.17.bb
index f0f915e946..685135ec7e 100644
--- a/meta-oe/recipes-printing/cups/cups-filters.inc
+++ b/meta-oe/recipes-printing/cups/cups-filters_1.28.17.bb
@@ -6,12 +6,14 @@  LIC_FILES_CHKSUM = "file://COPYING;md5=2d77679ce6a2cc4d873d4ebbf2a401e6"
 
 SECTION = "console/utils"
 
-DEPENDS = "cups glib-2.0 glib-2.0-native dbus dbus-glib lcms ghostscript poppler qpdf libpng"
+DEPENDS = "cups glib-2.0 glib-2.0-native dbus dbus-glib lcms ghostscript poppler qpdf libpng libexif"
 DEPENDS:class-native = "poppler-native glib-2.0-native dbus-native pkgconfig-native gettext-native libpng-native"
 
-SRC_URI = "http://openprinting.org/download/cups-filters/cups-filters-${PV}.tar.gz"
+SRC_URI = "${GITHUB_BASE_URI}/OpenPrinting/${BPN}/releases/download/${PV}/${BP}.tar.xz \
+           file://0001-use-noexcept-false-instead-of-throw-from-c-17-onward.patch"
+SRC_URI[sha256sum] = "270a3752a960368aa99d431fb5d34f4039b2ac943c576d840612d1d8185c9bb9"
 
-inherit autotools-brokensep gettext pkgconfig
+inherit autotools-brokensep gettext pkgconfig github-releases
 
 EXTRA_OECONF += " --enable-ghostscript --disable-ldap \
                        --with-pdftops=hybrid --enable-imagefilters \