mirror of
https://github.com/yann64/haikuports.git
synced 2026-05-04 14:08:51 +02:00
117 lines
3.4 KiB
Bash
117 lines
3.4 KiB
Bash
SUMMARY="The KWallet Framework"
|
|
DESCRIPTION="Safe desktop-wide storage for passwords."
|
|
HOMEPAGE="https://github.com/KDE/kwallet/"
|
|
COPYRIGHT="2010-2018 KDE Organisation"
|
|
LICENSE="GNU LGPL v2"
|
|
REVISION="1"
|
|
SOURCE_URI="https://github.com/KDE/kwallet/archive/v$portVersion.tar.gz"
|
|
CHECKSUM_SHA256="bbbb7ba28494f2f3f727da1fa899a514e1f169ec2393136aa81115b1c315fc86"
|
|
PATCHES="kwallet-$portVersion.patchset"
|
|
|
|
ARCHITECTURES="!x86_gcc2 x86_64"
|
|
SECONDARY_ARCHITECTURES="x86"
|
|
|
|
PROVIDES="
|
|
kwallet$secondaryArchSuffix = $portVersion
|
|
cmd:kwallet_query$secondaryArchSuffix = $portVersion
|
|
cmd:kwalletd5$secondaryArchSuffix = $portVersion
|
|
lib:libKF5Wallet$secondaryArchSuffix = $portVersion compat >= 5
|
|
lib:libkwalletbackend5$secondaryArchSuffix = $portVersion compat >= 5
|
|
"
|
|
REQUIRES="
|
|
haiku$secondaryArchSuffix
|
|
lib:libgcrypt$secondaryArchSuffix
|
|
lib:libKF5Auth$secondaryArchSuffix
|
|
lib:libKF5Codecs$secondaryArchSuffix
|
|
lib:libKF5ConfigCore$secondaryArchSuffix
|
|
lib:libKF5ConfigGui$secondaryArchSuffix
|
|
lib:libKF5ConfigWidgets$secondaryArchSuffix
|
|
lib:libKF5CoreAddons$secondaryArchSuffix
|
|
lib:libKF5DBusAddons$secondaryArchSuffix
|
|
lib:libKF5I18n$secondaryArchSuffix
|
|
lib:libKF5IconThemes$secondaryArchSuffix
|
|
lib:libKF5Notifications$secondaryArchSuffix
|
|
lib:libKF5Service$secondaryArchSuffix
|
|
lib:libKF5WidgetsAddons$secondaryArchSuffix
|
|
lib:libKF5WindowSystem$secondaryArchSuffix
|
|
lib:libQt5Core$secondaryArchSuffix
|
|
lib:libQt5DBus$secondaryArchSuffix
|
|
lib:libQt5Gui$secondaryArchSuffix
|
|
lib:libQt5Widgets$secondaryArchSuffix
|
|
lib:libQt5Xml$secondaryArchSuffix
|
|
"
|
|
|
|
PROVIDES_devel="
|
|
kwallet${secondaryArchSuffix}_devel = $portVersion
|
|
devel:libKF5Wallet$secondaryArchSuffix = $portVersion compat >= 5
|
|
devel:libkwalletbackend5$secondaryArchSuffix = $portVersion compat >= 5
|
|
"
|
|
REQUIRES_devel="
|
|
kwallet$secondaryArchSuffix == $portVersion base
|
|
"
|
|
|
|
BUILD_REQUIRES="
|
|
extra_cmake_modules >= 5.47
|
|
haiku${secondaryArchSuffix}_devel
|
|
devel:libgcrypt$secondaryArchSuffix
|
|
devel:libKF5Auth$secondaryArchSuffix == $portVersion
|
|
devel:libKF5Codecs$secondaryArchSuffix == $portVersion
|
|
devel:libKF5ConfigCore$secondaryArchSuffix == $portVersion
|
|
devel:libKF5ConfigGui$secondaryArchSuffix == $portVersion
|
|
devel:libKF5ConfigWidgets$secondaryArchSuffix == $portVersion
|
|
devel:libKF5CoreAddons$secondaryArchSuffix == $portVersion
|
|
devel:libKF5DBusAddons$secondaryArchSuffix == $portVersion
|
|
devel:libKF5I18n$secondaryArchSuffix == $portVersion
|
|
devel:libKF5IconThemes$secondaryArchSuffix == $portVersion
|
|
devel:libKF5Notifications$secondaryArchSuffix == $portVersion
|
|
devel:libKF5Service$secondaryArchSuffix == $portVersion
|
|
devel:libKF5WidgetsAddons$secondaryArchSuffix == $portVersion
|
|
devel:libKF5WindowSystem$secondaryArchSuffix == $portVersion
|
|
devel:libQt5Core$secondaryArchSuffix >= 5.7
|
|
devel:libQt5DBus$secondaryArchSuffix >= 5.7
|
|
devel:libQt5Gui$secondaryArchSuffix >= 5.7
|
|
devel:libQt5Widgets$secondaryArchSuffix >= 5.7
|
|
devel:libQt5Xml$secondaryArchSuffix >= 5.7
|
|
"
|
|
BUILD_PREREQUIRES="
|
|
cmd:cmake
|
|
cmd:g++$secondaryArchSuffix
|
|
cmd:make
|
|
cmd:python2
|
|
"
|
|
|
|
GLOBAL_WRITABLE_FILES="
|
|
settings/xdg/kwallet.categories keep-old
|
|
"
|
|
|
|
BUILD()
|
|
{
|
|
mkdir -p build
|
|
cd build
|
|
|
|
cmake .. $cmakeDirArgs \
|
|
-DECM_MKSPECS_INSTALL_DIR=$dataDir/Qt5/mkspecs \
|
|
-DECM_DIR=/system/data/cmake/Modules/ECM/cmake
|
|
make $jobArgs
|
|
}
|
|
|
|
INSTALL()
|
|
{
|
|
cd build
|
|
make install
|
|
|
|
prepareInstalledDevelLibs \
|
|
libKF5Wallet libkwalletbackend5
|
|
|
|
packageEntries devel \
|
|
$libDir/cmake \
|
|
$dataDir/Qt5/mkspecs \
|
|
$developDir
|
|
}
|
|
|
|
TEST()
|
|
{
|
|
cd build
|
|
make test
|
|
}
|