mirror of
https://github.com/yann64/haikuports.git
synced 2026-05-04 22:18:55 +02:00
* for future reference batch git rename was done using this command:
find . -maxdepth 3 -type f -name '*5.39*.recipe' | grep -v 1 | a
while read fname; do git mv $fname ${fname//5.39/5.45}; done
(don't forget to repeat for .patchset files)
* batch CHECKSUM_SHA256 update was done using this script:
cd haikuports
tar --exclude download --exclude work* -zcvf kde-frameworks-`date '+%Y-%m-%d-%H-%M-%S'`.tgz kde-frameworks/
find /home/haikuports/kde-frameworks -maxdepth 2 -name "*5.39*.recipe" | while read FNAME; do \
portVersion=5.45.0 ; source $FNAME ; echo $SOURCE_URI $FNAME ;
echo `curl -s -L $SOURCE_URI | sha256sum | head -c 64`
sed -i "s/$CHECKSUM_SHA256/`curl -s -L $SOURCE_URI | sha256sum | head -c 64`/" $FNAME ; done
* the recipes were built in this order
hp extra_cmake_modules
hp phonon
hp karchive
hp kcodecs
hp kconfig
hp kcoreaddons
hp kdbusaddons
hp kguiaddons
hp ki18n
hp kitemmodels
hp kitemviews
hp kwidgetsaddons
hp kwindowsystem
hp solid
hp sonnet
hp threadweaver
hp kauth
hp kcompletion
hp kcrash
hp kdoctools
hp kunitconversion
hp kconfigwidgets
hp kservice
hp kglobalaccel
hp kpackage
hp kemoticons
hp kiconthemes
hp kjobwidgets
hp knotifications
hp ktextwidgets
hp kxmlgui
hp kbookmarks
hp kwallet
hp kio
hp kdeclarative
hp kcmutils
hp kinit
hp knotifyconfig
hp kparts
hp kactivities
hp kded
hp kdesignerplugin
hp breeze_icons
hp kdelibs4support
hp kross
hp kdiagram
170 lines
5.6 KiB
Bash
170 lines
5.6 KiB
Bash
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-2018 KDE Organisation"
|
|
LICENSE="GNU LGPL v2"
|
|
REVISION="1"
|
|
SOURCE_URI="https://github.com/KDE/kio/archive/v$portVersion.tar.gz"
|
|
CHECKSUM_SHA256="a5b68c7a18e17c83abfd7b8b445466f0c63944b611c02f913347fcdfc39649b3"
|
|
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 compat >= 5
|
|
lib:libKF5KIOFileWidgets$secondaryArchSuffix = $portVersion compat >= 5
|
|
lib:libKF5KIOGui$secondaryArchSuffix = $portVersion compat >= 5
|
|
lib:libKF5KIONTLM$secondaryArchSuffix = $portVersion compat >= 5
|
|
lib:libKF5KIOWidgets$secondaryArchSuffix = $portVersion compat >= 5
|
|
"
|
|
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 compat >= 5
|
|
devel:libKF5KIOFileWidgets$secondaryArchSuffix = $portVersion compat >= 5
|
|
devel:libKF5KIOGui$secondaryArchSuffix = $portVersion compat >= 5
|
|
devel:libKF5KIONTLM$secondaryArchSuffix = $portVersion compat >= 5
|
|
devel:libKF5KIOWidgets$secondaryArchSuffix = $portVersion compat >= 5
|
|
"
|
|
REQUIRES_devel="
|
|
kio$secondaryArchSuffix == $portVersion base
|
|
"
|
|
|
|
BUILD_REQUIRES="
|
|
extra_cmake_modules >= 5.45
|
|
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 >= 5.7
|
|
devel:libQt5Core$secondaryArchSuffix >= 5.7
|
|
devel:libQt5Gui$secondaryArchSuffix >= 5.7
|
|
devel:libQt5DBus$secondaryArchSuffix >= 5.7
|
|
devel:libQt5Network$secondaryArchSuffix >= 5.7
|
|
devel:libxml2$secondaryArchSuffix
|
|
devel:libxslt$secondaryArchSuffix
|
|
devel:libz$secondaryArchSuffix
|
|
"
|
|
BUILD_PREREQUIRES="
|
|
cmd:cmake
|
|
cmd:g++$secondaryArchSuffix
|
|
cmd:make
|
|
cmd:python2
|
|
"
|
|
|
|
GLOBAL_WRITABLE_FILES="
|
|
settings/xdg/accept-languages.codes keep-old
|
|
settings/xdg/kshorturifilterrc keep-old
|
|
settings/dbus-1/system.d/org.kde.kio.file.conf keep-old
|
|
"
|
|
|
|
BUILD()
|
|
{
|
|
mkdir -p build
|
|
cd build
|
|
|
|
cmake .. $cmakeDirArgs \
|
|
-DKDE_INSTALL_PLUGINDIR=$addOnsDir/Qt5 \
|
|
-DKAUTH_HELPER_INSTALL_DIR:PATH=$addOnsDir/Qt5/kauth/helper \
|
|
-DECM_MKSPECS_INSTALL_DIR=$dataDir/Qt5/mkspecs \
|
|
-DECM_DIR=/system/data/cmake/Modules/ECM/cmake \
|
|
-DBUILD_TESTING=OFF
|
|
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
|
|
}
|