mirror of
https://github.com/void-linux/void-packages.git
synced 2025-09-04 19:12:57 +02:00
New package: libeot-0.01
This commit is contained in:
parent
545d620bfa
commit
76916fcd36
4 changed files with 35 additions and 0 deletions
|
@ -4549,3 +4549,4 @@ libdatovka.so.8 libdatovka-0.7.0_1
|
||||||
libhyprutils.so.6 hyprutils-0.7.1_1
|
libhyprutils.so.6 hyprutils-0.7.1_1
|
||||||
libblake3.so.0 libblake3-1.8.2_1
|
libblake3.so.0 libblake3-1.8.2_1
|
||||||
libsexp.so.1 sfsexp-1.4.1
|
libsexp.so.1 sfsexp-1.4.1
|
||||||
|
libeot.so.0 libeot-0.01_1
|
||||||
|
|
1
srcpkgs/libeot-devel
Symbolic link
1
srcpkgs/libeot-devel
Symbolic link
|
@ -0,0 +1 @@
|
||||||
|
libeot
|
11
srcpkgs/libeot/patches/ubsan.patch.0
Normal file
11
srcpkgs/libeot/patches/ubsan.patch.0
Normal file
|
@ -0,0 +1,11 @@
|
||||||
|
--- a/src/EOT.c
|
||||||
|
+++ b/src/EOT.c
|
||||||
|
@@ -12,7 +12,7 @@
|
||||||
|
|
||||||
|
uint32_t EOTreadU32LE(const uint8_t *bytes)
|
||||||
|
{
|
||||||
|
- return bytes[0] | (bytes[1] << 8) | (bytes[2] << 16) | (bytes[3] << 24);
|
||||||
|
+ return ((uint32_t)bytes[0]) | (((uint32_t)bytes[1]) << 8) | (((uint32_t)bytes[2]) << 16) | (((uint32_t)bytes[3]) << 24);
|
||||||
|
}
|
||||||
|
|
||||||
|
uint16_t EOTreadU16LE(const uint8_t *bytes)
|
22
srcpkgs/libeot/template
Normal file
22
srcpkgs/libeot/template
Normal file
|
@ -0,0 +1,22 @@
|
||||||
|
# Template file for 'libeot'
|
||||||
|
pkgname=libeot
|
||||||
|
version=0.01
|
||||||
|
revision=1
|
||||||
|
build_style=gnu-configure
|
||||||
|
short_desc="Library for parsing/converting Embedded OpenType"
|
||||||
|
maintainer="Đoàn Trần Công Danh <congdanhqx@gmail.com>"
|
||||||
|
license="Apache-2.0"
|
||||||
|
homepage="https://github.com/umanwizard/libeot"
|
||||||
|
distfiles="https://dev-www.libreoffice.org/src/libeot-${version}.tar.bz2"
|
||||||
|
checksum=cf5091fa8e7dcdbe667335eb90a2cfdd0a3fe8f8c7c8d1ece44d9d055736a06a
|
||||||
|
|
||||||
|
libeot-devel_package() {
|
||||||
|
depends="${sourcepkg}>=${version}_${revision}"
|
||||||
|
short_desc+=" - development files"
|
||||||
|
pkg_install() {
|
||||||
|
vmove usr/include
|
||||||
|
vmove usr/lib/pkgconfig
|
||||||
|
vmove "usr/lib/*.la"
|
||||||
|
vmove "usr/lib/*.so"
|
||||||
|
}
|
||||||
|
}
|
Loading…
Add table
Reference in a new issue