mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-06-10 22:28:18 +02:00
101 lines
2.2 KiB
Text
101 lines
2.2 KiB
Text
# The group tag is just to easily find this APKBUILD by some scripts for automation
|
|
# group=kde-plasma
|
|
maintainer="team/kde <bribbers@disroot.org>"
|
|
pkgname=plasma-mobile
|
|
pkgver=6.3.5
|
|
pkgrel=0
|
|
pkgdesc="Modules providing phone functionality for Plasma"
|
|
# armhf blocked by qt6-qtdeclarative
|
|
# s390x blocked by plasma-workspace
|
|
arch="all !armhf !s390x"
|
|
url="https://www.plasma-mobile.org/"
|
|
license="GPL-2.0-or-later AND LGPL-2.1-or-later"
|
|
depends="
|
|
bluez-qt
|
|
breeze-icons
|
|
dbus-x11
|
|
kpipewire
|
|
kquickcharts
|
|
maliit-keyboard
|
|
plasma-activities
|
|
plasma-nano
|
|
plasma-nm
|
|
plasma-pa
|
|
plasma-settings
|
|
plasma-workspace
|
|
qqc2-breeze-style
|
|
"
|
|
makedepends="
|
|
extra-cmake-modules
|
|
kauth-dev
|
|
kbookmarks-dev
|
|
kcodecs-dev
|
|
kcompletion-dev
|
|
kconfig-dev
|
|
kconfigwidgets-dev
|
|
kcoreaddons-dev
|
|
kdbusaddons-dev
|
|
kdeclarative-dev
|
|
ki18n-dev
|
|
kio-dev
|
|
kirigami-addons-dev
|
|
kitemviews-dev
|
|
kjobwidgets-dev
|
|
knotifications-dev
|
|
kpackage-dev
|
|
kpeople-dev
|
|
kservice-dev
|
|
kwayland-dev
|
|
kwidgetsaddons-dev
|
|
kwin-dev
|
|
kwindowsystem-dev
|
|
kxmlgui-dev
|
|
libphonenumber-dev
|
|
libplasma-dev
|
|
modemmanager-qt-dev
|
|
networkmanager-qt-dev
|
|
plasma-activities-dev
|
|
plasma-workspace-dev
|
|
qcoro-dev
|
|
qt6-qtdeclarative-dev
|
|
samurai
|
|
solid-dev
|
|
telepathy-qt-dev
|
|
"
|
|
|
|
provides="plasma-phone-components=$pkgver-r$pkgrel" # For backwards compatibility
|
|
replaces="plasma-phone-components" # For backwards compatibility
|
|
|
|
subpackages="$pkgname-lang"
|
|
|
|
case "$pkgver" in
|
|
*.*.9*) _rel=unstable;;
|
|
*) _rel=stable;;
|
|
esac
|
|
_repo_url="https://invent.kde.org/plasma/plasma-mobile.git"
|
|
source="https://download.kde.org/$_rel/plasma/$pkgver/plasma-mobile-$pkgver.tar.xz
|
|
99-flashlight.rules
|
|
"
|
|
|
|
build() {
|
|
cmake -B build -G Ninja \
|
|
-DCMAKE_BUILD_TYPE=RelWithDebInfo \
|
|
-DCMAKE_INSTALL_PREFIX=/usr \
|
|
-DCMAKE_INSTALL_LIBDIR=lib
|
|
cmake --build build
|
|
}
|
|
|
|
check() {
|
|
ctest --test-dir build
|
|
}
|
|
|
|
package() {
|
|
DESTDIR="$pkgdir" cmake --install build
|
|
|
|
install -Dm644 "$srcdir"/99-flashlight.rules -t "$pkgdir"/usr/lib/udev/rules.d/
|
|
}
|
|
|
|
sha512sums="
|
|
7cc4494c810118909f396abece697fdf6eb596de63bad20ec24c2f0665b13cba6c2564c727f919b6113dde58471fef415cf565941926d4108bcd1b076a94b666 plasma-mobile-6.3.5.tar.xz
|
|
4badc25cbb7dc84d6af54cff5f3c09dcc37da86b7e930bdcab6d75f8dd90ef0dd9c8a3837ab696b1f4de9cad82d5e64ddd44904640a92e910a8f45524542be95 99-flashlight.rules
|
|
"
|