mirror of
https://github.com/yann64/haikuports.git
synced 2026-05-04 22:18:55 +02:00
kde-frameworks: bump to 5.46.0
This commit is contained in:
103
kde-frameworks/kbookmarks/kbookmarks-5.46.0.recipe
Normal file
103
kde-frameworks/kbookmarks/kbookmarks-5.46.0.recipe
Normal file
@@ -0,0 +1,103 @@
|
||||
SUMMARY="Bookmarks management library"
|
||||
DESCRIPTION="KBookmarks lets you access and manipulate bookmarks stored \
|
||||
using the XBEL format.
|
||||
|
||||
The most common use for bookmarks is web browsers, but this can also be \
|
||||
useful in any application where local files or URLs can be saved as bookmarks."
|
||||
HOMEPAGE="https://github.com/KDE/kbookmarks/"
|
||||
COPYRIGHT="2010-2018 KDE Organisation"
|
||||
LICENSE="GNU LGPL v2"
|
||||
REVISION="1"
|
||||
SOURCE_URI="https://github.com/KDE/kbookmarks/archive/v$portVersion.tar.gz"
|
||||
CHECKSUM_SHA256="c4cc31294fdd24c092ad27eaac059d736ea4eace4a8ac32e047a007f256782c4"
|
||||
|
||||
ARCHITECTURES="!x86_gcc2 x86_64"
|
||||
SECONDARY_ARCHITECTURES="x86"
|
||||
|
||||
PROVIDES="
|
||||
kbookmarks$secondaryArchSuffix = $portVersion
|
||||
lib:libKF5Bookmarks$secondaryArchSuffix = $portVersion compat >= 5
|
||||
"
|
||||
REQUIRES="
|
||||
haiku$secondaryArchSuffix
|
||||
lib:libKF5Auth$secondaryArchSuffix
|
||||
lib:libKF5Codecs$secondaryArchSuffix
|
||||
lib:libKF5ConfigCore$secondaryArchSuffix
|
||||
lib:libKF5ConfigGui$secondaryArchSuffix
|
||||
lib:libKF5ConfigWidgets$secondaryArchSuffix
|
||||
lib:libKF5CoreAddons$secondaryArchSuffix
|
||||
lib:libKF5IconThemes$secondaryArchSuffix
|
||||
lib:libKF5WidgetsAddons$secondaryArchSuffix
|
||||
lib:libKF5XmlGui$secondaryArchSuffix
|
||||
lib:libQt5Core$secondaryArchSuffix
|
||||
lib:libQt5DBus$secondaryArchSuffix
|
||||
lib:libQt5Gui$secondaryArchSuffix
|
||||
lib:libQt5Widgets$secondaryArchSuffix
|
||||
lib:libQt5Xml$secondaryArchSuffix
|
||||
"
|
||||
|
||||
PROVIDES_devel="
|
||||
kbookmarks${secondaryArchSuffix}_devel = $portVersion
|
||||
devel:libKF5Bookmarks$secondaryArchSuffix = $portVersion compat >= 5
|
||||
"
|
||||
REQUIRES_devel="
|
||||
kbookmarks$secondaryArchSuffix == $portVersion base
|
||||
"
|
||||
|
||||
BUILD_REQUIRES="
|
||||
extra_cmake_modules >= 5.46
|
||||
haiku${secondaryArchSuffix}_devel
|
||||
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:libKF5IconThemes$secondaryArchSuffix == $portVersion
|
||||
devel:libKF5WidgetsAddons$secondaryArchSuffix == $portVersion
|
||||
devel:libKF5XmlGui$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
|
||||
"
|
||||
|
||||
GLOBAL_WRITABLE_FILES="
|
||||
settings/xdg/kbookmarks.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 \
|
||||
libKF5Bookmarks
|
||||
|
||||
packageEntries devel \
|
||||
$libDir/cmake \
|
||||
$dataDir/Qt5/mkspecs \
|
||||
$developDir
|
||||
}
|
||||
TEST()
|
||||
{
|
||||
cd build
|
||||
make test
|
||||
}
|
||||
Reference in New Issue
Block a user