mirror of
https://codeberg.org/kiss-community/repo
synced 2024-07-15 20:32:26 +00:00
freetype-harfbuzz: 2.10.2+2.7.0
Well, this was a journey.
This commit is contained in:
parent
6c68935fed
commit
225d08b98a
|
@ -14,27 +14,35 @@ build_freetype() (
|
||||||
)
|
)
|
||||||
|
|
||||||
build_harfbuzz() (
|
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
|
cd harfbuzz
|
||||||
|
|
||||||
./configure \
|
export DESTDIR="$1"
|
||||||
|
meson \
|
||||||
--prefix=/usr \
|
--prefix=/usr \
|
||||||
--with-glib=yes \
|
-Dpkg_config_path="$1/usr/lib/pkgconfig" \
|
||||||
--with-icu=no
|
-Ddefault_library=both \
|
||||||
|
-Dglib=enabled \
|
||||||
|
-Dfreetype=enabled \
|
||||||
|
-Dcairo=disabled \
|
||||||
|
-Dicu=disabled \
|
||||||
|
-Dbenchmark=disabled \
|
||||||
|
-Dtests=disabled \
|
||||||
|
. output
|
||||||
|
|
||||||
make
|
ninja -C output
|
||||||
make DESTDIR="$1" install
|
ninja -C output install
|
||||||
)
|
)
|
||||||
|
|
||||||
build_freetype "$1" no
|
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"
|
build_harfbuzz "$1"
|
||||||
|
|
||||||
# Point Freetype to the Harfbuzz files.
|
# Point Freetype to the Harfbuzz files.
|
||||||
export HARFBUZZ_CFLAGS="-I$PWD/harfbuzz/src"
|
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
|
build_freetype "$1" yes
|
||||||
|
|
|
@ -1,2 +1,2 @@
|
||||||
1543d61025d2e6312e0a1c563652555f17378a204a61e99928c9fcef030a2d8b freetype-2.10.2.tar.xz
|
1543d61025d2e6312e0a1c563652555f17378a204a61e99928c9fcef030a2d8b freetype-2.10.2.tar.xz
|
||||||
6648a571a27f186e47094121f0095e1b809e918b3037c630c7f38ffad86e3035 harfbuzz-2.6.8.tar.xz
|
4dba05de1fd44705f54c40d801e0e3d4833555d004cb611cc18675173feae75b 2.7.0.tar.gz
|
||||||
|
|
|
@ -1,2 +1,2 @@
|
||||||
https://download-mirror.savannah.gnu.org/releases/freetype/freetype-2.10.2.tar.xz freetype
|
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
|
||||||
|
|
|
@ -1 +1 @@
|
||||||
2.10.2+2.6.8 1
|
2.10.2+2.7.0 1
|
||||||
|
|
Loading…
Reference in New Issue
Block a user