Skip to content

Commit

Permalink
add fribidi (#1053)
Browse files Browse the repository at this point in the history
* add fribidi

* clean recipe

* install gettext and do not build ccache
  • Loading branch information
wolfv authored May 21, 2024
1 parent 515d5f7 commit 64446e6
Show file tree
Hide file tree
Showing 3 changed files with 41 additions and 3 deletions.
6 changes: 3 additions & 3 deletions emsdk/setup_emsdk.sh
Original file line number Diff line number Diff line change
Expand Up @@ -50,9 +50,9 @@ cat $PATCH_DIR/*.patch | patch -p1 --verbose
popd
echo "...done"

echo "emsdk building ..."
./emsdk install --build=Release $EMSCRIPTEN_VERSION ccache-git-emscripten-64bit
echo "...done"
# echo "emsdk building ..."
# ./emsdk install --build=Release $EMSCRIPTEN_VERSION ccache-git-emscripten-64bit
# echo "...done"

echo "emsdk activating ..."
./emsdk activate --embedded --build=Release $EMSCRIPTEN_VERSION
Expand Down
6 changes: 6 additions & 0 deletions recipes/recipes_emscripten/fribidi/build.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
emconfigure ./configure \
--enable-shared=no \
--enable-static=yes \
--prefix=$PREFIX

emmake make install
32 changes: 32 additions & 0 deletions recipes/recipes_emscripten/fribidi/recipe.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
context:
version: "1.0.14"

package:
name: fribidi
version: ${{ version }}

source:
url: https://github.com/fribidi/fribidi/releases/download/v${{ version }}/fribidi-${{ version }}.tar.xz
sha256: 76ae204a7027652ac3981b9fa5817c083ba23114340284c58e756b259cd2259a

build:
number: 0

requirements:
build:
- ${{ compiler('c') }}
- pkg-config
- gettext

about:
homepage: https://github.com/fribidi/fribidi
license: LGPL-2.1
license_file: COPYING
summary: The Free Implementation of the Unicode Bidirectional Algorithm.
description: |
One of the missing links stopping the penetration of free software in Middle
East is the lack of support for the Arabic and Hebrew alphabets. In order to
have proper Arabic and Hebrew support, the bidi algorithm needs to be
implemented. It is our hope that this library will stimulate more free
software in the Middle Eastern countries.
repository: https://github.com/fribidi/fribidi

0 comments on commit 64446e6

Please sign in to comment.