summaryrefslogtreecommitdiff
path: root/homebrew/ufraw
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/ufraw
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/ufraw')
-rw-r--r--homebrew/ufraw/.beer67
-rw-r--r--homebrew/ufraw/.make.sh-auto4
-rw-r--r--homebrew/ufraw/_metadata/description1
-rw-r--r--homebrew/ufraw/_metadata/homepage1
-rw-r--r--homebrew/ufraw/_metadata/name1
-rw-r--r--homebrew/ufraw/_metadata/version1
-rwxr-xr-xhomebrew/ufraw/download.sh1
-rwxr-xr-xhomebrew/ufraw/patches.sh2
8 files changed, 78 insertions, 0 deletions
diff --git a/homebrew/ufraw/.beer b/homebrew/ufraw/.beer
new file mode 100644
index 000000000..a29e44aaf
--- /dev/null
+++ b/homebrew/ufraw/.beer
@@ -0,0 +1,67 @@
+{
+ "name": "Ufraw",
+ "description": "Unidentified Flying RAW: RAW image processing utility",
+ "url": "https://downloads.sourceforge.net/project/ufraw/ufraw/ufraw-0.22/ufraw-0.22.tar.gz",
+ "mirror": null,
+ "homepage": "https://ufraw.sourceforge.io",
+ "depends": [
+ {
+ "depend": "pkg-config",
+ "build-depend": true
+ },
+ {
+ "depend": "dcraw",
+ "build-depend": false
+ },
+ {
+ "depend": "gettext",
+ "build-depend": false
+ },
+ {
+ "depend": "glib",
+ "build-depend": false
+ },
+ {
+ "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://raw.githubusercontent.com/Homebrew/formula-patches/b8ed064/ufraw/jpeg9.patch",
+ "strip": "1"
+ },
+ {
+ "url": "https://raw.githubusercontent.com/Homebrew/formula-patches/d5bf686c74/ufraw/high_sierra.patch",
+ "strip": "1"
+ }
+ ],
+ "install": [
+ "system \"./configure\", \"--disable-dependency-tracking\",",
+ "\"--prefix=#{prefix}\",",
+ "\"--without-gtk\",",
+ "\"--without-gimp\"",
+ "system \"make\", \"install\"",
+ "(share/\"pixmaps\").rmtree"
+ ],
+ "version": "0.22",
+ "file": "ufraw.rb"
+} \ No newline at end of file
diff --git a/homebrew/ufraw/.make.sh-auto b/homebrew/ufraw/.make.sh-auto
new file mode 100644
index 000000000..ff81c272a
--- /dev/null
+++ b/homebrew/ufraw/.make.sh-auto
@@ -0,0 +1,4 @@
+pkg:setup
+pkg:configure --disable-dependency-tracking --without-gtk --without-gimp
+make DESTDIR=${PKG_DEST} install
+(share/"pixmaps").rmtree
diff --git a/homebrew/ufraw/_metadata/description b/homebrew/ufraw/_metadata/description
new file mode 100644
index 000000000..ac2948ec4
--- /dev/null
+++ b/homebrew/ufraw/_metadata/description
@@ -0,0 +1 @@
+Unidentified Flying RAW: RAW image processing utility
diff --git a/homebrew/ufraw/_metadata/homepage b/homebrew/ufraw/_metadata/homepage
new file mode 100644
index 000000000..a2b4cbbba
--- /dev/null
+++ b/homebrew/ufraw/_metadata/homepage
@@ -0,0 +1 @@
+https://ufraw.sourceforge.io
diff --git a/homebrew/ufraw/_metadata/name b/homebrew/ufraw/_metadata/name
new file mode 100644
index 000000000..ba660a28f
--- /dev/null
+++ b/homebrew/ufraw/_metadata/name
@@ -0,0 +1 @@
+Ufraw
diff --git a/homebrew/ufraw/_metadata/version b/homebrew/ufraw/_metadata/version
new file mode 100644
index 000000000..e34629406
--- /dev/null
+++ b/homebrew/ufraw/_metadata/version
@@ -0,0 +1 @@
+0.22
diff --git a/homebrew/ufraw/download.sh b/homebrew/ufraw/download.sh
new file mode 100755
index 000000000..9989952d6
--- /dev/null
+++ b/homebrew/ufraw/download.sh
@@ -0,0 +1 @@
+wget https://downloads.sourceforge.net/project/ufraw/ufraw/ufraw-0.22/ufraw-0.22.tar.gz \ No newline at end of file
diff --git a/homebrew/ufraw/patches.sh b/homebrew/ufraw/patches.sh
new file mode 100755
index 000000000..2346caf6c
--- /dev/null
+++ b/homebrew/ufraw/patches.sh
@@ -0,0 +1,2 @@
+wget https://raw.githubusercontent.com/Homebrew/formula-patches/b8ed064/ufraw/jpeg9.patch
+wget https://raw.githubusercontent.com/Homebrew/formula-patches/d5bf686c74/ufraw/high_sierra.patch