diff --git a/common/shlibs b/common/shlibs index f6417246834..bde18c12142 100644 --- a/common/shlibs +++ b/common/shlibs @@ -4283,3 +4283,6 @@ libpdal_base.so.15 libpdal-2.5.6_1 libpdal_util.so.15 libpdal-2.5.6_1 libdisplay-info.so.1 libdisplay-info-0.1.1_1 libsqsh.so.1 libsqsh-1.3.0_1 +libunicode.so.0.4 libunicode-0.4.0_1 +libunicode_ucd.so.0.4 libunicode-0.4.0_1 +libunicode_loader.so.0.4 libunicode-0.4.0_1 diff --git a/srcpkgs/libunicode-devel b/srcpkgs/libunicode-devel new file mode 120000 index 00000000000..3ee4071cb0f --- /dev/null +++ b/srcpkgs/libunicode-devel @@ -0,0 +1 @@ +libunicode \ No newline at end of file diff --git a/srcpkgs/libunicode/template b/srcpkgs/libunicode/template new file mode 100644 index 00000000000..d79dd26d229 --- /dev/null +++ b/srcpkgs/libunicode/template @@ -0,0 +1,38 @@ +# Template file for 'libunicode' +pkgname=libunicode +version=0.4.0 +revision=1 +_ucd_version=15.0.0 +build_style=cmake +build_helper="qemu" +configure_args="-DLIBUNICODE_TESTING=OFF" +hostmakedepends="python3" +makedepends="fmt-devel" +short_desc="Modern C++17 Unicode library" +maintainer="0x5c " +license="Apache-2.0" +homepage="https://github.com/contour-terminal/libunicode" +changelog="https://github.com/contour-terminal/libunicode/raw/master/Changelog.md" +distfiles="https://github.com/contour-terminal/libunicode/archive/refs/tags/v${version}.tar.gz + https://www.unicode.org/Public/${_ucd_version}/ucd/UCD.zip>ucd-${_ucd_version}.zip" +checksum="a5c8ba2cd3df539985bfafe43f812de143a56f01e4074e95831a37a13606beda + 5fbde400f3e687d25cc9b0a8d30d7619e76cb2f4c3e85ba9df8ec1312cb6718c" +skip_extraction="ucd-${_ucd_version}.zip" + +if [ "$XBPS_TARGET_WORDSIZE" -eq 32 ]; then + broken="32bit architectures not currently supported, problems with SIMD" +fi + +post_extract() { + vsrccopy "ucd-${_ucd_version}.zip" _ucd +} + +libunicode-devel_package() { + depends="${sourcepkg}>=${version}_${revision}" + short_desc+=" - development files" + pkg_install() { + vmove usr/include + vmove "usr/lib/*.so" + vmove usr/lib/cmake + } +}