Skip to content

Commit

Permalink
Add OpenEXR (#894)
Browse files Browse the repository at this point in the history
Vertexwahn authored Sep 7, 2023
1 parent 1e30f44 commit 7f1be94
Showing 5 changed files with 62 additions and 0 deletions.
10 changes: 10 additions & 0 deletions modules/openexr/3.2.0/MODULE.bazel
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
module(
name = "openexr",
version = "3.2.0",
compatibility_level = 1,
)

bazel_dep(name = "bazel_skylib", version = "1.4.2")
bazel_dep(name = "imath", repo_name = "Imath", version = "3.1.9")
bazel_dep(name = "libdeflate", version = "1.18")
bazel_dep(name = "platforms", version = "0.0.7")
15 changes: 15 additions & 0 deletions modules/openexr/3.2.0/patches/module_dot_bazel.patch
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
--- MODULE.bazel
+++ MODULE.bazel
@@ -1,9 +1,10 @@
module(
name = "openexr",
- version = "0.0.0", # The version "0.0.0" is set here and will be patched within the Bazel Central Registry
+ version = "3.2.0",
compatibility_level = 1,
)

bazel_dep(name = "bazel_skylib", version = "1.4.2")
-bazel_dep(name = "imath", version = "3.1.9")
+bazel_dep(name = "imath", repo_name = "Imath", version = "3.1.9")
bazel_dep(name = "libdeflate", version = "1.18")
+bazel_dep(name = "platforms", version = "0.0.7")
11 changes: 11 additions & 0 deletions modules/openexr/3.2.0/presubmit.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
matrix:
platform:
- ubuntu2004
- macos
- windows
tasks:
verify_targets:
name: Verify build targets
platform: ${{ platform }}
build_targets:
- '@openexr//:OpenEXR'
9 changes: 9 additions & 0 deletions modules/openexr/3.2.0/source.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
{
"integrity": "sha256-sbIAYGZAVH/O/w0+vgGsBcSnrioTG+fps+W59JHvNbM=",
"patch_strip": 0,
"patches": {
"module_dot_bazel.patch": "sha256-YXgMGYO43o+zgNxd1oFKb1pu/ipaPIYSPsBZ7Sh7THs="
},
"strip_prefix": "openexr-3.2.0",
"url": "https://github.com/AcademySoftwareFoundation/openexr/archive/refs/tags/v3.2.0.tar.gz"
}
17 changes: 17 additions & 0 deletions modules/openexr/metadata.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
{
"homepage": "https://github.com/AcademySoftwareFoundation/openexr",
"maintainers": [
{
"email": "julian.amann@tum.de",
"github": "Vertexwahn",
"name": "Julian Amann"
}
],
"repository": [
"github:AcademySoftwareFoundation/openexr"
],
"versions": [
"3.2.0"
],
"yanked_versions": {}
}

0 comments on commit 7f1be94

Please sign in to comment.