Merge pull request #552 from fbrosson/graphite2

graphite2: bump to version 1.3.8, reorder sections, sync patch.
This commit is contained in:
diversys
2016-04-08 07:44:27 +03:00
2 changed files with 22 additions and 23 deletions

View File

@@ -1,14 +1,14 @@
SUMMARY="Graphite text processing engine" SUMMARY="Graphite text processing engine"
DESCRIPTION=" DESCRIPTION="Graphite2 is a library providing rendering capabilities for \
Graphite2 is a library providing rendering capabilities for complex non-Roman \ complex non-Roman writing systems."
writing systems." HOMEPAGE="http://graphite.sil.org/"
HOMEPAGE="http://graphite.sil.org" COPYRIGHT="2010-2016 SIL International"
COPYRIGHT="2010-2013 SIL International"
LICENSE="GNU LGPL v2.1" LICENSE="GNU LGPL v2.1"
SOURCE_URI="https://github.com/silnrsi/graphite/releases/download/$portVersion/graphite-$portVersion.tgz"
CHECKSUM_SHA256="475e7657ac606ed8805518031729c1273cf7d9d422169ac6f7882e01d832af75"
PATCHES="graphite2-$portVersion.patchset"
REVISION="1" REVISION="1"
SOURCE_URI="https://github.com/silnrsi/graphite/releases/download/$portVersion/graphite2-$portVersion.tgz"
CHECKSUM_SHA256="9f3f25b3a8495ce0782e77f69075c0dd9b7c054847b9bf9ff130bec38f4c8cc2"
PATCHES="graphite2-$portVersion.patchset"
ARCHITECTURES="!x86_gcc2 x86 x86_64" ARCHITECTURES="!x86_gcc2 x86 x86_64"
SECONDARY_ARCHITECTURES="!x86_gcc2 x86" SECONDARY_ARCHITECTURES="!x86_gcc2 x86"
@@ -19,6 +19,17 @@ PROVIDES="
REQUIRES=" REQUIRES="
haiku$secondaryArchSuffix haiku$secondaryArchSuffix
" "
PROVIDES_devel="
graphite2${secondaryArchSuffix}_devel = $portVersion compat >= 1.2
devel:libgraphite2$secondaryArchSuffix = 3.0.1 compat >= 3
cmd:gr2fonttest$secondaryArchSuffix
"
REQUIRES_devel="
graphite2$secondaryArchSuffix == $portVersion base
haiku$secondaryArchSuffix
"
BUILD_REQUIRES=" BUILD_REQUIRES="
haiku${secondaryArchSuffix}_devel haiku${secondaryArchSuffix}_devel
" "
@@ -47,15 +58,3 @@ INSTALL()
$binDir \ $binDir \
$developDir $developDir
} }
# ----- devel package -------------------------------------------------------
PROVIDES_devel="
graphite2${secondaryArchSuffix}_devel = $portVersion compat >= 1.2
devel:libgraphite2$secondaryArchSuffix = 3.0.1 compat >= 3
cmd:gr2fonttest$secondaryArchSuffix
"
REQUIRES_devel="
graphite2$secondaryArchSuffix == $portVersion base
haiku$secondaryArchSuffix
"

View File

@@ -8,7 +8,7 @@ diff --git a/CMakeLists.txt b/CMakeLists.txt
index b09e95f..279eadd 100644 index b09e95f..279eadd 100644
--- a/CMakeLists.txt --- a/CMakeLists.txt
+++ b/CMakeLists.txt +++ b/CMakeLists.txt
@@ -71,7 +71,7 @@ endif (NOT (GRAPHITE2_NSEGCACHE OR GRAPHITE2_NFILEFACE)) @@ -66,7 +66,7 @@ endif (NOT (GRAPHITE2_NSEGCACHE OR GRAPHITE2_NFILEFACE))
set(version 3.0.1) set(version 3.0.1)
set(libdir ${CMAKE_INSTALL_PREFIX}/lib${LIB_SUFFIX}) set(libdir ${CMAKE_INSTALL_PREFIX}/lib${LIB_SUFFIX})
@@ -21,7 +21,7 @@ diff --git a/gr2fonttest/CMakeLists.txt b/gr2fonttest/CMakeLists.txt
index 39529fa..fa9ce23 100644 index 39529fa..fa9ce23 100644
--- a/gr2fonttest/CMakeLists.txt --- a/gr2fonttest/CMakeLists.txt
+++ b/gr2fonttest/CMakeLists.txt +++ b/gr2fonttest/CMakeLists.txt
@@ -32,5 +32,5 @@ add_custom_target(${PROJECT_NAME}_copy_dll ALL @@ -21,5 +21,5 @@ add_custom_target(${PROJECT_NAME}_copy_dll ALL
add_dependencies(${PROJECT_NAME}_copy_dll graphite2 gr2fonttest) add_dependencies(${PROJECT_NAME}_copy_dll graphite2 gr2fonttest)
@@ -32,7 +32,7 @@ diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt
index f785070..4902dbc 100644 index f785070..4902dbc 100644
--- a/src/CMakeLists.txt --- a/src/CMakeLists.txt
+++ b/src/CMakeLists.txt +++ b/src/CMakeLists.txt
@@ -148,5 +148,5 @@ if (${CMAKE_SYSTEM_NAME} STREQUAL "Windows") @@ -151,5 +151,5 @@ if (${CMAKE_SYSTEM_NAME} STREQUAL "Windows")
endif (${CMAKE_SYSTEM_NAME} STREQUAL "Windows") endif (${CMAKE_SYSTEM_NAME} STREQUAL "Windows")