2023-02-19 12:59:08 +02:00
|
|
|
# Maintainer: Rihards Skuja <rhssk at posteo dot eu>
|
|
|
|
# Contributor: Vojtech Kral <vojtech_kral^hk>
|
|
|
|
# Contributor: Antonio Rojas <arojas@archlinux.org>
|
|
|
|
# Contributor: Kuba Serafinowski <zizzfizzix(at)gmail(dot)com>
|
|
|
|
|
|
|
|
_remotename=kdeconnect-kde
|
|
|
|
_pkgname=kdeconnect
|
|
|
|
pkgname=$_pkgname-git
|
2024-03-09 12:23:17 +02:00
|
|
|
pkgver=24.01.90.r47.gdb391d6
|
2023-02-19 12:59:08 +02:00
|
|
|
pkgrel=1
|
|
|
|
pkgdesc='Adds communication between KDE and your smartphone'
|
|
|
|
arch=(x86_64)
|
|
|
|
url='https://community.kde.org/KDEConnect'
|
|
|
|
license=(GPL2)
|
2024-03-09 12:23:17 +02:00
|
|
|
depends=(
|
|
|
|
dbus gcc-libs glibc kcmutils kconfig kcoreaddons kdbusaddons kdeclarative
|
|
|
|
kguiaddons ki18n kiconthemes kio kirigami kirigami-addons kjobwidgets
|
|
|
|
knotifications kpeople kservice kstatusnotifieritem kwidgetsaddons
|
|
|
|
kwindowsystem libfakekey libx11 libxkbcommon libxtst modemmanager-qt openssl
|
|
|
|
pulseaudio-qt qqc2-desktop-style qt6-5compat qt6-base qt6-connectivity
|
|
|
|
qt6-declarative qt6-multimedia qt6-wayland solid wayland
|
|
|
|
)
|
|
|
|
makedepends=(git extra-cmake-modules kdoctools kpackage wayland-protocols)
|
|
|
|
optdepends=(
|
|
|
|
'sshfs: remote filesystem browser'
|
|
|
|
'python-nautilus: Nautilus integration'
|
|
|
|
'qt6-tools: for some runcommand plugin actions'
|
|
|
|
)
|
2023-02-19 12:59:08 +02:00
|
|
|
conflicts=($_pkgname)
|
|
|
|
provides=($_pkgname)
|
|
|
|
source=("git+https://invent.kde.org/network/$_remotename.git")
|
|
|
|
sha256sums=('SKIP')
|
|
|
|
|
|
|
|
pkgver() {
|
|
|
|
cd $_remotename
|
2023-11-10 20:07:06 +02:00
|
|
|
git describe --long --abbrev=7 | sed 's/^v//;s/\([^-]*-g\)/r\1/;s/-/./g'
|
2023-02-19 12:59:08 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
build() {
|
|
|
|
cmake -B build -S $_remotename \
|
|
|
|
-DCMAKE_INSTALL_LIBEXECDIR=lib \
|
|
|
|
-DBUILD_TESTING=OFF \
|
|
|
|
-Wno-dev
|
|
|
|
cmake --build build
|
|
|
|
}
|
|
|
|
|
|
|
|
package() {
|
|
|
|
DESTDIR="$pkgdir" cmake --install build
|
|
|
|
}
|