mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-07-24 11:16:51 +00:00
new package:
- add fribidi for upcoming enna
This commit is contained in:
parent
dc31ac17aa
commit
1966961188
21
packages/other/fribidi/build
Normal file
21
packages/other/fribidi/build
Normal file
@ -0,0 +1,21 @@
|
||||
#!/bin/sh
|
||||
|
||||
. config/options
|
||||
|
||||
$SCRIPTS/build toolchain
|
||||
|
||||
PKG_DIR=`find $PACKAGES -type d -name $1`
|
||||
|
||||
cd $PKG_BUILD
|
||||
./configure --host=$TARGET_NAME \
|
||||
--build=$HOST_NAME \
|
||||
--prefix=/usr \
|
||||
--disable-debug \
|
||||
--enable-malloc \
|
||||
--with-glib=no \
|
||||
--disable-shared
|
||||
|
||||
make
|
||||
|
||||
$MAKEINSTALL
|
||||
cp -f $ROOT/$PKG_DIR/scripts/$1-config $ROOT/$TOOLCHAIN/bin/$1-config
|
22
packages/other/fribidi/patches/10_chunk-size.diff
Normal file
22
packages/other/fribidi/patches/10_chunk-size.diff
Normal file
@ -0,0 +1,22 @@
|
||||
Define FRIBIDI_CHUNK_SIZE only if using allocation pools
|
||||
|
||||
diff -Nur fribidi2-cvs-20061020.orig/lib/common.h fribidi2-cvs-20061020/lib/common.h
|
||||
--- fribidi2-cvs-20061020.orig/lib/common.h Tue Jan 31 05:23:12 2006
|
||||
+++ fribidi2-cvs-20061020/lib/common.h Sat Oct 21 16:42:41 2006
|
||||
@@ -131,6 +131,8 @@
|
||||
|
||||
/* FRIBIDI_CHUNK_SIZE is the number of bytes in each chunk of memory being
|
||||
* allocated for data structure pools. */
|
||||
+#if USE_SIMPLE_MALLOC+0
|
||||
+#else
|
||||
#ifndef FRIBIDI_CHUNK_SIZE
|
||||
# if HAVE_ASM_PAGE_H
|
||||
# ifndef __FRIBIDI_DOC
|
||||
@@ -145,6 +147,7 @@
|
||||
# error FRIBIDI_CHUNK_SIZE now should define the size of a chunk in bytes.
|
||||
# endif /* FRIBIDI_CHUNK_SIZE < 256 */
|
||||
#endif /* FRIBIDI_CHUNK_SIZE */
|
||||
+#endif /* USE_SIMPLE_MALLOC */
|
||||
|
||||
/* FRIBIDI_BEGIN_STMT should be used at the beginning of your macro
|
||||
* definitions that are to behave like simple statements. Use
|
9
packages/other/fribidi/scripts/fribidi-config
Normal file
9
packages/other/fribidi/scripts/fribidi-config
Normal file
@ -0,0 +1,9 @@
|
||||
#!/bin/sh
|
||||
while test $# -gt 0; do
|
||||
case $1 in
|
||||
--libs)
|
||||
echo "-lfribidi"
|
||||
;;
|
||||
esac
|
||||
shift
|
||||
done
|
1
packages/other/fribidi/url
Normal file
1
packages/other/fribidi/url
Normal file
@ -0,0 +1 @@
|
||||
http://fribidi.org/download/fribidi-0.19.2.tar.gz
|
Loading…
x
Reference in New Issue
Block a user