Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bump gst-plugins-base's zlib requirement to [>=1.2.11 <2] range (v1 only) #20651

Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion recipes/gst-plugins-base/all/conanfile.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
from conans import ConanFile, tools, Meson, VisualStudioBuildEnvironment

Check failure on line 1 in recipes/gst-plugins-base/all/conanfile.py

View workflow job for this annotation

GitHub Actions / Lint changed conanfile.py (v2 migration)

Import ConanFile from new module: `from conan import ConanFile`. Old import is deprecated in Conan v2.
from conans.errors import ConanInvalidConfiguration

Check failure on line 2 in recipes/gst-plugins-base/all/conanfile.py

View workflow job for this annotation

GitHub Actions / Lint changed conanfile.py (v2 migration)

Import ConanInvalidConfiguration from new module: `from conan.errors import ConanInvalidConfiguration`. Old import is deprecated in Conan v2.
import glob
import os
import shutil
Expand Down Expand Up @@ -71,9 +71,9 @@
if self.options.shared != self.options["gstreamer"].shared:
# https://gitlab.freedesktop.org/gstreamer/gst-build/-/issues/133
raise ConanInvalidConfiguration("GStreamer and GstPlugins must be either all shared, or all static")
if tools.Version(self.version) >= "1.18.2" and\

Check failure on line 74 in recipes/gst-plugins-base/all/conanfile.py

View workflow job for this annotation

GitHub Actions / Lint changed conanfile.py (v2 migration)

Module 'conans.tools' has no 'Version' member. Please, check https://github.com/conan-io/conan-center-index/blob/master/docs/v2_linter.md
self.settings.compiler == "gcc" and\
tools.Version(self.settings.compiler.version) < "5":

Check failure on line 76 in recipes/gst-plugins-base/all/conanfile.py

View workflow job for this annotation

GitHub Actions / Lint changed conanfile.py (v2 migration)

Module 'conans.tools' has no 'Version' member. Please, check https://github.com/conan-io/conan-center-index/blob/master/docs/v2_linter.md
raise ConanInvalidConfiguration(
"gst-plugins-base %s does not support gcc older than 5" % self.version
)
Expand All @@ -98,7 +98,7 @@
del self.options.with_xorg

def requirements(self):
self.requires("zlib/1.2.12")
self.requires("zlib/[>=1.2.11 <2]")
self.requires("glib/2.72.0")
self.requires("gstreamer/1.19.2")
if self.options.get_safe("with_libalsa"):
Expand Down Expand Up @@ -147,7 +147,7 @@
self.build_requires("gobject-introspection/1.70.0")

def source(self):
tools.get(**self.conan_data["sources"][self.version],

Check failure on line 150 in recipes/gst-plugins-base/all/conanfile.py

View workflow job for this annotation

GitHub Actions / Lint changed conanfile.py (v2 migration)

Module 'conans.tools' has no 'get' member. Please, check https://github.com/conan-io/conan-center-index/blob/master/docs/v2_linter.md
destination=self._source_subfolder, strip_root=True)

def _gl_config(self):
Expand Down Expand Up @@ -267,9 +267,9 @@

self._fix_library_names(os.path.join(self.package_folder, "lib"))
self._fix_library_names(os.path.join(self.package_folder, "lib", "gstreamer-1.0"))
tools.rmdir(os.path.join(self.package_folder, "share"))

Check failure on line 270 in recipes/gst-plugins-base/all/conanfile.py

View workflow job for this annotation

GitHub Actions / Lint changed conanfile.py (v2 migration)

Module 'conans.tools' has no 'rmdir' member. Please, check https://github.com/conan-io/conan-center-index/blob/master/docs/v2_linter.md
tools.rmdir(os.path.join(self.package_folder, "lib", "pkgconfig"))

Check failure on line 271 in recipes/gst-plugins-base/all/conanfile.py

View workflow job for this annotation

GitHub Actions / Lint changed conanfile.py (v2 migration)

Module 'conans.tools' has no 'rmdir' member. Please, check https://github.com/conan-io/conan-center-index/blob/master/docs/v2_linter.md
tools.rmdir(os.path.join(self.package_folder, "lib", "gstreamer-1.0", "pkgconfig"))

Check failure on line 272 in recipes/gst-plugins-base/all/conanfile.py

View workflow job for this annotation

GitHub Actions / Lint changed conanfile.py (v2 migration)

Module 'conans.tools' has no 'rmdir' member. Please, check https://github.com/conan-io/conan-center-index/blob/master/docs/v2_linter.md
tools.remove_files_by_mask(self.package_folder, "*.pdb")

def package_id(self):
Expand Down
Loading