# include global config source ../_buildscripts/${current_repo}-${_arch}-cfg.conf pkgname=yakuake pkgver=${_kdever} pkgrel=1 pkgdesc="A KDE konsole application with the look and feel of that in the Quake engine, kf6 version" arch=('x86_64') url="https://kde.org/applications/system/org.kde.yakuake" license=('GPL') depends=('karchive6' 'kconfig6' 'kcoreaddons6' 'kcrash6' 'kdbusaddons6' 'kglobalaccel6' 'ki18n6' 'kiconthemes6' 'kio6' 'knewstuff6' 'knotifications6' 'knotifyconfig6' 'kparts6' 'kwidgetsaddons6' 'kwindowsystem6' 'kwayland' 'kstatusnotifieritem' 'konsole') makedepends=('extra-cmake-modules') conflicts=('yakuake6') replaces=('yakuake6') groups=('system') source=($_mirror/${pkgname}-${_kdever}.tar.xz) md5sums=(`grep ${pkgname}-${_kdever}.tar.xz ../kde-sc.md5 | cut -d" " -f1`) prepare() { cd ${pkgname}-${pkgver} # revert KStatusNotifierItem change, remove on kf6 rebuild #sed -i -e 's|m_notifierItem->setAssociatedWindow|m_notifierItem->setAssociatedWidget|' app/mainwindow.cpp # wayland erratic placement fix #patch -p1 -i $srcdir/7534df21025b10fd236dd5a8f92d0dff7889e0ef.diff } build() { cmake -B build -S ${pkgname}-${pkgver} \ -DCMAKE_BUILD_TYPE=Release \ -DCMAKE_INSTALL_PREFIX=/usr \ -DBUILD_TESTING=OFF \ -DQT_MAJOR_VERSION=6 cmake --build build } package() { DESTDIR=${pkgdir} cmake --install build }