From 3924c7bfcb333a8311df2d2e6f2f7d592d079f2f Mon Sep 17 00:00:00 2001 From: Danny Rawlins Date: Mon, 2 Apr 2018 15:09:29 +1000 Subject: [PATCH] woff2: contrib -> opt --- woff2/.footprint | 17 +++++++++++++++++ woff2/.md5sum | 1 + woff2/.signature | 5 +++++ woff2/Pkgfile | 24 ++++++++++++++++++++++++ 4 files changed, 47 insertions(+) create mode 100644 woff2/.footprint create mode 100644 woff2/.md5sum create mode 100644 woff2/.signature create mode 100644 woff2/Pkgfile diff --git a/woff2/.footprint b/woff2/.footprint new file mode 100644 index 000000000..a92144861 --- /dev/null +++ b/woff2/.footprint @@ -0,0 +1,17 @@ +drwxr-xr-x root/root usr/ +drwxr-xr-x root/root usr/include/ +drwxr-xr-x root/root usr/include/woff2/ +-rw-r--r-- root/root usr/include/woff2/decode.h +-rw-r--r-- root/root usr/include/woff2/encode.h +-rw-r--r-- root/root usr/include/woff2/output.h +drwxr-xr-x root/root usr/lib/ +lrwxrwxrwx root/root usr/lib/libwoff2common.so -> libwoff2common.so.1.0.2 +-rwxr-xr-x root/root usr/lib/libwoff2common.so.1.0.2 +lrwxrwxrwx root/root usr/lib/libwoff2dec.so -> libwoff2dec.so.1.0.2 +-rwxr-xr-x root/root usr/lib/libwoff2dec.so.1.0.2 +lrwxrwxrwx root/root usr/lib/libwoff2enc.so -> libwoff2enc.so.1.0.2 +-rwxr-xr-x root/root usr/lib/libwoff2enc.so.1.0.2 +drwxr-xr-x root/root usr/lib/pkgconfig/ +-rw-r--r-- root/root usr/lib/pkgconfig/libwoff2common.pc +-rw-r--r-- root/root usr/lib/pkgconfig/libwoff2dec.pc +-rw-r--r-- root/root usr/lib/pkgconfig/libwoff2enc.pc diff --git a/woff2/.md5sum b/woff2/.md5sum new file mode 100644 index 000000000..6ada093e0 --- /dev/null +++ b/woff2/.md5sum @@ -0,0 +1 @@ +793c8844845351cb80730a74937e411b woff2-v1.0.2.tar.gz diff --git a/woff2/.signature b/woff2/.signature new file mode 100644 index 000000000..a606b6e7f --- /dev/null +++ b/woff2/.signature @@ -0,0 +1,5 @@ +untrusted comment: verify with /etc/ports/opt.pub +RWSE3ohX2g5d/YnisSySExD4EcUslgQNVa4M3nLHLJaRg4mMK5AgD2zTW8q2A2/yCvZKIUdezKFJ0uhu6E+GmwRf5CBJt9rf9gk= +SHA256 (Pkgfile) = e4c2d53e1c7b2aafa865fdc76b371a9e8dd072b52928e89e868da0a48a4dba93 +SHA256 (.footprint) = c179ebad9e8bc5f83860892a89d23b7d5eaeb425234ed56e8759835357eee452 +SHA256 (woff2-v1.0.2.tar.gz) = add272bb09e6384a4833ffca4896350fdb16e0ca22df68c0384773c67a175594 diff --git a/woff2/Pkgfile b/woff2/Pkgfile new file mode 100644 index 000000000..8cae39ed3 --- /dev/null +++ b/woff2/Pkgfile @@ -0,0 +1,24 @@ +# Description: Web Open Font Format 2 reference implementation +# URL: https://github.com/google/woff2 +# Maintainer: Danny Rawlins, crux at romster dot me +# Depends on: brotli ninja + +name=woff2 +version=1.0.2 +release=1 +source=(https://github.com/google/$name/archive/v$version/$name-v$version.tar.gz) + +build() { + cd $name-$version + + install -d $SRC/build + cd $SRC/build + + cmake $SRC/$name-$version \ + -G Ninja \ + -DCMAKE_INSTALL_PREFIX="/usr" \ + -DCMAKE_INSTALL_LIBDIR="/usr/lib" + + ninja -j ${JOBS-1} + DESTDIR="$PKG" ninja install +}