Skip to content

Commit

Permalink
Bring KDE Frameworks 5.38.0 to Haiku
Browse files Browse the repository at this point in the history
* base library set for ongoing KDE apps
* some apps need more libs to be ported which will come later
  • Loading branch information
diversys committed Oct 11, 2017
1 parent cc05980 commit a1de2b8
Show file tree
Hide file tree
Showing 55 changed files with 4,688 additions and 9 deletions.
60 changes: 60 additions & 0 deletions kde-frameworks/breeze-icons/breeze_icons-5.38.0.recipe
Original file line number Diff line number Diff line change
@@ -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
}
Original file line number Diff line number Diff line change
Expand Up @@ -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 changes: 95 additions & 0 deletions kde-frameworks/kactivities/kactivities-5.38.0.recipe
Original file line number Diff line number Diff line change
@@ -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 changes: 86 additions & 0 deletions kde-frameworks/karchive/karchive-5.38.0.recipe
Original file line number Diff line number Diff line change
@@ -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 changes: 81 additions & 0 deletions kde-frameworks/kauth/kauth-5.38.0.recipe
Original file line number Diff line number Diff line change
@@ -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
}
Loading

0 comments on commit a1de2b8

Please sign in to comment.