summaryrefslogtreecommitdiff
path: root/homebrew/devil
diff options
context:
space:
mode:
authorMCApollo <34170230+MCApollo@users.noreply.github.com>2019-04-20 20:49:46 -0500
committerMCApollo <34170230+MCApollo@users.noreply.github.com>2019-04-23 20:18:47 -0500
commit12335518ab39608d58370c85ff9f5384ad2aa5f7 (patch)
tree352d81f2a2de3f1252af732080ec0fde38c13b4d /homebrew/devil
parenta2b26ad12d4fa12f0273645caf4be6d0b8b71e7c (diff)
Ported in the homebrew-marauder for a hacky update/import system.
TODO: Maybe add a license & fix up messy code.
Diffstat (limited to 'homebrew/devil')
-rw-r--r--homebrew/devil/.beer52
-rw-r--r--homebrew/devil/.make.sh-auto4
-rw-r--r--homebrew/devil/_metadata/description1
-rw-r--r--homebrew/devil/_metadata/homepage1
-rw-r--r--homebrew/devil/_metadata/name1
-rw-r--r--homebrew/devil/_metadata/version1
-rwxr-xr-xhomebrew/devil/download.sh1
-rwxr-xr-xhomebrew/devil/patches.sh2
8 files changed, 63 insertions, 0 deletions
diff --git a/homebrew/devil/.beer b/homebrew/devil/.beer
new file mode 100644
index 000000000..960a4cb2f
--- /dev/null
+++ b/homebrew/devil/.beer
@@ -0,0 +1,52 @@
+{
+ "name": "Devil",
+ "description": "Cross-platform image library",
+ "url": "https://downloads.sourceforge.net/project/openil/DevIL/1.8.0/DevIL-1.8.0.tar.gz",
+ "mirror": null,
+ "homepage": "https://sourceforge.net/projects/openil/",
+ "depends": [
+ {
+ "depend": "cmake",
+ "build-depend": true
+ },
+ {
+ "depend": "jasper",
+ "build-depend": false
+ },
+ {
+ "depend": "jpeg",
+ "build-depend": false
+ },
+ {
+ "depend": "libpng",
+ "build-depend": false
+ },
+ {
+ "depend": "libtiff",
+ "build-depend": false
+ },
+ {
+ "depend": "little-cms2",
+ "build-depend": false
+ }
+ ],
+ "resource": [],
+ "conflicts": [],
+ "patches": [
+ {
+ "url": "https://github.com/DentonW/DevIL/commit/41fcabbe.patch?full_index=1",
+ "strip": "1"
+ },
+ {
+ "url": "https://github.com/DentonW/DevIL/commit/4a2d7822.patch?full_index=1",
+ "strip": "1"
+ }
+ ],
+ "install": [
+ "cd \"DevIL\" do",
+ "system \"cmake\", \".\", *std_cmake_args",
+ "system \"make\", \"install\""
+ ],
+ "version": "1.8.0",
+ "file": "devil.rb"
+} \ No newline at end of file
diff --git a/homebrew/devil/.make.sh-auto b/homebrew/devil/.make.sh-auto
new file mode 100644
index 000000000..de4fee1e1
--- /dev/null
+++ b/homebrew/devil/.make.sh-auto
@@ -0,0 +1,4 @@
+pkg:setup
+cd "DevIL"
+cmake . -DCMAKE_TOOLCHAIN_FILE=${CMAKE_TOOLCHAIN_FILE}
+make DESTDIR=${PKG_DEST} install
diff --git a/homebrew/devil/_metadata/description b/homebrew/devil/_metadata/description
new file mode 100644
index 000000000..c09841835
--- /dev/null
+++ b/homebrew/devil/_metadata/description
@@ -0,0 +1 @@
+Cross-platform image library
diff --git a/homebrew/devil/_metadata/homepage b/homebrew/devil/_metadata/homepage
new file mode 100644
index 000000000..b2fd44a8c
--- /dev/null
+++ b/homebrew/devil/_metadata/homepage
@@ -0,0 +1 @@
+https://sourceforge.net/projects/openil/
diff --git a/homebrew/devil/_metadata/name b/homebrew/devil/_metadata/name
new file mode 100644
index 000000000..47048d72f
--- /dev/null
+++ b/homebrew/devil/_metadata/name
@@ -0,0 +1 @@
+Devil
diff --git a/homebrew/devil/_metadata/version b/homebrew/devil/_metadata/version
new file mode 100644
index 000000000..27f9cd322
--- /dev/null
+++ b/homebrew/devil/_metadata/version
@@ -0,0 +1 @@
+1.8.0
diff --git a/homebrew/devil/download.sh b/homebrew/devil/download.sh
new file mode 100755
index 000000000..ec800d963
--- /dev/null
+++ b/homebrew/devil/download.sh
@@ -0,0 +1 @@
+wget https://downloads.sourceforge.net/project/openil/DevIL/1.8.0/DevIL-1.8.0.tar.gz \ No newline at end of file
diff --git a/homebrew/devil/patches.sh b/homebrew/devil/patches.sh
new file mode 100755
index 000000000..647a6fa66
--- /dev/null
+++ b/homebrew/devil/patches.sh
@@ -0,0 +1,2 @@
+wget https://github.com/DentonW/DevIL/commit/41fcabbe.patch?full_index=1
+wget https://github.com/DentonW/DevIL/commit/4a2d7822.patch?full_index=1