diff options
author | davidovski <david@davidovski.xyz> | 2022-01-18 16:59:16 +0000 |
---|---|---|
committer | davidovski <david@davidovski.xyz> | 2022-01-18 16:59:16 +0000 |
commit | 6da2b8fc249ebdc09293735dabcab4d3c4b379c3 (patch) | |
tree | dfeeb7df99c4b03ade2b9a83afdc06cc77206957 /repo | |
parent | 305e6df47eb5b354ac2321639ccda7f7d59a9d4b (diff) |
added font packages
Diffstat (limited to 'repo')
-rw-r--r-- | repo/system/freetype2.xibuild | 23 | ||||
-rw-r--r-- | repo/system/grub.xibuild | 2 | ||||
-rw-r--r-- | repo/system/libpng.xibuild | 20 |
3 files changed, 44 insertions, 1 deletions
diff --git a/repo/system/freetype2.xibuild b/repo/system/freetype2.xibuild new file mode 100644 index 0000000..a86ffa4 --- /dev/null +++ b/repo/system/freetype2.xibuild @@ -0,0 +1,23 @@ +#!/bin/bash + +DEPS=(brotli libpng which) + +PKG_VER=2.11.1 +SOURCE=https://downloads.sourceforge.net/freetype/freetype-$PKG_VER.tar.xz +DESC="Font rasterization library" + +prepare () { + sed -ri "s:.*(AUX_MODULES.*valid):\1:" modules.cfg && + + sed -r "s:.*(#.*SUBPIXEL_RENDERING) .*:\1:" \ + -i include/freetype/config/ftoption.h +} + +build () { + ./configure --prefix=/usr --enable-freetype-config --disable-static && + make +} + +package () { + make DESTDIR=$PKG_DEST install +} diff --git a/repo/system/grub.xibuild b/repo/system/grub.xibuild index 3e8c1c2..9d3ed8f 100644 --- a/repo/system/grub.xibuild +++ b/repo/system/grub.xibuild @@ -1,6 +1,6 @@ #!/bin/bash -DEPS=(sh xz gettext device-mapper efibootmgr) +DEPS=(sh xz gettext device-mapper efibootmgr freetype2) PKG_VER=2.06 SOURCE=https://ftp.gnu.org/gnu/grub/grub-$PKG_VER.tar.xz diff --git a/repo/system/libpng.xibuild b/repo/system/libpng.xibuild new file mode 100644 index 0000000..e434a5a --- /dev/null +++ b/repo/system/libpng.xibuild @@ -0,0 +1,20 @@ +#!/bin/bash + +DEPS=() + +PKG_VER=1.6.37 +SOURCE=https://downloads.sourceforge.net/libpng/libpng-$PKG_VER.tar.xz +DESC="A collection of routines used to create PNG images" + + +build () { + ./configure --prefix=/usr --disable-static && + make +} + +package () { + make DESTDIR=$PKG_DEST install + mkdir -v /usr/share/doc/libpng-$PKG_VER && + cp -v README libpng-manual.txt /usr/share/doc/libpng-$PKG_VER + +} |