fribidi: update to fribidi-1.0.5

This commit is contained in:
MilhouseVH 2019-02-01 08:13:51 +00:00
parent 747151e91f
commit 227fc6caa6
2 changed files with 44 additions and 2 deletions

View File

@ -1,14 +1,16 @@
# SPDX-License-Identifier: GPL-2.0-or-later
# Copyright (C) 2009-2016 Stephan Raue (stephan@openelec.tv)
# Copyright (C) 2019-present Team LibreELEC (https://libreelec.tv)
PKG_NAME="fribidi"
PKG_VERSION="1.0.1"
PKG_SHA256="c1b182d70590b6cdb5545bab8149de33b966800f27f2d9365c68917ed5a174e4"
PKG_VERSION="1.0.5"
PKG_SHA256="6a64f2a687f5c4f203a46fa659f43dd43d1f8b845df8d723107e8a7e6158e4ce"
PKG_LICENSE="LGPL"
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_BUILD_FLAGS="+pic"
PKG_CONFIGURE_OPTS_TARGET="--disable-shared \

View File

@ -0,0 +1,40 @@
From 96b735d2ca4b59bd0e9211c5f445c804f9e3804a Mon Sep 17 00:00:00 2001
From: Heiko Becker <heirecka@exherbo.org>
Date: Fri, 7 Sep 2018 20:57:11 +0200
Subject: [PATCH] Build generator executables natively
They are run during the build and not installed in the end. Without
this one gets the following error from meson: "ERROR: Can not use
target gen-unicode-version as a generator because it is cross-built
and no exe wrapper is defined. You might want to set it to native
instead."
Closes #87.
---
gen.tab/meson.build | 6 ++++--
1 file changed, 4 insertions(+), 2 deletions(-)
diff --git a/gen.tab/meson.build b/gen.tab/meson.build
index 6006d98..8c21e98 100644
--- a/gen.tab/meson.build
+++ b/gen.tab/meson.build
@@ -33,7 +33,8 @@ gen_unicode_version = executable('gen-unicode-version',
'gen-unicode-version.c',
include_directories: incs,
c_args: native_args,
- install: false)
+ install: false,
+ native: true)
fribidi_unicode_version_h = custom_target('fribidi-unicode-version.h',
input: files('unidata/ReadMe.txt', 'unidata/BidiMirroring.txt'),
@@ -67,7 +68,8 @@ foreach tab : tabs
gen_prog_src, 'packtab.c',
include_directories: incs,
c_args: native_args,
- install: false)
+ install: false,
+ native: true)
tab_inc_file = custom_target(gen_prog_name,
input: gen_prog_inputs,