Browse Source

libgraphite: Add package

android-5
Fredrik Fornwall 8 years ago
parent
commit
d733ff6b5f
  1. 7
      packages/libgraphite/build.sh
  2. 9
      packages/libgraphite/src-CMakeLists.txt.patch

7
packages/libgraphite/build.sh

@ -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"

9
packages/libgraphite/src-CMakeLists.txt.patch

@ -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_)
Loading…
Cancel
Save