0
0
Fork 0
haikuports/dev-lang/orc/orc-0.4.32.recipe

79 lines
1.8 KiB
Bash
Raw Permalink Normal View History

2014-06-13 19:31:37 +00:00
SUMMARY="The Oil Runtime Compiler"
DESCRIPTION="
Orc is a library and set of tools for compiling and executing \
very simple programs that operate on arrays of data. The \"language\" \
is a generic assembly language that represents many of the features \
available in SIMD architectures, including saturated addition and \
subtraction, and many arithmetic operations.
"
2017-06-16 13:11:41 +00:00
HOMEPAGE="https://gstreamer.freedesktop.org/projects/orc.html"
2020-10-22 05:10:03 +00:00
COPYRIGHT="2002-2020 David A. Schleef"
2014-06-13 19:31:37 +00:00
LICENSE="BSD (2-clause)"
2018-08-03 05:52:50 +00:00
REVISION="1"
2017-06-16 13:11:41 +00:00
SOURCE_URI="https://gstreamer.freedesktop.org/src/orc/orc-$portVersion.tar.xz"
2020-10-22 05:10:03 +00:00
CHECKSUM_SHA256="a66e3d8f2b7e65178d786a01ef61f2a0a0b4d0b8370de7ce134ba73da4af18f0"
2018-08-03 05:52:50 +00:00
ARCHITECTURES="all !x86_gcc2"
2017-06-16 13:11:41 +00:00
SECONDARY_ARCHITECTURES="x86"
2014-06-13 19:31:37 +00:00
PROVIDES="
orc$secondaryArchSuffix = $portVersion compat >= 0
2020-10-22 05:10:03 +00:00
lib:liborc_0.4$secondaryArchSuffix = 0.32.0 compat >= 0
lib:liborc_test_0.4$secondaryArchSuffix = 0.32.0 compat >= 0
2014-06-13 19:31:37 +00:00
"
REQUIRES="
haiku$secondaryArchSuffix
2014-06-13 19:31:37 +00:00
"
2016-12-02 18:13:46 +00:00
PROVIDES_devel="
orc${secondaryArchSuffix}_devel = $portVersion compat >= 0.4
2019-05-02 18:14:08 +00:00
cmd:orc_bugreport$secondaryArchSuffix
cmd:orcc$secondaryArchSuffix
2020-10-22 05:10:03 +00:00
devel:liborc_0.4$secondaryArchSuffix = 0.32.0 compat >= 0
devel:liborc_test_0.4$secondaryArchSuffix = 0.32.0 compat >= 0
2016-12-02 18:13:46 +00:00
"
REQUIRES_devel="
2017-06-16 13:11:41 +00:00
haiku$secondaryArchSuffix
2018-08-08 14:18:18 +00:00
orc$secondaryArchSuffix == $portVersion base
2016-12-02 18:13:46 +00:00
"
2014-06-13 19:31:37 +00:00
BUILD_REQUIRES="
haiku${secondaryArchSuffix}_devel
2014-06-13 19:31:37 +00:00
"
BUILD_PREREQUIRES="
cmd:gcc$secondaryArchSuffix
cmd:ld$secondaryArchSuffix
2019-10-26 10:12:37 +00:00
cmd:meson
cmd:ninja
2014-06-13 19:31:37 +00:00
"
BUILD()
{
2019-10-26 10:12:37 +00:00
meson build \
--prefix=$prefix \
--bindir=$binDir \
--libdir=$libDir \
--includedir=$includeDir \
-Dgtk_doc=disabled
cd build
ninja $jobArgs
2014-06-13 19:31:37 +00:00
}
INSTALL()
{
2019-10-26 10:12:37 +00:00
cd build
ninja install
2014-06-13 19:31:37 +00:00
2019-10-26 10:12:37 +00:00
mv $prefix/share $dataDir
2014-06-13 19:31:37 +00:00
prepareInstalledDevelLibs liborc-0.4 \
liborc-test-0.4
fixPkgconfig
# devel package
packageEntries devel \
$binDir \
$developDir
}