summaryrefslogtreecommitdiff
path: root/homebrew/exiv2
diff options
context:
space:
mode:
Diffstat (limited to 'homebrew/exiv2')
-rw-r--r--homebrew/exiv2/.beer48
-rw-r--r--homebrew/exiv2/.make.sh-auto6
-rw-r--r--homebrew/exiv2/_metadata/description1
-rw-r--r--homebrew/exiv2/_metadata/homepage1
-rw-r--r--homebrew/exiv2/_metadata/name1
-rw-r--r--homebrew/exiv2/_metadata/version1
-rwxr-xr-xhomebrew/exiv2/download.sh1
7 files changed, 59 insertions, 0 deletions
diff --git a/homebrew/exiv2/.beer b/homebrew/exiv2/.beer
new file mode 100644
index 000000000..3f98ceb1e
--- /dev/null
+++ b/homebrew/exiv2/.beer
@@ -0,0 +1,48 @@
+{
+ "name": "Exiv2",
+ "description": "EXIF and IPTC metadata manipulation library and tools",
+ "url": "https://www.exiv2.org/builds/exiv2-0.27.0a-Source.tar.gz",
+ "mirror": null,
+ "homepage": "https://www.exiv2.org/",
+ "depends": [
+ {
+ "depend": "cmake",
+ "build-depend": true
+ },
+ {
+ "depend": "gettext",
+ "build-depend": false
+ },
+ {
+ "depend": "libssh",
+ "build-depend": false
+ }
+ ],
+ "resource": [],
+ "conflicts": [],
+ "patches": [],
+ "install": [
+ "args = std_cmake_args",
+ "args += %W[",
+ "-DEXIV2_ENABLE_XMP=ON",
+ "-DEXIV2_ENABLE_VIDEO=ON",
+ "-DEXIV2_ENABLE_PNG=ON",
+ "-DEXIV2_ENABLE_NLS=ON",
+ "-DEXIV2_ENABLE_PRINTUCS2=ON",
+ "-DEXIV2_ENABLE_LENSDATA=ON",
+ "-DEXIV2_ENABLE_VIDEO=ON",
+ "-DEXIV2_ENABLE_WEBREADY=ON",
+ "-DEXIV2_ENABLE_CURL=ON",
+ "-DEXIV2_ENABLE_SSH=ON",
+ "-DEXIV2_BUILD_SAMPLES=OFF",
+ "-DSSH_LIBRARY=#{Formula[\"libssh\"].opt_lib}/libssh.dylib",
+ "-DSSH_INCLUDE_DIR=#{Formula[\"libssh\"].opt_include}",
+ "..",
+ "]",
+ "mkdir \"build.cmake\" do",
+ "system \"cmake\", \"-G\", \"Unix Makefiles\", \".\", *args",
+ "system \"make\", \"install\""
+ ],
+ "version": "0.27.0",
+ "file": "exiv2.rb"
+} \ No newline at end of file
diff --git a/homebrew/exiv2/.make.sh-auto b/homebrew/exiv2/.make.sh-auto
new file mode 100644
index 000000000..5f5099224
--- /dev/null
+++ b/homebrew/exiv2/.make.sh-auto
@@ -0,0 +1,6 @@
+pkg:setup
+args = std_cmake_args
+args += %W[-DEXIV2_ENABLE_XMP=ON -DEXIV2_ENABLE_VIDEO=ON -DEXIV2_ENABLE_PNG=ON -DEXIV2_ENABLE_NLS=ON -DEXIV2_ENABLE_PRINTUCS2=ON -DEXIV2_ENABLE_LENSDATA=ON -DEXIV2_ENABLE_VIDEO=ON -DEXIV2_ENABLE_WEBREADY=ON -DEXIV2_ENABLE_CURL=ON -DEXIV2_ENABLE_SSH=ON -DEXIV2_BUILD_SAMPLES=OFF -DSSH_LIBRARY=#{Formula["libssh"].opt_lib}/libssh.dylib -DSSH_INCLUDE_DIR=#{Formula["libssh"].opt_include} .. ]
+mkdir "build.cmake" && cd build.cmake
+cmake -G Unix Makefiles . *args
+make DESTDIR=${PKG_DEST} install
diff --git a/homebrew/exiv2/_metadata/description b/homebrew/exiv2/_metadata/description
new file mode 100644
index 000000000..c488e3ed9
--- /dev/null
+++ b/homebrew/exiv2/_metadata/description
@@ -0,0 +1 @@
+EXIF and IPTC metadata manipulation library and tools
diff --git a/homebrew/exiv2/_metadata/homepage b/homebrew/exiv2/_metadata/homepage
new file mode 100644
index 000000000..e0a64f9be
--- /dev/null
+++ b/homebrew/exiv2/_metadata/homepage
@@ -0,0 +1 @@
+https://www.exiv2.org/
diff --git a/homebrew/exiv2/_metadata/name b/homebrew/exiv2/_metadata/name
new file mode 100644
index 000000000..dc9d3a3b0
--- /dev/null
+++ b/homebrew/exiv2/_metadata/name
@@ -0,0 +1 @@
+Exiv2
diff --git a/homebrew/exiv2/_metadata/version b/homebrew/exiv2/_metadata/version
new file mode 100644
index 000000000..1b58cc101
--- /dev/null
+++ b/homebrew/exiv2/_metadata/version
@@ -0,0 +1 @@
+0.27.0
diff --git a/homebrew/exiv2/download.sh b/homebrew/exiv2/download.sh
new file mode 100755
index 000000000..8455d0afe
--- /dev/null
+++ b/homebrew/exiv2/download.sh
@@ -0,0 +1 @@
+wget https://www.exiv2.org/builds/exiv2-0.27.0a-Source.tar.gz \ No newline at end of file