2
0
mirror of https://codeberg.org/kiss-community/repo synced 2024-07-04 15:02:27 +00:00

freetype-harfbuzz: 2.10.2+2.7.0

Well, this was a journey.
This commit is contained in:
Dylan Araps 2020-07-28 14:14:10 +03:00
parent 6c68935fed
commit 225d08b98a
No known key found for this signature in database
GPG Key ID: 46D62DD9F1DE636E
4 changed files with 22 additions and 14 deletions

View File

@ -14,27 +14,35 @@ build_freetype() (
)
build_harfbuzz() (
# Point Harfbuzz to the Freetype files.
export CFLAGS="$CFLAGS -I$1/usr/include/freetype2"
export CXXFLAGS="$CXXFLAGS -I$1/usr/include/freetype2"
export LDFLAGS="$LDFLAGS -L$1/usr/lib"
cd harfbuzz
./configure \
export DESTDIR="$1"
meson \
--prefix=/usr \
--with-glib=yes \
--with-icu=no
-Dpkg_config_path="$1/usr/lib/pkgconfig" \
-Ddefault_library=both \
-Dglib=enabled \
-Dfreetype=enabled \
-Dcairo=disabled \
-Dicu=disabled \
-Dbenchmark=disabled \
-Dtests=disabled \
. output
make
make DESTDIR="$1" install
ninja -C output
ninja -C output install
)
build_freetype "$1" no
# Point Harfbuzz to the Freetype files.
export FREETYPE_CFLAGS="-I$PWD/freetype/include"
export FREETYPE_LIBS="-L$1/usr/lib -lfreetype"
build_harfbuzz "$1"
# Point Freetype to the Harfbuzz files.
export HARFBUZZ_CFLAGS="-I$PWD/harfbuzz/src"
export HARFBUZZ_LIBS="-L$PWD/harfbuzz/src/.libs -lharfbuzz"
export HARFBUZZ_LIBS="-L$PWD/harfbuzz/output/src -lharfbuzz"
build_freetype "$1" yes

View File

@ -1,2 +1,2 @@
1543d61025d2e6312e0a1c563652555f17378a204a61e99928c9fcef030a2d8b freetype-2.10.2.tar.xz
6648a571a27f186e47094121f0095e1b809e918b3037c630c7f38ffad86e3035 harfbuzz-2.6.8.tar.xz
4dba05de1fd44705f54c40d801e0e3d4833555d004cb611cc18675173feae75b 2.7.0.tar.gz

View File

@ -1,2 +1,2 @@
https://download-mirror.savannah.gnu.org/releases/freetype/freetype-2.10.2.tar.xz freetype
https://github.com/harfbuzz/harfbuzz/releases/download/2.6.8/harfbuzz-2.6.8.tar.xz harfbuzz
https://github.com/harfbuzz/harfbuzz/archive/2.7.0.tar.gz harfbuzz

View File

@ -1 +1 @@
2.10.2+2.6.8 1
2.10.2+2.7.0 1