summaryrefslogtreecommitdiff
path: root/homebrew/harfbuzz
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/harfbuzz
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/harfbuzz')
-rw-r--r--homebrew/harfbuzz/.beer81
-rw-r--r--homebrew/harfbuzz/.make.sh-auto4
-rw-r--r--homebrew/harfbuzz/_metadata/description1
-rw-r--r--homebrew/harfbuzz/_metadata/homepage1
-rw-r--r--homebrew/harfbuzz/_metadata/name1
-rw-r--r--homebrew/harfbuzz/_metadata/version1
-rwxr-xr-xhomebrew/harfbuzz/download.sh1
7 files changed, 90 insertions, 0 deletions
diff --git a/homebrew/harfbuzz/.beer b/homebrew/harfbuzz/.beer
new file mode 100644
index 000000000..ca7387307
--- /dev/null
+++ b/homebrew/harfbuzz/.beer
@@ -0,0 +1,81 @@
+{
+ "name": "Harfbuzz",
+ "description": "OpenType text shaping engine",
+ "url": "https://www.freedesktop.org/software/harfbuzz/release/harfbuzz-2.4.0.tar.bz2",
+ "mirror": null,
+ "homepage": "https://wiki.freedesktop.org/www/Software/HarfBuzz/",
+ "depends": [
+ {
+ "depend": "autoconf",
+ "build-depend": true
+ },
+ {
+ "depend": "automake",
+ "build-depend": true
+ },
+ {
+ "depend": "libtool",
+ "build-depend": true
+ },
+ {
+ "depend": "ragel",
+ "build-depend": true
+ },
+ {
+ "depend": "gobject-introspection",
+ "build-depend": true
+ },
+ {
+ "depend": "pkg-config",
+ "build-depend": true
+ },
+ {
+ "depend": "cairo",
+ "build-depend": false
+ },
+ {
+ "depend": "freetype",
+ "build-depend": false
+ },
+ {
+ "depend": "glib",
+ "build-depend": false
+ },
+ {
+ "depend": "graphite2",
+ "build-depend": false
+ },
+ {
+ "depend": "icu4c",
+ "build-depend": false
+ }
+ ],
+ "resource": [
+ {
+ "name": "ttf",
+ "url": "https://github.com/behdad/harfbuzz/raw/fc0daafab0336b847ac14682e581a8838f36a0bf/test/shaping/fonts/sha1sum/270b89df543a7e48e206a2d830c0e10e5265c630.ttf"
+ }
+ ],
+ "conflicts": [],
+ "patches": [],
+ "install": [
+ "args = %W[",
+ "--disable-dependency-tracking",
+ "--prefix=#{prefix}",
+ "--enable-introspection=yes",
+ "--enable-static",
+ "--with-cairo=yes",
+ "--with-coretext=yes",
+ "--with-freetype=yes",
+ "--with-glib=yes",
+ "--with-gobject=yes",
+ "--with-graphite2=yes",
+ "--with-icu=yes",
+ "]",
+ "system \"./autogen.sh\" if build.head?",
+ "system \"./configure\", *args",
+ "system \"make\", \"install\""
+ ],
+ "version": "2.4.0",
+ "file": "harfbuzz.rb"
+} \ No newline at end of file
diff --git a/homebrew/harfbuzz/.make.sh-auto b/homebrew/harfbuzz/.make.sh-auto
new file mode 100644
index 000000000..f3f1bc147
--- /dev/null
+++ b/homebrew/harfbuzz/.make.sh-auto
@@ -0,0 +1,4 @@
+pkg:setup
+args = %W[--disable-dependency-tracking --prefix=#{prefix} --enable-introspection=yes --enable-static --with-cairo=yes --with-coretext=yes --with-freetype=yes --with-glib=yes --with-gobject=yes --with-graphite2=yes --with-icu=yes ]
+pkg:configure *args
+make DESTDIR=${PKG_DEST} install
diff --git a/homebrew/harfbuzz/_metadata/description b/homebrew/harfbuzz/_metadata/description
new file mode 100644
index 000000000..051b53bec
--- /dev/null
+++ b/homebrew/harfbuzz/_metadata/description
@@ -0,0 +1 @@
+OpenType text shaping engine
diff --git a/homebrew/harfbuzz/_metadata/homepage b/homebrew/harfbuzz/_metadata/homepage
new file mode 100644
index 000000000..9baf7b3c0
--- /dev/null
+++ b/homebrew/harfbuzz/_metadata/homepage
@@ -0,0 +1 @@
+https://wiki.freedesktop.org/www/Software/HarfBuzz/
diff --git a/homebrew/harfbuzz/_metadata/name b/homebrew/harfbuzz/_metadata/name
new file mode 100644
index 000000000..9b90e0321
--- /dev/null
+++ b/homebrew/harfbuzz/_metadata/name
@@ -0,0 +1 @@
+Harfbuzz
diff --git a/homebrew/harfbuzz/_metadata/version b/homebrew/harfbuzz/_metadata/version
new file mode 100644
index 000000000..197c4d5c2
--- /dev/null
+++ b/homebrew/harfbuzz/_metadata/version
@@ -0,0 +1 @@
+2.4.0
diff --git a/homebrew/harfbuzz/download.sh b/homebrew/harfbuzz/download.sh
new file mode 100755
index 000000000..e1a743204
--- /dev/null
+++ b/homebrew/harfbuzz/download.sh
@@ -0,0 +1 @@
+wget https://www.freedesktop.org/software/harfbuzz/release/harfbuzz-2.4.0.tar.bz2 \ No newline at end of file