Commit 4a3aa7a7 authored by Bart Ribbers's avatar Bart Ribbers
Browse files

community/spectacle: replace systemd service file for XDG autostart one

parent 2c6d3161
......@@ -2,13 +2,39 @@
# Maintainer: Bart Ribbers <bribbers@disroot.org>
pkgname=spectacle
pkgver=20.12.3
pkgrel=0
pkgrel=1
pkgdesc="Application for capturing desktop screenshots"
arch="all !armhf !s390x !mips64" # armhf blocked by extra-cmake-modules
# armhf blocked by extra-cmake-modules
# s390x and mips64 blocked by kdeclarative
arch="all !armhf !s390x !mips64"
url="https://kde.org/applications/utilities/org.kde.spectacle"
license="GPL-2.0-only"
makedepends="extra-cmake-modules qt5-qtbase-dev qt5-qtx11extras-dev kcoreaddons-dev kwidgetsaddons-dev kdbusaddons-dev knotifications-dev kconfig-dev ki18n-dev kio-dev kwindowsystem-dev kdoctools-dev knewstuff-dev kdeclarative-dev libkipi-dev purpose-dev kwayland-dev xcb-util-image-dev xcb-util-cursor-dev libxcb-dev xcb-util-renderutil-dev"
source="https://download.kde.org/stable/release-service/$pkgver/src/spectacle-$pkgver.tar.xz"
makedepends="
extra-cmake-modules
kconfig-dev
kcoreaddons-dev
kdbusaddons-dev
kdeclarative-dev
kdoctools-dev
ki18n-dev
kio-dev
knewstuff-dev
knotifications-dev
kwayland-dev
kwidgetsaddons-dev
kwindowsystem-dev
libkipi-dev
libxcb-dev
purpose-dev
qt5-qtbase-dev
qt5-qtx11extras-dev
xcb-util-cursor-dev
xcb-util-image-dev
xcb-util-renderutil-dev
"
source="https://download.kde.org/stable/release-service/$pkgver/src/spectacle-$pkgver.tar.xz
spectacle.desktop
"
subpackages="$pkgname-doc $pkgname-lang"
build() {
......@@ -25,6 +51,12 @@ check() {
}
package() {
DESTDIR="$pkgdir" cmake --build build --target install
DESTDIR="$pkgdir" cmake --install build
install -Dm644 "$srcdir"/spectacle.desktop -t "$pkgdir"/etc/xdg/autostart/
# We don't ship systemd
rm -r "$pkgdir"/usr/lib/systemd
}
sha512sums="4749916ff1557d89c3a8aeae06ce2da4e3f5bbbc3495a588209d797453b265447a857266889a81178f33b12631f6ec29be7a65a3f98f27de604c198e997795dc spectacle-20.12.3.tar.xz"
sha512sums="4749916ff1557d89c3a8aeae06ce2da4e3f5bbbc3495a588209d797453b265447a857266889a81178f33b12631f6ec29be7a65a3f98f27de604c198e997795dc spectacle-20.12.3.tar.xz
7c563d811f30d26f83e01a465e803b95167c5b2b842315257216ab282e07c69e7582a14d7f429cd19678199179ad8f3f2854265092f5a4c9ce9b65c87ed3849d spectacle.desktop"
[Desktop Entry]
Name=spectacle
Comment=Start spectacle DBus service
Type=Application
Exec=/usr/bin/spectacle --dbus
TryExec=/usr/bin/spectacle
Terminal=false
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment