mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-23 12:10:06 +02:00
accounts_qml, new recipe (#11286)
This commit is contained in:
65
net-libs/accounts-qml/accounts_qml-0.7.recipe
Normal file
65
net-libs/accounts-qml/accounts_qml-0.7.recipe
Normal file
@@ -0,0 +1,65 @@
|
||||
SUMMARY="QML bindings for libaccounts-qt and libsignon-qt"
|
||||
DESCRIPTION="This QML module provides an API to manage the user's online accounts and get their \
|
||||
authentication data.
|
||||
It's a tiny wrapper around the Qt-based APIs of libaccounts-qt and libsignon-qt.
|
||||
It is part of the accounts-sso project:
|
||||
|
||||
https://gitlab.com/groups/accounts-sso"
|
||||
HOMEPAGE="https://gitlab.com/accounts-sso/accounts-qml-module"
|
||||
COPYRIGHT="2013-2016 Canonical Ltd."
|
||||
LICENSE="GNU LGPL v2.1"
|
||||
REVISION="1"
|
||||
srcGitRev="05e79ebbbf3784a87f72b7be571070125c10dfe3"
|
||||
SOURCE_URI="https://gitlab.com/accounts-sso/accounts-qml-module/-/archive/$srcGitRev.tar.gz"
|
||||
CHECKSUM_SHA256="1a53a6d8a3a56694244bc24bdab844d91420483744822d08ae8517ff7df84763"
|
||||
SOURCE_DIR="accounts-qml-module-$srcGitRev"
|
||||
|
||||
ARCHITECTURES="all !x86_gcc2"
|
||||
SECONDARY_ARCHITECTURES="?x86"
|
||||
|
||||
PROVIDES="
|
||||
accounts_qml$secondaryArchSuffix = $portVersion
|
||||
"
|
||||
REQUIRES="
|
||||
haiku$secondaryArchSuffix
|
||||
lib:libaccounts_qt6$secondaryArchSuffix
|
||||
lib:libGL$secondaryArchSuffix
|
||||
lib:libQt6Core$secondaryArchSuffix
|
||||
lib:libQt6Gui$secondaryArchSuffix
|
||||
lib:libQt6Network$secondaryArchSuffix
|
||||
lib:libQt6Qml$secondaryArchSuffix
|
||||
lib:libQt6Xml$secondaryArchSuffix
|
||||
lib:libsignon_qt6$secondaryArchSuffix
|
||||
"
|
||||
|
||||
BUILD_REQUIRES="
|
||||
haiku${secondaryArchSuffix}_devel
|
||||
extra_cmake_modules$secondaryArchSuffix
|
||||
devel:libaccounts_qt6$secondaryArchSuffix
|
||||
devel:libsignon_qt6$secondaryArchSuffix
|
||||
devel:libQt6Core$secondaryArchSuffix
|
||||
devel:libQt6Qml$secondaryArchSuffix
|
||||
"
|
||||
BUILD_PREREQUIRES="
|
||||
cmd:g++$secondaryArchSuffix
|
||||
cmd:make
|
||||
cmd:pkg_config$secondaryArchSuffix
|
||||
cmd:qmake6$secondaryArchSuffix
|
||||
"
|
||||
|
||||
BUILD()
|
||||
{
|
||||
mkdir -p build && cd build
|
||||
qmake6 ../accounts-qml-module.pro \
|
||||
PREFIX=$prefix
|
||||
make $jobArgs
|
||||
}
|
||||
|
||||
INSTALL()
|
||||
{
|
||||
sed -i -e 's|INSTALL_ROOT)/boot/system/|INSTALL_ROOT)/|g' build/src/Makefile
|
||||
make -C build INSTALL_ROOT="$prefix" install_subtargets
|
||||
|
||||
# no testbin required
|
||||
rm -rf $prefix/packages
|
||||
}
|
||||
Reference in New Issue
Block a user