Skip to content

Commit

Permalink
Switch gstreamer dep to Conan package
Browse files Browse the repository at this point in the history
  • Loading branch information
Croydon committed Dec 11, 2021
1 parent 53a40ff commit eea66d4
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
1 change: 1 addition & 0 deletions .editorconfig
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ trim_trailing_whitespace = true

[*.py]
max_line_length = 200
quote_type = double

[*.yml]
tab_width = 2
Expand Down
6 changes: 3 additions & 3 deletions recipes/wxwidgets/all/conanfile.py
Original file line number Diff line number Diff line change
Expand Up @@ -102,9 +102,6 @@ def system_requirements(self):
'libwebkitgtk-dev'])
# TODO : GTK3
# 'libwebkitgtk-3.0-dev'])
if self.options.mediactrl:
packages.extend(['libgstreamer0.10-dev',
'libgstreamer-plugins-base0.10-dev'])
for package in packages:
installer.install(package)

Expand Down Expand Up @@ -133,6 +130,9 @@ def requirements(self):
self.requires('expat/2.2.7')
if self.options.cairo:
self.requires("cairo/1.17.4")
if self.options.mediactrl:
self.requires("gstreamer/1.19.2")
self.requires("gst-plugins-base/1.19.2")

def source(self):
tools.get(**self.conan_data["sources"][self.version], strip_root=True, destination=self._source_subfolder)
Expand Down

0 comments on commit eea66d4

Please sign in to comment.