gdk-pixbuf: restrict patch application to meson packages (#23838)

This commit is contained in:
Andreas Baumbach 2021-05-24 09:36:12 +02:00 committed by GitHub
parent 4153c2e319
commit b7d0b3ea75
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -49,7 +49,9 @@ class GdkPixbuf(Package):
# Replace the docbook stylesheet URL with the one that our # Replace the docbook stylesheet URL with the one that our
# docbook-xsl package uses/recognizes. # docbook-xsl package uses/recognizes.
patch('docbook-cdn.patch', when='+man') # Pach modifies meson build files, so it only applies to versions that
# depend on meson.
patch('docbook-cdn.patch', when='@2.37.0:+man')
def url_for_version(self, version): def url_for_version(self, version):
url = "https://ftp.acc.umu.se/pub/gnome/sources/gdk-pixbuf/{0}/gdk-pixbuf-{1}.tar.xz" url = "https://ftp.acc.umu.se/pub/gnome/sources/gdk-pixbuf/{0}/gdk-pixbuf-{1}.tar.xz"