2017-11-26 17:08:10 +00:00
|
|
|
# Contributor: Bart Ribbers <bribbers@disroot.org>
|
|
|
|
# Maintainer: Bart Ribbers <bribbers@disroot.org>
|
2017-08-03 20:14:04 +00:00
|
|
|
pkgname=kdelibs4support
|
2018-04-15 21:24:48 +00:00
|
|
|
pkgver=5.45.0
|
2017-11-26 17:08:10 +00:00
|
|
|
pkgrel=0
|
2017-08-03 20:14:04 +00:00
|
|
|
pkgdesc='Porting aid from KDELibs4'
|
|
|
|
arch="all"
|
|
|
|
url='https://community.kde.org/Frameworks'
|
2017-11-26 17:08:10 +00:00
|
|
|
license="LGPL-2.1"
|
|
|
|
depends="ca-certificates"
|
2018-05-02 20:50:29 +00:00
|
|
|
depends_dev="kdesignerplugin kunitconversion-dev kemoticons-dev kded-dev kparts-dev qt5-qtsvg-dev qt5-qtx11extras-dev
|
2017-11-26 17:08:10 +00:00
|
|
|
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"
|
2018-01-24 23:23:36 +00:00
|
|
|
source="https://download.kde.org/stable/frameworks/${pkgver%.*}/portingAids/${pkgname}-${pkgver}.tar.xz"
|
2017-08-14 23:23:23 +00:00
|
|
|
subpackages="$pkgname-dev $pkgname-doc $pkgname-lang"
|
2017-11-26 17:08:10 +00:00
|
|
|
options="suid !check" # Fails due to requiring running X11
|
2017-08-03 20:14:04 +00:00
|
|
|
|
|
|
|
build() {
|
2017-11-26 17:08:10 +00:00
|
|
|
cmake \
|
2017-08-03 20:14:04 +00:00
|
|
|
-DCMAKE_BUILD_TYPE=Release \
|
|
|
|
-DCMAKE_INSTALL_PREFIX=/usr \
|
|
|
|
-DKDE_INSTALL_LIBDIR=lib \
|
2017-11-26 17:08:10 +00:00
|
|
|
-DKDE_INSTALL_LIBEXECDIR=lib
|
2017-08-03 20:14:04 +00:00
|
|
|
make
|
|
|
|
}
|
|
|
|
|
2017-11-26 17:08:10 +00:00
|
|
|
check() {
|
|
|
|
cd "$builddir"
|
|
|
|
CTEST_OUTPUT_ON_FAILURE=TRUE ctest
|
|
|
|
}
|
|
|
|
|
|
|
|
|
2017-08-03 20:14:04 +00:00
|
|
|
package() {
|
2017-11-26 17:08:10 +00:00
|
|
|
cd "$builddir"
|
2017-08-03 20:14:04 +00:00
|
|
|
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
|
|
|
|
}
|
2018-04-15 21:24:48 +00:00
|
|
|
sha512sums="94ceeaef10e4808df5077224fb593f98d6b42d2087d90fd163841b67b97a6e14238f9a65ab8609f616122c4217bb8d494cbbc501373602827abdf7271ede0802 kdelibs4support-5.45.0.tar.xz"
|