mirror of
https://github.com/yann64/haikuports.git
synced 2026-05-05 14:38:51 +02:00
Bring KDE Frameworks 5.38.0 to Haiku
* base library set for ongoing KDE apps * some apps need more libs to be ported which will come later
This commit is contained in:
60
kde-frameworks/breeze-icons/breeze_icons-5.38.0.recipe
Normal file
60
kde-frameworks/breeze-icons/breeze_icons-5.38.0.recipe
Normal file
@@ -0,0 +1,60 @@
|
||||
SUMMARY="Breeze SVG icon theme"
|
||||
DESCRIPTION="Breeze-icons is a freedesktop.org compatible icon theme. \
|
||||
It's developed by the KDE Community as part of KDE Frameworks 5 and it's \
|
||||
used by default in KDE Plasma 5 and KDE Applications."
|
||||
HOMEPAGE="https://github.com/KDE/breeze-icons/"
|
||||
COPYRIGHT="2010-2017 KDE Organisation"
|
||||
LICENSE="GNU LGPL v2"
|
||||
REVISION="1"
|
||||
SOURCE_URI="https://github.com/KDE/breeze-icons/archive/v$portVersion.tar.gz"
|
||||
CHECKSUM_SHA256="93348be937e9a6e44d12dbbcf3f8a4d411ff0f4a1135a92f23df593ac669f165"
|
||||
SOURCE_DIR="breeze-icons-$portVersion"
|
||||
|
||||
ARCHITECTURES="!x86_gcc2 x86_64"
|
||||
SECONDARY_ARCHITECTURES="x86"
|
||||
|
||||
PROVIDES="
|
||||
breeze_icons$secondaryArchSuffix = $portVersion
|
||||
"
|
||||
|
||||
REQUIRES="
|
||||
haiku$secondaryArchSuffix
|
||||
"
|
||||
|
||||
BUILD_REQUIRES="
|
||||
extra_cmake_modules
|
||||
haiku${secondaryArchSuffix}_devel
|
||||
devel:libQt5Core$secondaryArchSuffix
|
||||
"
|
||||
|
||||
BUILD_PREREQUIRES="
|
||||
cmd:cmake
|
||||
cmd:find
|
||||
cmd:gcc$secondaryArchSuffix
|
||||
cmd:make
|
||||
"
|
||||
|
||||
BUILD()
|
||||
{
|
||||
mkdir -p build
|
||||
cd build
|
||||
|
||||
cmake .. $cmakeDirArgs \
|
||||
-DECM_MKSPECS_INSTALL_DIR=$dataDir/Qt5/mkspecs \
|
||||
-DECM_DIR=/system/data/cmake/Modules/ECM/cmake \
|
||||
-DBINARY_ICONS_RESOURCE=OFF
|
||||
|
||||
make $jobArgs
|
||||
}
|
||||
|
||||
INSTALL()
|
||||
{
|
||||
cd build
|
||||
make install
|
||||
}
|
||||
|
||||
TEST()
|
||||
{
|
||||
cd build
|
||||
make test
|
||||
}
|
||||
@@ -11,46 +11,45 @@ SOURCE_URI="https://github.com/KDE/extra-cmake-modules/archive/v$portVersion.tar
|
||||
CHECKSUM_SHA256="8e22fa53e4b1a338ddab039a65851a39b7ee6ed6a41f99300486b759395d67bb"
|
||||
SOURCE_DIR="extra-cmake-modules-$portVersion"
|
||||
|
||||
ARCHITECTURES="?x86_gcc2 x86 x86_64"
|
||||
ARCHITECTURES="!x86_gcc2 x86_64"
|
||||
SECONDARY_ARCHITECTURES="x86"
|
||||
|
||||
PROVIDES="
|
||||
extra_cmake_modules = $portVersion
|
||||
"
|
||||
REQUIRES="
|
||||
haiku
|
||||
haiku$secondaryArchSuffix
|
||||
"
|
||||
|
||||
BUILD_REQUIRES="
|
||||
haiku_devel
|
||||
haiku${secondaryArchSuffix}_devel
|
||||
devel:libQt5Core$secondaryArchSuffix
|
||||
"
|
||||
BUILD_PREREQUIRES="
|
||||
cmd:cmake
|
||||
cmd:g++$secondaryArchSuffix
|
||||
cmd:make
|
||||
cmd:g++
|
||||
cmd:qcollectiongenerator$secondaryArchSuffix
|
||||
cmd:linguist$secondaryArchSuffix
|
||||
"
|
||||
|
||||
BUILD()
|
||||
{
|
||||
mkdir -p haiku_build
|
||||
cd haiku_build
|
||||
mkdir -p build
|
||||
cd build
|
||||
|
||||
cmake .. -DSHARE_INSTALL_DIR=$dataDir/cmake/Modules
|
||||
|
||||
make $jobArgs
|
||||
}
|
||||
|
||||
INSTALL()
|
||||
{
|
||||
cd haiku_build
|
||||
|
||||
cd build
|
||||
make install
|
||||
}
|
||||
|
||||
TEST()
|
||||
{
|
||||
cd build
|
||||
make test
|
||||
}
|
||||
|
||||
95
kde-frameworks/kactivities/kactivities-5.38.0.recipe
Normal file
95
kde-frameworks/kactivities/kactivities-5.38.0.recipe
Normal file
@@ -0,0 +1,95 @@
|
||||
SUMMARY="Core components for the KDE Activity concept"
|
||||
DESCRIPTION="When a user is interacting with a computer, there are three main \
|
||||
areas of contextual information that may affect the behaviour of the system: \
|
||||
who the user is, where they are, and what they are doing.
|
||||
|
||||
Activities deal with the last one. An activity might be \"developing a KDE \
|
||||
application\", \"studying 19th century art\", \"composing music\" or \"watching \
|
||||
funny videos\". Each of these activites may involve multiple applications, \
|
||||
and a single application may be used in multiple activities (for example, \
|
||||
most activities are likely to involve using a web browser, but different \
|
||||
activities will probably involve different websites).
|
||||
|
||||
KActivities provides the infrastructure needed to manage a user's activites, \
|
||||
allowing them to switch between tasks, and for applications to update their \
|
||||
state to match the user's current activity. This includes a daemon, a library \
|
||||
for interacting with that daemon, and plugins for integration with other \
|
||||
frameworks."
|
||||
HOMEPAGE="https://github.com/KDE/kactivities/"
|
||||
COPYRIGHT="2010-2017 KDE Organisation"
|
||||
LICENSE="GNU LGPL v2"
|
||||
REVISION="1"
|
||||
SOURCE_URI="https://github.com/KDE/kactivities/archive/v$portVersion.tar.gz"
|
||||
CHECKSUM_SHA256="abae66a7c215fafff44ee8c32bc50bf96fe7f5afb65c35b296914e4857ac87a3"
|
||||
|
||||
ARCHITECTURES="!x86_gcc2 x86_64"
|
||||
SECONDARY_ARCHITECTURES="x86"
|
||||
|
||||
PROVIDES="
|
||||
kactivities$secondaryArchSuffix = $portVersion
|
||||
cmd:kactivities_cli$secondaryArchSuffix = $portVersion
|
||||
lib:libKF5Activities$secondaryArchSuffix = $portVersion
|
||||
"
|
||||
REQUIRES="
|
||||
haiku$secondaryArchSuffix
|
||||
lib:libKF5CoreAddons$secondaryArchSuffix
|
||||
lib:libQt5Core$secondaryArchSuffix
|
||||
lib:libQt5Gui$secondaryArchSuffix
|
||||
lib:libQt5Xml$secondaryArchSuffix
|
||||
"
|
||||
|
||||
PROVIDES_devel="
|
||||
kactivities${secondaryArchSuffix}_devel = $portVersion
|
||||
devel:libKF5Activities$secondaryArchSuffix = $portVersion
|
||||
"
|
||||
REQUIRES_devel="
|
||||
kactivities$secondaryArchSuffix == $portVersion base
|
||||
"
|
||||
|
||||
BUILD_REQUIRES="
|
||||
extra_cmake_modules
|
||||
haiku${secondaryArchSuffix}_devel
|
||||
devel:libkf5ConfigCore$secondaryArchSuffix
|
||||
devel:libkf5coreaddons$secondaryArchSuffix
|
||||
devel:libkf5windowsystem$secondaryArchSuffix
|
||||
devel:libQt5Core$secondaryArchSuffix
|
||||
devel:libboost_system$secondaryArchSuffix
|
||||
"
|
||||
BUILD_PREREQUIRES="
|
||||
cmd:cmake
|
||||
cmd:g++$secondaryArchSuffix
|
||||
cmd:make
|
||||
"
|
||||
|
||||
BUILD()
|
||||
{
|
||||
mkdir -p build
|
||||
cd build
|
||||
|
||||
cmake .. $cmakeDirArgs \
|
||||
-DKDE_INSTALL_PLUGINDIR=$addOnsDir/Qt5 \
|
||||
-DKDE_INSTALL_QMLDIR=$dataDir/Qt5/qml \
|
||||
-DECM_MKSPECS_INSTALL_DIR=$dataDir/Qt5/mkspecs \
|
||||
-DECM_DIR=/system/data/cmake/Modules/ECM/cmake
|
||||
make $jobArgs
|
||||
}
|
||||
|
||||
INSTALL()
|
||||
{
|
||||
cd build
|
||||
make install
|
||||
|
||||
prepareInstalledDevelLibs \
|
||||
libKF5Activities
|
||||
|
||||
packageEntries devel \
|
||||
$libDir/cmake \
|
||||
$dataDir/Qt5/mkspecs \
|
||||
$developDir
|
||||
}
|
||||
|
||||
TEST()
|
||||
{
|
||||
cd build
|
||||
make test
|
||||
}
|
||||
86
kde-frameworks/karchive/karchive-5.38.0.recipe
Normal file
86
kde-frameworks/karchive/karchive-5.38.0.recipe
Normal file
@@ -0,0 +1,86 @@
|
||||
SUMMARY="Reading, creating, and manipulating file archives"
|
||||
DESCRIPTION="KArchive provides classes for easy reading, creation and \
|
||||
manipulation of /"archive/" formats like ZIP and TAR.
|
||||
|
||||
It also provides transparent compression and decompression of data, like the \
|
||||
GZip format, via a subclass of QIODevice."
|
||||
HOMEPAGE="https://github.com/KDE/karchive/"
|
||||
COPYRIGHT="2010-2017 KDE Organisation"
|
||||
LICENSE="GNU LGPL v2"
|
||||
REVISION="1"
|
||||
SOURCE_URI="https://github.com/KDE/karchive/archive/v$portVersion.tar.gz"
|
||||
CHECKSUM_SHA256="51c79a670f7bfdb9eaed3ecb2f689815e9490f87b5c34b3948a25e23f3d01e4f"
|
||||
|
||||
ARCHITECTURES="!x86_gcc2 x86_64"
|
||||
SECONDARY_ARCHITECTURES="x86"
|
||||
|
||||
PROVIDES="
|
||||
karchive$secondaryArchSuffix = $portVersion
|
||||
lib:libkf5archive$secondaryArchSuffix = $portVersion
|
||||
"
|
||||
REQUIRES="
|
||||
haiku$secondaryArchSuffix
|
||||
lib:libQt5Core$secondaryArchSuffix
|
||||
lib:libbz2$secondaryArchSuffix
|
||||
lib:liblzma$secondaryArchSuffix
|
||||
lib:libz$secondaryArchSuffix
|
||||
"
|
||||
|
||||
PROVIDES_devel="
|
||||
karchive${secondaryArchSuffix}_devel = $portVersion
|
||||
devel:libkf5archive$secondaryArchSuffix = $portVersion
|
||||
"
|
||||
REQUIRES_devel="
|
||||
karchive$secondaryArchSuffix == $portVersion base
|
||||
"
|
||||
|
||||
BUILD_REQUIRES="
|
||||
extra_cmake_modules
|
||||
haiku${secondaryArchSuffix}_devel
|
||||
devel:libbz2$secondaryArchSuffix
|
||||
devel:liblzma$secondaryArchSuffix
|
||||
devel:libQt5Core$secondaryArchSuffix
|
||||
devel:libz$secondaryArchSuffix
|
||||
"
|
||||
BUILD_PREREQUIRES="
|
||||
cmd:cmake
|
||||
cmd:g++$secondaryArchSuffix
|
||||
cmd:make
|
||||
"
|
||||
|
||||
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
|
||||
}
|
||||
|
||||
GLOBAL_WRITABLE_FILES="
|
||||
settings/xdg/karchive.categories keep-old
|
||||
"
|
||||
|
||||
INSTALL()
|
||||
{
|
||||
cd build
|
||||
make install
|
||||
|
||||
prepareInstalledDevelLibs \
|
||||
libKF5Archive
|
||||
|
||||
fixPkgconfig
|
||||
|
||||
packageEntries devel \
|
||||
$libDir/cmake \
|
||||
$dataDir/Qt5/mkspecs \
|
||||
$developDir
|
||||
}
|
||||
|
||||
TEST()
|
||||
{
|
||||
cd build
|
||||
make test
|
||||
}
|
||||
81
kde-frameworks/kauth/kauth-5.38.0.recipe
Normal file
81
kde-frameworks/kauth/kauth-5.38.0.recipe
Normal file
@@ -0,0 +1,81 @@
|
||||
SUMMARY="Execute actions as privileged user"
|
||||
DESCRIPTION="KAuth provides a convenient, system-integrated way to offload \
|
||||
actions that need to be performed as a privileged user (root, for example) \
|
||||
to small (hopefully secure) helper utilities."
|
||||
HOMEPAGE="https://github.com/KDE/kauth/"
|
||||
COPYRIGHT="2010-2017 KDE Organisation"
|
||||
LICENSE="GNU LGPL v2"
|
||||
REVISION="1"
|
||||
SOURCE_URI="https://github.com/KDE/kauth/archive/v$portVersion.tar.gz"
|
||||
CHECKSUM_SHA256="6518c20f1aef1fe06a957bcb4196e79b5cdc69ad5d2657a631477274cf19c5b4"
|
||||
|
||||
ARCHITECTURES="!x86_gcc2 x86_64"
|
||||
SECONDARY_ARCHITECTURES="x86"
|
||||
|
||||
PROVIDES="
|
||||
kauth$secondaryArchSuffix = $portVersion
|
||||
lib:libKF5Auth$secondaryArchSuffix = $portVersion
|
||||
"
|
||||
REQUIRES="
|
||||
haiku$secondaryArchSuffix
|
||||
lib:libKF5CoreAddons$secondaryArchSuffix
|
||||
lib:libQt5Core$secondaryArchSuffix
|
||||
lib:libQt5Gui$secondaryArchSuffix
|
||||
lib:libQt5Xml$secondaryArchSuffix
|
||||
"
|
||||
|
||||
PROVIDES_devel="
|
||||
kauth${secondaryArchSuffix}_devel = $portVersion
|
||||
devel:libKF5Auth$secondaryArchSuffix = $portVersion
|
||||
"
|
||||
REQUIRES_devel="
|
||||
kauth$secondaryArchSuffix == $portVersion base
|
||||
"
|
||||
|
||||
BUILD_REQUIRES="
|
||||
extra_cmake_modules
|
||||
haiku${secondaryArchSuffix}_devel
|
||||
devel:libKF5CoreAddons$secondaryArchSuffix
|
||||
devel:libQt5Core$secondaryArchSuffix
|
||||
"
|
||||
BUILD_PREREQUIRES="
|
||||
cmd:cmake
|
||||
cmd:g++$secondaryArchSuffix
|
||||
cmd:make
|
||||
"
|
||||
|
||||
GLOBAL_WRITABLE_FILES="
|
||||
settings/dbus-1/system.d/org.kde.kf5auth.conf keep-old
|
||||
"
|
||||
|
||||
BUILD()
|
||||
{
|
||||
mkdir -p build
|
||||
cd build
|
||||
|
||||
cmake .. $cmakeDirArgs \
|
||||
-DKDE_INSTALL_PLUGINDIR=$addOnsDir/Qt5 \
|
||||
-DECM_MKSPECS_INSTALL_DIR=$dataDir/Qt5/mkspecs \
|
||||
-DECM_DIR=/system/data/cmake/Modules/ECM/cmake
|
||||
make $jobArgs
|
||||
}
|
||||
|
||||
INSTALL()
|
||||
{
|
||||
cd build
|
||||
make install
|
||||
|
||||
prepareInstalledDevelLibs \
|
||||
libKF5Auth
|
||||
|
||||
packageEntries devel \
|
||||
$libDir/cmake \
|
||||
$dataDir/Qt5/mkspecs \
|
||||
$developDir
|
||||
}
|
||||
|
||||
TEST()
|
||||
{
|
||||
cd build
|
||||
make test
|
||||
}
|
||||
99
kde-frameworks/kbookmarks/kbookmarks-5.38.0.recipe
Normal file
99
kde-frameworks/kbookmarks/kbookmarks-5.38.0.recipe
Normal file
@@ -0,0 +1,99 @@
|
||||
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-2017 KDE Organisation"
|
||||
LICENSE="GNU LGPL v2"
|
||||
REVISION="1"
|
||||
SOURCE_URI="https://github.com/KDE/kbookmarks/archive/v$portVersion.tar.gz"
|
||||
CHECKSUM_SHA256="cb6423ef53fd561886643c38dc4c5112794a526dfab6494ad3eced0851e93a60"
|
||||
|
||||
ARCHITECTURES="!x86_gcc2 x86_64"
|
||||
SECONDARY_ARCHITECTURES="x86"
|
||||
|
||||
PROVIDES="
|
||||
kbookmarks$secondaryArchSuffix = $portVersion
|
||||
lib:libKF5Bookmarks$secondaryArchSuffix = $portVersion
|
||||
"
|
||||
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
|
||||
"
|
||||
REQUIRES_devel="
|
||||
kbookmarks$secondaryArchSuffix == $portVersion base
|
||||
"
|
||||
|
||||
BUILD_REQUIRES="
|
||||
extra_cmake_modules
|
||||
haiku${secondaryArchSuffix}_devel
|
||||
devel:libKF5Auth$secondaryArchSuffix
|
||||
devel:libKF5Codecs$secondaryArchSuffix
|
||||
devel:libKF5ConfigCore$secondaryArchSuffix
|
||||
devel:libKF5ConfigGui$secondaryArchSuffix
|
||||
devel:libKF5ConfigWidgets$secondaryArchSuffix
|
||||
devel:libKF5CoreAddons$secondaryArchSuffix
|
||||
devel:libKF5IconThemes$secondaryArchSuffix
|
||||
devel:libKF5WidgetsAddons$secondaryArchSuffix
|
||||
devel:libKF5XmlGui$secondaryArchSuffix
|
||||
devel:libQt5Core$secondaryArchSuffix
|
||||
devel:libQt5DBus$secondaryArchSuffix
|
||||
devel:libQt5Gui$secondaryArchSuffix
|
||||
devel:libQt5Widgets$secondaryArchSuffix
|
||||
devel:libQt5Xml$secondaryArchSuffix
|
||||
"
|
||||
BUILD_PREREQUIRES="
|
||||
cmd:cmake
|
||||
cmd:g++$secondaryArchSuffix
|
||||
cmd:make
|
||||
"
|
||||
|
||||
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
|
||||
}
|
||||
107
kde-frameworks/kcmutils/kcmutils-5.38.0.recipe
Normal file
107
kde-frameworks/kcmutils/kcmutils-5.38.0.recipe
Normal file
@@ -0,0 +1,107 @@
|
||||
SUMMARY="Utilities for KDE System Settings modules"
|
||||
DESCRIPTION="KCMUtils provides various classes to work with KCModules. \
|
||||
KCModules can be created with the KConfigWidgets framework."
|
||||
HOMEPAGE="https://github.com/KDE/kcmutils/"
|
||||
COPYRIGHT="2010-2017 KDE Organisation"
|
||||
LICENSE="GNU LGPL v2"
|
||||
REVISION="1"
|
||||
SOURCE_URI="https://github.com/KDE/kcmutils/archive/v$portVersion.tar.gz"
|
||||
CHECKSUM_SHA256="d2fed7eff7dcf665d5ac4c910a3eb5b31596fa0f488d2cc93febdf612fd571fc"
|
||||
|
||||
ARCHITECTURES="!x86_gcc2 x86_64"
|
||||
SECONDARY_ARCHITECTURES="x86"
|
||||
|
||||
PROVIDES="
|
||||
kcmutils$secondaryArchSuffix = $portVersion
|
||||
lib:libKF5KCMUtils$secondaryArchSuffix = $portVersion
|
||||
"
|
||||
REQUIRES="
|
||||
haiku$secondaryArchSuffix
|
||||
lib:libKF5Auth$secondaryArchSuffix
|
||||
lib:libKF5Codecs$secondaryArchSuffix
|
||||
lib:libKF5ConfigCore$secondaryArchSuffix
|
||||
lib:libKF5ConfigGui$secondaryArchSuffix
|
||||
lib:libKF5ConfigWidgets$secondaryArchSuffix
|
||||
lib:libKF5CoreAddons$secondaryArchSuffix
|
||||
lib:libKF5I18n$secondaryArchSuffix
|
||||
lib:libKF5IconThemes$secondaryArchSuffix
|
||||
lib:libKF5ItemViews$secondaryArchSuffix
|
||||
lib:libKF5Package$secondaryArchSuffix
|
||||
lib:libKF5QuickAddons$secondaryArchSuffix
|
||||
lib:libKF5Service$secondaryArchSuffix
|
||||
lib:libKF5WidgetsAddons$secondaryArchSuffix
|
||||
lib:libKF5XmlGui$secondaryArchSuffix
|
||||
lib:libQt5Core$secondaryArchSuffix
|
||||
lib:libQt5DBus$secondaryArchSuffix
|
||||
lib:libQt5Gui$secondaryArchSuffix
|
||||
lib:libQt5Network$secondaryArchSuffix
|
||||
lib:libQt5Qml$secondaryArchSuffix
|
||||
lib:libQt5Quick$secondaryArchSuffix
|
||||
lib:libQt5QuickWidgets$secondaryArchSuffix
|
||||
lib:libQt5Widgets$secondaryArchSuffix
|
||||
lib:libQt5Xml$secondaryArchSuffix
|
||||
"
|
||||
|
||||
PROVIDES_devel="
|
||||
kcmutils${secondaryArchSuffix}_devel = $portVersion
|
||||
devel:libKF5KCMUtils$secondaryArchSuffix = $portVersion
|
||||
"
|
||||
REQUIRES_devel="
|
||||
kcmutils$secondaryArchSuffix == $portVersion base
|
||||
"
|
||||
|
||||
BUILD_REQUIRES="
|
||||
extra_cmake_modules
|
||||
haiku${secondaryArchSuffix}_devel
|
||||
devel:libKF5Auth$secondaryArchSuffix
|
||||
devel:libKF5Codecs$secondaryArchSuffix
|
||||
devel:libKF5ConfigCore$secondaryArchSuffix
|
||||
devel:libKF5Declarative$secondaryArchSuffix
|
||||
devel:libKF5ItemViews$secondaryArchSuffix
|
||||
devel:libKF5I18n$secondaryArchSuffix
|
||||
devel:libKF5ConfigWidgets$secondaryArchSuffix
|
||||
devel:libKF5CoreAddons$secondaryArchSuffix
|
||||
devel:libKF5Iconthemes$secondaryArchSuffix
|
||||
devel:libKF5Package$secondaryArchSuffix
|
||||
devel:libKF5Service$secondaryArchSuffix
|
||||
devel:libKF5WidgetsAddons$secondaryArchSuffix
|
||||
devel:libKF5XmlGui$secondaryArchSuffix
|
||||
devel:libQt5Core$secondaryArchSuffix
|
||||
"
|
||||
BUILD_PREREQUIRES="
|
||||
cmd:cmake
|
||||
cmd:g++$secondaryArchSuffix
|
||||
cmd:make
|
||||
cmd:python2
|
||||
"
|
||||
|
||||
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 \
|
||||
libKF5KCMUtils
|
||||
|
||||
packageEntries devel \
|
||||
$libDir/cmake \
|
||||
$dataDir/Qt5/mkspecs \
|
||||
$developDir
|
||||
}
|
||||
|
||||
TEST()
|
||||
{
|
||||
cd build
|
||||
make test
|
||||
}
|
||||
79
kde-frameworks/kcodecs/kcodecs-5.38.0.recipe
Normal file
79
kde-frameworks/kcodecs/kcodecs-5.38.0.recipe
Normal file
@@ -0,0 +1,79 @@
|
||||
SUMMARY="String encoding library"
|
||||
DESCRIPTION="KCodecs provide a collection of methods to manipulate strings \
|
||||
using various encodings.
|
||||
|
||||
It can automatically determine the charset of a string, translate XML \
|
||||
entities, validate email addresses, and find encodings by name in a more \
|
||||
tolerant way than QTextCodec (useful e.g. for data coming from the Internet)."
|
||||
HOMEPAGE="https://github.com/KDE/kcodecs/"
|
||||
COPYRIGHT="2010-2017 KDE Organisation"
|
||||
LICENSE="GNU LGPL v2"
|
||||
REVISION="1"
|
||||
SOURCE_URI="https://github.com/KDE/kcodecs/archive/v$portVersion.tar.gz"
|
||||
CHECKSUM_SHA256="91f620229a90247e19a2f8335cba1d7108b0307c2616c444632d40717007adac"
|
||||
|
||||
ARCHITECTURES="!x86_gcc2 x86_64"
|
||||
SECONDARY_ARCHITECTURES="x86"
|
||||
|
||||
PROVIDES="
|
||||
kcodecs$secondaryArchSuffix = $portVersion
|
||||
lib:libKF5Codecs$secondaryArchSuffix = $portVersion
|
||||
"
|
||||
REQUIRES="
|
||||
haiku$secondaryArchSuffix
|
||||
lib:libQt5Core$secondaryArchSuffix
|
||||
"
|
||||
|
||||
PROVIDES_devel="
|
||||
kcodecs${secondaryArchSuffix}_devel = $portVersion
|
||||
devel:libKF5Codecs$secondaryArchSuffix = $portVersion
|
||||
"
|
||||
REQUIRES_devel="
|
||||
kcodecs$secondaryArchSuffix == $portVersion base
|
||||
"
|
||||
|
||||
BUILD_REQUIRES="
|
||||
extra_cmake_modules
|
||||
haiku${secondaryArchSuffix}_devel
|
||||
devel:libQt5Core$secondaryArchSuffix
|
||||
"
|
||||
BUILD_PREREQUIRES="
|
||||
cmd:cmake
|
||||
cmd:gperf
|
||||
cmd:make
|
||||
cmd:g++$secondaryArchSuffix
|
||||
"
|
||||
|
||||
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 \
|
||||
libKF5Codecs
|
||||
|
||||
fixPkgconfig
|
||||
|
||||
packageEntries devel \
|
||||
$libDir/cmake \
|
||||
$dataDir/Qt5/mkspecs \
|
||||
$developDir
|
||||
}
|
||||
|
||||
TEST()
|
||||
{
|
||||
cd build
|
||||
make test
|
||||
}
|
||||
88
kde-frameworks/kcompletion/kcompletion-5.38.0.recipe
Normal file
88
kde-frameworks/kcompletion/kcompletion-5.38.0.recipe
Normal file
@@ -0,0 +1,88 @@
|
||||
SUMMARY="Powerful completion framework"
|
||||
DESCRIPTION="When typing filenames, email addresses and other text where the \
|
||||
user often wants to select from existing data (including what they previously \
|
||||
typed) rather than enter anything wholly original, users often find it \
|
||||
helpful if they only need to type the first few characters, and then have the \
|
||||
application offer them a set of choices or attempt to finish off what they \
|
||||
were typing. Email clients, shells and \"open file\" dialogs often provide \
|
||||
this functionality.
|
||||
|
||||
This framework helps implement this in Qt-based applications. You can use one \
|
||||
of the completion-ready widgets provided by this framework, or integrate it \
|
||||
into your application's other widgets directly."
|
||||
HOMEPAGE="https://github.com/KDE/kconfig/"
|
||||
COPYRIGHT="2010-2017 KDE Organisation"
|
||||
LICENSE="BSD (2-clause)"
|
||||
REVISION="1"
|
||||
SOURCE_URI="https://github.com/KDE/kcompletion/archive/v$portVersion.tar.gz"
|
||||
CHECKSUM_SHA256="b6ef74f72a723a7b6615716abe4c82f2ffc7ca9bd314255664495989cc5aab88"
|
||||
|
||||
ARCHITECTURES="!x86_gcc2 x86_64"
|
||||
SECONDARY_ARCHITECTURES="x86"
|
||||
|
||||
PROVIDES="
|
||||
kcompletion$secondaryArchSuffix = $portVersion
|
||||
lib:libKF5Completion$secondaryArchSuffix = $portVersion
|
||||
"
|
||||
REQUIRES="
|
||||
haiku$secondaryArchSuffix
|
||||
lib:libKF5ConfigGui$secondaryArchSuffix
|
||||
lib:libKF5WidgetsAddons$secondaryArchSuffix
|
||||
lib:libQt5Core$secondaryArchSuffix
|
||||
lib:libQt5Gui$secondaryArchSuffix
|
||||
lib:libQt5Xml$secondaryArchSuffix
|
||||
"
|
||||
|
||||
PROVIDES_devel="
|
||||
kcompletion${secondaryArchSuffix}_devel = $portVersion
|
||||
devel:libKF5Completion$secondaryArchSuffix = $portVersion
|
||||
"
|
||||
REQUIRES_devel="
|
||||
kcompletion$secondaryArchSuffix == $portVersion base
|
||||
"
|
||||
|
||||
BUILD_REQUIRES="
|
||||
extra_cmake_modules
|
||||
haiku${secondaryArchSuffix}_devel
|
||||
devel:libKF5ConfigGui$secondaryArchSuffix
|
||||
devel:libKF5WidgetsAddons$secondaryArchSuffix
|
||||
devel:libQt5Core$secondaryArchSuffix
|
||||
devel:libQt5Gui$secondaryArchSuffix
|
||||
devel:libQt5Xml$secondaryArchSuffix
|
||||
"
|
||||
BUILD_PREREQUIRES="
|
||||
cmd:cmake
|
||||
cmd:g++$secondaryArchSuffix
|
||||
cmd:make
|
||||
"
|
||||
|
||||
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 \
|
||||
libKF5Completion
|
||||
|
||||
packageEntries devel \
|
||||
$libDir/cmake \
|
||||
$dataDir/Qt5/mkspecs \
|
||||
$developDir
|
||||
}
|
||||
|
||||
TEST()
|
||||
{
|
||||
cd build
|
||||
make test
|
||||
}
|
||||
93
kde-frameworks/kconfig/kconfig-5.38.0.recipe
Normal file
93
kde-frameworks/kconfig/kconfig-5.38.0.recipe
Normal file
@@ -0,0 +1,93 @@
|
||||
SUMMARY="Persistent platform-independent application settings"
|
||||
DESCRIPTION="KConfig provides an advanced configuration system. It is made \
|
||||
of two parts: KConfigCore and KConfigGui.
|
||||
|
||||
KConfigCore provides access to the configuration files themselves. It features:
|
||||
|
||||
* Code generation: describe your configuration in an XML file, and use \
|
||||
kconfig_compiler to generate classes that read and write configuration \
|
||||
entries.
|
||||
* Cascading configuration files (global settings overridden by local settings).
|
||||
* Optional shell expansion support (see [docs/options.md](@ref options)).
|
||||
* The ability to lock down configuration options (see [docs/options.md](@ref \
|
||||
options)).
|
||||
KConfigGui provides a way to hook widgets to the configuration so that they \
|
||||
are automatically initialized from the configuration and automatically \
|
||||
propagate their changes to their respective configuration files."
|
||||
HOMEPAGE="https://github.com/KDE/kconfig/"
|
||||
COPYRIGHT="2010-2017 KDE Organisation"
|
||||
LICENSE="GNU LGPL v2"
|
||||
REVISION="1"
|
||||
SOURCE_URI="https://github.com/KDE/kconfig/archive/v$portVersion.tar.gz"
|
||||
CHECKSUM_SHA256="53870b847407a3655fef354a0dcb5a0af08e6abc8aeb0991d4d39e559ee61ed5"
|
||||
|
||||
ARCHITECTURES="!x86_gcc2 x86_64"
|
||||
SECONDARY_ARCHITECTURES="x86"
|
||||
|
||||
PROVIDES="
|
||||
kconfig$secondaryArchSuffix = $portVersion
|
||||
cmd:kreadconfig5$secondaryArchSuffix = $portVersion
|
||||
cmd:kwriteconfig5$secondaryArchSuffix = $portVersion
|
||||
lib:libKF5ConfigCore$secondaryArchSuffix = $portVersion
|
||||
lib:libKF5ConfigGui$secondaryArchSuffix = $portVersion
|
||||
"
|
||||
REQUIRES="
|
||||
haiku$secondaryArchSuffix
|
||||
lib:libQt5Core$secondaryArchSuffix
|
||||
lib:libQt5Gui$secondaryArchSuffix
|
||||
lib:libQt5Xml$secondaryArchSuffix
|
||||
"
|
||||
|
||||
PROVIDES_devel="
|
||||
kconfig${secondaryArchSuffix}_devel = $portVersion
|
||||
devel:libKF5ConfigCore$secondaryArchSuffix = $portVersion
|
||||
devel:libKF5ConfigGui$secondaryArchSuffix = $portVersion
|
||||
"
|
||||
REQUIRES_devel="
|
||||
kconfig$secondaryArchSuffix == $portVersion base
|
||||
"
|
||||
|
||||
BUILD_REQUIRES="
|
||||
extra_cmake_modules
|
||||
haiku${secondaryArchSuffix}_devel
|
||||
devel:libQt5Core$secondaryArchSuffix
|
||||
"
|
||||
BUILD_PREREQUIRES="
|
||||
cmd:cmake
|
||||
cmd:g++$secondaryArchSuffix
|
||||
cmd:make
|
||||
"
|
||||
|
||||
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 \
|
||||
libKF5ConfigCore \
|
||||
libKF5ConfigGui
|
||||
|
||||
fixPkgconfig
|
||||
|
||||
packageEntries devel \
|
||||
$libDir/cmake \
|
||||
$dataDir/Qt5/mkspecs \
|
||||
$developDir
|
||||
}
|
||||
|
||||
TEST()
|
||||
{
|
||||
cd build
|
||||
make test
|
||||
}
|
||||
91
kde-frameworks/kconfigwidgets/kconfigwidgets-5.38.0.recipe
Normal file
91
kde-frameworks/kconfigwidgets/kconfigwidgets-5.38.0.recipe
Normal file
@@ -0,0 +1,91 @@
|
||||
SUMMARY="Widgets for configuration dialogs"
|
||||
DESCRIPTION="KConfigWidgets provides easy-to-use classes to create \
|
||||
configuration dialogs, as well as a set of widgets which uses KConfig \
|
||||
to store their settings."
|
||||
HOMEPAGE="https://github.com/KDE/kconfigwidgets/"
|
||||
COPYRIGHT="2010-2017 KDE Organisation"
|
||||
LICENSE="GNU LGPL v2"
|
||||
REVISION="1"
|
||||
SOURCE_URI="https://github.com/KDE/kconfigwidgets/archive/v$portVersion.tar.gz"
|
||||
CHECKSUM_SHA256="85c3b747bd6effbc511932007f072da9f074bede3c292a1f8d3d936ad1a8b541"
|
||||
|
||||
ARCHITECTURES="!x86_gcc2 x86_64"
|
||||
SECONDARY_ARCHITECTURES="x86"
|
||||
|
||||
PROVIDES="
|
||||
kconfigwidgets$secondaryArchSuffix = $portVersion
|
||||
cmd:preparetips5$secondaryArchSuffix = $portVersion
|
||||
lib:libKF5ConfigWidgets$secondaryArchSuffix = $portVersion
|
||||
"
|
||||
REQUIRES="
|
||||
haiku$secondaryArchSuffix
|
||||
lib:libKF5Auth$secondaryArchSuffix
|
||||
lib:libKF5Codecs$secondaryArchSuffix
|
||||
lib:libKF5ConfigCore$secondaryArchSuffix
|
||||
lib:libKF5ConfigGui$secondaryArchSuffix
|
||||
lib:libKF5CoreAddons$secondaryArchSuffix
|
||||
lib:libKF5GuiAddons$secondaryArchSuffix
|
||||
lib:libKF5I18n$secondaryArchSuffix
|
||||
lib:libKF5WidgetsAddons$secondaryArchSuffix
|
||||
lib:libQt5Core$secondaryArchSuffix
|
||||
"
|
||||
|
||||
PROVIDES_devel="
|
||||
kconfigwidgets${secondaryArchSuffix}_devel = $portVersion
|
||||
devel:libKF5ConfigWidgets$secondaryArchSuffix = $portVersion
|
||||
"
|
||||
REQUIRES_devel="
|
||||
kconfigwidgets$secondaryArchSuffix == $portVersion base
|
||||
"
|
||||
|
||||
BUILD_REQUIRES="
|
||||
extra_cmake_modules
|
||||
haiku${secondaryArchSuffix}_devel
|
||||
devel:libKF5Auth$secondaryArchSuffix
|
||||
devel:libKF5Codecs$secondaryArchSuffix
|
||||
devel:libKF5ConfigCore$secondaryArchSuffix
|
||||
devel:libKF5ConfigGui$secondaryArchSuffix
|
||||
devel:libKF5CoreAddons$secondaryArchSuffix
|
||||
# devel:libKF5DocTools$secondaryArchSuffix # breaks the build
|
||||
devel:libKF5GuiAddons$secondaryArchSuffix
|
||||
devel:libKF5I18n$secondaryArchSuffix
|
||||
devel:libKF5WidgetsAddons$secondaryArchSuffix
|
||||
devel:libQt5Core$secondaryArchSuffix
|
||||
devel:libQt5Core$secondaryArchSuffix
|
||||
"
|
||||
BUILD_PREREQUIRES="
|
||||
cmd:cmake
|
||||
cmd:g++$secondaryArchSuffix
|
||||
cmd:make
|
||||
cmd:python2
|
||||
"
|
||||
|
||||
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 \
|
||||
libKF5ConfigWidgets
|
||||
|
||||
packageEntries devel \
|
||||
$libDir/cmake \
|
||||
$dataDir/Qt5/mkspecs \
|
||||
$developDir
|
||||
}
|
||||
|
||||
TEST()
|
||||
{
|
||||
cd build
|
||||
make test
|
||||
}
|
||||
77
kde-frameworks/kcoreaddons/kcoreaddons-5.38.0.recipe
Normal file
77
kde-frameworks/kcoreaddons/kcoreaddons-5.38.0.recipe
Normal file
@@ -0,0 +1,77 @@
|
||||
SUMMARY="Qt addon library with a collection of non-GUI utilities"
|
||||
DESCRIPTION="KCoreAddons provides classes built on top of QtCore to perform \
|
||||
various tasks such as manipulating mime types, autosaving files, creating \
|
||||
backup files, generating random sequences, performing text manipulations such \
|
||||
as macro replacement, accessing user information and many more."
|
||||
HOMEPAGE="https://github.com/KDE/kcoreaddons/"
|
||||
COPYRIGHT="2010-2017 KDE Organisation"
|
||||
LICENSE="GNU LGPL v2"
|
||||
REVISION="1"
|
||||
SOURCE_URI="https://github.com/KDE/kcoreaddons/archive/v$portVersion.tar.gz"
|
||||
CHECKSUM_SHA256="15ef8e099f043ee3a62cf689ecb83539117d3abd52ad6d513473dcce7a39c693"
|
||||
PATCHES="kcoreaddons-$portVersion.patchset"
|
||||
|
||||
ARCHITECTURES="!x86_gcc2 x86_64"
|
||||
SECONDARY_ARCHITECTURES="x86"
|
||||
|
||||
PROVIDES="
|
||||
kcoreaddons$secondaryArchSuffix = $portVersion
|
||||
cmd:desktoptojson$secondaryArchSuffix = $portVersion
|
||||
lib:libkf5coreaddons$secondaryArchSuffix = $portVersion
|
||||
"
|
||||
REQUIRES="
|
||||
haiku$secondaryArchSuffix
|
||||
lib:libQt5Core$secondaryArchSuffix
|
||||
lib:libQt5Gui$secondaryArchSuffix
|
||||
lib:libQt5Xml$secondaryArchSuffix
|
||||
"
|
||||
|
||||
PROVIDES_devel="
|
||||
kcoreaddons${secondaryArchSuffix}_devel = $portVersion
|
||||
devel:libkf5coreaddons$secondaryArchSuffix = $portVersion
|
||||
"
|
||||
REQUIRES_devel="
|
||||
kcoreaddons$secondaryArchSuffix == $portVersion base
|
||||
"
|
||||
|
||||
BUILD_REQUIRES="
|
||||
extra_cmake_modules
|
||||
haiku${secondaryArchSuffix}_devel
|
||||
devel:libQt5Core$secondaryArchSuffix
|
||||
"
|
||||
BUILD_PREREQUIRES="
|
||||
cmd:cmake
|
||||
cmd:g++$secondaryArchSuffix
|
||||
cmd:make
|
||||
"
|
||||
|
||||
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 \
|
||||
libKF5CoreAddons
|
||||
|
||||
packageEntries devel \
|
||||
$libDir/cmake \
|
||||
$dataDir/Qt5/mkspecs \
|
||||
$developDir
|
||||
}
|
||||
|
||||
TEST()
|
||||
{
|
||||
cd build
|
||||
make test
|
||||
}
|
||||
@@ -0,0 +1,40 @@
|
||||
From b250068ef1f0524a6651498b05abffedd32d7460 Mon Sep 17 00:00:00 2001
|
||||
From: Sergei Reznikov <diver@gelios.net>
|
||||
Date: Sat, 23 Sep 2017 02:08:00 +0300
|
||||
Subject: Fix build on Haiku
|
||||
|
||||
|
||||
diff --git a/src/lib/caching/kshareddatacache_p.h b/src/lib/caching/kshareddatacache_p.h
|
||||
index e244d46..8498d4f 100644
|
||||
--- a/src/lib/caching/kshareddatacache_p.h
|
||||
+++ b/src/lib/caching/kshareddatacache_p.h
|
||||
@@ -51,7 +51,7 @@
|
||||
#define KSDC_THREAD_PROCESS_SHARED_SUPPORTED 1
|
||||
#endif
|
||||
|
||||
-#if defined(_POSIX_SEMAPHORES) && ((_POSIX_SEMAPHORES == 0) || (_POSIX_SEMAPHORES >= 200112L))
|
||||
+#if !defined(Q_OS_HAIKU) && defined(_POSIX_SEMAPHORES) && ((_POSIX_SEMAPHORES == 0) || (_POSIX_SEMAPHORES >= 200112L))
|
||||
#include <semaphore.h>
|
||||
#define KSDC_SEMAPHORES_SUPPORTED 1
|
||||
#endif
|
||||
diff --git a/src/lib/io/kfilesystemtype.cpp b/src/lib/io/kfilesystemtype.cpp
|
||||
index f9545e6..f9dc63d 100644
|
||||
--- a/src/lib/io/kfilesystemtype.cpp
|
||||
+++ b/src/lib/io/kfilesystemtype.cpp
|
||||
@@ -135,11 +135,12 @@ KFileSystemType::Type determineFileSystemTypeImpl(const QByteArray &path)
|
||||
}
|
||||
#endif
|
||||
#else
|
||||
+#endif
|
||||
KFileSystemType::Type determineFileSystemTypeImpl(const QByteArray &path)
|
||||
{
|
||||
return KFileSystemType::Unknown;
|
||||
}
|
||||
-#endif
|
||||
+
|
||||
|
||||
KFileSystemType::Type KFileSystemType::fileSystemType(const QString &path)
|
||||
{
|
||||
--
|
||||
2.13.1
|
||||
|
||||
80
kde-frameworks/kcrash/kcrash-5.38.0.recipe
Normal file
80
kde-frameworks/kcrash/kcrash-5.38.0.recipe
Normal file
@@ -0,0 +1,80 @@
|
||||
SUMMARY="Graceful handling of application crashes"
|
||||
DESCRIPTION="KCrash provides support for intercepting and handling \
|
||||
application crashes."
|
||||
HOMEPAGE="https://github.com/KDE/kcrash/"
|
||||
COPYRIGHT="2010-2017 KDE Organisation"
|
||||
LICENSE="GNU LGPL v2"
|
||||
REVISION="1"
|
||||
SOURCE_URI="https://github.com/KDE/kcrash/archive/v$portVersion.tar.gz"
|
||||
CHECKSUM_SHA256="1a32b22b3e2c5eff57a18541c78186cbd8314d60d4682f94471265f10a4f9d3c"
|
||||
PATCHES="kcrash-5.38.0.patchset"
|
||||
|
||||
ARCHITECTURES="!x86_gcc2 x86_64"
|
||||
SECONDARY_ARCHITECTURES="x86"
|
||||
|
||||
PROVIDES="
|
||||
kcrash$secondaryArchSuffix = $portVersion
|
||||
lib:libKF5Crash$secondaryArchSuffix = $portVersion
|
||||
"
|
||||
REQUIRES="
|
||||
haiku$secondaryArchSuffix
|
||||
lib:libKF5CoreAddons$secondaryArchSuffix
|
||||
lib:libKF5WindowSystem$secondaryArchSuffix
|
||||
lib:libQt5Core$secondaryArchSuffix
|
||||
lib:libQt5Gui$secondaryArchSuffix
|
||||
lib:libQt5Widgets$secondaryArchSuffix
|
||||
"
|
||||
|
||||
PROVIDES_devel="
|
||||
kcrash${secondaryArchSuffix}_devel = $portVersion
|
||||
devel:libKF5Crash$secondaryArchSuffix = $portVersion
|
||||
"
|
||||
REQUIRES_devel="
|
||||
kcrash$secondaryArchSuffix == $portVersion base
|
||||
"
|
||||
|
||||
BUILD_REQUIRES="
|
||||
extra_cmake_modules
|
||||
haiku${secondaryArchSuffix}_devel
|
||||
devel:libKF5CoreAddons$secondaryArchSuffix
|
||||
devel:libKF5WindowSystem$secondaryArchSuffix
|
||||
devel:libQt5Core$secondaryArchSuffix
|
||||
devel:libQt5Gui$secondaryArchSuffix
|
||||
devel:libQt5Widgets$secondaryArchSuffix
|
||||
"
|
||||
BUILD_PREREQUIRES="
|
||||
cmd:cmake
|
||||
cmd:g++$secondaryArchSuffix
|
||||
cmd:make
|
||||
"
|
||||
|
||||
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 \
|
||||
libKF5Crash
|
||||
|
||||
packageEntries devel \
|
||||
$libDir/cmake \
|
||||
$dataDir/Qt5/mkspecs \
|
||||
$developDir
|
||||
}
|
||||
|
||||
TEST()
|
||||
{
|
||||
cd build
|
||||
make test
|
||||
}
|
||||
35
kde-frameworks/kcrash/patches/kcrash-5.38.0.patchset
Normal file
35
kde-frameworks/kcrash/patches/kcrash-5.38.0.patchset
Normal file
@@ -0,0 +1,35 @@
|
||||
From c519ba6ce402ac05b65f215dbf7ec3cda9332f04 Mon Sep 17 00:00:00 2001
|
||||
From: Sergei Reznikov <diver@gelios.net>
|
||||
Date: Sat, 23 Sep 2017 03:46:21 +0300
|
||||
Subject: Fix build on Haiku
|
||||
|
||||
|
||||
diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt
|
||||
index 7a382dd..7ec3255 100644
|
||||
--- a/src/CMakeLists.txt
|
||||
+++ b/src/CMakeLists.txt
|
||||
@@ -16,7 +16,7 @@ add_library(KF5::Crash ALIAS KF5Crash)
|
||||
|
||||
target_include_directories(KF5Crash INTERFACE "$<INSTALL_INTERFACE:${KDE_INSTALL_INCLUDEDIR_KF5}/KCrash>")
|
||||
|
||||
-target_link_libraries(KF5Crash PUBLIC Qt5::Core)
|
||||
+target_link_libraries(KF5Crash PUBLIC Qt5::Core network)
|
||||
target_link_libraries(KF5Crash PRIVATE KF5::CoreAddons KF5::WindowSystem)
|
||||
|
||||
|
||||
diff --git a/src/kcrash.cpp b/src/kcrash.cpp
|
||||
index 830a036..d9ab488 100644
|
||||
--- a/src/kcrash.cpp
|
||||
+++ b/src/kcrash.cpp
|
||||
@@ -269,6 +269,8 @@ static const char* displayEnvVarName_c()
|
||||
return "MAC_DISPLAY";
|
||||
#elif defined(Q_OS_WIN)
|
||||
return "WIN_DISPLAY";
|
||||
+#elif defined(Q_OS_HAIKU)
|
||||
+ return "HAIKU_DISPLAY";
|
||||
#endif
|
||||
}
|
||||
|
||||
--
|
||||
2.13.1
|
||||
|
||||
74
kde-frameworks/kdbusaddons/kdbusaddons-5.38.0.recipe
Normal file
74
kde-frameworks/kdbusaddons/kdbusaddons-5.38.0.recipe
Normal file
@@ -0,0 +1,74 @@
|
||||
SUMMARY="Convenience classes for D-Bus"
|
||||
DESCRIPTION="KDBusAddons provides convenience classes on top of QtDBus, as \
|
||||
well as an API to create KDED modules."
|
||||
HOMEPAGE="https://github.com/KDE/kdbusaddons/"
|
||||
COPYRIGHT="2010-2017 KDE Organisation"
|
||||
LICENSE="GNU LGPL v2"
|
||||
REVISION="1"
|
||||
SOURCE_URI="https://github.com/KDE/kdbusaddons/archive/v$portVersion.tar.gz"
|
||||
CHECKSUM_SHA256="6b69bf155df3a0c489f648aef2d3facfc886157e2485f3c7df90ef9e3145e1da"
|
||||
|
||||
ARCHITECTURES="!x86_gcc2 x86_64"
|
||||
SECONDARY_ARCHITECTURES="x86"
|
||||
|
||||
PROVIDES="
|
||||
kdbusaddons$secondaryArchSuffix = $portVersion
|
||||
cmd:kquitapp5$secondaryArchSuffix = $portVersion
|
||||
lib:libKF5DBusAddons$secondaryArchSuffix = $portVersion
|
||||
"
|
||||
REQUIRES="
|
||||
haiku$secondaryArchSuffix
|
||||
lib:libQt5Core$secondaryArchSuffix
|
||||
lib:libQt5DBus$secondaryArchSuffix
|
||||
"
|
||||
|
||||
PROVIDES_devel="
|
||||
kdbusaddons${secondaryArchSuffix}_devel = $portVersion
|
||||
devel:libKF5DBusAddons$secondaryArchSuffix = $portVersion
|
||||
"
|
||||
REQUIRES_devel="
|
||||
kdbusaddons$secondaryArchSuffix == $portVersion base
|
||||
"
|
||||
|
||||
BUILD_REQUIRES="
|
||||
extra_cmake_modules
|
||||
haiku${secondaryArchSuffix}_devel
|
||||
devel:libQt5Core$secondaryArchSuffix
|
||||
devel:libQt5DBus$secondaryArchSuffix
|
||||
"
|
||||
BUILD_PREREQUIRES="
|
||||
cmd:cmake
|
||||
cmd:g++$secondaryArchSuffix
|
||||
cmd:make
|
||||
"
|
||||
|
||||
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 \
|
||||
libKF5DBusAddons
|
||||
|
||||
packageEntries devel \
|
||||
$libDir/cmake \
|
||||
$dataDir/Qt5/mkspecs \
|
||||
$developDir
|
||||
}
|
||||
|
||||
TEST()
|
||||
{
|
||||
cd build
|
||||
make test
|
||||
}
|
||||
125
kde-frameworks/kdeclarative/kdeclarative-5.38.0.recipe
Normal file
125
kde-frameworks/kdeclarative/kdeclarative-5.38.0.recipe
Normal file
@@ -0,0 +1,125 @@
|
||||
SUMMARY="Integration of QML and KDE work spaces"
|
||||
DESCRIPTION="KDeclarative provides integration of QML and KDE work spaces. \
|
||||
It's comprises two parts: a library used by the C++ part of your application \
|
||||
to intergrate QML with KDE Frameworks specific features, and a series of QML \
|
||||
imports that offer bindings to some of the Frameworks."
|
||||
HOMEPAGE="https://github.com/KDE/kdeclarative/"
|
||||
COPYRIGHT="2010-2017 KDE Organisation"
|
||||
LICENSE="GNU LGPL v2"
|
||||
REVISION="1"
|
||||
SOURCE_URI="https://github.com/KDE/kdeclarative/archive/v$portVersion.tar.gz"
|
||||
CHECKSUM_SHA256="c2be98a15f45c1ce804dc922e85100f544b5584b805f5370e445fc9ba5845233"
|
||||
|
||||
ARCHITECTURES="!x86_gcc2 x86_64"
|
||||
SECONDARY_ARCHITECTURES="x86"
|
||||
|
||||
PROVIDES="
|
||||
kdeclarative$secondaryArchSuffix = $portVersion
|
||||
cmd:kpackagelauncherqml$secondaryArchSuffix = $portVersion
|
||||
lib:libKF5CalendarEvents$secondaryArchSuffix = $portVersion
|
||||
lib:libKF5Declarative$secondaryArchSuffix = $portVersion
|
||||
lib:libKF5QuickAddons$secondaryArchSuffix = $portVersion
|
||||
"
|
||||
REQUIRES="
|
||||
haiku$secondaryArchSuffix
|
||||
lib:libKF5Completion$secondaryArchSuffix
|
||||
lib:libKF5ConfigCore$secondaryArchSuffix
|
||||
lib:libKF5ConfigGui$secondaryArchSuffix
|
||||
lib:libKF5CoreAddons$secondaryArchSuffix
|
||||
lib:libKF5GlobalAccel$secondaryArchSuffix
|
||||
lib:libKF5I18n$secondaryArchSuffix
|
||||
lib:libKF5IconThemes$secondaryArchSuffix
|
||||
lib:libKF5JobWidgets$secondaryArchSuffix
|
||||
lib:libKF5KIOCore$secondaryArchSuffix
|
||||
lib:libKF5KIOWidgets$secondaryArchSuffix
|
||||
lib:libKF5Package$secondaryArchSuffix
|
||||
lib:libKF5QuickAddons$secondaryArchSuffix
|
||||
lib:libKF5Service$secondaryArchSuffix
|
||||
lib:libKF5WidgetsAddons$secondaryArchSuffix
|
||||
lib:libKF5WindowSystem$secondaryArchSuffix
|
||||
lib:libQt5Core$secondaryArchSuffix
|
||||
lib:libQt5DBus$secondaryArchSuffix
|
||||
lib:libQt5Gui$secondaryArchSuffix
|
||||
lib:libQt5Network$secondaryArchSuffix
|
||||
lib:libQt5Qml$secondaryArchSuffix
|
||||
lib:libQt5Quick$secondaryArchSuffix
|
||||
lib:libQt5Test$secondaryArchSuffix
|
||||
lib:libQt5Widgets$secondaryArchSuffix
|
||||
lib:libQt5Xml$secondaryArchSuffix
|
||||
"
|
||||
|
||||
PROVIDES_devel="
|
||||
kdeclarative${secondaryArchSuffix}_devel = $portVersion
|
||||
devel:libKF5CalendarEvents$secondaryArchSuffix = $portVersion
|
||||
devel:libKF5Declarative$secondaryArchSuffix = $portVersion
|
||||
devel:libKF5QuickAddons$secondaryArchSuffix = $portVersion
|
||||
"
|
||||
REQUIRES_devel="
|
||||
kdeclarative$secondaryArchSuffix == $portVersion base
|
||||
"
|
||||
|
||||
BUILD_REQUIRES="
|
||||
extra_cmake_modules
|
||||
haiku${secondaryArchSuffix}_devel
|
||||
devel:libKF5Auth$secondaryArchSuffix
|
||||
devel:libKF5Bookmarks$secondaryArchSuffix
|
||||
devel:libKF5Codecs$secondaryArchSuffix
|
||||
devel:libKF5Completion$secondaryArchSuffix
|
||||
devel:libKF5ConfigCore$secondaryArchSuffix
|
||||
devel:libKF5ConfigWidgets$secondaryArchSuffix
|
||||
devel:libKF5CoreAddons$secondaryArchSuffix
|
||||
devel:libKF5GlobalAccel$secondaryArchSuffix
|
||||
devel:libKF5GuiAddons$secondaryArchSuffix
|
||||
devel:libKF5I18n$secondaryArchSuffix
|
||||
devel:libKF5IconThemes$secondaryArchSuffix
|
||||
devel:libKF5ItemViews$secondaryArchSuffix
|
||||
devel:libkf5jobwidgets$secondaryArchSuffix
|
||||
devel:libKF5KIOCore$secondaryArchSuffix
|
||||
devel:libKF5Package$secondaryArchSuffix
|
||||
devel:libKF5Service$secondaryArchSuffix
|
||||
devel:libKF5Solid$secondaryArchSuffix
|
||||
devel:libKF5WindowSystem$secondaryArchSuffix
|
||||
devel:libKF5WidgetsAddons$secondaryArchSuffix
|
||||
devel:libKF5XmlGui$secondaryArchSuffix
|
||||
devel:libQt5Core$secondaryArchSuffix
|
||||
"
|
||||
BUILD_PREREQUIRES="
|
||||
cmd:cmake
|
||||
cmd:g++$secondaryArchSuffix
|
||||
cmd:make
|
||||
cmd:python2
|
||||
"
|
||||
|
||||
BUILD()
|
||||
{
|
||||
mkdir -p build
|
||||
cd build
|
||||
|
||||
cmake .. $cmakeDirArgs \
|
||||
-DKDE_INSTALL_QMLDIR=$dataDir/Qt5/qml \
|
||||
-DECM_MKSPECS_INSTALL_DIR=$dataDir/Qt5/mkspecs \
|
||||
-DECM_DIR=/system/data/cmake/Modules/ECM/cmake
|
||||
make $jobArgs
|
||||
}
|
||||
|
||||
INSTALL()
|
||||
{
|
||||
cd build
|
||||
make install
|
||||
|
||||
prepareInstalledDevelLibs \
|
||||
libKF5Declarative \
|
||||
libKF5CalendarEvents \
|
||||
libKF5QuickAddons
|
||||
|
||||
packageEntries devel \
|
||||
$libDir/cmake \
|
||||
$dataDir/Qt5/mkspecs \
|
||||
$developDir
|
||||
}
|
||||
|
||||
TEST()
|
||||
{
|
||||
cd build
|
||||
make test
|
||||
}
|
||||
104
kde-frameworks/kded/kded-5.38.0.recipe
Normal file
104
kde-frameworks/kded/kded-5.38.0.recipe
Normal file
@@ -0,0 +1,104 @@
|
||||
SUMMARY="Central daemon of KDE work spaces"
|
||||
DESCRIPTION="KDED stands for KDE Daemon which isn't very descriptive. KDED \
|
||||
runs in the background and performs a number of small tasks. Some of these \
|
||||
tasks are built in, others are started on demand.
|
||||
|
||||
Built in tasks
|
||||
|
||||
* Checking for newly installed software and updating ksycoca when new \
|
||||
software is detected. Updating of ksycoca is done by the program \
|
||||
kbuildsycoca which gets started by kded. When kded is first started it \
|
||||
always runs kbuildsycoca to ensure that ksycoca is up to date.
|
||||
|
||||
* Checking for newly installed update files. Applications can install *.upd \
|
||||
update files. These *.upd files are used to update configuration files of \
|
||||
users, primarily when new versions of applications are installed with \
|
||||
(slightly) different configuration file formats. Updating of configuration \
|
||||
files is done by kconf_update. kded starts kconf_update when it detects a \
|
||||
new update file. When kded is first started it always runs kconf_update to \
|
||||
ensure that it has not missed any update files. kconf_update keeps track of \
|
||||
which update files have been processed already in the config-file \
|
||||
kconf_updaterc. It only performs a certain update once."
|
||||
HOMEPAGE="https://github.com/KDE/kded/"
|
||||
COPYRIGHT="2010-2017 KDE Organisation"
|
||||
LICENSE="GNU LGPL v2"
|
||||
REVISION="1"
|
||||
SOURCE_URI="https://github.com/KDE/kded/archive/v$portVersion.tar.gz"
|
||||
CHECKSUM_SHA256="de9e89157436c170751fa803e4149d170b75bc09cf095b8eb9efa908196fc869"
|
||||
|
||||
ARCHITECTURES="!x86_gcc2 x86_64"
|
||||
SECONDARY_ARCHITECTURES="x86"
|
||||
|
||||
PROVIDES="
|
||||
kded$secondaryArchSuffix = $portVersion
|
||||
cmd:kded5$secondaryArchSuffix = $portVersion
|
||||
lib:libkdeinit5_kded5$secondaryArchSuffix = $portVersion
|
||||
lib:libKF5Ded$secondaryArchSuffix = $portVersion
|
||||
"
|
||||
REQUIRES="
|
||||
haiku$secondaryArchSuffix
|
||||
lib:libKF5ConfigCore$secondaryArchSuffix
|
||||
lib:libKF5CoreAddons$secondaryArchSuffix
|
||||
lib:libKF5Crash$secondaryArchSuffix
|
||||
lib:libKF5DBusAddons$secondaryArchSuffix
|
||||
lib:libKF5Service$secondaryArchSuffix
|
||||
lib:libQt5Core$secondaryArchSuffix
|
||||
lib:libQt5DBus$secondaryArchSuffix
|
||||
lib:libQt5Gui$secondaryArchSuffix
|
||||
lib:libQt5Widgets$secondaryArchSuffix
|
||||
"
|
||||
|
||||
PROVIDES_devel="
|
||||
kded${secondaryArchSuffix}_devel = $portVersion
|
||||
devel:libkdeinit5_kded5$secondaryArchSuffix = $portVersion
|
||||
"
|
||||
REQUIRES_devel="
|
||||
kded$secondaryArchSuffix == $portVersion base
|
||||
"
|
||||
|
||||
BUILD_REQUIRES="
|
||||
extra_cmake_modules
|
||||
haiku${secondaryArchSuffix}_devel
|
||||
devel:libKF5DBusAddons$secondaryArchSuffix
|
||||
devel:libKF5ConfigCore$secondaryArchSuffix
|
||||
devel:libKF5CoreAddons$secondaryArchSuffix
|
||||
devel:libKF5Crash$secondaryArchSuffix
|
||||
devel:libKF5Service$secondaryArchSuffix
|
||||
devel:libkdeinit5_klauncher$secondaryArchSuffix
|
||||
devel:libQt5Core$secondaryArchSuffix
|
||||
"
|
||||
BUILD_PREREQUIRES="
|
||||
cmd:cmake
|
||||
cmd:g++$secondaryArchSuffix
|
||||
cmd:make
|
||||
"
|
||||
|
||||
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 \
|
||||
libkdeinit5_kded5
|
||||
|
||||
packageEntries devel \
|
||||
$libDir/cmake \
|
||||
$developDir
|
||||
}
|
||||
|
||||
TEST()
|
||||
{
|
||||
cd build
|
||||
make test
|
||||
}
|
||||
180
kde-frameworks/kdelibs4support/kdelibs4support-5.38.0.recipe
Normal file
180
kde-frameworks/kdelibs4support/kdelibs4support-5.38.0.recipe
Normal file
@@ -0,0 +1,180 @@
|
||||
SUMMARY="Legacy support for kdelibs 4 compatibility"
|
||||
DESCRIPTION="This framework provides code and utilities to ease the \
|
||||
transition from kdelibs 4 to KDE Frameworks 5. This includes CMake \
|
||||
macros and C++ classes whose functionality has been replaced by code \
|
||||
in CMake, Qt and other frameworks.
|
||||
|
||||
Code should aim to port away from this framework eventually. The API \
|
||||
documentation of the classes in this framework and the notes at \
|
||||
http://community.kde.org/Frameworks/Porting_Notes should help with this.
|
||||
|
||||
Note that some of the classes in this framework, especially KStandardDirs, \
|
||||
may not work correctly unless any libraries and other software using the \
|
||||
KDELibs 4 Support framework are installed to the same location as \
|
||||
KDELibs4Support, although it may be sufficient to set the KDEDIRS environment \
|
||||
variable correctly."
|
||||
HOMEPAGE="https://github.com/KDE/kdelibs4support/"
|
||||
COPYRIGHT="2010-2017 KDE Organisation"
|
||||
LICENSE="GNU LGPL v2"
|
||||
REVISION="1"
|
||||
SOURCE_URI="https://github.com/KDE/kdelibs4support/archive/v$portVersion.tar.gz"
|
||||
CHECKSUM_SHA256="f656ad56664f593bb41c5d2f4a449c645a9d85bb1949d373377160b296f393e2"
|
||||
PATCHES="kdelibs4support-$portVersion.patchset"
|
||||
|
||||
ARCHITECTURES="!x86_gcc2 x86_64"
|
||||
SECONDARY_ARCHITECTURES="x86"
|
||||
|
||||
PROVIDES="
|
||||
kdelibs4support$secondaryArchSuffix = $portVersion
|
||||
cmd:kf5_config$secondaryArchSuffix = $portVersion
|
||||
cmd:kdebugdialog5$secondaryArchSuffix = $portVersion
|
||||
lib:libKF5KDELibs4Support$secondaryArchSuffix = $portVersion
|
||||
"
|
||||
REQUIRES="
|
||||
haiku$secondaryArchSuffix
|
||||
lib:libKF5Auth$secondaryArchSuffix
|
||||
lib:libKF5Bookmarks$secondaryArchSuffix
|
||||
lib:libKF5Codecs$secondaryArchSuffix
|
||||
lib:libKF5Completion$secondaryArchSuffix
|
||||
lib:libKF5ConfigCore$secondaryArchSuffix
|
||||
lib:libKF5ConfigGui$secondaryArchSuffix
|
||||
lib:libKF5ConfigWidgets$secondaryArchSuffix
|
||||
lib:libKF5CoreAddons$secondaryArchSuffix
|
||||
lib:libKF5Crash$secondaryArchSuffix
|
||||
lib:libKF5GlobalAccel$secondaryArchSuffix
|
||||
lib:libKF5GuiAddons$secondaryArchSuffix
|
||||
lib:libKF5I18n$secondaryArchSuffix
|
||||
lib:libKF5IconThemes$secondaryArchSuffix
|
||||
lib:libKF5ItemViews$secondaryArchSuffix
|
||||
lib:libKF5JobWidgets$secondaryArchSuffix
|
||||
lib:libKF5KIOCore$secondaryArchSuffix
|
||||
lib:libKF5KIOFileWidgets$secondaryArchSuffix
|
||||
lib:libKF5KIOWidgets$secondaryArchSuffix
|
||||
lib:libKF5Notifications$secondaryArchSuffix
|
||||
lib:libKF5Parts$secondaryArchSuffix
|
||||
lib:libKF5Service$secondaryArchSuffix
|
||||
lib:libKF5Solid$secondaryArchSuffix
|
||||
lib:libKF5SonnetUi$secondaryArchSuffix
|
||||
lib:libKF5TextWidgets$secondaryArchSuffix
|
||||
lib:libKF5UnitConversion$secondaryArchSuffix
|
||||
lib:libKF5WidgetsAddons$secondaryArchSuffix
|
||||
lib:libKF5WindowSystem$secondaryArchSuffix
|
||||
lib:libKF5XmlGui$secondaryArchSuffix
|
||||
lib:libQt5Core$secondaryArchSuffix
|
||||
lib:libQt5DBus$secondaryArchSuffix
|
||||
lib:libQt5Gui$secondaryArchSuffix
|
||||
lib:libQt5Network$secondaryArchSuffix
|
||||
lib:libQt5PrintSupport$secondaryArchSuffix
|
||||
lib:libQt5Svg$secondaryArchSuffix
|
||||
lib:libQt5Test$secondaryArchSuffix
|
||||
lib:libQt5Widgets$secondaryArchSuffix
|
||||
lib:libQt5Xml$secondaryArchSuffix
|
||||
"
|
||||
|
||||
PROVIDES_devel="
|
||||
kdelibs4support${secondaryArchSuffix}_devel = $portVersion
|
||||
devel:libKF5KDELibs4Support$secondaryArchSuffix = $portVersion
|
||||
"
|
||||
REQUIRES_devel="
|
||||
kdelibs4support$secondaryArchSuffix == $portVersion base
|
||||
"
|
||||
|
||||
BUILD_REQUIRES="
|
||||
extra_cmake_modules
|
||||
haiku${secondaryArchSuffix}_devel
|
||||
uri$secondaryArchSuffix
|
||||
devel:libKF5Auth$secondaryArchSuffix
|
||||
devel:libKF5Bookmarks$secondaryArchSuffix
|
||||
devel:libKF5Codecs$secondaryArchSuffix
|
||||
devel:libKF5Completion$secondaryArchSuffix
|
||||
devel:libKF5ConfigCore$secondaryArchSuffix
|
||||
devel:libKF5ConfigWidgets$secondaryArchSuffix
|
||||
devel:libKF5CoreAddons$secondaryArchSuffix
|
||||
devel:libKF5Crash$secondaryArchSuffix
|
||||
devel:libKF5DBusAddons$secondaryArchSuffix
|
||||
devel:libkdeinit5_kded5$secondaryArchSuffix
|
||||
devel:libKF5DesignerPlugin$secondaryArchSuffix
|
||||
devel:libKF5GlobalAccel$secondaryArchSuffix
|
||||
devel:libKF5DocTools$secondaryArchSuffix
|
||||
devel:libKF5Emoticons$secondaryArchSuffix
|
||||
devel:libKF5GuiAddons$secondaryArchSuffix
|
||||
devel:libKF5I18n$secondaryArchSuffix
|
||||
devel:libKF5IconThemes$secondaryArchSuffix
|
||||
devel:libKF5ItemViews$secondaryArchSuffix
|
||||
devel:libKF5JobWidgets$secondaryArchSuffix
|
||||
devel:libKF5KioCore$secondaryArchSuffix
|
||||
devel:libKF5Notifications$secondaryArchSuffix
|
||||
devel:libKF5Parts$secondaryArchSuffix
|
||||
devel:libKF5Service$secondaryArchSuffix
|
||||
devel:libKF5Solid$secondaryArchSuffix
|
||||
devel:libKF5TextWidgets$secondaryArchSuffix
|
||||
devel:libKF5SonnetUi$secondaryArchSuffix
|
||||
devel:libKF5UnitConversion$secondaryArchSuffix
|
||||
devel:libKF5WidgetsAddons$secondaryArchSuffix
|
||||
devel:libKF5WindowSystem$secondaryArchSuffix
|
||||
devel:libKF5XmlGui$secondaryArchSuffix
|
||||
devel:libQt5Core$secondaryArchSuffix
|
||||
devel:libQt5DBus$secondaryArchSuffix
|
||||
devel:libQt5Gui$secondaryArchSuffix
|
||||
devel:libQt5Network$secondaryArchSuffix
|
||||
devel:libQt5PrintSupport$secondaryArchSuffix
|
||||
devel:libQt5Svg$secondaryArchSuffix
|
||||
devel:libQt5Test$secondaryArchSuffix
|
||||
devel:libQt5Widgets$secondaryArchSuffix
|
||||
devel:libQt5Xml$secondaryArchSuffix
|
||||
devel:libssl$secondaryArchSuffix
|
||||
"
|
||||
BUILD_PREREQUIRES="
|
||||
cmd:cmake
|
||||
cmd:g++$secondaryArchSuffix
|
||||
cmd:make
|
||||
cmd:perl
|
||||
cmd:python2
|
||||
"
|
||||
|
||||
GLOBAL_WRITABLE_FILES="
|
||||
settings/xdg/colors/40.colors keep-old
|
||||
settings/xdg/colors/Oxygen.colors keep-old
|
||||
settings/xdg/colors/Rainbow.colors keep-old
|
||||
settings/xdg/colors/Royal.colors keep-old
|
||||
settings/xdg/colors/Web.colors keep-old
|
||||
settings/xdg/kdebug.areas keep-old
|
||||
settings/xdg/kdebugrc keep-old
|
||||
settings/xdg/ksslcalist keep-old
|
||||
"
|
||||
|
||||
BUILD()
|
||||
{
|
||||
# disable docs generation until libxml package is fixed
|
||||
sed -i s/add/#add/g docs/CMakeLists.txt
|
||||
sed -i s/kdoctools/#kdoctool/g CMakeLists.txt
|
||||
|
||||
mkdir -p build
|
||||
cd build
|
||||
|
||||
cmake .. $cmakeDirArgs \
|
||||
-DKDE_INSTALL_PLUGINDIR=$addOnsDir/Qt5 \
|
||||
-DKDE_INSTALL_QTPLUGINDIR=$addOnsDir/Qt5 \
|
||||
-DECM_MKSPECS_INSTALL_DIR=$dataDir/Qt5/mkspecs \
|
||||
-DECM_DIR=/system/data/cmake/Modules/ECM/cmake
|
||||
make $jobArgs
|
||||
}
|
||||
|
||||
INSTALL()
|
||||
{
|
||||
cd build
|
||||
make install
|
||||
prepareInstalledDevelLibs \
|
||||
libKF5KDELibs4Support \
|
||||
|
||||
packageEntries devel \
|
||||
$libDir/cmake \
|
||||
$developDir
|
||||
}
|
||||
|
||||
TEST()
|
||||
{
|
||||
cd build
|
||||
make test
|
||||
}
|
||||
|
||||
@@ -0,0 +1,24 @@
|
||||
From f67f57c372d42179d8ac9ab2edd883329c83129e Mon Sep 17 00:00:00 2001
|
||||
From: Gerasim Troeglazov <3dEyes@gmail.com>
|
||||
Date: Sat, 7 Oct 2017 18:33:13 +1000
|
||||
Subject: Fix haiku build
|
||||
|
||||
|
||||
diff --git a/src/ConfigureChecks.cmake b/src/ConfigureChecks.cmake
|
||||
index 9edbff7..fc2a48d 100644
|
||||
--- a/src/ConfigureChecks.cmake
|
||||
+++ b/src/ConfigureChecks.cmake
|
||||
@@ -45,6 +45,10 @@ endif(NOT APPLE)
|
||||
|
||||
check_function_exists(inet_pton HAVE_INET_PTON)
|
||||
check_function_exists(inet_ntop HAVE_INET_NTOP)
|
||||
+if(HAIKU)
|
||||
+ set(HAVE_INET_PTON 1)
|
||||
+ set(HAVE_INET_NTOP 1)
|
||||
+endif()
|
||||
check_function_exists(getprotobyname_r HAVE_GETPROTOBYNAME_R)
|
||||
check_function_exists(poll HAVE_POLL)
|
||||
check_function_exists(getservbyname_r HAVE_GETSERVBYNAME_R)
|
||||
--
|
||||
2.13.1
|
||||
|
||||
97
kde-frameworks/kdesignerplugin/kdesignerplugin-5.38.0.recipe
Normal file
97
kde-frameworks/kdesignerplugin/kdesignerplugin-5.38.0.recipe
Normal file
@@ -0,0 +1,97 @@
|
||||
SUMMARY="Integrating KDE frameworks widgets with Qt Designer"
|
||||
DESCRIPTION="This framework provides plugins for Qt Designer that allow it to \
|
||||
display the widgets provided by various KDE frameworks, as well as a utility \
|
||||
(kgendesignerplugin) that can be used to generate other such plugins from \
|
||||
ini-style description files."
|
||||
HOMEPAGE="https://github.com/KDE/kdesignerplugin/"
|
||||
COPYRIGHT="2010-2017 KDE Organisation"
|
||||
LICENSE="GNU LGPL v2"
|
||||
REVISION="1"
|
||||
SOURCE_URI="https://github.com/KDE/kdesignerplugin/archive/v$portVersion.tar.gz"
|
||||
CHECKSUM_SHA256="fd915403e4cabf80136c0adc63ade320d2d97dc5cbe6b381515a7b767074160d"
|
||||
|
||||
ARCHITECTURES="!x86_gcc2 x86_64"
|
||||
SECONDARY_ARCHITECTURES="x86"
|
||||
|
||||
PROVIDES="
|
||||
kdesignerplugin$secondaryArchSuffix = $portVersion
|
||||
cmd:kgendesignerplugin$secondaryArchSuffix = $portVersion
|
||||
"
|
||||
REQUIRES="
|
||||
haiku$secondaryArchSuffix
|
||||
lib:libKF5ConfigCore$secondaryArchSuffix
|
||||
lib:libKF5CoreAddons$secondaryArchSuffix
|
||||
lib:libQt5Core$secondaryArchSuffix
|
||||
lib:libKF5Completion$secondaryArchSuffix
|
||||
lib:libKF5ConfigWidgets$secondaryArchSuffix
|
||||
lib:libKF5IconThemes$secondaryArchSuffix
|
||||
lib:libkf5kiocore$secondaryArchSuffix
|
||||
lib:libkf5itemviews$secondaryArchSuffix
|
||||
lib:libKF5textwidgets$secondaryArchSuffix
|
||||
lib:libkf5widgetsaddons$secondaryArchSuffix
|
||||
lib:libkf5xmlgui$secondaryArchSuffix
|
||||
lib:libkf5sonnetcore$secondaryArchSuffix
|
||||
lib:libkf5sonnetui$secondaryArchSuffix
|
||||
"
|
||||
|
||||
PROVIDES_devel="
|
||||
kdesignerplugin${secondaryArchSuffix}_devel = $portVersion
|
||||
devel:libkf5designerplugin$secondaryArchSuffix = $portVersion
|
||||
"
|
||||
REQUIRES_devel="
|
||||
kdesignerplugin$secondaryArchSuffix == $portVersion base
|
||||
"
|
||||
|
||||
BUILD_REQUIRES="
|
||||
extra_cmake_modules
|
||||
haiku${secondaryArchSuffix}_devel
|
||||
devel:libKF5ConfigCore$secondaryArchSuffix
|
||||
devel:libKF5CoreAddons$secondaryArchSuffix
|
||||
devel:libKF5DocTools$secondaryArchSuffix
|
||||
devel:libQt5Core$secondaryArchSuffix
|
||||
devel:libkf5completion$secondaryArchSuffix
|
||||
devel:libKF5ConfigWidgets$secondaryArchSuffix
|
||||
devel:libKF5IconThemes$secondaryArchSuffix
|
||||
devel:libkf5kiocore$secondaryArchSuffix
|
||||
devel:libkf5itemviews$secondaryArchSuffix
|
||||
devel:libkf5textwidgets$secondaryArchSuffix
|
||||
devel:libkf5widgetsaddons$secondaryArchSuffix
|
||||
devel:libkf5xmlgui$secondaryArchSuffix
|
||||
devel:libkf5sonnetcore$secondaryArchSuffix
|
||||
"
|
||||
BUILD_PREREQUIRES="
|
||||
cmd:cmake
|
||||
cmd:g++$secondaryArchSuffix
|
||||
cmd:make
|
||||
"
|
||||
|
||||
BUILD()
|
||||
{
|
||||
# disable docs generation until libxml package is fixed
|
||||
sed -i s/add/#add/g docs/CMakeLists.txt
|
||||
sed -i s/kdoctools/#kdoctool/g CMakeLists.txt
|
||||
|
||||
mkdir -p build
|
||||
cd build
|
||||
|
||||
cmake .. $cmakeDirArgs \
|
||||
-DKDE_INSTALL_PLUGINDIR=$addOnsDir/Qt5 \
|
||||
-DECM_MKSPECS_INSTALL_DIR=$dataDir/Qt5/mkspecs \
|
||||
-DECM_DIR=/system/data/cmake/Modules/ECM/cmake
|
||||
make $jobArgs
|
||||
}
|
||||
|
||||
INSTALL()
|
||||
{
|
||||
cd build
|
||||
make install
|
||||
|
||||
packageEntries devel \
|
||||
$libDir/cmake
|
||||
}
|
||||
|
||||
TEST()
|
||||
{
|
||||
cd build
|
||||
make test
|
||||
}
|
||||
90
kde-frameworks/kdoctools/kdoctools-5.38.0.recipe
Normal file
90
kde-frameworks/kdoctools/kdoctools-5.38.0.recipe
Normal file
@@ -0,0 +1,90 @@
|
||||
SUMMARY="Create documentation from DocBook"
|
||||
DESCRIPTION="Provides tools to generate documentation in various format from \
|
||||
DocBook files."
|
||||
HOMEPAGE="https://github.com/KDE/kdoctools/"
|
||||
COPYRIGHT="2010-2017 KDE Organisation"
|
||||
LICENSE="GNU LGPL v2"
|
||||
REVISION="1"
|
||||
SOURCE_URI="https://github.com/KDE/kdoctools/archive/v$portVersion.tar.gz"
|
||||
CHECKSUM_SHA256="fcbdc66ce2fb0960914eca6fa9e825f5923a54b02c5d66a719893489dea0398d"
|
||||
|
||||
ARCHITECTURES="!x86_gcc2 x86_64"
|
||||
SECONDARY_ARCHITECTURES="x86"
|
||||
|
||||
PROVIDES="
|
||||
kdoctools$secondaryArchSuffix = $portVersion
|
||||
cmd:checkxml5$secondaryArchSuffix = $portVersion
|
||||
cmd:meinproc5$secondaryArchSuffix = $portVersion
|
||||
lib:libKF5DocTools$secondaryArchSuffix = $portVersion
|
||||
"
|
||||
REQUIRES="
|
||||
haiku$secondaryArchSuffix
|
||||
lib:libexslt$secondaryArchSuffix
|
||||
lib:libxslt$secondaryArchSuffix
|
||||
lib:libxml2$secondaryArchSuffix
|
||||
lib:libKF5Archive$secondaryArchSuffix
|
||||
lib:libQt5Core$secondaryArchSuffix
|
||||
"
|
||||
|
||||
PROVIDES_devel="
|
||||
kdoctools${secondaryArchSuffix}_devel = $portVersion
|
||||
devel:libKF5DocTools$secondaryArchSuffix = $portVersion
|
||||
"
|
||||
REQUIRES_devel="
|
||||
kdoctools$secondaryArchSuffix == $portVersion base
|
||||
"
|
||||
|
||||
BUILD_REQUIRES="
|
||||
docbook_xml_dtd
|
||||
docbook_xsl_stylesheets
|
||||
extra_cmake_modules
|
||||
haiku${secondaryArchSuffix}_devel
|
||||
devel:libKF5archive$secondaryArchSuffix
|
||||
# devel:libKF5i18n$secondaryArchSuffix # breaks the build
|
||||
uri$secondaryArchSuffix
|
||||
devel:libQt5Core$secondaryArchSuffix
|
||||
devel:libxml2$secondaryArchSuffix
|
||||
devel:libxslt$secondaryArchSuffix
|
||||
"
|
||||
BUILD_PREREQUIRES="
|
||||
cmd:cmake
|
||||
cmd:g++$secondaryArchSuffix
|
||||
cmd:make
|
||||
cmd:perl
|
||||
cmd:python2
|
||||
"
|
||||
|
||||
BUILD()
|
||||
{
|
||||
# disable docs generation until libxml package is fixed
|
||||
sed -i s/add/#add/g docs/CMakeLists.txt
|
||||
|
||||
mkdir -p build
|
||||
cd build
|
||||
|
||||
cmake .. $cmakeDirArgs \
|
||||
-DECM_MKSPECS_INSTALL_DIR=$dataDir/Qt5/mkspecs \
|
||||
-DECM_DIR=/system/data/cmake/Modules/ECM/cmake \
|
||||
-DDocBookXSL_DIR=/system/data/xml/docbook/xsl-stylesheets-1.78.1 \
|
||||
-DDocBookXML4_DTD_DIR=/system/data/xml/docbook/xml-dtd-4.5
|
||||
make $jobArgs
|
||||
}
|
||||
|
||||
INSTALL()
|
||||
{
|
||||
cd build
|
||||
make install
|
||||
|
||||
prepareInstalledDevelLibs \
|
||||
libKF5DocTools
|
||||
|
||||
packageEntries devel \
|
||||
$libDir/cmake \
|
||||
$developDir
|
||||
}
|
||||
|
||||
TEST()
|
||||
{
|
||||
cd build
|
||||
make test
|
||||
}
|
||||
85
kde-frameworks/kemoticons/kemoticons-5.38.0.recipe
Normal file
85
kde-frameworks/kemoticons/kemoticons-5.38.0.recipe
Normal file
@@ -0,0 +1,85 @@
|
||||
SUMMARY="Convert text emoticons to graphical emoticons"
|
||||
DESCRIPTION="KEmoticons converts emoticons from text to a graphical \
|
||||
representation with images in HTML. It supports setting different themes \
|
||||
for emoticons coming from different providers."
|
||||
HOMEPAGE="https://github.com/KDE/kemoticons/"
|
||||
COPYRIGHT="2010-2017 KDE Organisation"
|
||||
LICENSE="GNU LGPL v2"
|
||||
REVISION="1"
|
||||
SOURCE_URI="https://github.com/KDE/kemoticons/archive/v$portVersion.tar.gz"
|
||||
CHECKSUM_SHA256="0a10aa9636ac3f0e44fd4b8f9af6d36ba15d18e94f533434e11503f0dd0f8df6"
|
||||
|
||||
ARCHITECTURES="!x86_gcc2 x86_64"
|
||||
SECONDARY_ARCHITECTURES="x86"
|
||||
|
||||
PROVIDES="
|
||||
kemoticons$secondaryArchSuffix = $portVersion
|
||||
lib:libKF5Emoticons$secondaryArchSuffix = $portVersion
|
||||
"
|
||||
REQUIRES="
|
||||
haiku$secondaryArchSuffix
|
||||
lib:libKF5Archive$secondaryArchSuffix
|
||||
lib:libKF5ConfigCore$secondaryArchSuffix
|
||||
lib:libKF5CoreAddons$secondaryArchSuffix
|
||||
lib:libKF5Service$secondaryArchSuffix
|
||||
lib:libQt5Core$secondaryArchSuffix
|
||||
lib:libQt5DBus$secondaryArchSuffix
|
||||
lib:libQt5Gui$secondaryArchSuffix
|
||||
"
|
||||
|
||||
PROVIDES_devel="
|
||||
kemoticons${secondaryArchSuffix}_devel = $portVersion
|
||||
devel:libKF5Emoticons$secondaryArchSuffix = $portVersion
|
||||
"
|
||||
REQUIRES_devel="
|
||||
kemoticons$secondaryArchSuffix == $portVersion base
|
||||
"
|
||||
|
||||
BUILD_REQUIRES="
|
||||
extra_cmake_modules
|
||||
haiku${secondaryArchSuffix}_devel
|
||||
devel:libKF5Archive$secondaryArchSuffix
|
||||
devel:libKF5ConfigCore$secondaryArchSuffix
|
||||
devel:libKF5CoreAddons$secondaryArchSuffix
|
||||
devel:libKF5Service$secondaryArchSuffix
|
||||
devel:libQt5Core$secondaryArchSuffix
|
||||
devel:libQt5DBus$secondaryArchSuffix
|
||||
devel:libQt5Gui$secondaryArchSuffix
|
||||
"
|
||||
BUILD_PREREQUIRES="
|
||||
cmd:cmake
|
||||
cmd:g++$secondaryArchSuffix
|
||||
cmd:make
|
||||
"
|
||||
|
||||
BUILD()
|
||||
{
|
||||
mkdir -p build
|
||||
cd build
|
||||
|
||||
cmake .. $cmakeDirArgs \
|
||||
-DKDE_INSTALL_PLUGINDIR=$addOnsDir/Qt5 \
|
||||
-DECM_MKSPECS_INSTALL_DIR=$dataDir/Qt5/mkspecs \
|
||||
-DECM_DIR=/system/data/cmake/Modules/ECM/cmake
|
||||
make $jobArgs
|
||||
}
|
||||
|
||||
INSTALL()
|
||||
{
|
||||
cd build
|
||||
make install
|
||||
|
||||
prepareInstalledDevelLibs \
|
||||
libKF5Emoticons
|
||||
|
||||
packageEntries devel \
|
||||
$libDir/cmake \
|
||||
$dataDir/Qt5/mkspecs \
|
||||
$developDir
|
||||
}
|
||||
|
||||
TEST()
|
||||
{
|
||||
cd build
|
||||
make test
|
||||
}
|
||||
98
kde-frameworks/kglobalaccel/kglobalaccel-5.38.0.recipe
Normal file
98
kde-frameworks/kglobalaccel/kglobalaccel-5.38.0.recipe
Normal file
@@ -0,0 +1,98 @@
|
||||
SUMMARY="Global desktop keyboard shortcuts"
|
||||
DESCRIPTION="KGlobalAccel allows you to have global accelerators that are \
|
||||
independent of the focused window. Unlike regular shortcuts, the \
|
||||
application\'s window does not need focus for them to be activated."
|
||||
HOMEPAGE="https://github.com/KDE/kglobalaccel/"
|
||||
COPYRIGHT="2010-2017 KDE Organisation"
|
||||
LICENSE="GNU LGPL v2"
|
||||
REVISION="1"
|
||||
SOURCE_URI="https://github.com/KDE/kglobalaccel/archive/v$portVersion.tar.gz"
|
||||
CHECKSUM_SHA256="3e8b7fd688fdf31a762f1bde57d4d8fbdcea6b884d73fbbfd91eb6cc9154e9de"
|
||||
|
||||
ARCHITECTURES="!x86_gcc2 x86_64"
|
||||
SECONDARY_ARCHITECTURES="x86"
|
||||
|
||||
PROVIDES="
|
||||
kglobalaccel$secondaryArchSuffix = $portVersion
|
||||
cmd:kglobalaccel5$secondaryArchSuffix = $portVersion
|
||||
lib:libKF5GlobalAccel$secondaryArchSuffix = $portVersion
|
||||
lib:libKF5GlobalAccelPrivate$secondaryArchSuffix = $portVersion
|
||||
"
|
||||
REQUIRES="
|
||||
haiku$secondaryArchSuffix
|
||||
lib:libKF5ConfigCore$secondaryArchSuffix
|
||||
lib:libKF5CoreAddons$secondaryArchSuffix
|
||||
lib:libKF5Crash$secondaryArchSuffix
|
||||
lib:libKF5DBusAddons$secondaryArchSuffix
|
||||
lib:libKF5I18n$secondaryArchSuffix
|
||||
lib:libKF5Service$secondaryArchSuffix
|
||||
lib:libKF5WindowSystem$secondaryArchSuffix
|
||||
lib:libQt5Concurrent$secondaryArchSuffix
|
||||
lib:libQt5Core$secondaryArchSuffix
|
||||
lib:libQt5DBus$secondaryArchSuffix
|
||||
lib:libQt5Test$secondaryArchSuffix
|
||||
lib:libQt5Xml$secondaryArchSuffix
|
||||
lib:libQt5Widgets$secondaryArchSuffix
|
||||
"
|
||||
|
||||
PROVIDES_devel="
|
||||
kglobalaccel${secondaryArchSuffix}_devel = $portVersion
|
||||
devel:libKF5GlobalAccel$secondaryArchSuffix = $portVersion
|
||||
"
|
||||
REQUIRES_devel="
|
||||
kglobalaccel$secondaryArchSuffix == $portVersion base
|
||||
"
|
||||
|
||||
BUILD_REQUIRES="
|
||||
extra_cmake_modules
|
||||
haiku${secondaryArchSuffix}_devel
|
||||
devel:libKF5ConfigCore$secondaryArchSuffix
|
||||
devel:libKF5CoreAddons$secondaryArchSuffix
|
||||
devel:libKF5Crash$secondaryArchSuffix
|
||||
devel:libKF5DBusAddons$secondaryArchSuffix
|
||||
devel:libKF5I18n$secondaryArchSuffix
|
||||
devel:libKF5Service$secondaryArchSuffix
|
||||
devel:libKF5WindowSystem$secondaryArchSuffix
|
||||
devel:libQt5Concurrent$secondaryArchSuffix
|
||||
devel:libQt5Core$secondaryArchSuffix
|
||||
devel:libQt5DBus$secondaryArchSuffix
|
||||
devel:libQt5Test$secondaryArchSuffix
|
||||
devel:libQt5Xml$secondaryArchSuffix
|
||||
devel:libQt5Widgets$secondaryArchSuffix
|
||||
"
|
||||
BUILD_PREREQUIRES="
|
||||
cmd:cmake
|
||||
cmd:g++$secondaryArchSuffix
|
||||
cmd:make
|
||||
"
|
||||
|
||||
BUILD()
|
||||
{
|
||||
mkdir -p build
|
||||
cd build
|
||||
|
||||
cmake .. $cmakeDirArgs \
|
||||
-DECM_DIR=/system/data/cmake/Modules/ECM/cmake \
|
||||
-DECM_MKSPECS_INSTALL_DIR=$dataDir/Qt5/mkspecs
|
||||
make $jobArgs
|
||||
}
|
||||
|
||||
INSTALL()
|
||||
{
|
||||
cd build
|
||||
make install
|
||||
|
||||
prepareInstalledDevelLibs \
|
||||
libKF5GlobalAccel
|
||||
|
||||
packageEntries devel \
|
||||
$libDir/cmake \
|
||||
$dataDir/Qt5/mkspecs \
|
||||
$developDir
|
||||
}
|
||||
|
||||
TEST()
|
||||
{
|
||||
cd build
|
||||
make test
|
||||
}
|
||||
71
kde-frameworks/kguiaddons/kguiaddons-5.38.0.recipe
Normal file
71
kde-frameworks/kguiaddons/kguiaddons-5.38.0.recipe
Normal file
@@ -0,0 +1,71 @@
|
||||
SUMMARY="Utilities for graphical user interfaces"
|
||||
DESCRIPTION="The KDE GUI addons provide utilities for graphical user \
|
||||
interfaces in the areas of colors, fonts, text, images, keyboard input."
|
||||
HOMEPAGE="https://github.com/KDE/kguiaddons/"
|
||||
COPYRIGHT="2010-2017 KDE Organisation"
|
||||
LICENSE="GNU LGPL v2"
|
||||
REVISION="1"
|
||||
SOURCE_URI="https://github.com/KDE/kguiaddons/archive/v$portVersion.tar.gz"
|
||||
CHECKSUM_SHA256="b20b306f3c37ecef8a0cee16731268fcb26d0d6d07f9e3094be1eff7bf26889a"
|
||||
|
||||
ARCHITECTURES="!x86_gcc2 x86_64"
|
||||
SECONDARY_ARCHITECTURES="x86"
|
||||
|
||||
PROVIDES="
|
||||
kguiaddons$secondaryArchSuffix = $portVersion
|
||||
lib:libKF5GuiAddons$secondaryArchSuffix = $portVersion
|
||||
"
|
||||
REQUIRES="
|
||||
haiku$secondaryArchSuffix
|
||||
lib:libQt5Core$secondaryArchSuffix
|
||||
"
|
||||
|
||||
PROVIDES_devel="
|
||||
kguiaddons${secondaryArchSuffix}_devel = $portVersion
|
||||
devel:libKF5GuiAddons$secondaryArchSuffix = $portVersion
|
||||
"
|
||||
REQUIRES_devel="
|
||||
kguiaddons$secondaryArchSuffix == $portVersion base
|
||||
"
|
||||
|
||||
BUILD_REQUIRES="
|
||||
extra_cmake_modules
|
||||
haiku${secondaryArchSuffix}_devel
|
||||
devel:libQt5Core$secondaryArchSuffix
|
||||
"
|
||||
BUILD_PREREQUIRES="
|
||||
cmd:cmake
|
||||
cmd:g++$secondaryArchSuffix
|
||||
cmd:make
|
||||
"
|
||||
|
||||
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 \
|
||||
libKF5GuiAddons
|
||||
|
||||
packageEntries devel \
|
||||
$libDir/cmake \
|
||||
$dataDir/Qt5/mkspecs \
|
||||
$developDir
|
||||
}
|
||||
|
||||
TEST()
|
||||
{
|
||||
cd build
|
||||
make test
|
||||
}
|
||||
81
kde-frameworks/ki18n/ki18n-5.38.0.recipe
Normal file
81
kde-frameworks/ki18n/ki18n-5.38.0.recipe
Normal file
@@ -0,0 +1,81 @@
|
||||
SUMMARY="KDE Gettext-based UI text internationalization"
|
||||
DESCRIPTION="KI18n provides functionality for internationalizing user \
|
||||
interface text in applications, based on the GNU Gettext translation system. \
|
||||
It wraps the standard Gettext functionality, so that the programmers and \
|
||||
translators can use the familiar Gettext tools and workflows.
|
||||
|
||||
KI18n provides additional functionality as well, for both programmers and \
|
||||
translators, which can help to achieve a higher overall quality of source \
|
||||
and translated text. This includes argument capturing, customizable markup, \
|
||||
and translation scripting."
|
||||
HOMEPAGE="https://github.com/KDE/ki18n/"
|
||||
COPYRIGHT="2010-2017 KDE Organisation"
|
||||
LICENSE="GNU LGPL v2"
|
||||
REVISION="1"
|
||||
SOURCE_URI="https://github.com/KDE/ki18n/archive/v$portVersion.tar.gz"
|
||||
CHECKSUM_SHA256="9102bca7445942ebaaafa858927c5dc2347358b3ce1f2a3aa4acfd4abcdeafb0"
|
||||
|
||||
ARCHITECTURES="!x86_gcc2 x86_64"
|
||||
SECONDARY_ARCHITECTURES="x86"
|
||||
|
||||
PROVIDES="
|
||||
ki18n$secondaryArchSuffix = $portVersion
|
||||
lib:libKF5I18n$secondaryArchSuffix = $portVersion
|
||||
"
|
||||
REQUIRES="
|
||||
haiku$secondaryArchSuffix
|
||||
lib:libintl$secondaryArchSuffix
|
||||
lib:libQt5Core$secondaryArchSuffix
|
||||
"
|
||||
|
||||
PROVIDES_devel="
|
||||
ki18n${secondaryArchSuffix}_devel = $portVersion
|
||||
devel:libKF5I18n$secondaryArchSuffix = $portVersion
|
||||
"
|
||||
REQUIRES_devel="
|
||||
ki18n$secondaryArchSuffix == $portVersion base
|
||||
"
|
||||
|
||||
BUILD_REQUIRES="
|
||||
extra_cmake_modules
|
||||
haiku${secondaryArchSuffix}_devel
|
||||
devel:libQt5Core$secondaryArchSuffix
|
||||
"
|
||||
BUILD_PREREQUIRES="
|
||||
cmd:cmake
|
||||
cmd:g++$secondaryArchSuffix
|
||||
cmd:make
|
||||
cmd:python2
|
||||
"
|
||||
|
||||
BUILD()
|
||||
{
|
||||
mkdir -p build
|
||||
cd build
|
||||
|
||||
cmake .. $cmakeDirArgs \
|
||||
-DKDE_INSTALL_PLUGINDIR=$addOnsDir/Qt5 \
|
||||
-DECM_MKSPECS_INSTALL_DIR=$dataDir/Qt5/mkspecs \
|
||||
-DECM_DIR=/system/data/cmake/Modules/ECM/cmake
|
||||
make $jobArgs
|
||||
}
|
||||
|
||||
INSTALL()
|
||||
{
|
||||
cd build
|
||||
make install
|
||||
|
||||
prepareInstalledDevelLibs \
|
||||
libKF5I18n
|
||||
|
||||
packageEntries devel \
|
||||
$libDir/cmake \
|
||||
$dataDir/Qt5/mkspecs \
|
||||
$developDir
|
||||
}
|
||||
|
||||
TEST()
|
||||
{
|
||||
cd build
|
||||
make test
|
||||
}
|
||||
110
kde-frameworks/kiconthemes/kiconthemes-5.38.0.recipe
Normal file
110
kde-frameworks/kiconthemes/kiconthemes-5.38.0.recipe
Normal file
@@ -0,0 +1,110 @@
|
||||
SUMMARY="Icon GUI utilities"
|
||||
DESCRIPTION="This library contains classes to improve the handling of icons \
|
||||
in applications using the KDE Frameworks. Provided are:
|
||||
|
||||
* KIconDialog: Dialog class to let the user select an icon from the list of \
|
||||
installed icons.
|
||||
* KIconButton: Custom button class that displays an icon. When clicking it, \
|
||||
the user can change it using the icon dialog.
|
||||
* KIconEffect: Applies various colorization effects to icons, which can be \
|
||||
used to create selected/disabled icon images.
|
||||
Other classes in this repository are used internally by the icon theme \
|
||||
configuration dialogs, and should not be used by applications."
|
||||
HOMEPAGE="https://github.com/KDE/kiconthemes/"
|
||||
COPYRIGHT="2010-2017 KDE Organisation"
|
||||
LICENSE="GNU LGPL v2"
|
||||
REVISION="1"
|
||||
SOURCE_URI="https://github.com/KDE/kiconthemes/archive/v$portVersion.tar.gz"
|
||||
CHECKSUM_SHA256="4e87cf532501315724881c238ce49572569c41497ff85506dc73cfa3a9ea2c6c"
|
||||
|
||||
ARCHITECTURES="!x86_gcc2 x86_64"
|
||||
SECONDARY_ARCHITECTURES="x86"
|
||||
|
||||
PROVIDES="
|
||||
kiconthemes$secondaryArchSuffix = $portVersion
|
||||
lib:libKF5IconThemes$secondaryArchSuffix = $portVersion
|
||||
cmd:kiconfinder5$secondaryArchSuffix = $portVersion
|
||||
"
|
||||
REQUIRES="
|
||||
haiku$secondaryArchSuffix
|
||||
lib:libKF5Archive$secondaryArchSuffix
|
||||
lib:libKF5Auth$secondaryArchSuffix
|
||||
lib:libKF5Codecs$secondaryArchSuffix
|
||||
lib:libKF5ConfigCore$secondaryArchSuffix
|
||||
lib:libKF5ConfigGui$secondaryArchSuffix
|
||||
lib:libKF5ConfigWidgets$secondaryArchSuffix
|
||||
lib:libKF5CoreAddons$secondaryArchSuffix
|
||||
lib:libKF5I18n$secondaryArchSuffix
|
||||
lib:libKF5ItemViews$secondaryArchSuffix
|
||||
lib:libKF5WidgetsAddons$secondaryArchSuffix
|
||||
lib:libQt5Core$secondaryArchSuffix
|
||||
lib:libQt5Gui$secondaryArchSuffix
|
||||
lib:libQt5Svg$secondaryArchSuffix
|
||||
lib:libQt5Widgets$secondaryArchSuffix
|
||||
lib:libQt5Xml$secondaryArchSuffix
|
||||
"
|
||||
|
||||
PROVIDES_devel="
|
||||
kiconthemes${secondaryArchSuffix}_devel = $portVersion
|
||||
devel:libKF5IconThemes$secondaryArchSuffix = $portVersion
|
||||
"
|
||||
REQUIRES_devel="
|
||||
kiconthemes$secondaryArchSuffix == $portVersion base
|
||||
"
|
||||
|
||||
BUILD_REQUIRES="
|
||||
extra_cmake_modules
|
||||
haiku${secondaryArchSuffix}_devel
|
||||
devel:libKF5Archive$secondaryArchSuffix
|
||||
devel:libKF5Auth$secondaryArchSuffix
|
||||
devel:libKF5Codecs$secondaryArchSuffix
|
||||
devel:libKF5ConfigCore$secondaryArchSuffix
|
||||
devel:libKF5ConfigGui$secondaryArchSuffix
|
||||
devel:libKF5ConfigWidgets$secondaryArchSuffix
|
||||
devel:libKF5CoreAddons$secondaryArchSuffix
|
||||
devel:libKF5I18n$secondaryArchSuffix
|
||||
devel:libKF5ItemViews$secondaryArchSuffix
|
||||
devel:libKF5WidgetsAddons$secondaryArchSuffix
|
||||
devel:libQt5Core$secondaryArchSuffix
|
||||
devel:libQt5Gui$secondaryArchSuffix
|
||||
devel:libQt5Svg$secondaryArchSuffix
|
||||
devel:libQt5Widgets$secondaryArchSuffix
|
||||
devel:libQt5Xml$secondaryArchSuffix
|
||||
"
|
||||
BUILD_PREREQUIRES="
|
||||
cmd:cmake
|
||||
cmd:g++$secondaryArchSuffix
|
||||
cmd:make
|
||||
cmd:python2
|
||||
"
|
||||
|
||||
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 \
|
||||
libKF5IconThemes
|
||||
|
||||
packageEntries devel \
|
||||
$libDir/cmake \
|
||||
$dataDir/Qt5/mkspecs \
|
||||
$developDir
|
||||
}
|
||||
|
||||
TEST()
|
||||
{
|
||||
cd build
|
||||
make test
|
||||
}
|
||||
117
kde-frameworks/kinit/kinit-5.38.0.recipe
Normal file
117
kde-frameworks/kinit/kinit-5.38.0.recipe
Normal file
@@ -0,0 +1,117 @@
|
||||
SUMMARY="Helper library to speed up start of applications on KDE workspaces"
|
||||
DESCRIPTION="kdeinit is a process launcher somewhat similar to the famous \
|
||||
init used for booting UNIX.
|
||||
|
||||
It launches processes by forking and then loading a dynamic library which \
|
||||
should contain a 'kdemain(...)' function.
|
||||
|
||||
Using kdeinit to launch KDE applications makes starting a typical KDE \
|
||||
applications 2.5 times faster (100ms instead of 250ms on a P-III 500) \
|
||||
It reduces memory consumption by approx. 350Kb per application."
|
||||
HOMEPAGE="https://github.com/KDE/kinit/"
|
||||
COPYRIGHT="2010-2017 KDE Organisation"
|
||||
LICENSE="GNU LGPL v2"
|
||||
REVISION="1"
|
||||
SOURCE_URI="https://github.com/KDE/kinit/archive/v$portVersion.tar.gz"
|
||||
CHECKSUM_SHA256="73a462f3d2a1aa71966f6c36c7e8fee893456bb91ac2822f818d11714165818d"
|
||||
PATCHES="kinit-$portVersion.patchset"
|
||||
|
||||
ARCHITECTURES="!x86_gcc2 x86_64"
|
||||
SECONDARY_ARCHITECTURES="x86"
|
||||
|
||||
PROVIDES="
|
||||
kinit$secondaryArchSuffix = $portVersion
|
||||
cmd:kdeinit5$secondaryArchSuffix = $portVersion
|
||||
cmd:kdeinit5_shutdown$secondaryArchSuffix = $portVersion
|
||||
cmd:kdeinit5_wrapper$secondaryArchSuffix = $portVersion
|
||||
cmd:kshell5$secondaryArchSuffix = $portVersion
|
||||
cmd:kwrapper5$secondaryArchSuffix = $portVersion
|
||||
lib:libkdeinit5_klauncher$secondaryArchSuffix = $portVersion
|
||||
"
|
||||
REQUIRES="
|
||||
haiku$secondaryArchSuffix
|
||||
lib:libKF5Completion$secondaryArchSuffix
|
||||
lib:libKF5ConfigCore$secondaryArchSuffix
|
||||
lib:libKF5CoreAddons$secondaryArchSuffix
|
||||
lib:libKF5Crash$secondaryArchSuffix
|
||||
lib:libKF5I18n$secondaryArchSuffix
|
||||
lib:libKF5JobWidgets$secondaryArchSuffix
|
||||
lib:libKF5KIOCore$secondaryArchSuffix
|
||||
lib:libKF5KIOWidgets$secondaryArchSuffix
|
||||
lib:libKF5Service$secondaryArchSuffix
|
||||
lib:libKF5WidgetsAddons$secondaryArchSuffix
|
||||
lib:libKF5WindowSystem$secondaryArchSuffix
|
||||
lib:libQt5Core$secondaryArchSuffix
|
||||
lib:libQt5DBus$secondaryArchSuffix
|
||||
lib:libQt5Gui$secondaryArchSuffix
|
||||
lib:libQt5Network$secondaryArchSuffix
|
||||
lib:libQt5Widgets$secondaryArchSuffix
|
||||
"
|
||||
|
||||
PROVIDES_devel="
|
||||
kinit${secondaryArchSuffix}_devel = $portVersion
|
||||
devel:libkdeinit5_klauncher$secondaryArchSuffix = $portVersion
|
||||
"
|
||||
REQUIRES_devel="
|
||||
kinit$secondaryArchSuffix == $portVersion base
|
||||
"
|
||||
|
||||
BUILD_REQUIRES="
|
||||
extra_cmake_modules
|
||||
haiku${secondaryArchSuffix}_devel
|
||||
devel:libKF5Auth$secondaryArchSuffix
|
||||
devel:libKF5Bookmarks$secondaryArchSuffix
|
||||
devel:libKF5Codecs$secondaryArchSuffix
|
||||
devel:libKF5Completion$secondaryArchSuffix
|
||||
devel:libKF5ConfigCore$secondaryArchSuffix
|
||||
devel:libKF5ConfigWidgets$secondaryArchSuffix
|
||||
devel:libKF5CoreAddons$secondaryArchSuffix
|
||||
devel:libKF5Crash$secondaryArchSuffix
|
||||
devel:libKF5I18n$secondaryArchSuffix
|
||||
devel:libKF5ItemViews$secondaryArchSuffix
|
||||
devel:libKF5JobWidgets$secondaryArchSuffix
|
||||
devel:libKF5KIOCore$secondaryArchSuffix
|
||||
devel:libKF5Service$secondaryArchSuffix
|
||||
devel:libKF5Solid$secondaryArchSuffix
|
||||
devel:libKF5WidgetsAddons$secondaryArchSuffix
|
||||
devel:libKF5WindowSystem$secondaryArchSuffix
|
||||
devel:libKF5XmlGui$secondaryArchSuffix
|
||||
devel:libQt5Core$secondaryArchSuffix
|
||||
"
|
||||
BUILD_PREREQUIRES="
|
||||
cmd:cmake
|
||||
cmd:g++$secondaryArchSuffix
|
||||
cmd:make
|
||||
cmd:python2
|
||||
"
|
||||
|
||||
BUILD()
|
||||
{
|
||||
mkdir -p build
|
||||
cd build
|
||||
|
||||
cmake .. $cmakeDirArgs \
|
||||
-DECM_DIR=/system/data/cmake/Modules/ECM/cmake \
|
||||
-DECM_MKSPECS_INSTALL_DIR=$dataDir/Qt5/mkspecs
|
||||
make $jobArgs
|
||||
}
|
||||
|
||||
INSTALL()
|
||||
{
|
||||
cd build
|
||||
make install
|
||||
|
||||
prepareInstalledDevelLibs \
|
||||
libkdeinit5_klauncher
|
||||
|
||||
packageEntries devel \
|
||||
$libDir/cmake \
|
||||
$developDir
|
||||
|
||||
}
|
||||
|
||||
TEST()
|
||||
{
|
||||
cd build
|
||||
make test
|
||||
}
|
||||
87
kde-frameworks/kinit/patches/kinit-5.38.0.patchset
Normal file
87
kde-frameworks/kinit/patches/kinit-5.38.0.patchset
Normal file
@@ -0,0 +1,87 @@
|
||||
From 7e4ac859dcfc536843b1990ebd54502714d0f007 Mon Sep 17 00:00:00 2001
|
||||
From: Sergei Reznikov <diver@gelios.net>
|
||||
Date: Mon, 25 Sep 2017 06:44:50 +0300
|
||||
Subject: Fix build on Haiku
|
||||
|
||||
|
||||
diff --git a/src/kdeinit/CMakeLists.txt b/src/kdeinit/CMakeLists.txt
|
||||
index f00dd77..d66eaa7 100644
|
||||
--- a/src/kdeinit/CMakeLists.txt
|
||||
+++ b/src/kdeinit/CMakeLists.txt
|
||||
@@ -50,7 +50,9 @@ if (NOT WIN32)
|
||||
ecm_mark_nongui_executable(kdeinit5_shutdown)
|
||||
|
||||
target_link_libraries(kdeinit5_shutdown ${KINIT_SOCKET_LIBRARY} Qt5::Core)
|
||||
-
|
||||
+ if (HAIKU)
|
||||
+ target_link_libraries(kdeinit5_shutdown network)
|
||||
+ endif ()
|
||||
install(TARGETS kdeinit5_shutdown ${KF5_INSTALL_TARGETS_DEFAULT_ARGS} )
|
||||
|
||||
# kdeinit5_wrapper
|
||||
@@ -58,6 +60,9 @@ if (NOT WIN32)
|
||||
ecm_mark_nongui_executable(kdeinit5_wrapper)
|
||||
|
||||
target_link_libraries(kdeinit5_wrapper ${KINIT_SOCKET_LIBRARY} Qt5::Core)
|
||||
+ if (HAIKU)
|
||||
+ target_link_libraries(kdeinit5_wrapper network)
|
||||
+ endif ()
|
||||
|
||||
if (NOT X11_FOUND)
|
||||
target_compile_definitions(kdeinit5_wrapper PRIVATE -DNO_DISPLAY)
|
||||
diff --git a/src/klauncher/CMakeLists.txt b/src/klauncher/CMakeLists.txt
|
||||
index 7144c80..ef2500c 100644
|
||||
--- a/src/klauncher/CMakeLists.txt
|
||||
+++ b/src/klauncher/CMakeLists.txt
|
||||
@@ -27,6 +27,10 @@ if (APPLE)
|
||||
target_link_libraries(kdeinit_klauncher "-framework CoreFoundation")
|
||||
endif()
|
||||
|
||||
+if (HAIKU)
|
||||
+ target_link_libraries(kdeinit_klauncher network)
|
||||
+endif ()
|
||||
+
|
||||
if (HAVE_XCB)
|
||||
target_link_libraries(kdeinit_klauncher XCB::XCB)
|
||||
endif()
|
||||
diff --git a/src/kshell/CMakeLists.txt b/src/kshell/CMakeLists.txt
|
||||
index 5c2e63d..0c02def 100644
|
||||
--- a/src/kshell/CMakeLists.txt
|
||||
+++ b/src/kshell/CMakeLists.txt
|
||||
@@ -2,5 +2,7 @@ add_executable(kshell5 shell.cpp)
|
||||
ecm_mark_nongui_executable(kshell5)
|
||||
|
||||
target_link_libraries(kshell5 ${KINIT_SOCKET_LIBRARY} Qt5::Core)
|
||||
-
|
||||
+if (HAIKU)
|
||||
+ target_link_libraries(kshell5 network)
|
||||
+endif ()
|
||||
install(TARGETS kshell5 ${KF5_INSTALL_TARGETS_DEFAULT_ARGS} )
|
||||
diff --git a/src/kwrapper/CMakeLists.txt b/src/kwrapper/CMakeLists.txt
|
||||
index 79cb70e..f490d5f 100644
|
||||
--- a/src/kwrapper/CMakeLists.txt
|
||||
+++ b/src/kwrapper/CMakeLists.txt
|
||||
@@ -8,4 +8,7 @@ add_executable(kwrapper5 ${kwrapper_SRCS})
|
||||
ecm_mark_nongui_executable(kwrapper5)
|
||||
|
||||
target_link_libraries(kwrapper5 ${KINIT_SOCKET_LIBRARY} Qt5::Core)
|
||||
+if (HAIKU)
|
||||
+ target_link_libraries(kwrapper5 network)
|
||||
+endif ()
|
||||
install(TARGETS kwrapper5 ${KF5_INSTALL_TARGETS_DEFAULT_ARGS} )
|
||||
diff --git a/src/wrapper.cpp b/src/wrapper.cpp
|
||||
index 21de52c..1fe17ae 100644
|
||||
--- a/src/wrapper.cpp
|
||||
+++ b/src/wrapper.cpp
|
||||
@@ -52,6 +52,8 @@ static const char* displayEnvVarName_c()
|
||||
return "MAC_DISPLAY";
|
||||
#elif defined(Q_OS_WIN)
|
||||
return "WIN_DISPLAY";
|
||||
+#elif defined(Q_OS_HAIKU)
|
||||
+ return "HAIKU_DISPLAY";
|
||||
#endif
|
||||
}
|
||||
|
||||
--
|
||||
2.13.1
|
||||
|
||||
167
kde-frameworks/kio/kio-5.38.0.recipe
Normal file
167
kde-frameworks/kio/kio-5.38.0.recipe
Normal file
@@ -0,0 +1,167 @@
|
||||
SUMMARY="Network transparent access to files and data"
|
||||
DESCRIPTION="This framework implements almost all the file management \
|
||||
functions you will ever need. In fact, the KDE file manager (Dolphin) and the \
|
||||
KDE file dialog also uses this to provide its network-enabled file management.
|
||||
|
||||
It supports accessing files locally as well as via HTTP and FTP out of the \
|
||||
box and can be extended by plugins to support other protocols as well. \
|
||||
There is a variety of plugins available, e.g. to support access via SSH.
|
||||
|
||||
The framework can also be used to bridge a native protocol to a file-based \
|
||||
interface. This makes the data accessible in all applications using the KDE \
|
||||
file dialog or any other KIO enabled infrastructure."
|
||||
HOMEPAGE="https://github.com/KDE/kio/"
|
||||
COPYRIGHT="2010-2017 KDE Organisation"
|
||||
LICENSE="GNU LGPL v2"
|
||||
REVISION="1"
|
||||
SOURCE_URI="https://github.com/KDE/kio/archive/v$portVersion.tar.gz"
|
||||
CHECKSUM_SHA256="6b91c59f66202a9f84ad5b8f688bb85c191cb95464b1d50b141e42819d798add"
|
||||
PATCHES="kio-$portVersion.patchset"
|
||||
|
||||
ARCHITECTURES="!x86_gcc2 x86_64"
|
||||
SECONDARY_ARCHITECTURES="x86"
|
||||
|
||||
PROVIDES="
|
||||
kio$secondaryArchSuffix = $portVersion
|
||||
cmd:kcookiejar5$secondaryArchSuffix = $portVersion
|
||||
cmd:ktelnetservice5$secondaryArchSuffix = $portVersion
|
||||
cmd:ktrash5$secondaryArchSuffix = $portVersion
|
||||
cmd:protocoltojson$secondaryArchSuffix = $portVersion
|
||||
lib:libKF5KIOCore$secondaryArchSuffix = $portVersion
|
||||
lib:libKF5KIOFileWidgets$secondaryArchSuffix = $portVersion
|
||||
lib:libKF5KIOGui$secondaryArchSuffix = $portVersion
|
||||
lib:libKF5KIONTLM$secondaryArchSuffix = $portVersion
|
||||
lib:libKF5KIOWidgets$secondaryArchSuffix = $portVersion
|
||||
"
|
||||
REQUIRES="
|
||||
haiku$secondaryArchSuffix
|
||||
lib:libKF5Auth$secondaryArchSuffix
|
||||
lib:libKF5Bookmarks$secondaryArchSuffix
|
||||
lib:libKF5Codecs$secondaryArchSuffix
|
||||
lib:libKF5Completion$secondaryArchSuffix
|
||||
lib:libKF5ConfigCore$secondaryArchSuffix
|
||||
lib:libKF5ConfigGui$secondaryArchSuffix
|
||||
lib:libKF5ConfigWidgets$secondaryArchSuffix
|
||||
lib:libKF5CoreAddons$secondaryArchSuffix
|
||||
lib:libKF5DBusAddons$secondaryArchSuffix
|
||||
lib:libKF5I18n$secondaryArchSuffix
|
||||
lib:libKF5IconThemes$secondaryArchSuffix
|
||||
lib:libKF5JobWidgets$secondaryArchSuffix
|
||||
lib:libKF5ItemViews$secondaryArchSuffix
|
||||
lib:libKF5Service$secondaryArchSuffix
|
||||
lib:libKF5Solid$secondaryArchSuffix
|
||||
lib:libKF5SonnetUi$secondaryArchSuffix
|
||||
lib:libKF5TextWidgets$secondaryArchSuffix
|
||||
lib:libKF5WidgetsAddons$secondaryArchSuffix
|
||||
lib:libKF5WindowSystem$secondaryArchSuffix
|
||||
lib:libKF5XmlGui$secondaryArchSuffix
|
||||
lib:libQt5Concurrent$secondaryArchSuffix
|
||||
lib:libQt5Core$secondaryArchSuffix
|
||||
lib:libQt5DBus$secondaryArchSuffix
|
||||
lib:libQt5Gui$secondaryArchSuffix
|
||||
lib:libQt5Network$secondaryArchSuffix
|
||||
lib:libQt5Xml$secondaryArchSuffix
|
||||
"
|
||||
|
||||
PROVIDES_devel="
|
||||
kio${secondaryArchSuffix}_devel = $portVersion
|
||||
devel:libKF5KIOCore$secondaryArchSuffix = $portVersion
|
||||
devel:libKF5KIOFileWidgets$secondaryArchSuffix = $portVersion
|
||||
devel:libKF5KIOGui$secondaryArchSuffix = $portVersion
|
||||
devel:libKF5KIONTLM$secondaryArchSuffix = $portVersion
|
||||
devel:libKF5KIOWidgets$secondaryArchSuffix = $portVersion
|
||||
"
|
||||
REQUIRES_devel="
|
||||
kio$secondaryArchSuffix == $portVersion base
|
||||
"
|
||||
|
||||
BUILD_REQUIRES="
|
||||
extra_cmake_modules
|
||||
haiku${secondaryArchSuffix}_devel
|
||||
# devel:libacl$secondaryArchSuffix
|
||||
# GSSAPI
|
||||
devel:libKF5Archive$secondaryArchSuffix
|
||||
devel:libKF5Auth$secondaryArchSuffix
|
||||
devel:libKF5Bookmarks$secondaryArchSuffix
|
||||
devel:libKF5Codecs$secondaryArchSuffix
|
||||
devel:libKF5Completion$secondaryArchSuffix
|
||||
devel:libKF5ConfigCore$secondaryArchSuffix
|
||||
devel:libKF5ConfigGui$secondaryArchSuffix
|
||||
devel:libKF5ConfigWidgets$secondaryArchSuffix
|
||||
devel:libKF5CoreAddons$secondaryArchSuffix
|
||||
devel:libKF5DBusAddons$secondaryArchSuffix
|
||||
# devel:libKF5DocTools$secondaryArchSuffix
|
||||
devel:libKF5I18n$secondaryArchSuffix
|
||||
devel:libKF5IconThemes$secondaryArchSuffix
|
||||
devel:libKF5JobWidgets$secondaryArchSuffix
|
||||
devel:libKF5ItemViews$secondaryArchSuffix
|
||||
devel:libKF5Notifications$secondaryArchSuffix
|
||||
devel:libKF5Service$secondaryArchSuffix
|
||||
devel:libKF5Solid$secondaryArchSuffix
|
||||
devel:libKF5Wallet$secondaryArchSuffix
|
||||
devel:libKF5WidgetsAddons$secondaryArchSuffix
|
||||
devel:libKF5WindowSystem$secondaryArchSuffix
|
||||
devel:libKF5XmlGui$secondaryArchSuffix
|
||||
devel:libkf5sonnetcore$secondaryArchSuffix
|
||||
devel:libKF5TextWidgets$secondaryArchSuffix
|
||||
devel:libQt5Concurrent$secondaryArchSuffix
|
||||
devel:libQt5Core$secondaryArchSuffix
|
||||
devel:libQt5Gui$secondaryArchSuffix
|
||||
devel:libQt5DBus$secondaryArchSuffix
|
||||
devel:libQt5Network$secondaryArchSuffix
|
||||
devel:libxml2$secondaryArchSuffix
|
||||
devel:libxslt$secondaryArchSuffix
|
||||
devel:libz$secondaryArchSuffix
|
||||
"
|
||||
BUILD_PREREQUIRES="
|
||||
cmd:cmake
|
||||
cmd:g++$secondaryArchSuffix
|
||||
cmd:make
|
||||
cmd:pkg_config$secondaryArchSuffix
|
||||
cmd:python2
|
||||
"
|
||||
|
||||
GLOBAL_WRITABLE_FILES="
|
||||
settings/xdg/accept-languages.codes keep-old
|
||||
settings/xdg/kshorturifilterrc keep-old
|
||||
"
|
||||
|
||||
BUILD()
|
||||
{
|
||||
mkdir -p build
|
||||
cd build
|
||||
|
||||
cmake .. $cmakeDirArgs \
|
||||
-DKDE_INSTALL_PLUGINDIR=$addOnsDir/Qt5 \
|
||||
-DECM_MKSPECS_INSTALL_DIR=$dataDir/Qt5/mkspecs \
|
||||
-DECM_DIR=/system/data/cmake/Modules/ECM/cmake
|
||||
make $jobArgs
|
||||
}
|
||||
|
||||
INSTALL()
|
||||
{
|
||||
# disable docs generation until libxml package is fixed
|
||||
sed -i s/add/#add/g docs/CMakeLists.txt
|
||||
sed -i s/kdoctools/#kdoctool/g CMakeLists.txt
|
||||
|
||||
cd build
|
||||
make install
|
||||
|
||||
prepareInstalledDevelLibs \
|
||||
libKF5KIOCore \
|
||||
libKF5KIOFileWidgets \
|
||||
libKF5KIOGui \
|
||||
libKF5KIONTLM \
|
||||
libKF5KIOWidgets
|
||||
|
||||
packageEntries devel \
|
||||
$libDir/cmake \
|
||||
$dataDir/Qt5/mkspecs \
|
||||
$developDir
|
||||
}
|
||||
|
||||
TEST()
|
||||
{
|
||||
cd build
|
||||
make test
|
||||
}
|
||||
99
kde-frameworks/kio/patches/kio-5.38.0.patchset
Normal file
99
kde-frameworks/kio/patches/kio-5.38.0.patchset
Normal file
@@ -0,0 +1,99 @@
|
||||
From af6ef92923dd1438b20ab801962b30787929d347 Mon Sep 17 00:00:00 2001
|
||||
From: Sergei Reznikov <diver@gelios.net>
|
||||
Date: Mon, 25 Sep 2017 00:56:11 +0300
|
||||
Subject: Fix build on Haiku
|
||||
|
||||
|
||||
diff --git a/src/core/CMakeLists.txt b/src/core/CMakeLists.txt
|
||||
index a3dc3bc..ae3d12c 100644
|
||||
--- a/src/core/CMakeLists.txt
|
||||
+++ b/src/core/CMakeLists.txt
|
||||
@@ -151,6 +151,10 @@ PRIVATE
|
||||
KF5::DBusAddons # KDEInitInterface
|
||||
)
|
||||
|
||||
+if (HAIKU)
|
||||
+ target_link_libraries(KF5KIOCore PRIVATE network)
|
||||
+endif ()
|
||||
+
|
||||
if(ACL_FOUND)
|
||||
target_link_libraries(KF5KIOCore PRIVATE ${ACL_LIBS})
|
||||
endif()
|
||||
diff --git a/src/core/kmountpoint.cpp b/src/core/kmountpoint.cpp
|
||||
index b7efa90..ed22c19 100644
|
||||
--- a/src/core/kmountpoint.cpp
|
||||
+++ b/src/core/kmountpoint.cpp
|
||||
@@ -139,7 +139,7 @@ KMountPoint::~KMountPoint()
|
||||
#define MOUNTTYPE(var) var->mnt_type
|
||||
#define MOUNTOPTIONS(var) var->mnt_opts
|
||||
#define FSNAME(var) var->mnt_fsname
|
||||
-#else
|
||||
+#elif !defined(__HAIKU__)
|
||||
#define SETMNTENT fopen
|
||||
#define ENDMNTENT fclose
|
||||
#define STRUCT_MNTENT struct mnttab
|
||||
@@ -414,7 +414,7 @@ KMountPoint::List KMountPoint::currentMountPoints(DetailsNeededFlags infoNeeded)
|
||||
mp->d->mountPoint = QString("/");
|
||||
result.append(mp);
|
||||
|
||||
-#else
|
||||
+#elif !defined(__HAIKU__)
|
||||
STRUCT_SETMNTENT mnttab;
|
||||
if ((mnttab = SETMNTENT(MNTTAB, "r")) == nullptr) {
|
||||
return result;
|
||||
diff --git a/src/ioslaves/file/file_unix.cpp b/src/ioslaves/file/file_unix.cpp
|
||||
index 3c1b992..b89fec7 100644
|
||||
--- a/src/ioslaves/file/file_unix.cpp
|
||||
+++ b/src/ioslaves/file/file_unix.cpp
|
||||
@@ -48,6 +48,8 @@
|
||||
#include <sys/sendfile.h>
|
||||
#endif
|
||||
|
||||
+#undef HAVE_DIRENT_D_TYPE
|
||||
+
|
||||
using namespace KIO;
|
||||
|
||||
#define MAX_IPC_SIZE (1024*32)
|
||||
diff --git a/src/kpac/CMakeLists.txt b/src/kpac/CMakeLists.txt
|
||||
index aebe1eb..e7755f3 100644
|
||||
--- a/src/kpac/CMakeLists.txt
|
||||
+++ b/src/kpac/CMakeLists.txt
|
||||
@@ -48,6 +48,9 @@ if (Qt5Script_FOUND)
|
||||
if (HAVE_RESOLV_LIBRARY)
|
||||
target_link_libraries(kded_proxyscout resolv)
|
||||
endif ()
|
||||
+ if (HAIKU)
|
||||
+ target_link_libraries(kded_proxyscout network)
|
||||
+ endif ()
|
||||
endif()
|
||||
|
||||
set_package_properties(Qt5Script PROPERTIES DESCRIPTION "QtScript, one of the Qt5 modules"
|
||||
@@ -69,6 +72,10 @@ if (HAVE_SOCKET_LIBRARY)
|
||||
target_link_libraries(kpac_dhcp_helper socket)
|
||||
endif ()
|
||||
|
||||
+if (HAIKU)
|
||||
+ target_link_libraries(kpac_dhcp_helper network)
|
||||
+endif ()
|
||||
+
|
||||
install(TARGETS kpac_dhcp_helper DESTINATION ${KDE_INSTALL_LIBEXECDIR_KF5} )
|
||||
|
||||
########### install files ###############
|
||||
diff --git a/src/widgets/previewjob.cpp b/src/widgets/previewjob.cpp
|
||||
index da50b21..d0b3c5e 100644
|
||||
--- a/src/widgets/previewjob.cpp
|
||||
+++ b/src/widgets/previewjob.cpp
|
||||
@@ -22,6 +22,10 @@
|
||||
|
||||
#include "previewjob.h"
|
||||
|
||||
+#ifdef Q_OS_HAIKU
|
||||
+#undef Q_OS_UNIX // We don't have sys/shm.h
|
||||
+#endif
|
||||
+
|
||||
#ifdef Q_OS_UNIX
|
||||
#include <sys/ipc.h>
|
||||
#include <sys/shm.h>
|
||||
--
|
||||
2.13.1
|
||||
|
||||
89
kde-frameworks/kitemmodels/kitemmodels-5.38.0.recipe
Normal file
89
kde-frameworks/kitemmodels/kitemmodels-5.38.0.recipe
Normal file
@@ -0,0 +1,89 @@
|
||||
SUMMARY="Set of item models extending the Qt model-view framework"
|
||||
DESCRIPTION="KItemModels provides the following models:
|
||||
|
||||
KBreadcrumbSelectionModel - Selects the parents of selected items to create \
|
||||
breadcrumbs
|
||||
KCheckableProxyModel - Adds a checkable capability to a source model
|
||||
KConcatenateRowsProxyModel - Concatenates rows from multiple source models
|
||||
KDescendantsProxyModel - Proxy Model for restructuring a Tree into a list
|
||||
KExtraColumnsProxyModel - Adds columns after existing columns
|
||||
KLinkItemSelectionModel - Share a selection in multiple views which do not \
|
||||
have the same source model
|
||||
KModelIndexProxyMapper - Mapping of indexes and selections through proxy \
|
||||
models
|
||||
KRearrangeColumnsProxyModel - Can reorder and hide columns from the source \
|
||||
model
|
||||
KRecursiveFilterProxyModel - Recursive filtering of models
|
||||
KSelectionProxyModel - A Proxy Model which presents a subset of its source \
|
||||
model to observers"
|
||||
HOMEPAGE="https://github.com/KDE/kitemmodels/"
|
||||
COPYRIGHT="2010-2017 KDE Organisation"
|
||||
LICENSE="GNU LGPL v2"
|
||||
REVISION="1"
|
||||
SOURCE_URI="https://github.com/KDE/kitemmodels/archive/v$portVersion.tar.gz"
|
||||
CHECKSUM_SHA256="bfc22dcc28d4b8e38b8a52516514f2e40974eee0d6ce8988ef42425beeba0b5d"
|
||||
|
||||
ARCHITECTURES="!x86_gcc2 x86_64"
|
||||
SECONDARY_ARCHITECTURES="x86"
|
||||
|
||||
PROVIDES="
|
||||
kitemmodels$secondaryArchSuffix = $portVersion
|
||||
lib:libKF5ItemModels$secondaryArchSuffix = $portVersion
|
||||
"
|
||||
REQUIRES="
|
||||
haiku$secondaryArchSuffix
|
||||
lib:libKF5CoreAddons$secondaryArchSuffix
|
||||
lib:libQt5Core$secondaryArchSuffix
|
||||
lib:libQt5Gui$secondaryArchSuffix
|
||||
lib:libQt5Xml$secondaryArchSuffix
|
||||
"
|
||||
|
||||
PROVIDES_devel="
|
||||
kitemmodels${secondaryArchSuffix}_devel = $portVersion
|
||||
devel:libKF5ItemModels$secondaryArchSuffix = $portVersion
|
||||
"
|
||||
REQUIRES_devel="
|
||||
kitemmodels$secondaryArchSuffix == $portVersion base
|
||||
"
|
||||
|
||||
BUILD_REQUIRES="
|
||||
extra_cmake_modules
|
||||
haiku${secondaryArchSuffix}_devel
|
||||
devel:libQt5Core$secondaryArchSuffix
|
||||
"
|
||||
BUILD_PREREQUIRES="
|
||||
cmd:cmake
|
||||
cmd:g++$secondaryArchSuffix
|
||||
cmd:make
|
||||
"
|
||||
|
||||
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 \
|
||||
libKF5ItemModels
|
||||
|
||||
packageEntries devel \
|
||||
$libDir/cmake \
|
||||
$dataDir/Qt5/mkspecs \
|
||||
$developDir
|
||||
}
|
||||
|
||||
TEST()
|
||||
{
|
||||
cd build
|
||||
make test
|
||||
}
|
||||
74
kde-frameworks/kitemviews/kitemviews-5.38.0.recipe
Normal file
74
kde-frameworks/kitemviews/kitemviews-5.38.0.recipe
Normal file
@@ -0,0 +1,74 @@
|
||||
SUMMARY="Set of item views extending the Qt model-view framework"
|
||||
DESCRIPTION="KItemViews includes a set of views, which can be used with item \
|
||||
models. It includes views for categorizing lists and to add search filters to \
|
||||
flat and hierarchical lists."
|
||||
HOMEPAGE="https://github.com/KDE/kitemviews/"
|
||||
COPYRIGHT="2010-2017 KDE Organisation"
|
||||
LICENSE="GNU LGPL v2"
|
||||
REVISION="1"
|
||||
SOURCE_URI="https://github.com/KDE/kitemviews/archive/v$portVersion.tar.gz"
|
||||
CHECKSUM_SHA256="f7ba5ed449dd408f4c27988f832fdb21078c9ae09ee9817bfc1e0db7ec9fdf38"
|
||||
|
||||
ARCHITECTURES="!x86_gcc2 x86_64"
|
||||
SECONDARY_ARCHITECTURES="x86"
|
||||
|
||||
PROVIDES="
|
||||
kitemviews$secondaryArchSuffix = $portVersion
|
||||
lib:libKF5ItemViews$secondaryArchSuffix = $portVersion
|
||||
"
|
||||
REQUIRES="
|
||||
haiku$secondaryArchSuffix
|
||||
lib:libQt5Core$secondaryArchSuffix
|
||||
lib:libQt5Gui$secondaryArchSuffix
|
||||
lib:libQt5Widgets$secondaryArchSuffix
|
||||
"
|
||||
|
||||
PROVIDES_devel="
|
||||
kitemviews${secondaryArchSuffix}_devel = $portVersion
|
||||
devel:libKF5ItemViews$secondaryArchSuffix = $portVersion
|
||||
"
|
||||
REQUIRES_devel="
|
||||
kitemviews$secondaryArchSuffix == $portVersion base
|
||||
"
|
||||
|
||||
BUILD_REQUIRES="
|
||||
extra_cmake_modules
|
||||
haiku${secondaryArchSuffix}_devel
|
||||
devel:libQt5Core$secondaryArchSuffix
|
||||
"
|
||||
BUILD_PREREQUIRES="
|
||||
cmd:cmake
|
||||
cmd:g++$secondaryArchSuffix
|
||||
cmd:make
|
||||
"
|
||||
|
||||
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 \
|
||||
libKF5ItemViews
|
||||
|
||||
packageEntries devel \
|
||||
$libDir/cmake \
|
||||
$dataDir/Qt5/mkspecs \
|
||||
$developDir
|
||||
}
|
||||
|
||||
TEST()
|
||||
{
|
||||
cd build
|
||||
make test
|
||||
}
|
||||
82
kde-frameworks/kjobwidgets/kjobwidgets-5.38.0.recipe
Normal file
82
kde-frameworks/kjobwidgets/kjobwidgets-5.38.0.recipe
Normal file
@@ -0,0 +1,82 @@
|
||||
SUMMARY="Widgets for showing progress of asynchronous jobs"
|
||||
DESCRIPTION="KJobWIdgets provides widgets for showing progress of \
|
||||
asynchronous jobs."
|
||||
HOMEPAGE="https://github.com/KDE/kjobwidgets/"
|
||||
COPYRIGHT="2010-2017 KDE Organisation"
|
||||
LICENSE="GNU LGPL v2"
|
||||
REVISION="1"
|
||||
SOURCE_URI="https://github.com/KDE/kjobwidgets/archive/v$portVersion.tar.gz"
|
||||
CHECKSUM_SHA256="106a40081a1c04c23468147006a0d53664c000e5cb30ad1358f770b9aa2368d8"
|
||||
|
||||
ARCHITECTURES="!x86_gcc2 x86_64"
|
||||
SECONDARY_ARCHITECTURES="x86"
|
||||
|
||||
PROVIDES="
|
||||
kjobwidgets$secondaryArchSuffix = $portVersion
|
||||
lib:libKF5JobWidgets$secondaryArchSuffix = $portVersion
|
||||
"
|
||||
REQUIRES="
|
||||
haiku$secondaryArchSuffix
|
||||
lib:libKF5CoreAddons$secondaryArchSuffix
|
||||
lib:libQt5Core$secondaryArchSuffix
|
||||
lib:libQt5DBus$secondaryArchSuffix
|
||||
lib:libQt5Gui$secondaryArchSuffix
|
||||
lib:libQt5Widgets$secondaryArchSuffix
|
||||
lib:libKF5WidgetsAddons$secondaryArchSuffix
|
||||
"
|
||||
|
||||
PROVIDES_devel="
|
||||
kjobwidgets${secondaryArchSuffix}_devel = $portVersion
|
||||
devel:libKF5JobWidgets$secondaryArchSuffix = $portVersion
|
||||
"
|
||||
REQUIRES_devel="
|
||||
kjobwidgets$secondaryArchSuffix == $portVersion base
|
||||
"
|
||||
|
||||
BUILD_REQUIRES="
|
||||
extra_cmake_modules
|
||||
haiku${secondaryArchSuffix}_devel
|
||||
devel:libKF5CoreAddons$secondaryArchSuffix
|
||||
devel:libQt5Core$secondaryArchSuffix
|
||||
devel:libQt5DBus$secondaryArchSuffix
|
||||
devel:libQt5Gui$secondaryArchSuffix
|
||||
devel:libQt5Widgets$secondaryArchSuffix
|
||||
devel:libKF5WidgetsAddons$secondaryArchSuffix
|
||||
"
|
||||
BUILD_PREREQUIRES="
|
||||
cmd:cmake
|
||||
cmd:g++$secondaryArchSuffix
|
||||
cmd:make
|
||||
"
|
||||
|
||||
BUILD()
|
||||
{
|
||||
mkdir -p build
|
||||
cd build
|
||||
|
||||
cmake .. $cmakeDirArgs \
|
||||
-DKDE_INSTALL_PLUGINDIR=$addOnsDir/Qt5 \
|
||||
-DECM_MKSPECS_INSTALL_DIR=$dataDir/Qt5/mkspecs \
|
||||
-DECM_DIR=/system/data/cmake/Modules/ECM/cmake
|
||||
make $jobArgs
|
||||
}
|
||||
|
||||
INSTALL()
|
||||
{
|
||||
cd build
|
||||
make install
|
||||
|
||||
prepareInstalledDevelLibs \
|
||||
libKF5JobWidgets
|
||||
|
||||
packageEntries devel \
|
||||
$libDir/cmake \
|
||||
$dataDir/Qt5/mkspecs \
|
||||
$developDir
|
||||
}
|
||||
|
||||
TEST()
|
||||
{
|
||||
cd build
|
||||
make test
|
||||
}
|
||||
91
kde-frameworks/knotifications/knotifications-5.38.0.recipe
Normal file
91
kde-frameworks/knotifications/knotifications-5.38.0.recipe
Normal file
@@ -0,0 +1,91 @@
|
||||
SUMMARY="KDE Desktop notifications"
|
||||
DESCRIPTION="KNotification is used to notify the user of an event. \
|
||||
It covers feedback and persistent events."
|
||||
HOMEPAGE="https://github.com/KDE/knotifications/"
|
||||
COPYRIGHT="2010-2017 KDE Organisation"
|
||||
LICENSE="GNU LGPL v2"
|
||||
REVISION="1"
|
||||
SOURCE_URI="https://github.com/KDE/knotifications/archive/v$portVersion.tar.gz"
|
||||
CHECKSUM_SHA256="9894a6917be40f4ea6511d3dee390877cdf2f0893a1e6ba421631621721ba442"
|
||||
|
||||
ARCHITECTURES="!x86_gcc2 x86_64"
|
||||
SECONDARY_ARCHITECTURES="x86"
|
||||
|
||||
PROVIDES="
|
||||
knotifications$secondaryArchSuffix = $portVersion
|
||||
lib:libKF5Notifications$secondaryArchSuffix = $portVersion
|
||||
"
|
||||
REQUIRES="
|
||||
haiku$secondaryArchSuffix
|
||||
lib:libKF5Codecs$secondaryArchSuffix
|
||||
lib:libKF5ConfigCore$secondaryArchSuffix
|
||||
lib:libKF5CoreAddons$secondaryArchSuffix
|
||||
lib:libKF5WindowSystem$secondaryArchSuffix
|
||||
lib:libphonon4qt5$secondaryArchSuffix
|
||||
lib:libphonon4qt5experimental$secondaryArchSuffix
|
||||
lib:libQt5Core$secondaryArchSuffix
|
||||
lib:libQt5DBus$secondaryArchSuffix
|
||||
lib:libQt5Gui$secondaryArchSuffix
|
||||
lib:libQt5TextToSpeech$secondaryArchSuffix
|
||||
lib:libQt5Widgets$secondaryArchSuffix
|
||||
"
|
||||
|
||||
PROVIDES_devel="
|
||||
knotifications${secondaryArchSuffix}_devel = $portVersion
|
||||
devel:libKF5Notifications$secondaryArchSuffix = $portVersion
|
||||
"
|
||||
REQUIRES_devel="
|
||||
knotifications$secondaryArchSuffix == $portVersion base
|
||||
"
|
||||
|
||||
BUILD_REQUIRES="
|
||||
extra_cmake_modules
|
||||
haiku${secondaryArchSuffix}_devel
|
||||
devel:libKF5Codecs$secondaryArchSuffix
|
||||
devel:libKF5ConfigCore$secondaryArchSuffix
|
||||
devel:libKF5CoreAddons$secondaryArchSuffix
|
||||
devel:libKF5WindowSystem$secondaryArchSuffix
|
||||
devel:libphonon4qt5$secondaryArchSuffix
|
||||
devel:libphonon4qt5experimental$secondaryArchSuffix
|
||||
devel:libQt5Core$secondaryArchSuffix
|
||||
devel:libQt5DBus$secondaryArchSuffix
|
||||
devel:libQt5Gui$secondaryArchSuffix
|
||||
devel:libQt5TextToSpeech$secondaryArchSuffix
|
||||
devel:libQt5Widgets$secondaryArchSuffix
|
||||
"
|
||||
BUILD_PREREQUIRES="
|
||||
cmd:cmake
|
||||
cmd:g++$secondaryArchSuffix
|
||||
cmd:make
|
||||
"
|
||||
|
||||
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 \
|
||||
libKF5Notifications
|
||||
|
||||
packageEntries devel \
|
||||
$libDir/cmake \
|
||||
$dataDir/Qt5/mkspecs \
|
||||
$developDir
|
||||
}
|
||||
|
||||
TEST()
|
||||
{
|
||||
cd build
|
||||
make test
|
||||
}
|
||||
102
kde-frameworks/knotifyconfig/knotifyconfig-5.38.0.recipe
Normal file
102
kde-frameworks/knotifyconfig/knotifyconfig-5.38.0.recipe
Normal file
@@ -0,0 +1,102 @@
|
||||
SUMMARY="Configuration dialog for desktop notificationsr"
|
||||
DESCRIPTION="KNotifyConfig provides a configuration dialog for desktop \
|
||||
notifications which can be embedded in your application."
|
||||
HOMEPAGE="https://github.com/KDE/knotifyconfig/"
|
||||
COPYRIGHT="2010-2017 KDE Organisation"
|
||||
LICENSE="GNU LGPL v2"
|
||||
REVISION="1"
|
||||
SOURCE_URI="https://github.com/KDE/knotifyconfig/archive/v$portVersion.tar.gz"
|
||||
CHECKSUM_SHA256="283e093590c519eecc55f9f3914baf46d7885bcf9cbc402ec6dd5033a7b7d4f4"
|
||||
|
||||
ARCHITECTURES="!x86_gcc2 x86_64"
|
||||
SECONDARY_ARCHITECTURES="x86"
|
||||
|
||||
PROVIDES="
|
||||
knotifyconfig$secondaryArchSuffix = $portVersion
|
||||
lib:libKF5NotifyConfig$secondaryArchSuffix = $portVersion
|
||||
"
|
||||
REQUIRES="
|
||||
haiku$secondaryArchSuffix
|
||||
lib:libKF5Completion$secondaryArchSuffix
|
||||
lib:libKF5ConfigCore$secondaryArchSuffix
|
||||
lib:libKF5CoreAddons$secondaryArchSuffix
|
||||
lib:libKF5I18n$secondaryArchSuffix
|
||||
lib:libKF5JobWidgets$secondaryArchSuffix
|
||||
lib:libKF5KIOCore$secondaryArchSuffix
|
||||
lib:libKF5KIOWidgets$secondaryArchSuffix
|
||||
lib:libKF5Service$secondaryArchSuffix
|
||||
lib:libKF5WidgetsAddons$secondaryArchSuffix
|
||||
lib:libphonon4qt5experimental$secondaryArchSuffix
|
||||
lib:libQt5Core$secondaryArchSuffix
|
||||
lib:libQt5DBus$secondaryArchSuffix
|
||||
lib:libQt5Gui$secondaryArchSuffix
|
||||
lib:libQt5Network$secondaryArchSuffix
|
||||
lib:libQt5Widgets$secondaryArchSuffix
|
||||
"
|
||||
|
||||
PROVIDES_devel="
|
||||
knotifyconfig${secondaryArchSuffix}_devel = $portVersion
|
||||
devel:libKF5NotifyConfig$secondaryArchSuffix = $portVersion
|
||||
"
|
||||
REQUIRES_devel="
|
||||
knotifyconfig$secondaryArchSuffix == $portVersion base
|
||||
"
|
||||
|
||||
BUILD_REQUIRES="
|
||||
extra_cmake_modules
|
||||
haiku${secondaryArchSuffix}_devel
|
||||
devel:libKF5Auth$secondaryArchSuffix
|
||||
devel:libKF5Bookmarks$secondaryArchSuffix
|
||||
devel:libKF5Codecs$secondaryArchSuffix
|
||||
devel:libKF5Completion$secondaryArchSuffix
|
||||
devel:libKF5ConfigCore$secondaryArchSuffix
|
||||
devel:libKF5ConfigWidgets$secondaryArchSuffix
|
||||
devel:libKF5CoreAddons$secondaryArchSuffix
|
||||
devel:libKF5XmlGui$secondaryArchSuffix
|
||||
devel:libKF5I18n$secondaryArchSuffix
|
||||
devel:libKF5ItemViews$secondaryArchSuffix
|
||||
devel:libKF5JobWidgets$secondaryArchSuffix
|
||||
devel:libKF5KIOCore$secondaryArchSuffix
|
||||
devel:libKF5Notifications$secondaryArchSuffix
|
||||
devel:libKF5Service$secondaryArchSuffix
|
||||
devel:libKF5Solid$secondaryArchSuffix
|
||||
devel:libKF5WidgetsAddons$secondaryArchSuffix
|
||||
devel:libQt5Core$secondaryArchSuffix
|
||||
"
|
||||
BUILD_PREREQUIRES="
|
||||
cmd:cmake
|
||||
cmd:g++$secondaryArchSuffix
|
||||
cmd:make
|
||||
cmd:python2
|
||||
"
|
||||
|
||||
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 \
|
||||
libKF5NotifyConfig
|
||||
|
||||
packageEntries devel \
|
||||
$libDir/cmake \
|
||||
$dataDir/Qt5/mkspecs \
|
||||
$developDir
|
||||
}
|
||||
|
||||
TEST()
|
||||
{
|
||||
cd build
|
||||
make test
|
||||
}
|
||||
79
kde-frameworks/kpackage/kpackage-5.38.0.recipe
Normal file
79
kde-frameworks/kpackage/kpackage-5.38.0.recipe
Normal file
@@ -0,0 +1,79 @@
|
||||
SUMMARY="Installation and loading of additional content as packages"
|
||||
DESCRIPTION="The KPackage framework lets the user install and load packages \
|
||||
of non binary content such as scripted extensions or graphic assets, as if \
|
||||
they were traditional plugins."
|
||||
HOMEPAGE="https://github.com/KDE/kpackage/"
|
||||
COPYRIGHT="2010-2017 KDE Organisation"
|
||||
LICENSE="GNU LGPL v2"
|
||||
REVISION="1"
|
||||
SOURCE_URI="https://github.com/KDE/kpackage/archive/v$portVersion.tar.gz"
|
||||
CHECKSUM_SHA256="f4563283be09fed4db6abf686eebda1a873d0db6c94eb69ccaa0b3de53127e79"
|
||||
|
||||
ARCHITECTURES="!x86_gcc2 x86_64"
|
||||
SECONDARY_ARCHITECTURES="x86"
|
||||
|
||||
PROVIDES="
|
||||
kpackage$secondaryArchSuffix = $portVersion
|
||||
cmd:kpackagetool5$secondaryArchSuffix = $portVersion
|
||||
lib:libKF5Package$secondaryArchSuffix = $portVersion
|
||||
"
|
||||
REQUIRES="
|
||||
haiku$secondaryArchSuffix
|
||||
lib:libKF5Archive$secondaryArchSuffix
|
||||
lib:libKF5CoreAddons$secondaryArchSuffix
|
||||
lib:libKF5I18n$secondaryArchSuffix
|
||||
lib:libQt5Core$secondaryArchSuffix
|
||||
"
|
||||
|
||||
PROVIDES_devel="
|
||||
kpackage${secondaryArchSuffix}_devel = $portVersion
|
||||
devel:libKF5Package$secondaryArchSuffix = $portVersion
|
||||
"
|
||||
REQUIRES_devel="
|
||||
kpackage$secondaryArchSuffix == $portVersion base
|
||||
"
|
||||
|
||||
BUILD_REQUIRES="
|
||||
extra_cmake_modules
|
||||
haiku${secondaryArchSuffix}_devel
|
||||
devel:libKF5Archive$secondaryArchSuffix
|
||||
devel:libKF5I18n$secondaryArchSuffix
|
||||
devel:libKF5CoreAddons$secondaryArchSuffix
|
||||
devel:libQt5Core$secondaryArchSuffix
|
||||
"
|
||||
BUILD_PREREQUIRES="
|
||||
cmd:cmake
|
||||
cmd:g++$secondaryArchSuffix
|
||||
cmd:make
|
||||
cmd:python2
|
||||
"
|
||||
|
||||
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 \
|
||||
libKF5Package
|
||||
|
||||
packageEntries devel \
|
||||
$libDir/cmake \
|
||||
$developDir
|
||||
}
|
||||
|
||||
TEST()
|
||||
{
|
||||
cd build
|
||||
make test
|
||||
}
|
||||
114
kde-frameworks/kparts/kparts-5.38.0.recipe
Normal file
114
kde-frameworks/kparts/kparts-5.38.0.recipe
Normal file
@@ -0,0 +1,114 @@
|
||||
SUMMARY="Plugin framework for user interface components"
|
||||
DESCRIPTION="This library implements the framework for KDE parts, which are \
|
||||
elaborate widgets with a user-interface defined in terms of actions (menu \
|
||||
items, toolbar icons)."
|
||||
HOMEPAGE="https://github.com/KDE/kparts/"
|
||||
COPYRIGHT="2010-2017 KDE Organisation"
|
||||
LICENSE="GNU LGPL v2"
|
||||
REVISION="1"
|
||||
SOURCE_URI="https://github.com/KDE/kparts/archive/v$portVersion.tar.gz"
|
||||
CHECKSUM_SHA256="5e36103d9e79f95ee1d4117031b37fb8b8c07aaa78f10cc8425ee1cad0214cc0"
|
||||
|
||||
ARCHITECTURES="!x86_gcc2 x86_64"
|
||||
SECONDARY_ARCHITECTURES="x86"
|
||||
|
||||
PROVIDES="
|
||||
kparts$secondaryArchSuffix = $portVersion
|
||||
lib:libKF5Parts$secondaryArchSuffix = $portVersion
|
||||
"
|
||||
REQUIRES="
|
||||
haiku$secondaryArchSuffix
|
||||
lib:libKF5Auth$secondaryArchSuffix
|
||||
lib:libKF5Codecs$secondaryArchSuffix
|
||||
lib:libKF5Completion$secondaryArchSuffix
|
||||
lib:libKF5ConfigCore$secondaryArchSuffix
|
||||
lib:libKF5ConfigGui$secondaryArchSuffix
|
||||
lib:libKF5ConfigWidgets$secondaryArchSuffix
|
||||
lib:libKF5CoreAddons$secondaryArchSuffix
|
||||
lib:libKF5I18n$secondaryArchSuffix
|
||||
lib:libKF5IconThemes$secondaryArchSuffix
|
||||
lib:libKF5JobWidgets$secondaryArchSuffix
|
||||
lib:libKF5KIOCore$secondaryArchSuffix
|
||||
lib:libKF5KIOWidgets$secondaryArchSuffix
|
||||
lib:libKF5Service$secondaryArchSuffix
|
||||
lib:libKF5SonnetUi$secondaryArchSuffix
|
||||
lib:libKF5TextWidgets$secondaryArchSuffix
|
||||
lib:libKF5WidgetsAddons$secondaryArchSuffix
|
||||
lib:libKF5XmlGui$secondaryArchSuffix
|
||||
lib:libQt5Core$secondaryArchSuffix
|
||||
lib:libQt5DBus$secondaryArchSuffix
|
||||
lib:libQt5Gui$secondaryArchSuffix
|
||||
lib:libQt5Network$secondaryArchSuffix
|
||||
lib:libQt5Widgets$secondaryArchSuffix
|
||||
lib:libQt5Xml$secondaryArchSuffix
|
||||
"
|
||||
|
||||
PROVIDES_devel="
|
||||
kparts${secondaryArchSuffix}_devel = $portVersion
|
||||
devel:libKF5Parts$secondaryArchSuffix = $portVersion
|
||||
"
|
||||
REQUIRES_devel="
|
||||
kparts$secondaryArchSuffix == $portVersion base
|
||||
"
|
||||
|
||||
BUILD_REQUIRES="
|
||||
extra_cmake_modules
|
||||
haiku${secondaryArchSuffix}_devel
|
||||
devel:libKF5Auth$secondaryArchSuffix
|
||||
devel:libKF5Codecs$secondaryArchSuffix
|
||||
devel:libKF5Bookmarks$secondaryArchSuffix
|
||||
devel:libKF5Completion$secondaryArchSuffix
|
||||
devel:libKF5ConfigCore$secondaryArchSuffix
|
||||
devel:libKF5ConfigWidgets$secondaryArchSuffix
|
||||
devel:libKF5CoreAddons$secondaryArchSuffix
|
||||
devel:libKF5I18n$secondaryArchSuffix
|
||||
devel:libKF5IconThemes$secondaryArchSuffix
|
||||
devel:libKF5ItemViews$secondaryArchSuffix
|
||||
devel:libKF5JobWidgets$secondaryArchSuffix
|
||||
devel:libKF5KIOCore$secondaryArchSuffix
|
||||
devel:libKF5Service$secondaryArchSuffix
|
||||
devel:libKF5Solid$secondaryArchSuffix
|
||||
devel:libKF5SonnetUi$secondaryArchSuffix
|
||||
devel:libKF5TextWidgets$secondaryArchSuffix
|
||||
devel:libKF5WidgetsAddons$secondaryArchSuffix
|
||||
devel:libKF5XmlGui$secondaryArchSuffix
|
||||
devel:libQt5Core$secondaryArchSuffix
|
||||
"
|
||||
BUILD_PREREQUIRES="
|
||||
cmd:cmake
|
||||
cmd:g++$secondaryArchSuffix
|
||||
cmd:make
|
||||
cmd:python2
|
||||
"
|
||||
|
||||
BUILD()
|
||||
{
|
||||
mkdir -p build
|
||||
cd build
|
||||
|
||||
cmake .. $cmakeDirArgs \
|
||||
-DKDE_INSTALL_PLUGINDIR=$addOnsDir/Qt5 \
|
||||
-DECM_MKSPECS_INSTALL_DIR=$dataDir/Qt5/mkspecs \
|
||||
-DECM_DIR=/system/data/cmake/Modules/ECM/cmake
|
||||
make $jobArgs
|
||||
}
|
||||
|
||||
INSTALL()
|
||||
{
|
||||
cd build
|
||||
make install
|
||||
|
||||
prepareInstalledDevelLibs \
|
||||
libKF5Parts
|
||||
|
||||
packageEntries devel \
|
||||
$libDir/cmake \
|
||||
$dataDir/Qt5/mkspecs \
|
||||
$developDir
|
||||
}
|
||||
|
||||
TEST()
|
||||
{
|
||||
cd build
|
||||
make test
|
||||
}
|
||||
129
kde-frameworks/kross/kross-5.38.0.recipe
Normal file
129
kde-frameworks/kross/kross-5.38.0.recipe
Normal file
@@ -0,0 +1,129 @@
|
||||
SUMMARY="Embedding of scripting into applications"
|
||||
DESCRIPTION="Kross is a scripting bridge to embed scripting functionality \
|
||||
into an application. It supports QtScript as a scripting interpreter \
|
||||
backend."
|
||||
HOMEPAGE="https://github.com/KDE/kross/"
|
||||
COPYRIGHT="2010-2017 KDE Organisation"
|
||||
LICENSE="GNU LGPL v2"
|
||||
REVISION="1"
|
||||
SOURCE_URI="https://github.com/KDE/kross/archive/v$portVersion.tar.gz"
|
||||
CHECKSUM_SHA256="83eb9abf434a2e09706d354df1ae68ee8329381375f18aa43506c5284286d23f"
|
||||
|
||||
ARCHITECTURES="!x86_gcc2 x86_64"
|
||||
SECONDARY_ARCHITECTURES="x86"
|
||||
|
||||
PROVIDES="
|
||||
kross$secondaryArchSuffix = $portVersion
|
||||
cmd:kf5kross$secondaryArchSuffix = $portVersion
|
||||
lib:libKF5KrossCore$secondaryArchSuffix = $portVersion
|
||||
lib:libKF5KrossUi$secondaryArchSuffix = $portVersion
|
||||
"
|
||||
REQUIRES="
|
||||
haiku$secondaryArchSuffix
|
||||
lib:libKF5Auth$secondaryArchSuffix
|
||||
lib:libKF5Bookmarks$secondaryArchSuffix
|
||||
lib:libKF5Codecs$secondaryArchSuffix
|
||||
lib:libKF5Completion$secondaryArchSuffix
|
||||
lib:libKF5ConfigCore$secondaryArchSuffix
|
||||
lib:libKF5ConfigGui$secondaryArchSuffix
|
||||
lib:libKF5ConfigWidgets$secondaryArchSuffix
|
||||
lib:libKF5CoreAddons$secondaryArchSuffix
|
||||
lib:libKF5I18n$secondaryArchSuffix
|
||||
lib:libKF5IconThemes$secondaryArchSuffix
|
||||
lib:libKF5ItemViews$secondaryArchSuffix
|
||||
lib:libKF5JobWidgets$secondaryArchSuffix
|
||||
lib:libKF5KIOCore$secondaryArchSuffix
|
||||
lib:libKF5KIOWidgets$secondaryArchSuffix
|
||||
lib:libKF5Parts$secondaryArchSuffix
|
||||
lib:libKF5Service$secondaryArchSuffix
|
||||
lib:libKF5Solid$secondaryArchSuffix
|
||||
lib:libKF5SonnetUi$secondaryArchSuffix
|
||||
lib:libKF5TextWidgets$secondaryArchSuffix
|
||||
lib:libKF5WidgetsAddons$secondaryArchSuffix
|
||||
lib:libKF5XmlGui$secondaryArchSuffix
|
||||
lib:libQt5DBus$secondaryArchSuffix
|
||||
lib:libQt5Gui$secondaryArchSuffix
|
||||
lib:libQt5Network$secondaryArchSuffix
|
||||
lib:libQt5Script$secondaryArchSuffix
|
||||
lib:libQt5Widgets$secondaryArchSuffix
|
||||
lib:libQt5Xml$secondaryArchSuffix
|
||||
"
|
||||
|
||||
PROVIDES_devel="
|
||||
kross${secondaryArchSuffix}_devel = $portVersion
|
||||
devel:libKF5KrossCore$secondaryArchSuffix = $portVersion
|
||||
devel:libKF5KrossUi$secondaryArchSuffix = $portVersion
|
||||
"
|
||||
REQUIRES_devel="
|
||||
kross$secondaryArchSuffix == $portVersion base
|
||||
"
|
||||
|
||||
BUILD_REQUIRES="
|
||||
extra_cmake_modules
|
||||
haiku${secondaryArchSuffix}_devel
|
||||
devel:libKF5Auth$secondaryArchSuffix
|
||||
devel:libKF5Bookmarks$secondaryArchSuffix
|
||||
devel:libKF5Codecs$secondaryArchSuffix
|
||||
devel:libKF5Completion$secondaryArchSuffix
|
||||
devel:libKF5ConfigCore$secondaryArchSuffix
|
||||
devel:libKF5ConfigWidgets$secondaryArchSuffix
|
||||
devel:libKF5CoreAddons$secondaryArchSuffix
|
||||
devel:libKF5DocTools$secondaryArchSuffix
|
||||
devel:libKF5I18n$secondaryArchSuffix
|
||||
devel:libKF5IconThemes$secondaryArchSuffix
|
||||
devel:libKF5ItemViews$secondaryArchSuffix
|
||||
devel:libKF5JobWidgets$secondaryArchSuffix
|
||||
devel:libKF5KIOCore$secondaryArchSuffix
|
||||
devel:libKF5Parts$secondaryArchSuffix
|
||||
devel:libKF5Service$secondaryArchSuffix
|
||||
devel:libKF5Solid$secondaryArchSuffix
|
||||
devel:libKF5SonnetUi$secondaryArchSuffix
|
||||
devel:libKF5TextWidgets$secondaryArchSuffix
|
||||
devel:libKF5WidgetsAddons$secondaryArchSuffix
|
||||
devel:libKF5XmlGui$secondaryArchSuffix
|
||||
devel:libQt5Core$secondaryArchSuffix
|
||||
"
|
||||
BUILD_PREREQUIRES="
|
||||
cmd:cmake
|
||||
cmd:g++$secondaryArchSuffix
|
||||
cmd:make
|
||||
cmd:python2
|
||||
"
|
||||
|
||||
BUILD()
|
||||
{
|
||||
# disable docs generation until libxml package is fixed
|
||||
sed -i s/add/#add/g docs/CMakeLists.txt
|
||||
sed -i s/kdoctools/#kdoctool/g CMakeLists.txt
|
||||
|
||||
mkdir -p build
|
||||
cd build
|
||||
|
||||
cmake .. $cmakeDirArgs \
|
||||
-DKDE_INSTALL_PLUGINDIR=$addOnsDir/Qt5 \
|
||||
-DKDE_INSTALL_QTPLUGINDIR=$addOnsDir/Qt5 \
|
||||
-DECM_MKSPECS_INSTALL_DIR=$dataDir/Qt5/mkspecs \
|
||||
-DECM_DIR=/system/data/cmake/Modules/ECM/cmake
|
||||
make $jobArgs
|
||||
}
|
||||
|
||||
INSTALL()
|
||||
{
|
||||
cd build
|
||||
make install
|
||||
|
||||
prepareInstalledDevelLibs \
|
||||
libKF5KrossCore \
|
||||
libKF5KrossUi
|
||||
|
||||
packageEntries devel \
|
||||
$libDir/cmake \
|
||||
$dataDir/Qt5/mkspecs \
|
||||
$developDir
|
||||
}
|
||||
|
||||
TEST()
|
||||
{
|
||||
cd build
|
||||
make test
|
||||
}
|
||||
98
kde-frameworks/kservice/kservice-5.38.0.recipe
Normal file
98
kde-frameworks/kservice/kservice-5.38.0.recipe
Normal file
@@ -0,0 +1,98 @@
|
||||
SUMMARY="Plugin framework for desktop services"
|
||||
DESCRIPTION="KService provides a plugin framework for handling desktop \
|
||||
services. Services can be applications or libraries. They can be bound to \
|
||||
MIME types or handled by application specific code."
|
||||
HOMEPAGE="https://github.com/KDE/kservice/"
|
||||
COPYRIGHT="2010-2017 KDE Organisation"
|
||||
LICENSE="GNU LGPL v2"
|
||||
REVISION="1"
|
||||
SOURCE_URI="https://github.com/KDE/kservice/archive/v$portVersion.tar.gz"
|
||||
CHECKSUM_SHA256="91be57509766138d508dc068863c245e76a5aa233130631879772caee221c00b"
|
||||
|
||||
ARCHITECTURES="!x86_gcc2 x86_64"
|
||||
SECONDARY_ARCHITECTURES="x86"
|
||||
|
||||
PROVIDES="
|
||||
kservice$secondaryArchSuffix = $portVersion
|
||||
cmd:kbuildsycoca5$secondaryArchSuffix = $portVersion
|
||||
lib:libKF5Service$secondaryArchSuffix = $portVersion
|
||||
"
|
||||
REQUIRES="
|
||||
haiku$secondaryArchSuffix
|
||||
lib:libKF5ConfigCore$secondaryArchSuffix
|
||||
lib:libKF5CoreAddons$secondaryArchSuffix
|
||||
lib:libKF5Crash$secondaryArchSuffix
|
||||
lib:libKF5DBusAddons$secondaryArchSuffix
|
||||
lib:libKF5I18n$secondaryArchSuffix
|
||||
lib:libQt5Core$secondaryArchSuffix
|
||||
lib:libQt5DBus$secondaryArchSuffix
|
||||
lib:libQt5Xml$secondaryArchSuffix
|
||||
"
|
||||
|
||||
PROVIDES_devel="
|
||||
kservice${secondaryArchSuffix}_devel = $portVersion
|
||||
devel:libKF5Service$secondaryArchSuffix = $portVersion
|
||||
"
|
||||
REQUIRES_devel="
|
||||
kservice$secondaryArchSuffix == $portVersion base
|
||||
"
|
||||
|
||||
BUILD_REQUIRES="
|
||||
extra_cmake_modules
|
||||
haiku${secondaryArchSuffix}_devel
|
||||
devel:libKF5ConfigCore$secondaryArchSuffix
|
||||
devel:libKF5CoreAddons$secondaryArchSuffix
|
||||
devel:libKF5Crash$secondaryArchSuffix
|
||||
devel:libKF5DBusAddons$secondaryArchSuffix
|
||||
devel:libKF5I18n$secondaryArchSuffix
|
||||
devel:libQt5Core$secondaryArchSuffix
|
||||
devel:libQt5DBus$secondaryArchSuffix
|
||||
devel:libQt5Xml$secondaryArchSuffix
|
||||
"
|
||||
BUILD_PREREQUIRES="
|
||||
cmd:bison
|
||||
cmd:cmake
|
||||
cmd:flex
|
||||
cmd:g++$secondaryArchSuffix
|
||||
cmd:make
|
||||
cmd:python2
|
||||
"
|
||||
|
||||
GLOBAL_WRITABLE_FILES="
|
||||
settings/xdg/menus/applications.menu keep-old
|
||||
"
|
||||
|
||||
BUILD()
|
||||
{
|
||||
mkdir -p build
|
||||
cd build
|
||||
|
||||
# TODO: /bin/kbuildsycoca5 - Couldn't create "/boot/system/cache"
|
||||
# TODO: ECM_MKSPECS_INSTALL_DIR is not picked up unless defined
|
||||
cmake .. $cmakeDirArgs \
|
||||
-DECM_DIR=/system/data/cmake/Modules/ECM/cmake \
|
||||
-DECM_MKSPECS_INSTALL_DIR=$dataDir/Qt5/mkspecs
|
||||
make $jobArgs
|
||||
}
|
||||
|
||||
INSTALL()
|
||||
{
|
||||
cd build
|
||||
make install
|
||||
# TODO: doesn't work for some reason
|
||||
# rm -rf $settingsDir
|
||||
|
||||
prepareInstalledDevelLibs \
|
||||
libKF5Service
|
||||
|
||||
packageEntries devel \
|
||||
$libDir/cmake \
|
||||
$dataDir/Qt5/mkspecs \
|
||||
$developDir
|
||||
}
|
||||
|
||||
TEST()
|
||||
{
|
||||
cd build
|
||||
make test
|
||||
}
|
||||
108
kde-frameworks/ktextwidgets/ktextwidgets-5.38.0.recipe
Normal file
108
kde-frameworks/ktextwidgets/ktextwidgets-5.38.0.recipe
Normal file
@@ -0,0 +1,108 @@
|
||||
SUMMARY="Text editing widgets"
|
||||
DESCRIPTION="KTextWidgets provides widgets for displaying and editing text. \
|
||||
It supports rich text as well as plain text."
|
||||
HOMEPAGE="https://github.com/KDE/ktextwidgets/"
|
||||
COPYRIGHT="2010-2017 KDE Organisation"
|
||||
LICENSE="GNU LGPL v2"
|
||||
REVISION="1"
|
||||
SOURCE_URI="https://github.com/KDE/ktextwidgets/archive/v$portVersion.tar.gz"
|
||||
CHECKSUM_SHA256="e6925bdf08e7ae00f895a6d1253743114217c9a0f49c75328162dba05dcecc4d"
|
||||
|
||||
ARCHITECTURES="!x86_gcc2 x86_64"
|
||||
SECONDARY_ARCHITECTURES="x86"
|
||||
|
||||
PROVIDES="
|
||||
ktextwidgets$secondaryArchSuffix = $portVersion
|
||||
lib:libKF5TextWidgets$secondaryArchSuffix = $portVersion
|
||||
"
|
||||
REQUIRES="
|
||||
haiku$secondaryArchSuffix
|
||||
lib:libKF5Auth$secondaryArchSuffix
|
||||
lib:libKF5Codecs$secondaryArchSuffix
|
||||
lib:libKF5Completion$secondaryArchSuffix
|
||||
lib:libKF5ConfigCore$secondaryArchSuffix
|
||||
lib:libKF5ConfigGui$secondaryArchSuffix
|
||||
lib:libKF5ConfigWidgets$secondaryArchSuffix
|
||||
lib:libKF5CoreAddons$secondaryArchSuffix
|
||||
lib:libKF5I18n$secondaryArchSuffix
|
||||
lib:libKF5IconThemes$secondaryArchSuffix
|
||||
lib:libKF5Service$secondaryArchSuffix
|
||||
lib:libKF5WidgetsAddons$secondaryArchSuffix
|
||||
lib:libKF5WindowSystem$secondaryArchSuffix
|
||||
lib:libQt5Core$secondaryArchSuffix
|
||||
lib:libQt5Gui$secondaryArchSuffix
|
||||
lib:libQt5TextToSpeech$secondaryArchSuffix
|
||||
lib:libQt5Widgets$secondaryArchSuffix
|
||||
lib:libQt5Xml$secondaryArchSuffix
|
||||
lib:libKF5SonnetUi$secondaryArchSuffix
|
||||
lib:libKF5SonnetCore$secondaryArchSuffix
|
||||
"
|
||||
|
||||
PROVIDES_devel="
|
||||
ktextwidgets${secondaryArchSuffix}_devel = $portVersion
|
||||
devel:libKF5TextWidgets$secondaryArchSuffix = $portVersion
|
||||
"
|
||||
REQUIRES_devel="
|
||||
ktextwidgets$secondaryArchSuffix == $portVersion base
|
||||
"
|
||||
|
||||
BUILD_REQUIRES="
|
||||
extra_cmake_modules
|
||||
haiku${secondaryArchSuffix}_devel
|
||||
devel:libKF5Auth$secondaryArchSuffix
|
||||
devel:libKF5Codecs$secondaryArchSuffix
|
||||
devel:libKF5Completion$secondaryArchSuffix
|
||||
devel:libKF5ConfigCore$secondaryArchSuffix
|
||||
devel:libKF5ConfigGui$secondaryArchSuffix
|
||||
devel:libKF5ConfigWidgets$secondaryArchSuffix
|
||||
devel:libKF5CoreAddons$secondaryArchSuffix
|
||||
devel:libKF5I18n$secondaryArchSuffix
|
||||
devel:libKF5IconThemes$secondaryArchSuffix
|
||||
devel:libKF5Service$secondaryArchSuffix
|
||||
devel:libKF5WidgetsAddons$secondaryArchSuffix
|
||||
devel:libKF5WindowSystem$secondaryArchSuffix
|
||||
devel:libQt5Core$secondaryArchSuffix
|
||||
devel:libQt5Gui$secondaryArchSuffix
|
||||
devel:libQt5TextToSpeech$secondaryArchSuffix
|
||||
devel:libQt5Widgets$secondaryArchSuffix
|
||||
devel:libQt5Xml$secondaryArchSuffix
|
||||
devel:libKF5SonnetUi$secondaryArchSuffix
|
||||
devel:libKF5SonnetCore$secondaryArchSuffix
|
||||
"
|
||||
BUILD_PREREQUIRES="
|
||||
cmd:cmake
|
||||
cmd:g++$secondaryArchSuffix
|
||||
cmd:make
|
||||
cmd:python2
|
||||
"
|
||||
|
||||
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 \
|
||||
libKF5TextWidgets
|
||||
|
||||
packageEntries devel \
|
||||
$libDir/cmake \
|
||||
$dataDir/Qt5/mkspecs \
|
||||
$developDir
|
||||
}
|
||||
|
||||
TEST()
|
||||
{
|
||||
cd build
|
||||
make test
|
||||
}
|
||||
104
kde-frameworks/kunitconversion/kunitconversion-5.38.0.recipe
Normal file
104
kde-frameworks/kunitconversion/kunitconversion-5.38.0.recipe
Normal file
@@ -0,0 +1,104 @@
|
||||
SUMMARY="Converting physical units"
|
||||
DESCRIPTION="KUnitConversion provides functions to convert values in \
|
||||
different physical units. It supports converting different prefixes \
|
||||
(e.g. kilo, mega, giga) as well as converting between different unit \
|
||||
systems (e.g. liters, gallons). The following areas are supported:
|
||||
|
||||
* Acceleration
|
||||
* Angle
|
||||
* Area
|
||||
* Currency
|
||||
* Density
|
||||
* Electrical Current
|
||||
* Electrical Resistance
|
||||
* Energy
|
||||
* Force
|
||||
* Frequency
|
||||
* Fuel efficiency
|
||||
* Length
|
||||
* Mass
|
||||
* Power
|
||||
* Pressure
|
||||
* Temperature
|
||||
* Thermal Conductivity
|
||||
* Thermal Flux
|
||||
* Thermal Generation
|
||||
* Time
|
||||
* Velocity
|
||||
* Volume
|
||||
* Voltage"
|
||||
HOMEPAGE="https://github.com/KDE/kunitconversion/"
|
||||
COPYRIGHT="2010-2017 KDE Organisation"
|
||||
LICENSE="GNU LGPL v2"
|
||||
REVISION="1"
|
||||
SOURCE_URI="https://github.com/KDE/kunitconversion/archive/v$portVersion.tar.gz"
|
||||
CHECKSUM_SHA256="7148532aac31ed05904599705413d67c67656d8ffa863ca90091d2f994a9d988"
|
||||
|
||||
ARCHITECTURES="!x86_gcc2 x86_64"
|
||||
SECONDARY_ARCHITECTURES="x86"
|
||||
|
||||
PROVIDES="
|
||||
kunitconversion$secondaryArchSuffix = $portVersion
|
||||
lib:libKF5UnitConversion$secondaryArchSuffix = $portVersion
|
||||
"
|
||||
REQUIRES="
|
||||
haiku$secondaryArchSuffix
|
||||
lib:libKF5I18n$secondaryArchSuffix
|
||||
lib:libQt5Core$secondaryArchSuffix
|
||||
lib:libQt5Network$secondaryArchSuffix
|
||||
lib:libQt5Xml$secondaryArchSuffix
|
||||
"
|
||||
|
||||
PROVIDES_devel="
|
||||
kunitconversion${secondaryArchSuffix}_devel = $portVersion
|
||||
devel:libKF5UnitConversion$secondaryArchSuffix = $portVersion
|
||||
"
|
||||
REQUIRES_devel="
|
||||
kunitconversion$secondaryArchSuffix == $portVersion base
|
||||
"
|
||||
|
||||
BUILD_REQUIRES="
|
||||
extra_cmake_modules
|
||||
haiku${secondaryArchSuffix}_devel
|
||||
devel:libKF5I18n$secondaryArchSuffix
|
||||
devel:libQt5Core$secondaryArchSuffix
|
||||
devel:libQt5Network$secondaryArchSuffix
|
||||
devel:libQt5Xml$secondaryArchSuffix
|
||||
"
|
||||
BUILD_PREREQUIRES="
|
||||
cmd:cmake
|
||||
cmd:g++$secondaryArchSuffix
|
||||
cmd:make
|
||||
cmd:python2
|
||||
"
|
||||
|
||||
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 \
|
||||
libKF5UnitConversion
|
||||
|
||||
packageEntries devel \
|
||||
$libDir/cmake \
|
||||
$dataDir/Qt5/mkspecs \
|
||||
$developDir
|
||||
}
|
||||
|
||||
TEST()
|
||||
{
|
||||
cd build
|
||||
make test
|
||||
}
|
||||
111
kde-frameworks/kwallet/kwallet-5.38.0.recipe
Normal file
111
kde-frameworks/kwallet/kwallet-5.38.0.recipe
Normal file
@@ -0,0 +1,111 @@
|
||||
SUMMARY="The KWallet Framework"
|
||||
DESCRIPTION="Safe desktop-wide storage for passwords."
|
||||
HOMEPAGE="https://github.com/KDE/kwallet/"
|
||||
COPYRIGHT="2010-2017 KDE Organisation"
|
||||
LICENSE="GNU LGPL v2"
|
||||
REVISION="1"
|
||||
SOURCE_URI="https://github.com/KDE/kwallet/archive/v$portVersion.tar.gz"
|
||||
CHECKSUM_SHA256="e01457cce78e4720195b55c88f8ba8b0add1841823fafa2d091c5a254acb56a7"
|
||||
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
|
||||
lib:libkwalletbackend5$secondaryArchSuffix = $portVersion
|
||||
"
|
||||
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
|
||||
"
|
||||
REQUIRES_devel="
|
||||
kwallet$secondaryArchSuffix == $portVersion base
|
||||
"
|
||||
|
||||
BUILD_REQUIRES="
|
||||
extra_cmake_modules
|
||||
haiku${secondaryArchSuffix}_devel
|
||||
devel:libgcrypt$secondaryArchSuffix
|
||||
devel:libKF5Auth$secondaryArchSuffix
|
||||
devel:libKF5Codecs$secondaryArchSuffix
|
||||
devel:libKF5ConfigCore$secondaryArchSuffix
|
||||
devel:libKF5ConfigGui$secondaryArchSuffix
|
||||
devel:libKF5ConfigWidgets$secondaryArchSuffix
|
||||
devel:libKF5CoreAddons$secondaryArchSuffix
|
||||
devel:libKF5DBusAddons$secondaryArchSuffix
|
||||
devel:libKF5I18n$secondaryArchSuffix
|
||||
devel:libKF5IconThemes$secondaryArchSuffix
|
||||
devel:libKF5Notifications$secondaryArchSuffix
|
||||
devel:libKF5Service$secondaryArchSuffix
|
||||
devel:libKF5WidgetsAddons$secondaryArchSuffix
|
||||
devel:libKF5WindowSystem$secondaryArchSuffix
|
||||
devel:libQt5Core$secondaryArchSuffix
|
||||
devel:libQt5DBus$secondaryArchSuffix
|
||||
devel:libQt5Gui$secondaryArchSuffix
|
||||
devel:libQt5Widgets$secondaryArchSuffix
|
||||
devel:libQt5Xml$secondaryArchSuffix
|
||||
"
|
||||
BUILD_PREREQUIRES="
|
||||
cmd:cmake
|
||||
cmd:g++$secondaryArchSuffix
|
||||
cmd:make
|
||||
cmd:python2
|
||||
"
|
||||
|
||||
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
|
||||
|
||||
packageEntries devel \
|
||||
$libDir/cmake \
|
||||
$dataDir/Qt5/mkspecs \
|
||||
$developDir
|
||||
}
|
||||
|
||||
TEST()
|
||||
{
|
||||
cd build
|
||||
make test
|
||||
}
|
||||
24
kde-frameworks/kwallet/patches/kwallet-5.38.0.patchset
Normal file
24
kde-frameworks/kwallet/patches/kwallet-5.38.0.patchset
Normal file
@@ -0,0 +1,24 @@
|
||||
From cd61a3b5dee0e87b2ead38dd23210f2e9441441a Mon Sep 17 00:00:00 2001
|
||||
From: Sergei Reznikov <diver@gelios.net>
|
||||
Date: Mon, 25 Sep 2017 19:31:57 +0300
|
||||
Subject: Fix build on Haiku
|
||||
|
||||
|
||||
diff --git a/src/runtime/kwalletd/CMakeLists.txt b/src/runtime/kwalletd/CMakeLists.txt
|
||||
index 3f2a1de..4e09b03 100644
|
||||
--- a/src/runtime/kwalletd/CMakeLists.txt
|
||||
+++ b/src/runtime/kwalletd/CMakeLists.txt
|
||||
@@ -96,6 +96,10 @@ install(FILES ${CMAKE_CURRENT_SOURCE_DIR}/org.kde.kwalletd.service
|
||||
|
||||
add_executable( kwalletd5 ${kwalletd_SRCS} )
|
||||
|
||||
+if (HAIKU)
|
||||
+ target_link_libraries(kwalletd5 network)
|
||||
+endif ()
|
||||
+
|
||||
target_link_libraries(kwalletd5
|
||||
kwalletbackend5
|
||||
KF5Wallet
|
||||
--
|
||||
2.13.1
|
||||
|
||||
77
kde-frameworks/kwidgetsaddons/kwidgetsaddons-5.38.0.recipe
Normal file
77
kde-frameworks/kwidgetsaddons/kwidgetsaddons-5.38.0.recipe
Normal file
@@ -0,0 +1,77 @@
|
||||
SUMMARY="Large set of desktop widgets"
|
||||
DESCRIPTION="This repository contains add-on widgets and classes for \
|
||||
applications that use the Qt Widgets module. If you are porting applications \
|
||||
from KDE Platform 4 "kdeui" library, you will find many of its classes here.
|
||||
|
||||
Provided are action classes that can be added to toolbars or menus, a wide \
|
||||
range of widgets for selecting characters, fonts, colors, actions, dates and \
|
||||
times, or MIME types, as well as platform-aware dialogs for configuration \
|
||||
pages, message boxes, and password requests."
|
||||
HOMEPAGE="https://github.com/KDE/kwidgetsaddons/"
|
||||
COPYRIGHT="2010-2017 KDE Organisation"
|
||||
LICENSE="GNU LGPL v2"
|
||||
REVISION="1"
|
||||
SOURCE_URI="https://github.com/KDE/kwidgetsaddons/archive/v$portVersion.tar.gz"
|
||||
CHECKSUM_SHA256="d8ce2de85b063dd79a9a843875845c949a887f5424a75ccf22e7e0582ddc6690"
|
||||
|
||||
ARCHITECTURES="!x86_gcc2 x86_64"
|
||||
SECONDARY_ARCHITECTURES="x86"
|
||||
|
||||
PROVIDES="
|
||||
kwidgetsaddons$secondaryArchSuffix = $portVersion
|
||||
lib:libKF5WidgetsAddons$secondaryArchSuffix = $portVersion
|
||||
"
|
||||
REQUIRES="
|
||||
haiku$secondaryArchSuffix
|
||||
lib:libQt5Core$secondaryArchSuffix
|
||||
lib:libQt5Gui$secondaryArchSuffix
|
||||
lib:libQt5Xml$secondaryArchSuffix
|
||||
"
|
||||
|
||||
PROVIDES_devel="
|
||||
kwidgetsaddons${secondaryArchSuffix}_devel = $portVersion
|
||||
devel:libKF5WidgetsAddons$secondaryArchSuffix = $portVersion
|
||||
"
|
||||
REQUIRES_devel="
|
||||
kwidgetsaddons$secondaryArchSuffix == $portVersion base
|
||||
"
|
||||
|
||||
BUILD_REQUIRES="
|
||||
extra_cmake_modules
|
||||
haiku${secondaryArchSuffix}_devel
|
||||
devel:libQt5Core$secondaryArchSuffix
|
||||
"
|
||||
BUILD_PREREQUIRES="
|
||||
cmd:cmake
|
||||
cmd:g++$secondaryArchSuffix
|
||||
cmd:make
|
||||
"
|
||||
|
||||
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 \
|
||||
libKF5WidgetsAddons
|
||||
packageEntries devel \
|
||||
$libDir/cmake \
|
||||
$dataDir/Qt5/mkspecs \
|
||||
$developDir
|
||||
}
|
||||
|
||||
TEST()
|
||||
{
|
||||
cd build
|
||||
make test
|
||||
}
|
||||
81
kde-frameworks/kwindowsystem/kwindowsystem-5.38.0.recipe
Normal file
81
kde-frameworks/kwindowsystem/kwindowsystem-5.38.0.recipe
Normal file
@@ -0,0 +1,81 @@
|
||||
SUMMARY="Access to the windowing system"
|
||||
DESCRIPTION="Convenience access to certain properties and features of the \
|
||||
windowing system.
|
||||
|
||||
KWindowSystem provides information about the windowing system and allows \
|
||||
interaction with the windowing system. It provides an high level API which \
|
||||
is windowing system independent and has platform specific implementations. \
|
||||
This API is inspired by X11 and thus not all functionality is available \
|
||||
on all windowing systems.
|
||||
|
||||
In addition to the high level API, this framework also provides several \
|
||||
more low level classes for interaction with the X Windowing System."
|
||||
HOMEPAGE="https://github.com/KDE/kwindowsystem/"
|
||||
COPYRIGHT="2010-2017 KDE Organisation"
|
||||
LICENSE="GNU LGPL v2"
|
||||
REVISION="1"
|
||||
SOURCE_URI="https://github.com/KDE/kwindowsystem/archive/v$portVersion.tar.gz"
|
||||
CHECKSUM_SHA256="5d2a8c6558fe89b3ee6910a09014b6f1ffef3ac89f7bb604eb87bd4b6f2f71cd"
|
||||
|
||||
ARCHITECTURES="!x86_gcc2 x86_64"
|
||||
SECONDARY_ARCHITECTURES="x86"
|
||||
|
||||
PROVIDES="
|
||||
kwindowsystem$secondaryArchSuffix = $portVersion
|
||||
lib:libKF5WindowSystem$secondaryArchSuffix = $portVersion
|
||||
"
|
||||
REQUIRES="
|
||||
haiku$secondaryArchSuffix
|
||||
lib:libQt5Core$secondaryArchSuffix
|
||||
"
|
||||
|
||||
PROVIDES_devel="
|
||||
kwindowsystem${secondaryArchSuffix}_devel = $portVersion
|
||||
devel:libKF5WindowSystem$secondaryArchSuffix = $portVersion
|
||||
"
|
||||
REQUIRES_devel="
|
||||
kwindowsystem$secondaryArchSuffix == $portVersion base
|
||||
"
|
||||
|
||||
BUILD_REQUIRES="
|
||||
extra_cmake_modules
|
||||
haiku${secondaryArchSuffix}_devel
|
||||
devel:libQt5Core$secondaryArchSuffix
|
||||
"
|
||||
BUILD_PREREQUIRES="
|
||||
cmd:cmake
|
||||
cmd:g++$secondaryArchSuffix
|
||||
cmd:make
|
||||
"
|
||||
|
||||
BUILD()
|
||||
{
|
||||
mkdir -p build
|
||||
cd build
|
||||
|
||||
cmake .. $cmakeDirArgs \
|
||||
-DKDE_INSTALL_PLUGINDIR=$addOnsDir/Qt5 \
|
||||
-DECM_MKSPECS_INSTALL_DIR=$dataDir/Qt5/mkspecs \
|
||||
-DECM_DIR=/system/data/cmake/Modules/ECM/cmake
|
||||
make $jobArgs
|
||||
}
|
||||
|
||||
INSTALL()
|
||||
{
|
||||
cd build
|
||||
make install
|
||||
|
||||
prepareInstalledDevelLibs \
|
||||
libKF5WindowSystem
|
||||
|
||||
packageEntries devel \
|
||||
$libDir/cmake \
|
||||
$dataDir/Qt5/mkspecs \
|
||||
$developDir
|
||||
}
|
||||
|
||||
TEST()
|
||||
{
|
||||
cd build
|
||||
make test
|
||||
}
|
||||
120
kde-frameworks/kxmlgui/kxmlgui-5.38.0.recipe
Normal file
120
kde-frameworks/kxmlgui/kxmlgui-5.38.0.recipe
Normal file
@@ -0,0 +1,120 @@
|
||||
SUMMARY="Framework for managing menu and toolbar actions"
|
||||
DESCRIPTION="KXMLGUI provides a framework for managing menu and toolbar \
|
||||
actions in an abstract way. The actions are configured through a XML \
|
||||
description and hooks in the application code. The framework supports \
|
||||
merging of multiple description for example for integrating actions from \
|
||||
plugins."
|
||||
HOMEPAGE="https://github.com/KDE/kxmlgui/"
|
||||
COPYRIGHT="2010-2017 KDE Organisation"
|
||||
LICENSE="GNU LGPL v2"
|
||||
REVISION="1"
|
||||
SOURCE_URI="https://github.com/KDE/kxmlgui/archive/v$portVersion.tar.gz"
|
||||
CHECKSUM_SHA256="a857d3cfee3bf026e3b1aad3594567a233af59ff927ec8971a4de2841b839c62"
|
||||
|
||||
ARCHITECTURES="!x86_gcc2 x86_64"
|
||||
SECONDARY_ARCHITECTURES="x86"
|
||||
|
||||
PROVIDES="
|
||||
kxmlgui$secondaryArchSuffix = $portVersion
|
||||
lib:libKF5XmlGui$secondaryArchSuffix = $portVersion
|
||||
"
|
||||
REQUIRES="
|
||||
haiku$secondaryArchSuffix
|
||||
# lib:libKF5Attica$secondaryArchSuffix
|
||||
lib:libKF5Auth$secondaryArchSuffix
|
||||
lib:libKF5Codecs$secondaryArchSuffix
|
||||
lib:libKF5ConfigCore$secondaryArchSuffix
|
||||
lib:libKF5ConfigGui$secondaryArchSuffix
|
||||
lib:libKF5ConfigWidgets$secondaryArchSuffix
|
||||
lib:libKF5CoreAddons$secondaryArchSuffix
|
||||
lib:libKF5GlobalAccel$secondaryArchSuffix
|
||||
lib:libKF5I18n$secondaryArchSuffix
|
||||
lib:libKF5IconThemes$secondaryArchSuffix
|
||||
lib:libKF5ItemViews$secondaryArchSuffix
|
||||
lib:libKF5SonnetUi$secondaryArchSuffix
|
||||
lib:libKF5TextWidgets$secondaryArchSuffix
|
||||
lib:libKF5WindowSystem$secondaryArchSuffix
|
||||
lib:libKF5WidgetsAddons$secondaryArchSuffix
|
||||
lib:libQt5Core$secondaryArchSuffix
|
||||
lib:libQt5DBus$secondaryArchSuffix
|
||||
lib:libQt5Gui$secondaryArchSuffix
|
||||
lib:libQt5Network$secondaryArchSuffix
|
||||
lib:libQt5PrintSupport$secondaryArchSuffix
|
||||
lib:libQt5Widgets$secondaryArchSuffix
|
||||
lib:libQt5Xml$secondaryArchSuffix
|
||||
"
|
||||
|
||||
PROVIDES_devel="
|
||||
kxmlgui${secondaryArchSuffix}_devel = $portVersion
|
||||
devel:libKF5XmlGui$secondaryArchSuffix = $portVersion
|
||||
"
|
||||
REQUIRES_devel="
|
||||
kxmlgui$secondaryArchSuffix == $portVersion base
|
||||
"
|
||||
|
||||
BUILD_REQUIRES="
|
||||
extra_cmake_modules
|
||||
haiku${secondaryArchSuffix}_devel
|
||||
devel:libKF5Auth$secondaryArchSuffix
|
||||
devel:libKF5Codecs$secondaryArchSuffix
|
||||
devel:libKF5ConfigCore$secondaryArchSuffix
|
||||
devel:libKF5ConfigGui$secondaryArchSuffix
|
||||
devel:libKF5ConfigWidgets$secondaryArchSuffix
|
||||
devel:libKF5CoreAddons$secondaryArchSuffix
|
||||
devel:libKF5GlobalAccel$secondaryArchSuffix
|
||||
devel:libKF5I18n$secondaryArchSuffix
|
||||
devel:libKF5IconThemes$secondaryArchSuffix
|
||||
devel:libKF5ItemViews$secondaryArchSuffix
|
||||
devel:libKF5SonnetUi$secondaryArchSuffix
|
||||
devel:libkf5textwidgets$secondaryArchSuffix
|
||||
devel:libKF5WindowSystem$secondaryArchSuffix
|
||||
devel:libKF5WidgetsAddons$secondaryArchSuffix
|
||||
devel:libQt5Core$secondaryArchSuffix
|
||||
devel:libQt5DBus$secondaryArchSuffix
|
||||
devel:libQt5Gui$secondaryArchSuffix
|
||||
devel:libQt5Network$secondaryArchSuffix
|
||||
devel:libQt5PrintSupport$secondaryArchSuffix
|
||||
devel:libQt5Widgets$secondaryArchSuffix
|
||||
devel:libQt5Xml$secondaryArchSuffix
|
||||
"
|
||||
BUILD_PREREQUIRES="
|
||||
cmd:cmake
|
||||
cmd:g++$secondaryArchSuffix
|
||||
cmd:make
|
||||
cmd:python2
|
||||
"
|
||||
|
||||
GLOBAL_WRITABLE_FILES="
|
||||
settings/xdg/ui/ui_standards.rc keep-old
|
||||
"
|
||||
|
||||
BUILD()
|
||||
{
|
||||
mkdir -p build
|
||||
cd build
|
||||
|
||||
cmake .. $cmakeDirArgs \
|
||||
-DECM_DIR=/system/data/cmake/Modules/ECM/cmake \
|
||||
-DECM_MKSPECS_INSTALL_DIR=$dataDir/Qt5/mkspecs
|
||||
make $jobArgs
|
||||
}
|
||||
|
||||
INSTALL()
|
||||
{
|
||||
cd build
|
||||
make install
|
||||
|
||||
prepareInstalledDevelLibs \
|
||||
libKF5XmlGui
|
||||
|
||||
packageEntries devel \
|
||||
$libDir/cmake \
|
||||
$dataDir/Qt5/mkspecs \
|
||||
$developDir
|
||||
}
|
||||
|
||||
TEST()
|
||||
{
|
||||
cd build
|
||||
make test
|
||||
}
|
||||
59
kde-frameworks/oxygen-icons/oxygen_icons-5.38.0~git.recipe
Normal file
59
kde-frameworks/oxygen-icons/oxygen_icons-5.38.0~git.recipe
Normal file
@@ -0,0 +1,59 @@
|
||||
SUMMARY="Oxygen icon theme"
|
||||
DESCRIPTION="Oxygen-icons is a freedesktop.org compatible icon theme."
|
||||
HOMEPAGE="https://github.com/KDE/oxygen-icons/"
|
||||
COPYRIGHT="2010-2017 KDE Organisation"
|
||||
LICENSE="GNU LGPL v2"
|
||||
REVISION="1"
|
||||
COMMIT="bff159d338fe08be09146a5ee17b9b6efa8a2c8d"
|
||||
SOURCE_URI="https://github.com/KDE/oxygen-icons/archive/$COMMIT.zip"
|
||||
CHECKSUM_SHA256="cf182fd91c55f8b39385094889988252130b3f2ae0da3ec68899d2043572f9f0"
|
||||
SOURCE_DIR="oxygen-icons-$COMMIT"
|
||||
|
||||
ARCHITECTURES="!x86_gcc2 x86_64"
|
||||
SECONDARY_ARCHITECTURES="x86"
|
||||
|
||||
PROVIDES="
|
||||
oxygen_icons$secondaryArchSuffix = $portVersion
|
||||
"
|
||||
REQUIRES="
|
||||
haiku$secondaryArchSuffix
|
||||
"
|
||||
|
||||
BUILD_REQUIRES="
|
||||
extra_cmake_modules
|
||||
haiku${secondaryArchSuffix}_devel
|
||||
devel:libQt5Core$secondaryArchSuffix
|
||||
"
|
||||
BUILD_PREREQUIRES="
|
||||
cmd:cmake
|
||||
cmd:find
|
||||
cmd:gcc$secondaryArchSuffix
|
||||
cmd:make
|
||||
"
|
||||
|
||||
BUILD()
|
||||
{
|
||||
mkdir -p build
|
||||
cd build
|
||||
|
||||
cmake .. $cmakeDirArgs \
|
||||
-DECM_MKSPECS_INSTALL_DIR=$dataDir/Qt5/mkspecs \
|
||||
-DECM_DIR=/system/data/cmake/Modules/ECM/cmake \
|
||||
-DBINARY_ICONS_RESOURCE=OFF
|
||||
|
||||
make $jobArgs
|
||||
}
|
||||
|
||||
INSTALL()
|
||||
{
|
||||
|
||||
# skip png and install only svg icons
|
||||
find scalable -type f ! -name '*.sh' -exec \
|
||||
install -D -m644 "{}" $dataDir/icons/oxygen/{} \;
|
||||
}
|
||||
|
||||
TEST()
|
||||
{
|
||||
cd build
|
||||
make test
|
||||
}
|
||||
22
kde-frameworks/phonon/patches/phonon-4.9.1.patchset
Normal file
22
kde-frameworks/phonon/patches/phonon-4.9.1.patchset
Normal file
@@ -0,0 +1,22 @@
|
||||
From 0644f983549e68bff62f6303b3a1a3f04c8d4bfd Mon Sep 17 00:00:00 2001
|
||||
From: Gerasim Troeglazov <3dEyes@gmail.com>
|
||||
Date: Sat, 7 Oct 2017 15:38:16 +1000
|
||||
Subject: Fix include directory
|
||||
|
||||
|
||||
diff --git a/cmake/FindPhononInternal.cmake b/cmake/FindPhononInternal.cmake
|
||||
index 020d1d4..71585da 100644
|
||||
--- a/cmake/FindPhononInternal.cmake
|
||||
+++ b/cmake/FindPhononInternal.cmake
|
||||
@@ -67,7 +67,7 @@ include(GNUInstallDirs)
|
||||
set(SHARE_INSTALL_PREFIX "${CMAKE_INSTALL_FULL_DATAROOTDIR}") # CACHE PATH "Base directory for files which go to share/")
|
||||
set(INCLUDE_INSTALL_DIR "include" ) # CACHE PATH "The subdirectory to the header prefix")
|
||||
if (PHONON_BUILD_PHONON4QT5)
|
||||
- set(INCLUDE_INSTALL_DIR "include/${PHONON_LIB_SONAME}" ) # CACHE PATH "The subdirectory to the header prefix")
|
||||
+ set(INCLUDE_INSTALL_DIR "${CMAKE_INSTALL_INCLUDEDIR}/${PHONON_LIB_SONAME}" ) # CACHE PATH "The subdirectory to the header prefix")
|
||||
endif (PHONON_BUILD_PHONON4QT5)
|
||||
set(BIN_INSTALL_DIR "bin" ) # CACHE PATH "The install dir for executables (default ${EXEC_INSTALL_PREFIX}/bin)")
|
||||
set(LIB_INSTALL_DIR "${CMAKE_INSTALL_LIBDIR}" ) # CACHE PATH "The subdirectory relative to the install prefix where libraries will be installed"
|
||||
--
|
||||
2.13.1
|
||||
|
||||
88
kde-frameworks/phonon/phonon-4.9.1.recipe
Normal file
88
kde-frameworks/phonon/phonon-4.9.1.recipe
Normal file
@@ -0,0 +1,88 @@
|
||||
SUMMARY="A multimedia library"
|
||||
DESCRIPTION="The Phonon multimedia library."
|
||||
HOMEPAGE="https://github.com/KDE/phonon/"
|
||||
COPYRIGHT="2010-2017 KDE Organisation"
|
||||
LICENSE="GNU LGPL v2"
|
||||
REVISION="1"
|
||||
SOURCE_URI="https://github.com/KDE/phonon/archive/v$portVersion.tar.gz"
|
||||
CHECKSUM_SHA256="89da6289298a6a11bf9a82c28f7e09cff1612b9ade747600f3988af2631dc10f"
|
||||
PATCHES="phonon-$portVersion.patchset"
|
||||
|
||||
ARCHITECTURES="!x86_gcc2 x86_64"
|
||||
SECONDARY_ARCHITECTURES="x86"
|
||||
|
||||
PROVIDES="
|
||||
phonon$secondaryArchSuffix = $portVersion
|
||||
lib:libphonon4qt5$secondaryArchSuffix = $portVersion
|
||||
lib:libphonon4qt5experimental$secondaryArchSuffix = $portVersion
|
||||
"
|
||||
REQUIRES="
|
||||
haiku$secondaryArchSuffix
|
||||
lib:libQt5Core$secondaryArchSuffix
|
||||
lib:libQt5DBus$secondaryArchSuffix
|
||||
lib:libQt5Gui$secondaryArchSuffix
|
||||
lib:libQt5Widgets$secondaryArchSuffix
|
||||
"
|
||||
|
||||
PROVIDES_devel="
|
||||
phonon${secondaryArchSuffix}_devel = $portVersion
|
||||
devel:libphonon4qt5$secondaryArchSuffix = $portVersion
|
||||
devel:libphonon4qt5experimental$secondaryArchSuffix = $portVersion
|
||||
"
|
||||
REQUIRES_devel="
|
||||
phonon$secondaryArchSuffix == $portVersion base
|
||||
"
|
||||
|
||||
BUILD_REQUIRES="
|
||||
extra_cmake_modules
|
||||
haiku${secondaryArchSuffix}_devel
|
||||
devel:libQt5Core$secondaryArchSuffix
|
||||
devel:libQt5DBus$secondaryArchSuffix
|
||||
devel:libQt5Gui$secondaryArchSuffix
|
||||
devel:libQt5Widgets$secondaryArchSuffix
|
||||
"
|
||||
BUILD_PREREQUIRES="
|
||||
cmd:cmake
|
||||
cmd:g++$secondaryArchSuffix
|
||||
cmd:make
|
||||
"
|
||||
|
||||
BUILD()
|
||||
{
|
||||
mkdir -p build
|
||||
cd build
|
||||
|
||||
cmake .. $cmakeDirArgs \
|
||||
-DPHONON_BUILD_PHONON4QT5=ON \
|
||||
-DPHONON_INSTALL_QT_EXTENSIONS_INTO_SYSTEM_QT=OFF \
|
||||
-DPHONON_QT_PLUGIN_INSTALL_DIR=$addOnsDir/Qt5/designer \
|
||||
-DPHONON_QT_IMPORTS_INSTALL_DIR=$dataDir/Qt5/imports \
|
||||
-DPHONON_QT_MKSPECS_INSTALL_DIR=$dataDir/Qt5/mkspecs/modules \
|
||||
-DCMAKE_INSTALL_INCLUDEDIR=$includeDir \
|
||||
-DECM_MKSPECS_INSTALL_DIR=$dataDir/Qt5/mkspecs \
|
||||
-DECM_DIR=/system/data/cmake/Modules/ECM/cmake
|
||||
make $jobArgs
|
||||
}
|
||||
|
||||
INSTALL()
|
||||
{
|
||||
cd build
|
||||
make install
|
||||
|
||||
prepareInstalledDevelLibs \
|
||||
libphonon4qt5 \
|
||||
libphonon4qt5experimental
|
||||
|
||||
fixPkgconfig
|
||||
|
||||
packageEntries devel \
|
||||
$libDir/cmake \
|
||||
$dataDir/Qt5/mkspecs \
|
||||
$developDir
|
||||
}
|
||||
|
||||
TEST()
|
||||
{
|
||||
cd build
|
||||
make test
|
||||
}
|
||||
25
kde-frameworks/solid/patches/solid-5.38.0.patchset
Normal file
25
kde-frameworks/solid/patches/solid-5.38.0.patchset
Normal file
@@ -0,0 +1,25 @@
|
||||
From edcd8e46ed3c76b6adbef9d25137d8e0cfacde5e Mon Sep 17 00:00:00 2001
|
||||
From: Sergei Reznikov <diver@gelios.net>
|
||||
Date: Sun, 24 Sep 2017 19:49:03 +0300
|
||||
Subject: Fix build on Haiku
|
||||
|
||||
|
||||
diff --git a/src/solid/devices/CMakeLists.txt b/src/solid/devices/CMakeLists.txt
|
||||
index cfb4f72..5debea7 100644
|
||||
--- a/src/solid/devices/CMakeLists.txt
|
||||
+++ b/src/solid/devices/CMakeLists.txt
|
||||
@@ -114,9 +114,11 @@ if(NOT WIN32 AND NOT APPLE)
|
||||
include(devices/backends/udisks2/CMakeLists.txt)
|
||||
endif ()
|
||||
|
||||
+if(NOT HAIKU)
|
||||
message(STATUS "Building Solid fstab backend." )
|
||||
include(devices/backends/fstab/CMakeLists.txt)
|
||||
|
||||
+endif(NOT HAIKU)
|
||||
if (NOT CMAKE_SYSTEM_NAME MATCHES Linux)
|
||||
message(STATUS "Building Solid HAL backend." )
|
||||
include(devices/backends/hal/CMakeLists.txt)
|
||||
--
|
||||
2.13.1
|
||||
|
||||
87
kde-frameworks/solid/solid-5.38.0.recipe
Normal file
87
kde-frameworks/solid/solid-5.38.0.recipe
Normal file
@@ -0,0 +1,87 @@
|
||||
SUMMARY="Desktop hardware abstraction"
|
||||
DESCRIPTION="Solid is a device integration framework. It provides a way of \
|
||||
querying and interacting with hardware independently of the underlying \
|
||||
operating system.
|
||||
|
||||
It provides the following features for application developers:
|
||||
|
||||
* Hardware Discovery
|
||||
* Power Management
|
||||
* Network Management"
|
||||
HOMEPAGE="https://github.com/KDE/solid/"
|
||||
COPYRIGHT="2010-2017 KDE Organisation"
|
||||
LICENSE="GNU LGPL v2"
|
||||
REVISION="1"
|
||||
SOURCE_URI="https://github.com/KDE/solid/archive/v$portVersion.tar.gz"
|
||||
CHECKSUM_SHA256="7f1dfe1610fae4e1124e36e128526e88f97d0b68fcebe6a7896f761f911fd5a4"
|
||||
PATCHES="solid-$portVersion.patchset"
|
||||
|
||||
ARCHITECTURES="!x86_gcc2 x86_64"
|
||||
SECONDARY_ARCHITECTURES="x86"
|
||||
|
||||
PROVIDES="
|
||||
solid$secondaryArchSuffix = $portVersion
|
||||
cmd:solid_hardware5$secondaryArchSuffix = $portVersion
|
||||
lib:libKF5Solid$secondaryArchSuffix = $portVersion
|
||||
"
|
||||
REQUIRES="
|
||||
haiku$secondaryArchSuffix
|
||||
lib:libQt5Core$secondaryArchSuffix
|
||||
lib:libQt5DBus$secondaryArchSuffix
|
||||
lib:libQt5Gui$secondaryArchSuffix
|
||||
lib:libQt5Widgets$secondaryArchSuffix
|
||||
lib:libQt5Xml$secondaryArchSuffix
|
||||
"
|
||||
|
||||
PROVIDES_devel="
|
||||
solid${secondaryArchSuffix}_devel = $portVersion
|
||||
devel:libKF5Solid$secondaryArchSuffix = $portVersion
|
||||
"
|
||||
REQUIRES_devel="
|
||||
solid$secondaryArchSuffix == $portVersion base
|
||||
"
|
||||
|
||||
BUILD_REQUIRES="
|
||||
extra_cmake_modules
|
||||
haiku${secondaryArchSuffix}_devel
|
||||
devel:libQt5Core$secondaryArchSuffix
|
||||
"
|
||||
BUILD_PREREQUIRES="
|
||||
cmd:bison
|
||||
cmd:cmake
|
||||
cmd:flex
|
||||
cmd:g++$secondaryArchSuffix
|
||||
cmd:make
|
||||
"
|
||||
|
||||
BUILD()
|
||||
{
|
||||
mkdir -p build
|
||||
cd build
|
||||
|
||||
cmake .. $cmakeDirArgs \
|
||||
-DKDE_INSTALL_QMLDIR=$dataDir/Qt5/qml \
|
||||
-DECM_MKSPECS_INSTALL_DIR=$dataDir/Qt5/mkspecs \
|
||||
-DECM_DIR=/system/data/cmake/Modules/ECM/cmake
|
||||
make $jobArgs
|
||||
}
|
||||
|
||||
INSTALL()
|
||||
{
|
||||
cd build
|
||||
make install
|
||||
|
||||
prepareInstalledDevelLibs \
|
||||
libKF5Solid
|
||||
|
||||
packageEntries devel \
|
||||
$libDir/cmake \
|
||||
$dataDir/Qt5/mkspecs \
|
||||
$developDir
|
||||
}
|
||||
|
||||
TEST()
|
||||
{
|
||||
cd build
|
||||
make test
|
||||
}
|
||||
94
kde-frameworks/sonnet/sonnet-5.38.0.recipe
Normal file
94
kde-frameworks/sonnet/sonnet-5.38.0.recipe
Normal file
@@ -0,0 +1,94 @@
|
||||
SUMMARY="Multi-language spell checker"
|
||||
DESCRIPTION="Sonnet is a plugin-based spell checking library for Qt-based \
|
||||
applications. It supports several different plugins, including HSpell, \
|
||||
Enchant, ASpell and HUNSPELL.
|
||||
|
||||
It also supports automated language detection, based on a combination of \
|
||||
different algorithms.
|
||||
|
||||
The simplest way to use Sonnet in your application is to use the \
|
||||
SpellCheckDecorator class on your QTextEdit."
|
||||
HOMEPAGE="https://github.com/KDE/sonnet/"
|
||||
COPYRIGHT="2010-2017 KDE Organisation"
|
||||
LICENSE="GNU LGPL v2"
|
||||
REVISION="1"
|
||||
SOURCE_URI="https://github.com/KDE/sonnet/archive/v$portVersion.tar.gz"
|
||||
CHECKSUM_SHA256="6b222d061e35dc89f225a1da31a583efc49108f37f21ee34b56783b79e25e21a"
|
||||
|
||||
ARCHITECTURES="!x86_gcc2 x86_64"
|
||||
SECONDARY_ARCHITECTURES="x86"
|
||||
|
||||
PROVIDES="
|
||||
sonnet$secondaryArchSuffix = $portVersion
|
||||
cmd:gentrigrams$secondaryArchSuffix = $portVersion
|
||||
cmd:parsetrigrams$secondaryArchSuffix = $portVersion
|
||||
lib:libKF5SonnetCore$secondaryArchSuffix = $portVersion
|
||||
lib:libKF5SonnetUi$secondaryArchSuffix = $portVersion
|
||||
"
|
||||
REQUIRES="
|
||||
haiku$secondaryArchSuffix
|
||||
cmd:hunspell$secondaryArchSuffix
|
||||
lib:libaspell$secondaryArchSuffix
|
||||
lib:libQt5Core$secondaryArchSuffix
|
||||
lib:libQt5Gui$secondaryArchSuffix
|
||||
lib:libQt5Widgets$secondaryArchSuffix
|
||||
"
|
||||
|
||||
PROVIDES_devel="
|
||||
sonnet${secondaryArchSuffix}_devel = $portVersion
|
||||
devel:libKF5SonnetCore$secondaryArchSuffix = $portVersion
|
||||
devel:libKF5SonnetUi$secondaryArchSuffix = $portVersion
|
||||
"
|
||||
REQUIRES_devel="
|
||||
sonnet$secondaryArchSuffix == $portVersion base
|
||||
"
|
||||
|
||||
BUILD_REQUIRES="
|
||||
extra_cmake_modules
|
||||
haiku${secondaryArchSuffix}_devel
|
||||
hunspell${secondaryArchSuffix}_devel
|
||||
devel:libaspell$secondaryArchSuffix
|
||||
devel:libQt5Core$secondaryArchSuffix
|
||||
"
|
||||
BUILD_PREREQUIRES="
|
||||
cmd:cmake
|
||||
cmd:g++$secondaryArchSuffix
|
||||
cmd:make
|
||||
"
|
||||
|
||||
GLOBAL_WRITABLE_FILES="
|
||||
settings/xdg/sonnet.categories keep-old
|
||||
"
|
||||
|
||||
BUILD()
|
||||
{
|
||||
mkdir -p build
|
||||
cd build
|
||||
|
||||
cmake .. $cmakeDirArgs \
|
||||
-DKDE_INSTALL_PLUGINDIR=$addOnsDir/Qt5 \
|
||||
-DECM_MKSPECS_INSTALL_DIR=$dataDir/Qt5/mkspecs \
|
||||
-DECM_DIR=/system/data/cmake/Modules/ECM/cmake
|
||||
make $jobArgs
|
||||
}
|
||||
|
||||
INSTALL()
|
||||
{
|
||||
cd build
|
||||
make install
|
||||
|
||||
prepareInstalledDevelLibs \
|
||||
libKF5SonnetCore \
|
||||
libKF5SonnetUi
|
||||
|
||||
packageEntries devel \
|
||||
$libDir/cmake \
|
||||
$dataDir/Qt5/mkspecs \
|
||||
$developDir
|
||||
}
|
||||
|
||||
TEST()
|
||||
{
|
||||
cd build
|
||||
make test
|
||||
}
|
||||
@@ -0,0 +1,22 @@
|
||||
From da0f2d857245d50cc82307b091f00a70eacbd79b Mon Sep 17 00:00:00 2001
|
||||
From: Sergei Reznikov <diver@gelios.net>
|
||||
Date: Mon, 25 Sep 2017 22:54:20 +0300
|
||||
Subject: Fix build on Haiku
|
||||
|
||||
|
||||
diff --git a/examples/ThumbNailer/AverageLoadManager.cpp b/examples/ThumbNailer/AverageLoadManager.cpp
|
||||
index 5108978..9979ac0 100644
|
||||
--- a/examples/ThumbNailer/AverageLoadManager.cpp
|
||||
+++ b/examples/ThumbNailer/AverageLoadManager.cpp
|
||||
@@ -46,7 +46,7 @@ QPair<int, int> AverageLoadManager::workersRange() const
|
||||
|
||||
void AverageLoadManager::update()
|
||||
{
|
||||
-#if defined(Q_OS_UNIX) && ! defined(Q_OS_ANDROID)
|
||||
+#if defined(Q_OS_UNIX) && ! defined(Q_OS_ANDROID) && ! defined(Q_OS_HAIKU)
|
||||
double averages[3];
|
||||
if (getloadavg(averages, 3) == -1) {
|
||||
return;
|
||||
--
|
||||
2.13.1
|
||||
|
||||
80
kde-frameworks/threadweaver/threadweaver-5.38.0.recipe
Normal file
80
kde-frameworks/threadweaver/threadweaver-5.38.0.recipe
Normal file
@@ -0,0 +1,80 @@
|
||||
SUMMARY="Helper for multithreaded programming"
|
||||
DESCRIPTION="ThreadWeaver is a helper for multithreaded programming. It uses \
|
||||
a job-based interface to queue tasks and execute them in an efficient way.
|
||||
|
||||
You simply divide the workload into jobs, state the dependencies between the \
|
||||
jobs and ThreadWeaver will work out the most efficient way of dividing the \
|
||||
work between threads within a set of resource limits.
|
||||
|
||||
See the information on [use cases](@ref usecases) and [why multithreading can \
|
||||
help](@ref multithreading), as well as the usage section below, for more \
|
||||
detailed information."
|
||||
HOMEPAGE="https://github.com/KDE/threadweaver/"
|
||||
COPYRIGHT="2010-2017 KDE Organisation"
|
||||
LICENSE="GNU LGPL v2"
|
||||
REVISION="1"
|
||||
SOURCE_URI="https://github.com/KDE/threadweaver/archive/v$portVersion.tar.gz"
|
||||
CHECKSUM_SHA256="ae5c167d2596dadb07991db3c572cb10a95acfbf6f129df249a68fe5015421c4"
|
||||
PATCHES="threadweaver-$portVersion.patchset"
|
||||
|
||||
ARCHITECTURES="!x86_gcc2 x86_64"
|
||||
SECONDARY_ARCHITECTURES="x86"
|
||||
|
||||
PROVIDES="
|
||||
threadweaver$secondaryArchSuffix = $portVersion
|
||||
lib:libKF5ThreadWeaver$secondaryArchSuffix = $portVersion
|
||||
"
|
||||
REQUIRES="
|
||||
haiku$secondaryArchSuffix
|
||||
lib:libQt5Core$secondaryArchSuffix
|
||||
"
|
||||
|
||||
PROVIDES_devel="
|
||||
threadweaver${secondaryArchSuffix}_devel = $portVersion
|
||||
devel:libKF5ThreadWeaver$secondaryArchSuffix = $portVersion
|
||||
"
|
||||
REQUIRES_devel="
|
||||
threadweaver$secondaryArchSuffix == $portVersion base
|
||||
"
|
||||
|
||||
BUILD_REQUIRES="
|
||||
extra_cmake_modules
|
||||
haiku${secondaryArchSuffix}_devel
|
||||
devel:libQt5Core$secondaryArchSuffix
|
||||
"
|
||||
BUILD_PREREQUIRES="
|
||||
cmd:cmake
|
||||
cmd:g++$secondaryArchSuffix
|
||||
cmd:make
|
||||
"
|
||||
|
||||
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 \
|
||||
libKF5ThreadWeaver
|
||||
|
||||
packageEntries devel \
|
||||
$libDir/cmake \
|
||||
$dataDir/Qt5/mkspecs \
|
||||
$developDir
|
||||
}
|
||||
|
||||
TEST()
|
||||
{
|
||||
cd build
|
||||
make test
|
||||
}
|
||||
Reference in New Issue
Block a user