summaryrefslogtreecommitdiff
path: root/homebrew/spirvcross
diff options
context:
space:
mode:
Diffstat (limited to 'homebrew/spirvcross')
-rw-r--r--homebrew/spirvcross/.beer31
-rw-r--r--homebrew/spirvcross/.make.sh-auto4
-rw-r--r--homebrew/spirvcross/_metadata/description1
-rw-r--r--homebrew/spirvcross/_metadata/homepage1
-rw-r--r--homebrew/spirvcross/_metadata/name1
-rw-r--r--homebrew/spirvcross/_metadata/version1
-rwxr-xr-xhomebrew/spirvcross/download.sh1
7 files changed, 40 insertions, 0 deletions
diff --git a/homebrew/spirvcross/.beer b/homebrew/spirvcross/.beer
new file mode 100644
index 000000000..fddd439be
--- /dev/null
+++ b/homebrew/spirvcross/.beer
@@ -0,0 +1,31 @@
+{
+ "name": "SpirvCross",
+ "description": "Performing reflection and disassembling SPIR-V",
+ "url": "https://github.com/KhronosGroup/SPIRV-Cross/archive/2019-03-22.tar.gz",
+ "mirror": null,
+ "homepage": "https://github.com/KhronosGroup/SPIRV-Cross",
+ "depends": [
+ {
+ "depend": "cmake",
+ "build-depend": true
+ },
+ {
+ "depend": "glm",
+ "build-depend": false
+ },
+ {
+ "depend": "glslang",
+ "build-depend": false
+ }
+ ],
+ "resource": [],
+ "conflicts": [],
+ "patches": [],
+ "install": [
+ "mkdir \"build\" do",
+ "system \"cmake\", \"..\", *std_cmake_args",
+ "system \"make\", \"install\""
+ ],
+ "version": "2019",
+ "file": "spirv-cross.rb"
+} \ No newline at end of file
diff --git a/homebrew/spirvcross/.make.sh-auto b/homebrew/spirvcross/.make.sh-auto
new file mode 100644
index 000000000..82cef73c2
--- /dev/null
+++ b/homebrew/spirvcross/.make.sh-auto
@@ -0,0 +1,4 @@
+pkg:setup
+mkdir "build" && cd build
+cmake .. -DCMAKE_TOOLCHAIN_FILE=${CMAKE_TOOLCHAIN_FILE}
+make DESTDIR=${PKG_DEST} install
diff --git a/homebrew/spirvcross/_metadata/description b/homebrew/spirvcross/_metadata/description
new file mode 100644
index 000000000..c9b21c2de
--- /dev/null
+++ b/homebrew/spirvcross/_metadata/description
@@ -0,0 +1 @@
+Performing reflection and disassembling SPIR-V
diff --git a/homebrew/spirvcross/_metadata/homepage b/homebrew/spirvcross/_metadata/homepage
new file mode 100644
index 000000000..368a2ebd0
--- /dev/null
+++ b/homebrew/spirvcross/_metadata/homepage
@@ -0,0 +1 @@
+https://github.com/KhronosGroup/SPIRV-Cross
diff --git a/homebrew/spirvcross/_metadata/name b/homebrew/spirvcross/_metadata/name
new file mode 100644
index 000000000..7d435a711
--- /dev/null
+++ b/homebrew/spirvcross/_metadata/name
@@ -0,0 +1 @@
+SpirvCross
diff --git a/homebrew/spirvcross/_metadata/version b/homebrew/spirvcross/_metadata/version
new file mode 100644
index 000000000..80ace6aac
--- /dev/null
+++ b/homebrew/spirvcross/_metadata/version
@@ -0,0 +1 @@
+2019
diff --git a/homebrew/spirvcross/download.sh b/homebrew/spirvcross/download.sh
new file mode 100755
index 000000000..a222bdda8
--- /dev/null
+++ b/homebrew/spirvcross/download.sh
@@ -0,0 +1 @@
+wget https://github.com/KhronosGroup/SPIRV-Cross/archive/2019-03-22.tar.gz \ No newline at end of file