diff options
Diffstat (limited to 'xorg/freetype-harfbuzz/build')
-rwxr-xr-x | xorg/freetype-harfbuzz/build | 50 |
1 files changed, 0 insertions, 50 deletions
diff --git a/xorg/freetype-harfbuzz/build b/xorg/freetype-harfbuzz/build deleted file mode 100755 index 9fb13d97..00000000 --- a/xorg/freetype-harfbuzz/build +++ /dev/null @@ -1,50 +0,0 @@ -#!/bin/sh -e - -build_freetype() ( - cd freetype - - CFLAGS="$CFLAGS -DDEFAULT_TT_INTERPRETER_VERSION=TT_INTERPRETER_VERSION_40" \ - ./configure \ - --prefix=/usr \ - --enable-freetype-config \ - --with-harfbuzz="$2" - - make - make DESTDIR="$1" install -) - -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 - - export DESTDIR="$1" - meson \ - --prefix=/usr \ - -Dglib=enabled \ - -Dfreetype=enabled \ - -Ddefault_library=both \ - -Dicu=disabled \ - -Dbenchmark=disabled \ - -Dtests=disabled \ - -Dpkg_config_path="$1/usr/lib/pkgconfig" \ - . output - - ninja -C output - ninja -C output install -) - -build_freetype "$1" no - - -build_harfbuzz "$1" - -# Point Freetype to the Harfbuzz files. -export HARFBUZZ_CFLAGS="-I$PWD/harfbuzz/src" -export HARFBUZZ_LIBS="-L$PWD/harfbuzz/output/src -lharfbuzz" - -build_freetype "$1" yes |