5267dd0301
All packages are now built as RelWithDebugInfo rather than Release. This should make debugging these packages easier. I've also updated all Plasma packages without releases (git-based) to their latest masters. plasma-angelfish now has it's first release, and a new dependency called "purpose". Calindori had a typo in the pkgver causing it to look like it was released in the 30th month of the year. Because of this, the old package will have to explicitly be removed from the repository. Let's hope no one uses that package yet, or they will have to wait till 2020 before it'll get updated again on their system lol. [skip ci]: it does not finish in time. ollieparanoid made sure that it builds on all arches. Usually we would use [ci:skip-build] instead of [skip-ci], but now that [ci:skip-build] also verifies that downloading sources is working as expected, and for some reason gitlab CI can't download one source file even when retrying [1] (cache on their end?), let's skip it this time. [1] https://gitlab.com/postmarketOS/pmaports/-/jobs/219539514
40 lines
1.7 KiB
Text
40 lines
1.7 KiB
Text
# Contributor: Bart Ribbers <bribbers@disroot.org>
|
|
# Maintainer: Bart Ribbers <bribbers@disroot.org>
|
|
pkgname=kdelibs4support
|
|
pkgver=5.58.0
|
|
pkgrel=1
|
|
pkgdesc="Porting aid from KDELibs4"
|
|
arch="all"
|
|
url="https://community.kde.org/Frameworks"
|
|
license="LGPL-2.1"
|
|
depends="ca-certificates"
|
|
depends_dev="kdesignerplugin kunitconversion-dev kemoticons-dev kded-dev kparts-dev qt5-qtsvg-dev qt5-qtx11extras-dev kcompletion-dev kconfig-dev kconfigwidgets-dev kauth-dev kcodecs-dev kwidgetsaddons-dev kded kcrash-dev kglobalaccel-dev kservice-dev kguiaddons-dev ki18n-dev kiconthemes-dev kbookmarks-dev kitemviews-dev kjobwidgets-dev solid-dev kxmlgui-dev knotifications-dev ktextwidgets-dev sonnet-dev kwindowsystem-dev kdbusaddons-dev kdesignerplugin-dev kbookmarks-dev kcoreaddons-dev kio-dev"
|
|
makedepends="$depends_dev extra-cmake-modules kdoctools-dev qt5-qttools-dev networkmanager perl-uri ca-certificates"
|
|
source="https://download.kde.org/stable/frameworks/${pkgver%.*}/portingAids/$pkgname-$pkgver.tar.xz"
|
|
subpackages="$pkgname-dev $pkgname-doc $pkgname-lang"
|
|
options="suid !check" # Fails due to requiring running X11
|
|
|
|
build() {
|
|
cmake \
|
|
-DCMAKE_BUILD_TYPE=RelWithDebugInfo \
|
|
-DCMAKE_INSTALL_PREFIX=/usr \
|
|
-DCMAKE_INSTALL_LIBDIR=lib
|
|
make
|
|
}
|
|
|
|
check() {
|
|
cd "$builddir"
|
|
CTEST_OUTPUT_ON_FAILURE=TRUE ctest
|
|
}
|
|
|
|
|
|
package() {
|
|
cd "$builddir"
|
|
make DESTDIR="$pkgdir" install
|
|
|
|
# cert bundle seems to be hardcoded
|
|
# link it to the one from ca-certificates
|
|
rm -f "$pkgdir"/usr/share/kf5/kssl/ca-bundle.crt
|
|
ln -sf /etc/ssl/certs/ca-certificates.crt "$pkgdir"/usr/share/kf5/kssl/ca-bundle.crt
|
|
}
|
|
sha512sums="c5b24bca72814e2ef32212f6834cdafa9a52329330ce782cde567a46144d6eac89141718053a3d905d344c14b7b51a5b49737f85761f3324c12e43f81ecac0c9 kdelibs4support-5.58.0.tar.xz"
|