pmaports/temp/plasma-phone-components/APKBUILD

74 lines
1.8 KiB
Text

# Forked from Alpine to package newer commits
pkgname=plasma-phone-components
pkgver=5.20.2_git20201029
pkgrel=0
_commit="3cd3dcd99fa29d39d0fc070c57e1c5f42fbf0d39"
pkgdesc="Modules providing phone functionality for Plasma"
arch="all !armhf !x86" # x86 blocked by maliit-keyboard
url="https://www.plasma-mobile.org/"
license="GPL-2.0-or-later AND LGPL-2.1-or-later"
depends="
breeze-icons
dbus-x11
kactivities
libqofono
maliit-keyboard
plasma-nano
plasma-nm
plasma-pa
plasma-settings
plasma-workspace
qt5-qtquickcontrols2
telepathy-ofono
"
makedepends="
extra-cmake-modules
gst-plugins-base-dev
kactivities-dev
kauth-dev
kbookmarks-dev
kcodecs-dev
kcompletion-dev
kconfig-dev
kconfigwidgets-dev
kcoreaddons-dev
ki18n-dev
kio-dev
kitemviews-dev
kjobwidgets-dev
kpackage-dev
kservice-dev
kwayland-dev
kwidgetsaddons-dev
kwindowsystem-dev
kxmlgui-dev
plasma-framework-dev
qt5-qtbase-dev
qt5-qtdeclarative-dev
solid-dev
"
source="https://invent.kde.org/plasma/plasma-phone-components/-/archive/$_commit/plasma-phone-components-$_commit.tar.gz
set-postmarketos-wallpaper.patch
"
options="!check" # No tests
builddir="$srcdir/$pkgname-$_commit"
build() {
cmake -B build \
-DCMAKE_BUILD_TYPE=None \
-DCMAKE_INSTALL_PREFIX=/usr \
-DCMAKE_INSTALL_LIBDIR=lib
cmake --build build
}
check() {
cd build
CTEST_OUTPUT_ON_FAILURE=TRUE ctest
}
package() {
DESTDIR="$pkgdir" cmake --build build --target install
}
sha512sums="3284115a31105fd414e9f86d18fef49b4f6b19f940a7d1b10c7aeae9067afa28bbe66c8d80334e2fc697d769a481306ebdcf6435a7184e0bb2e88c2d22be889d plasma-phone-components-3cd3dcd99fa29d39d0fc070c57e1c5f42fbf0d39.tar.gz
aef46ceb3cd4c49fe22b62a9821951bec366291e8ec060c7304d9db9c150a58311f545445c47605afc17dc061466b04bde0abe2d7a3791fa254ef0b7f4ec4e1e set-postmarketos-wallpaper.patch"