summaryrefslogtreecommitdiff
path: root/Ports
diff options
context:
space:
mode:
authorEWouters <6179932+EWouters@users.noreply.github.com>2022-06-03 12:58:51 +0200
committerLinus Groh <mail@linusgroh.de>2022-06-08 11:40:31 +0100
commitb3cf5a5df773d76dd873026ad6f144ff144c8e8a (patch)
treefaeb20e61da58e296adf5df8ee942e627717ebbe /Ports
parentb0f8f4ca7d3162a2c193376bbcd05418176a65a1 (diff)
downloadserenity-b3cf5a5df773d76dd873026ad6f144ff144c8e8a.zip
Ports/freetype: Update freetype to version 2.12.1
Diffstat (limited to 'Ports')
-rw-r--r--Ports/AvailablePorts.md2
-rwxr-xr-xPorts/freetype/package.sh19
2 files changed, 10 insertions, 11 deletions
diff --git a/Ports/AvailablePorts.md b/Ports/AvailablePorts.md
index 657da03b94..d0184ae4f5 100644
--- a/Ports/AvailablePorts.md
+++ b/Ports/AvailablePorts.md
@@ -56,7 +56,7 @@ This list is also available at [ports.serenityos.net](https://ports.serenityos.n
| [`fotaq`](fotaq/) | Flight of the Amazon Queen | 1.0 | https://www.scummvm.org/games/#games-queen |
| [`freeciv`](freeciv/) | Freeciv | 3.0.0-beta2 | http://freeciv.org/ |
| [`freedink`](freedink/) | FreeDink | 109.6 | https://www.gnu.org/software/freedink/ |
-| [`freetype`](freetype/) | FreeType | 2.12.0 | https://www.freetype.org/ |
+| [`freetype`](freetype/) | FreeType | 2.12.1 | https://www.freetype.org/ |
| [`frotz`](frotz/) | Frotz | 2.53 | https://gitlab.com/DavidGriffith/frotz |
| [`gawk`](gawk/) | GNU awk | 5.1.1 | https://www.gnu.org/software/gawk/ |
| [`gcc`](gcc/) | GNU Compiler Collection | 12.1.0 | https://gcc.gnu.org/ |
diff --git a/Ports/freetype/package.sh b/Ports/freetype/package.sh
index 7b6423ae39..825c1db0a3 100755
--- a/Ports/freetype/package.sh
+++ b/Ports/freetype/package.sh
@@ -1,16 +1,15 @@
#!/usr/bin/env -S bash ../.port_include.sh
-port=freetype
-version=2.12.0
-useconfigure=true
-use_fresh_config_sub=true
+port='freetype'
+version='2.12.1'
+files="https://download.savannah.gnu.org/releases/freetype/freetype-${version}.tar.gz freetype-${version}.tar.gz efe71fd4b8246f1b0b1b9bfca13cfff1c9ad85930340c27df469733bbb620938"
+auth_type='sha256'
+useconfigure='true'
+use_fresh_config_sub='true'
config_sub_paths=("builds/unix/config.sub")
-files="https://download.savannah.gnu.org/releases/freetype/freetype-${version}.tar.gz freetype-${version}.tar.gz 7940a46eeb0255baaa87c553d72778c4f8daa2b8888c8e2a05766a2a8686740c"
-auth_type=sha256
configopts=("--with-brotli=no" "--with-bzip2=no" "--with-zlib=no" "--with-harfbuzz=no" "--with-png=no")
-config_sub_paths=("builds/unix/config.sub")
install() {
- run make DESTDIR=${SERENITY_INSTALL_ROOT} "${installopts[@]}" install
- ${CC} -shared -o ${SERENITY_INSTALL_ROOT}/usr/local/lib/libfreetype.so -Wl,-soname,libfreetype.so -Wl,--whole-archive ${SERENITY_INSTALL_ROOT}/usr/local/lib/libfreetype.a -Wl,--no-whole-archive
- rm -f ${SERENITY_INSTALL_ROOT}/usr/local/lib/libfreetype.la
+ run make DESTDIR="${SERENITY_INSTALL_ROOT}" "${installopts[@]}" install
+ ${CC} -shared -o "${SERENITY_INSTALL_ROOT}/usr/local/lib/libfreetype.so" -Wl,-soname,libfreetype.so -Wl,--whole-archive "${SERENITY_INSTALL_ROOT}/usr/local/lib/libfreetype.a" -Wl,--no-whole-archive
+ rm -f "${SERENITY_INSTALL_ROOT}/usr/local/lib/libfreetype.la"
}