Skip to content

Commit

Permalink
Merge pull request #1771 from markusgod/vulkan-headers-version-bump
Browse files Browse the repository at this point in the history
vulkan-headers 1.2.140
  • Loading branch information
SSE4 authored May 29, 2020
2 parents 2298603 + 2e8bd57 commit c9c9a1d
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 1 deletion.
3 changes: 3 additions & 0 deletions recipes/vulkan-headers/all/conandata.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,3 +2,6 @@ sources:
"1.2.135.0":
url: "https://github.com/KhronosGroup/Vulkan-Headers/archive/sdk-1.2.135.0.tar.gz"
sha256: "befc69991e1e268db75921c577be32a3f315d01d78b39b74ef87ba6908787b63"
"1.2.140":
url: "https://github.com/KhronosGroup/Vulkan-Headers/archive/v1.2.140.tar.gz"
sha256: "c708a05b0ef673ae783f8968c5396dc207b9f8c7cde2ddb4a9a281e04661185a"
5 changes: 4 additions & 1 deletion recipes/vulkan-headers/all/conanfile.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,10 @@ def package_id(self):
def source(self):
tools.get(**self.conan_data["sources"][self.version])
url = self.conan_data["sources"][self.version]["url"]
extracted_dir = "Vulkan-Headers-" + os.path.basename(url).replace(".tar.gz", "").replace(".zip", "")
version = os.path.basename(url).replace(".tar.gz", "").replace(".zip", "")
if version.startswith('v'):
version = version[1:]
extracted_dir = "Vulkan-Headers-" + version
os.rename(extracted_dir, self._source_subfolder)

def package(self):
Expand Down
2 changes: 2 additions & 0 deletions recipes/vulkan-headers/config.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
versions:
"1.2.135.0":
folder: all
"1.2.140":
folder: all

0 comments on commit c9c9a1d

Please sign in to comment.