09ce31ca20
[skip ci]: too many packages changed, build won't finish in time. ollieparanoid made sure that this builds for x86_64, aarch64, armhf, armv7. Also he tested that this boots up in qemu-amd64.
38 lines
1.7 KiB
Text
38 lines
1.7 KiB
Text
# Contributor: Bart Ribbers <bribbers@disroot.org>
|
|
# Maintainer: Bart Ribbers <bribbers@disroot.org>
|
|
pkgname=plasma-phone-components
|
|
pkgver=0_git20190208
|
|
pkgrel=1
|
|
_commit="43d95cd332f7d48a64bca0956c5286e84056c47e"
|
|
pkgdesc="Modules providing phone functionality for Plasma"
|
|
arch="all"
|
|
url="https://community.kde.org/Plasma/Mobile"
|
|
license="GPL-2.0 LGPL-2.1+"
|
|
depends="desktop-file-utils qt5-qtgraphicaleffects kactivities qt5-qtquickcontrols2 qt5-qtquickcontrols plasma-pa plasma-nm upower libqofono"
|
|
makedepends="extra-cmake-modules kpeople-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 telepathy-qt5-dev libphonenumber-dev"
|
|
install="$pkgname.post-install
|
|
$pkgname.post-upgrade
|
|
$pkgname.post-deinstall"
|
|
source="$pkgname-$_commit.tar.gz::https://invent.kde.org/kde/$pkgname/-/archive/$_commit/$pkgname-$_commit.tar.gz"
|
|
builddir="$srcdir/$pkgname-$_commit"
|
|
|
|
build() {
|
|
cd "$builddir"
|
|
cmake \
|
|
-DCMAKE_INSTALL_PREFIX=/usr \
|
|
-DCMAKE_INSTALL_LIBDIR=lib \
|
|
-DKDE_INSTALL_USE_QT_SYS_PATHS=ON \
|
|
-DCMAKE_BUILD_TYPE=RELEASE
|
|
make
|
|
}
|
|
|
|
check() {
|
|
cd "$builddir"
|
|
CTEST_OUTPUT_ON_FAILURE=TRUE ctest
|
|
}
|
|
|
|
package() {
|
|
cd "$builddir"
|
|
make DESTDIR="$pkgdir" install
|
|
}
|
|
sha512sums="fc87f435ac4964407e920552291f22f47e81aec3ff16bc2439f482bb474215c0ec86c86000d067d519377ebae523a99fba507f2da2ae44ea8dea63dfe4973edb plasma-phone-components-43d95cd332f7d48a64bca0956c5286e84056c47e.tar.gz"
|