2019-02-08 12:48:21 +00:00
|
|
|
# Contributor: Bart Ribbers <bribbers@disroot.org>
|
|
|
|
# Maintainer: Bart Ribbers <bribbers@disroot.org>
|
2017-08-03 20:14:04 +00:00
|
|
|
pkgname=plasma-phone-components
|
2020-03-23 13:39:48 +00:00
|
|
|
pkgver=5.18.80_git20200323
|
2020-03-11 10:25:16 +00:00
|
|
|
pkgrel=0
|
2020-03-23 13:39:48 +00:00
|
|
|
_commit="2f63d3aaa16b1ffc617e29771c1fdbd46babc246"
|
2017-08-03 20:14:04 +00:00
|
|
|
pkgdesc="Modules providing phone functionality for Plasma"
|
2019-09-29 21:42:30 +00:00
|
|
|
arch="all !armhf"
|
2019-09-30 08:13:20 +00:00
|
|
|
url="https://www.plasma-mobile.org/"
|
2019-09-07 21:25:47 +00:00
|
|
|
license="GPL-2.0-or-later AND LGPL-2.1-or-later"
|
2020-02-20 13:47:00 +00:00
|
|
|
depends="plasma-nano qt5-qtquickcontrols2 plasma-workspace dbus-x11 kactivities plasma-pa plasma-nm libqofono breeze-icons plasma-settings telepathy-ofono telephony-service"
|
2020-03-23 13:39:48 +00:00
|
|
|
makedepends="extra-cmake-modules qt5-qtbase-dev qt5-qtdeclarative-dev kactivities-dev plasma-framework-dev kservice-dev kdeclarative-dev ki18n-dev kio-dev kcoreaddons-dev kconfig-dev kbookmarks-dev kwidgetsaddons-dev kcompletion-dev kitemviews-dev kjobwidgets-dev solid-dev kxmlgui-dev kconfigwidgets-dev kauth-dev kcodecs-dev kpackage-dev kwindowsystem-dev kdbusaddons-dev knotifications-dev kwayland-dev gst-plugins-base-dev"
|
2019-06-20 10:31:13 +00:00
|
|
|
source="
|
2019-09-07 21:25:47 +00:00
|
|
|
$pkgname-$_commit.tar.gz::https://invent.kde.org/kde/plasma-phone-components/-/archive/$_commit/plasma-phone-components-$_commit.tar.gz
|
2019-09-30 08:13:20 +00:00
|
|
|
set-postmarketos-wallpaper.patch
|
2019-06-20 10:31:13 +00:00
|
|
|
"
|
2019-09-07 21:25:47 +00:00
|
|
|
options="!check" # No tests
|
2017-11-26 17:08:10 +00:00
|
|
|
builddir="$srcdir/$pkgname-$_commit"
|
2017-08-03 20:14:04 +00:00
|
|
|
|
|
|
|
build() {
|
2020-03-11 10:25:16 +00:00
|
|
|
cmake -B build \
|
2020-03-23 13:39:48 +00:00
|
|
|
-DCMAKE_BUILD_TYPE=None \
|
2017-08-03 20:14:04 +00:00
|
|
|
-DCMAKE_INSTALL_PREFIX=/usr \
|
2019-06-20 10:31:13 +00:00
|
|
|
-DCMAKE_INSTALL_LIBDIR=lib
|
2020-02-11 13:33:44 +00:00
|
|
|
make -C build
|
2017-08-03 20:14:04 +00:00
|
|
|
}
|
|
|
|
|
2017-11-26 17:08:10 +00:00
|
|
|
check() {
|
2020-03-23 13:39:48 +00:00
|
|
|
cd build
|
2017-11-26 17:08:10 +00:00
|
|
|
CTEST_OUTPUT_ON_FAILURE=TRUE ctest
|
|
|
|
}
|
|
|
|
|
2017-08-03 20:14:04 +00:00
|
|
|
package() {
|
2020-02-11 13:33:44 +00:00
|
|
|
DESTDIR="$pkgdir" make -C build install
|
2017-08-03 20:14:04 +00:00
|
|
|
}
|
2020-03-23 13:39:48 +00:00
|
|
|
sha512sums="a822f0999dc18007f2f7c455ff96946936a63278d9859bf76fe4ea7c3f6c166a65f2c8b0e4769ef9824be9269115bd0af105e7206fd129fad71ecc0c5f6bfc7b plasma-phone-components-2f63d3aaa16b1ffc617e29771c1fdbd46babc246.tar.gz
|
2020-02-11 13:33:44 +00:00
|
|
|
5853e72077c356f8347ea1c8503d5e301505acaa39ccf2fa105abe054a3063e735f5bcb2db1c1357f53032714599bfbf687fff2cbe21a1743930b946900ff7cf set-postmarketos-wallpaper.patch"
|