blob: dc2a3c5e25b96ae82f96f7b11cb59eae4e059d99 (
plain) (
tree)
|
|
# Contributor: A. Wilcox <awilfox@adelielinux.org>
# Maintainer: A. Wilcox <awilfox@adelielinux.org>
pkgname=dolphin
pkgver=19.12.0
pkgrel=0
pkgdesc="Lightweight desktop file manager"
url="https://www.kde.org/applications/system/dolphin/"
arch="all"
options="!check" # Tests require X11 and D-Bus session bus.
license="GPL-2.0-only"
depends="ffmpegthumbs kdegraphics-thumbnailers"
makedepends="cmake extra-cmake-modules qt5-qtbase-dev kdoctools-dev kinit-dev
kcmutils-dev knewstuff-dev kcoreaddons-dev ki18n-dev kdbusaddons-dev
kbookmarks-dev kconfig-dev kio-dev kparts-dev solid-dev kiconthemes-dev
kcompletion-dev ktextwidgets-dev knotifications-dev kcrash-dev
baloo-dev kfilemetadata-dev kdelibs4support-dev kactivities-dev
baloo-widgets-dev ruby-test-unit"
subpackages="$pkgname-doc $pkgname-lang"
source="https://download.kde.org/stable/release-service/$pkgver/src/dolphin-$pkgver.tar.xz"
build() {
if [ "$CBUILD" != "$CHOST" ]; then
CMAKE_CROSSOPTS="-DCMAKE_SYSTEM_NAME=Linux -DCMAKE_HOST_SYSTEM_NAME=Linux"
fi
cmake \
-DCMAKE_INSTALL_PREFIX=/usr \
-DCMAKE_INSTALL_LIBDIR=lib \
-DBUILD_SHARED_LIBS=True \
-DCMAKE_BUILD_TYPE=RelWithDebugInfo \
-DCMAKE_CXX_FLAGS="$CXXFLAGS" \
-DCMAKE_C_FLAGS="$CFLAGS" \
${CMAKE_CROSSOPTS} .
make
}
check() {
CTEST_OUTPUT_ON_FAILURE=TRUE ctest
}
package() {
make DESTDIR="$pkgdir" install
}
sha512sums="e9f47d8ed9e5b3def97182d9d1600730aa41e69d32aaf49b705fe2542eeda93ec719624e735e5f7d36a1dbf64c58e2a7f177e3ac4daf303ad5a2ba519d03923e dolphin-19.12.0.tar.xz"
|