File PKGBUILD of Package kde-banana-dolphin-git

# Maintainer: KDE Community <http://www.kde.org>

pkgbase=kde-banana-dolphin-git
pkgname=(kde-banana-dolphin-git)
pkgver=1
pkgrel=1
url="https://community.kde.org/KDE_Linux"
pkgdesc="Build of dolphin for KDE Linux"
arch=('x86_64')
license=('GPL-2.0-only')
groups=(kde-linux banana)
source=("$pkgname-$pkgver.tar")
sha256sums=('SKIP')
depends=("kde-banana-baloo-widgets-git" "kde-banana-baloo-git" "kde-banana-extra-cmake-modules-git" "kde-banana-kbookmarks-git" "kde-banana-kcmutils-git" "kde-banana-kcodecs-git" "kde-banana-kcompletion-git" "kde-banana-kconfig-git" "kde-banana-kcoreaddons-git" "kde-banana-kcrash-git" "kde-banana-kdbusaddons-git" "kde-banana-kdoctools-git" "kde-banana-kfilemetadata-git" "kde-banana-ki18n-git" "kde-banana-kiconthemes-git" "kde-banana-kio-extras-git" "kde-banana-kio-git" "kde-banana-knewstuff-git" "kde-banana-knotifications-git" "kde-banana-kparts-git" "kde-banana-ktextwidgets-git" "kde-banana-kuserfeedback-git" "kde-banana-kwindowsystem-git" "kde-banana-phonon-git" "kde-banana-solid-git")
makedepends=("qt6-tools" "ninja")
optdepends=("ffmpegthumbs: video thumbnails"
"kde-cli-tools: for editing file type options"
"kdegraphics-thumbnailers: PDF and PS thumbnails"
"kdenetwork-filesharing: samba usershare properties menu"
"kio-admin: for managing files as administrator"
"konsole: terminal panel"
"purpose: share context menu")
provides=("dolphin")
conflicts=("dolphin")
replaces=("dolphin")

build() {
    export LC_ALL=C
    cmake -B build -S "$pkgname-$pkgver" \
		-G Ninja \
		-DCMAKE_INSTALL_PREFIX=/usr \
		-DBUILD_TESTING=OFF \
		-DCMAKE_INSTALL_LIBEXECDIR=lib \
		-DWITH_PYTHON_VENDORING=OFF \
		-DCMAKE_BUILD_TYPE=RelWithDebInfo \
		-Wno-dev \
		-DBUILD_WITH_QT6=ON;
    cmake --build build --parallel 33;
}

package() {
    DESTDIR="$pkgdir" cmake --install build;
}
openSUSE Build Service is sponsored by