Merge pull request #3931 from lrusak/fribidi-meson

fribidi: switch to use meson
This commit is contained in:
MilhouseVH 2019-10-24 03:58:54 +01:00 committed by GitHub
commit 81a345b72b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -10,19 +10,12 @@ PKG_SITE="http://fribidi.freedesktop.org/"
PKG_URL="https://github.com/fribidi/fribidi/releases/download/v$PKG_VERSION/$PKG_NAME-$PKG_VERSION.tar.bz2"
PKG_DEPENDS_TARGET="toolchain"
PKG_LONGDESC="A bidirectional algorithm library."
PKG_TOOLCHAIN="configure"
PKG_TOOLCHAIN="meson"
PKG_BUILD_FLAGS="+pic"
PKG_CONFIGURE_OPTS_TARGET="--disable-shared \
--enable-static \
--disable-debug \
--disable-deprecated \
--disable-silent-rules \
--with-gnu-ld"
pre_configure_target() {
export CFLAGS="$CFLAGS -DFRIBIDI_CHUNK_SIZE=4080"
}
PKG_MESON_OPTS_TARGET="-Ddeprecated=false \
-Ddocs=false \
-Ddefault_library=static"
post_makeinstall_target() {
mkdir -p $SYSROOT_PREFIX/usr/bin