mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-22 19:50:05 +02:00
libraqm: new recipe, test still fails on most parts (#1600)
This commit is contained in:
committed by
Jérôme Duval
parent
2008680af1
commit
026f1a5783
81
media-libs/libraqm/libraqm-0.3.0.recipe
Normal file
81
media-libs/libraqm/libraqm-0.3.0.recipe
Normal file
@@ -0,0 +1,81 @@
|
||||
SUMMARY="A small library that encapsulates the logic for complex text layout"
|
||||
DESCRIPTION="Raqm is a small library that encapsulates the logic for complex \
|
||||
text layout and provide a convenient API.
|
||||
|
||||
It currently provides bidirectional text support (using [FriBiDi][1]), \
|
||||
shaping (using [HarfBuzz][2]), and proper script itemization. As a result, \
|
||||
Raqm can support most writing systems covered by Unicode."
|
||||
HOMEPAGE="https://github.com/HOST-Oman/libraqm/"
|
||||
COPYRIGHT="2015 Information Technology Authority
|
||||
2016 Khaled Hosny"
|
||||
LICENSE="MIT"
|
||||
REVISION="1"
|
||||
SOURCE_URI="https://github.com/HOST-Oman/libraqm/archive/v$portVersion.tar.gz"
|
||||
CHECKSUM_SHA256="52cb1d0dcb09b2bbc50c2c347e9581191baacfd3dce3ae3f45b52ab038f946a8"
|
||||
|
||||
ARCHITECTURES="!x86_gcc2 x86 x86_64"
|
||||
SECONDARY_ARCHITECTURES="x86"
|
||||
|
||||
PROVIDES="
|
||||
libraqm$secondaryArchSuffix = $portVersion
|
||||
lib:libraqm$secondaryArchSuffix = 0.0.0 compat >= 0
|
||||
"
|
||||
REQUIRES="
|
||||
haiku$secondaryArchSuffix
|
||||
lib:libfreetype$secondaryArchSuffix
|
||||
lib:libfribidi$secondaryArchSuffix
|
||||
lib:libglib_2.0$secondaryArchSuffix
|
||||
lib:libharfbuzz$secondaryArchSuffix
|
||||
"
|
||||
|
||||
PROVIDES_devel="
|
||||
libraqm${secondaryArchSuffix}_devel = $portVersion
|
||||
devel:libraqm$secondaryArchSuffix = 0.0.0 compat >= 0
|
||||
"
|
||||
REQUIRES_devel="
|
||||
libraqm$secondaryArchSuffix == $portVersion base
|
||||
"
|
||||
|
||||
BUILD_REQUIRES="
|
||||
haiku${secondaryArchSuffix}_devel
|
||||
devel:libfreetype$secondaryArchSuffix
|
||||
devel:libfribidi$secondaryArchSuffix
|
||||
devel:libglib_2.0$secondaryArchSuffix
|
||||
devel:libharfbuzz$secondaryArchSuffix
|
||||
"
|
||||
|
||||
BUILD_PREREQUIRES="
|
||||
cmd:aclocal
|
||||
cmd:autoconf
|
||||
cmd:awk
|
||||
cmd:gcc$secondaryArchSuffix
|
||||
cmd:gtkdocize
|
||||
cmd:libtoolize$secondaryArchSuffix
|
||||
cmd:make
|
||||
cmd:pkg_config$secondaryArchSuffix
|
||||
cmd:which
|
||||
"
|
||||
|
||||
BUILD()
|
||||
{
|
||||
./autogen.sh
|
||||
runConfigure ./configure
|
||||
make $jobArgs
|
||||
}
|
||||
|
||||
INSTALL()
|
||||
{
|
||||
make install
|
||||
|
||||
prepareInstalledDevelLibs libraqm
|
||||
fixPkgconfig
|
||||
|
||||
#devel Package
|
||||
packageEntries devel \
|
||||
$developDir
|
||||
}
|
||||
|
||||
TEST()
|
||||
{
|
||||
make check
|
||||
}
|
||||
Reference in New Issue
Block a user