mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-23 04:00:05 +02:00
Attica: add recipe for version 5.39.0
This commit is contained in:
82
kde-frameworks/attica/attica-5.39.0.recipe
Normal file
82
kde-frameworks/attica/attica-5.39.0.recipe
Normal file
@@ -0,0 +1,82 @@
|
||||
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"
|
||||
COPYRIGHT="2010-2017 KDE Organisation"
|
||||
LICENSE="GNU LGPL v2"
|
||||
REVISION="1"
|
||||
SOURCE_URI="https://github.com/KDE/attica/archive/v$portVersion.tar.gz"
|
||||
CHECKSUM_SHA256="f2602ce615476a762ba41295f972d2ac65153894fa85b5e63510c5b4c0b130c2"
|
||||
SOURCE_DIR="attica-$portVersion"
|
||||
|
||||
ARCHITECTURES="!x86_gcc2 x86 x86_64"
|
||||
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="
|
||||
haiku$secondaryArchSuffix
|
||||
attica$secondaryArchSuffix == $portVersion base
|
||||
"
|
||||
|
||||
BUILD_REQUIRES="
|
||||
extra_cmake_modules >= 5.39
|
||||
haiku${secondaryArchSuffix}_devel
|
||||
devel:libQt5Core$secondaryArchSuffix >= 5.7
|
||||
"
|
||||
BUILD_PREREQUIRES="
|
||||
cmd:cmake
|
||||
cmd:g++$secondaryArchSuffix
|
||||
cmd:make
|
||||
cmd:pkg_config$secondaryArchSuffix
|
||||
"
|
||||
|
||||
GLOBAL_WRITABLE_FILES="
|
||||
settings/xdg/attica.categories keep-old
|
||||
"
|
||||
|
||||
BUILD()
|
||||
{
|
||||
mkdir -p build
|
||||
cd build
|
||||
|
||||
cmake .. $cmakeDirArgs \
|
||||
-Wno-dev \
|
||||
-DECM_MKSPECS_INSTALL_DIR=$dataDir/Qt5/mkspecs \
|
||||
-DECM_DIR=/system/data/cmake/Modules/ECM/cmake \
|
||||
-DCMAKE_BUILD_TYPE=Release \
|
||||
-DATTICA_ENABLE_TESTS=off
|
||||
make $jobArgs
|
||||
}
|
||||
|
||||
INSTALL()
|
||||
{
|
||||
cd build
|
||||
make install
|
||||
|
||||
fixPkgconfig
|
||||
|
||||
prepareInstalledDevelLibs libKF5Attica
|
||||
|
||||
packageEntries devel \
|
||||
$developDir
|
||||
}
|
||||
|
||||
TEST()
|
||||
{
|
||||
cd build
|
||||
make test
|
||||
}
|
||||
Reference in New Issue
Block a user