From 81272711f117666afc38407ceed587dc9039a729 Mon Sep 17 00:00:00 2001 From: Cem Keylan Date: Mon, 15 Nov 2021 15:07:36 +0100 Subject: libutf8proc: add new package at 2.4.0 --- extra/libutf8proc/build | 13 +++++++++++++ extra/libutf8proc/checksums | 3 +++ extra/libutf8proc/depends | 1 + extra/libutf8proc/files/libutf8proc.pc.in | 10 ++++++++++ extra/libutf8proc/meta | 3 +++ extra/libutf8proc/sources | 2 ++ extra/libutf8proc/version | 1 + 7 files changed, 33 insertions(+) create mode 100755 extra/libutf8proc/build create mode 100644 extra/libutf8proc/checksums create mode 100644 extra/libutf8proc/depends create mode 100644 extra/libutf8proc/files/libutf8proc.pc.in create mode 100644 extra/libutf8proc/meta create mode 100644 extra/libutf8proc/sources create mode 100644 extra/libutf8proc/version diff --git a/extra/libutf8proc/build b/extra/libutf8proc/build new file mode 100755 index 00000000..c40173ef --- /dev/null +++ b/extra/libutf8proc/build @@ -0,0 +1,13 @@ +#!/bin/sh -e + +export DESTDIR="$1" + +cmake -B output \ + -DCMAKE_INSTALL_PREFIX=/usr \ + -DBUILD_SHARED_LIBS=OFF \ + -Wno-dev + +cmake --build output +cmake --install output + +clinst -Dm644 -s "s,@VERSION@,$2,g" libutf8proc.pc.in "$1/usr/lib/pkgconfig/libutf8proc.pc" diff --git a/extra/libutf8proc/checksums b/extra/libutf8proc/checksums new file mode 100644 index 00000000..be17ba6b --- /dev/null +++ b/extra/libutf8proc/checksums @@ -0,0 +1,3 @@ +%BLAKE3 +fc6ec550cde5be15a61795c3c1341db438ae468d38598ddf758c94591e8522b7 libutf8proc-2.4.0.tar.gz +3a337eb8fb3d857216a65110568f09be3644a85331eb70526d4a448df0be719d libutf8proc.pc.in diff --git a/extra/libutf8proc/depends b/extra/libutf8proc/depends new file mode 100644 index 00000000..7d91ec22 --- /dev/null +++ b/extra/libutf8proc/depends @@ -0,0 +1 @@ +cmake make diff --git a/extra/libutf8proc/files/libutf8proc.pc.in b/extra/libutf8proc/files/libutf8proc.pc.in new file mode 100644 index 00000000..c59a78a1 --- /dev/null +++ b/extra/libutf8proc/files/libutf8proc.pc.in @@ -0,0 +1,10 @@ +prefix=/usr +exec_prefix=${prefix} +libdir=${exec_prefix}/lib +includedir=${prefix}/include + +Name: libutf8proc +Description: UTF8 processing +Version: @VERSION@ +Libs: -L${libdir} -lutf8proc +Cflags: -I${includedir} -DUTF8PROC_EXPORTS diff --git a/extra/libutf8proc/meta b/extra/libutf8proc/meta new file mode 100644 index 00000000..135ee8c4 --- /dev/null +++ b/extra/libutf8proc/meta @@ -0,0 +1,3 @@ +description: C library for processing UTF-8 encoded Unicode strings +license: MIT +maintainer: Cem Keylan diff --git a/extra/libutf8proc/sources b/extra/libutf8proc/sources new file mode 100644 index 00000000..69177833 --- /dev/null +++ b/extra/libutf8proc/sources @@ -0,0 +1,2 @@ +https://git.netsurf-browser.org/libutf8proc.git/snapshot/libutf8proc-2.4.0.tar.gz +files/libutf8proc.pc.in diff --git a/extra/libutf8proc/version b/extra/libutf8proc/version new file mode 100644 index 00000000..7afb4de6 --- /dev/null +++ b/extra/libutf8proc/version @@ -0,0 +1 @@ +2.4.0 1 -- cgit v1.2.3