deleted file mode 100644
@@ -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"
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
@@ -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 \
- 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%)