Skip to content

Commit

Permalink
(#9335) at-spi2-atk: bump requirements
Browse files Browse the repository at this point in the history
* at-spi2-atk: bump requirements

* at-spi2-atk: Update Conan conventions

Automatically created by bincrafters-conventions 0.31.0

* Update conanfile.py

* Update conanfile.py

* Update conanfile.py

Co-authored-by: bincrafters-user <bincrafters@gmail.com>
  • Loading branch information
ericLemanissier and bincrafters-user authored Mar 10, 2022
1 parent fe837d4 commit 873e4ce
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 9 deletions.
16 changes: 8 additions & 8 deletions recipes/at-spi2-atk/all/conanfile.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
from conans.errors import ConanInvalidConfiguration
import os

required_conan_version = ">=1.33.0"

class AtSPI2AtkConan(ConanFile):
name = "at-spi2-atk"
Expand Down Expand Up @@ -42,19 +43,18 @@ def configure(self):
del self.settings.compiler.cppstd

def build_requirements(self):
self.build_requires('meson/0.57.1')
self.build_requires('pkgconf/1.7.3')
self.build_requires('meson/0.60.2')
self.build_requires('pkgconf/1.7.4')

def requirements(self):
self.requires('at-spi2-core/2.39.1')
self.requires('at-spi2-core/2.42.0')
self.requires('atk/2.36.0')
self.requires('glib/2.67.6')
self.requires('libxml2/2.9.10')
self.requires('glib/2.70.1')
self.requires('libxml2/2.9.12')

def source(self):
tools.get(**self.conan_data["sources"][self.version])
extracted_dir = self.name + "-" + self.version
os.rename(extracted_dir, self._source_subfolder)
tools.get(**self.conan_data["sources"][self.version],
strip_root=True, destination=self._source_subfolder)

def _configure_meson(self):
if self._meson:
Expand Down
2 changes: 1 addition & 1 deletion recipes/at-spi2-atk/all/test_package/conanfile.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,6 @@ def build(self):
cmake.build()

def test(self):
if not tools.cross_building(self.settings):
if not tools.cross_building(self):
bin_path = os.path.join("bin", "test_package")
self.run(bin_path, run_environment=True)

0 comments on commit 873e4ce

Please sign in to comment.