# include global config source ../_buildscripts/${current_repo}-${_arch}-cfg.conf pkgname=kdeconnect-kde pkgver=${_kdever} pkgrel=1 epoch=1 pkgdesc='KDE Connect adds communication between KDE and your smartphone' url='https://invent.kde.org/network/kdeconnect-kde' license=('GPL') arch=('x86_64') depends=('ki18n6' 'kconfigwidgets6' 'kdbusaddons6' 'kiconthemes6' 'knotifications6' 'kio6' 'kcmutils6' 'kservice6' 'solid6' 'kirigami-addons' 'kpeople6' 'kwindowsystem6' 'kwayland' 'qqc2-desktop-style6' 'qca-qt6' 'libfakekey' 'qt6-multimedia' 'sshfs' 'libxkbcommon' 'wayland-protocols' 'modemmanager-qt6' 'kstatusnotifieritem' 'qt6-connectivity' 'pulseaudio-qt') makedepends=('extra-cmake-modules' 'kdoctools6') conflicts=('kdeconnect-kde6') replaces=('kdeconnect-kde6') source=("$_mirror/${pkgname}-${_kdever}.tar.xz") md5sums=(`grep ${pkgname}-${_kdever}.tar.xz ../kde-sc.md5 | cut -d" " -f1`) prepare() { cd ${pkgname}-${pkgver} #sed -i -e 's|FILES package/metadata.desktop|FILES package/metadata.json|' plasmoid/CMakeLists.txt } build() { cmake -B build -S ${pkgname}-${pkgver} \ -DCMAKE_INSTALL_PREFIX=/usr \ -DCMAKE_BUILD_TYPE=Release \ -DCMAKE_INSTALL_LIBDIR=lib \ -DCMAKE_INSTALL_LIBEXECDIR=lib \ -DKDE_INSTALL_SYSCONFDIR=/etc \ -DBUILD_TESTING=OFF \ -DWITH_PULSEAUDIO=ON \ -DQT_MAJOR_VERSION=6 cmake --build build } package() { DESTDIR=${pkgdir} cmake --install build }