mirror of
https://github.com/SerenityOS/serenity
synced 2024-07-22 02:26:11 +00:00
Ports: Add FreeType 2.10.4
This commit is contained in:
parent
9f8a9dba0b
commit
e0e8c6f70e
|
@ -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
7
Ports/freetype/package.sh
Executable 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"
|
12
Ports/freetype/patches/configure.patch
Normal file
12
Ports/freetype/patches/configure.patch
Normal 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* \
|
Loading…
Reference in a new issue