aboutsummaryrefslogtreecommitdiff
path: root/extra
diff options
context:
space:
mode:
Diffstat (limited to 'extra')
-rwxr-xr-xextra/libutf8proc/build13
-rw-r--r--extra/libutf8proc/checksums3
-rw-r--r--extra/libutf8proc/depends1
-rw-r--r--extra/libutf8proc/files/libutf8proc.pc.in10
-rw-r--r--extra/libutf8proc/meta3
-rw-r--r--extra/libutf8proc/sources2
-rw-r--r--extra/libutf8proc/version1
7 files changed, 33 insertions, 0 deletions
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 <cem@carbslinux.org>
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