-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
ea56bb1
commit e48583e
Showing
5 changed files
with
33 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,6 +3,7 @@ set -e | |
all_packages=( | ||
marisa | ||
libime | ||
libthai | ||
) | ||
|
||
for package in "${all_packages[@]}"; do | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
cmake_minimum_required(VERSION 3.22.1) | ||
project(libthai) | ||
|
||
set(LIBTHAI_HEADER | ||
"include/thai/thailib.h" | ||
"include/thai/thcell.h" | ||
"include/thai/thinp.h" | ||
) | ||
set(LIBTHAI_SOURCE | ||
src/thcell/thcell.c | ||
src/thctype/thctype.c | ||
src/thctype/wtt.c | ||
src/thinp/thinp.c | ||
) | ||
|
||
add_library(thai STATIC ${LIBTHAI_SOURCE}) | ||
target_include_directories(thai PRIVATE include) | ||
install(TARGETS thai) | ||
install(FILES ${LIBTHAI_HEADER} DESTINATION include/thai) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
set -e | ||
. ./common.sh $1 | ||
cd libthai | ||
|
||
cp ../patches/libthai.cmake CMakeLists.txt | ||
f5m_configure | ||
f5m_build | ||
f5m_install libthai | ||
f5m_make_tarball libthai |