0
0
Fork 0
haikuports/kde-frameworks/attica/attica-5.86.0.recipe

80 lines
1.8 KiB
Bash
Raw Permalink Normal View History

2017-11-16 13:34:57 +00:00
SUMMARY="A library providing access to Open Collaboration services"
DESCRIPTION="Attica supports multiple Open Collaboration Service (OCS) \
providers at the same time. With Attica you can easily access services \
rom providers such as openDesktop.org. It implements the freedesktop.org \
specification for the Open Collaboration Services API."
HOMEPAGE="https://github.com/KDE/attica"
2021-03-18 19:17:26 +00:00
COPYRIGHT="2010-2021 KDE Organisation"
2017-11-16 13:34:57 +00:00
LICENSE="GNU LGPL v2"
2020-12-15 14:20:40 +00:00
REVISION="1"
2017-11-16 13:34:57 +00:00
SOURCE_URI="https://github.com/KDE/attica/archive/v$portVersion.tar.gz"
2021-10-31 07:36:09 +00:00
CHECKSUM_SHA256="68c6da8142f7ba9f01370b9106e3fcfb1c9125e4bf9026d5fe12cef0991a9f91"
2017-11-16 13:34:57 +00:00
SOURCE_DIR="attica-$portVersion"
ARCHITECTURES="all !x86_gcc2"
2017-11-16 13:34:57 +00:00
SECONDARY_ARCHITECTURES="x86"
PROVIDES="
attica$secondaryArchSuffix = $portVersion
lib:libKF5Attica$secondaryArchSuffix = $portVersion
"
REQUIRES="
haiku$secondaryArchSuffix
lib:libQt5Core$secondaryArchSuffix
"
PROVIDES_devel="
attica${secondaryArchSuffix}_devel = $portVersion
devel:libKF5Attica$secondaryArchSuffix = $portVersion
"
REQUIRES_devel="
attica$secondaryArchSuffix == $portVersion base
2018-08-09 07:56:15 +00:00
haiku$secondaryArchSuffix
2017-11-16 13:34:57 +00:00
"
BUILD_REQUIRES="
haiku${secondaryArchSuffix}_devel
2018-09-12 12:11:01 +00:00
extra_cmake_modules$secondaryArchSuffix >= $portVersion
2017-11-16 13:34:57 +00:00
devel:libQt5Core$secondaryArchSuffix >= 5.7
"
2018-09-03 09:03:54 +00:00
BUILD_PREREQUIRES="
2017-11-16 13:34:57 +00:00
cmd:cmake
cmd:g++$secondaryArchSuffix
cmd:make
cmd:pkg_config$secondaryArchSuffix
"
BUILD()
{
mkdir -p build
cd build
cmake .. $cmakeDirArgs \
2021-10-31 07:36:09 +00:00
-DCMAKE_BUILD_TYPE=Release \
2017-11-16 13:34:57 +00:00
-Wno-dev \
-DECM_MKSPECS_INSTALL_DIR=$dataDir/Qt5/mkspecs \
-DECM_DIR=/system/data/cmake/Modules/ECM/cmake \
2019-12-15 13:06:39 +00:00
-DCMAKE_BUILD_TYPE=Release
2017-11-16 13:34:57 +00:00
make $jobArgs
}
INSTALL()
{
cd build
make install
fixPkgconfig
prepareInstalledDevelLibs libKF5Attica
packageEntries devel \
$developDir
}
TEST()
{
cd build
make test
}