summaryrefslogtreecommitdiff
path: root/homebrew/partio
diff options
context:
space:
mode:
Diffstat (limited to 'homebrew/partio')
-rw-r--r--homebrew/partio/.beer46
-rw-r--r--homebrew/partio/.make.sh-auto6
-rw-r--r--homebrew/partio/_metadata/description1
-rw-r--r--homebrew/partio/_metadata/homepage1
-rw-r--r--homebrew/partio/_metadata/name1
-rw-r--r--homebrew/partio/_metadata/version1
-rwxr-xr-xhomebrew/partio/download.sh1
-rwxr-xr-xhomebrew/partio/patches.sh3
8 files changed, 60 insertions, 0 deletions
diff --git a/homebrew/partio/.beer b/homebrew/partio/.beer
new file mode 100644
index 000000000..3343f6009
--- /dev/null
+++ b/homebrew/partio/.beer
@@ -0,0 +1,46 @@
+{
+ "name": "Partio",
+ "description": "Particle library for 3D graphics",
+ "url": "https://github.com/wdas/partio/archive/v1.1.0.tar.gz",
+ "mirror": null,
+ "homepage": "https://github.com/wdas/partio",
+ "depends": [
+ {
+ "depend": "cmake",
+ "build-depend": true
+ },
+ {
+ "depend": "doxygen",
+ "build-depend": true
+ },
+ {
+ "depend": "swig",
+ "build-depend": true
+ }
+ ],
+ "resource": [],
+ "conflicts": [],
+ "patches": [
+ {
+ "url": "https://github.com/wdas/partio/commit/5b80b00ddedaef9ffed19ea4e6773ed1dc27394e.diff?full_index=1",
+ "strip": "1"
+ },
+ {
+ "url": "https://github.com/wdas/partio/commit/bdce60e316b699fb4fd813c6cad9d369205657c8.diff?full_index=1",
+ "strip": "1"
+ },
+ {
+ "url": "https://github.com/wdas/partio/commit/e557c212b0e8e0c4830e7991541686d568853afd.diff?full_index=1",
+ "strip": "1"
+ }
+ ],
+ "install": [
+ "mkdir \"build\" do",
+ "system \"cmake\", \"..\", *std_cmake_args",
+ "system \"make\"",
+ "system \"make\", \"doc\"",
+ "system \"make\", \"install\""
+ ],
+ "version": "1.1.0",
+ "file": "partio.rb"
+} \ No newline at end of file
diff --git a/homebrew/partio/.make.sh-auto b/homebrew/partio/.make.sh-auto
new file mode 100644
index 000000000..1dd6963f2
--- /dev/null
+++ b/homebrew/partio/.make.sh-auto
@@ -0,0 +1,6 @@
+pkg:setup
+mkdir "build" && cd build
+cmake .. -DCMAKE_TOOLCHAIN_FILE=${CMAKE_TOOLCHAIN_FILE}
+make
+make doc
+make DESTDIR=${PKG_DEST} install
diff --git a/homebrew/partio/_metadata/description b/homebrew/partio/_metadata/description
new file mode 100644
index 000000000..76dd80fdf
--- /dev/null
+++ b/homebrew/partio/_metadata/description
@@ -0,0 +1 @@
+Particle library for 3D graphics
diff --git a/homebrew/partio/_metadata/homepage b/homebrew/partio/_metadata/homepage
new file mode 100644
index 000000000..51bd9688b
--- /dev/null
+++ b/homebrew/partio/_metadata/homepage
@@ -0,0 +1 @@
+https://github.com/wdas/partio
diff --git a/homebrew/partio/_metadata/name b/homebrew/partio/_metadata/name
new file mode 100644
index 000000000..b790dd4e8
--- /dev/null
+++ b/homebrew/partio/_metadata/name
@@ -0,0 +1 @@
+Partio
diff --git a/homebrew/partio/_metadata/version b/homebrew/partio/_metadata/version
new file mode 100644
index 000000000..9084fa2f7
--- /dev/null
+++ b/homebrew/partio/_metadata/version
@@ -0,0 +1 @@
+1.1.0
diff --git a/homebrew/partio/download.sh b/homebrew/partio/download.sh
new file mode 100755
index 000000000..ed000e0b1
--- /dev/null
+++ b/homebrew/partio/download.sh
@@ -0,0 +1 @@
+wget https://github.com/wdas/partio/archive/v1.1.0.tar.gz \ No newline at end of file
diff --git a/homebrew/partio/patches.sh b/homebrew/partio/patches.sh
new file mode 100755
index 000000000..815143b2a
--- /dev/null
+++ b/homebrew/partio/patches.sh
@@ -0,0 +1,3 @@
+wget https://github.com/wdas/partio/commit/5b80b00ddedaef9ffed19ea4e6773ed1dc27394e.diff?full_index=1
+wget https://github.com/wdas/partio/commit/bdce60e316b699fb4fd813c6cad9d369205657c8.diff?full_index=1
+wget https://github.com/wdas/partio/commit/e557c212b0e8e0c4830e7991541686d568853afd.diff?full_index=1