Ports: Add FreeType 2.10.4

This commit is contained in:
Andreas Kling 2021-03-05 21:58:14 +01:00
parent 9f8a9dba0b
commit e0e8c6f70e
3 changed files with 20 additions and 0 deletions

View file

@ -21,6 +21,7 @@ Please make sure to keep this list up to date when adding and updating ports. :^
| [`editline`](editline/) | Minix Editline | 1.17.1 | https://troglobit.com/projects/editline/ |
| [`figlet`](figlet/) | FIGlet | 2.2.5 | http://www.figlet.org/ |
| [`flex`](flex/) | flex | 2.6.4 | https://github.com/westes/flex |
| [`freetype`](freetype/) | FreeType | 2.10.4 | https://www.freetype.org/ |
| [`frotz`](frotz/) | Frotz | | https://gitlab.com/DavidGriffith/frotz |
| [`gcc`](gcc/) | GNU Compiler Collection | 10.2.0 | https://gcc.gnu.org/ |
| [`git`](git/) | Git | 2.26.0 | https://git-scm.com/ |

7
Ports/freetype/package.sh Executable file
View file

@ -0,0 +1,7 @@
#!/usr/bin/env -S bash ../.port_include.sh
port=freetype
version=2.10.4
useconfigure=true
files="https://download.savannah.gnu.org/releases/freetype/freetype-${version}.tar.gz freetype-${version}.tar.gz"
workdir="freetype-$version"
configopts="--with-brotli=no --with-bzip2=no --with-zlib=no --with-harfbuzz=no --with-png=no"

View file

@ -0,0 +1,12 @@
diff -ru freetype-2.10.4/builds/unix/config.sub freetype-2.10.4-patched/builds/unix/config.sub
--- freetype-2.10.4/builds/unix/config.sub 2020-10-20 07:15:01.000000000 +0200
+++ freetype-2.10.4-patched/builds/unix/config.sub 2021-03-05 21:50:35.776894354 +0100
@@ -1690,7 +1690,7 @@
# Now accept the basic system types.
# The portable systems comes first.
# Each alternative MUST end in a * to match a version number.
- gnu* | android* | bsd* | mach* | minix* | genix* | ultrix* | irix* \
+ gnu* | android* | bsd* | mach* | minix* | genix* | ultrix* | serenity* | irix* \
| *vms* | esix* | aix* | cnk* | sunos | sunos[34]* \
| hpux* | unos* | osf* | luna* | dgux* | auroraux* | solaris* \
| sym* | plan9* | psp* | sim* | xray* | os68k* | v88r* \