libgraphite: Add package

This commit is contained in:
Fredrik Fornwall 2017-01-19 06:00:21 +01:00
parent c4d9a91aa1
commit d733ff6b5f
2 changed files with 16 additions and 0 deletions

View File

@ -0,0 +1,7 @@
TERMUX_PKG_HOMEPAGE=https://github.com/silnrsi/graphite
TERMUX_PKG_DESCRIPTION="Font system for multiple languages"
TERMUX_PKG_VERSION=1.3.9
TERMUX_PKG_SRCURL=https://github.com/silnrsi/graphite/archive/${TERMUX_PKG_VERSION}.tar.gz
TERMUX_PKG_SHA256=f82f92d86a63da79eba10a37c80d943dce883bd72dbc99ebe5bdb7022d3e2391
TERMUX_PKG_FOLDERNAME=graphite-$TERMUX_PKG_VERSION
TERMUX_PKG_RM_AFTER_INSTALL="bin/gr2fonttest"

View File

@ -0,0 +1,9 @@
diff -u -r ../graphite-1.3.9/src/CMakeLists.txt ./src/CMakeLists.txt
--- ../graphite-1.3.9/src/CMakeLists.txt 2016-11-11 10:53:21.000000000 +0100
+++ ./src/CMakeLists.txt 2017-01-19 05:12:08.903024071 +0100
@@ -152,4 +152,4 @@
install(TARGETS graphite2 EXPORT graphite2 LIBRARY DESTINATION lib${LIB_SUFFIX} ARCHIVE DESTINATION lib${LIB_SUFFIX} PUBLIC_HEADER DESTINATION include/graphite2 RUNTIME DESTINATION bin)
-install(EXPORT graphite2 DESTINATION share/graphite2 NAMESPACE gr2_)
+install(EXPORT graphite2 DESTINATION lib/cmake/graphite2 NAMESPACE gr2_)