summaryrefslogtreecommitdiff
path: root/homebrew/libbpg
diff options
context:
space:
mode:
Diffstat (limited to 'homebrew/libbpg')
-rw-r--r--homebrew/libbpg/.beer35
-rw-r--r--homebrew/libbpg/.make.sh-auto4
-rw-r--r--homebrew/libbpg/_metadata/description1
-rw-r--r--homebrew/libbpg/_metadata/homepage1
-rw-r--r--homebrew/libbpg/_metadata/name1
-rw-r--r--homebrew/libbpg/_metadata/version1
-rwxr-xr-xhomebrew/libbpg/download.sh1
7 files changed, 44 insertions, 0 deletions
diff --git a/homebrew/libbpg/.beer b/homebrew/libbpg/.beer
new file mode 100644
index 000000000..88cff58b5
--- /dev/null
+++ b/homebrew/libbpg/.beer
@@ -0,0 +1,35 @@
+{
+ "name": "Libbpg",
+ "description": "Image format meant to improve on JPEG quality and file size",
+ "url": "https://bellard.org/bpg/libbpg-0.9.8.tar.gz",
+ "mirror": null,
+ "homepage": "https://bellard.org/bpg/",
+ "depends": [
+ {
+ "depend": "cmake",
+ "build-depend": true
+ },
+ {
+ "depend": "yasm",
+ "build-depend": true
+ },
+ {
+ "depend": "jpeg",
+ "build-depend": false
+ },
+ {
+ "depend": "libpng",
+ "build-depend": false
+ }
+ ],
+ "resource": [],
+ "conflicts": [],
+ "patches": [],
+ "install": [
+ "bin.mkpath",
+ "system \"make\", \"install\", \"prefix=#{prefix}\", \"CONFIG_APPLE=y\"",
+ "pkgshare.install Dir[\"html/bpgdec*.js\"]"
+ ],
+ "version": "0.9.8",
+ "file": "libbpg.rb"
+} \ No newline at end of file
diff --git a/homebrew/libbpg/.make.sh-auto b/homebrew/libbpg/.make.sh-auto
new file mode 100644
index 000000000..a7d1b21f7
--- /dev/null
+++ b/homebrew/libbpg/.make.sh-auto
@@ -0,0 +1,4 @@
+pkg:setup
+bin.mkpath
+make DESTDIR=${PKG_DEST} install prefix=${PKG_TAPF} CONFIG_APPLE=y
+pkgshare.install Dir["html/bpgdec*.js"]
diff --git a/homebrew/libbpg/_metadata/description b/homebrew/libbpg/_metadata/description
new file mode 100644
index 000000000..acd9b67e0
--- /dev/null
+++ b/homebrew/libbpg/_metadata/description
@@ -0,0 +1 @@
+Image format meant to improve on JPEG quality and file size
diff --git a/homebrew/libbpg/_metadata/homepage b/homebrew/libbpg/_metadata/homepage
new file mode 100644
index 000000000..f565c4de0
--- /dev/null
+++ b/homebrew/libbpg/_metadata/homepage
@@ -0,0 +1 @@
+https://bellard.org/bpg/
diff --git a/homebrew/libbpg/_metadata/name b/homebrew/libbpg/_metadata/name
new file mode 100644
index 000000000..bc8c59bbe
--- /dev/null
+++ b/homebrew/libbpg/_metadata/name
@@ -0,0 +1 @@
+Libbpg
diff --git a/homebrew/libbpg/_metadata/version b/homebrew/libbpg/_metadata/version
new file mode 100644
index 000000000..e3e180701
--- /dev/null
+++ b/homebrew/libbpg/_metadata/version
@@ -0,0 +1 @@
+0.9.8
diff --git a/homebrew/libbpg/download.sh b/homebrew/libbpg/download.sh
new file mode 100755
index 000000000..6aef4442f
--- /dev/null
+++ b/homebrew/libbpg/download.sh
@@ -0,0 +1 @@
+wget https://bellard.org/bpg/libbpg-0.9.8.tar.gz \ No newline at end of file