From b9d740efe22d483cdf5847a73e709190a6384cf9 Mon Sep 17 00:00:00 2001 From: Rodion Goritskov Date: Tue, 2 Jul 2024 00:23:00 +0400 Subject: gnu: Add kdsingleapplication. * rodion/packages/audio.scm (kdsingleapplication): New variable. --- rodion/packages/audio.scm | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) (limited to 'rodion/packages') diff --git a/rodion/packages/audio.scm b/rodion/packages/audio.scm index 24ade0b..1015969 100644 --- a/rodion/packages/audio.scm +++ b/rodion/packages/audio.scm @@ -13,6 +13,7 @@ #:use-module (gnu packages web) #:use-module (gnu packages compression) #:use-module (gnu packages c) + #:use-module (gnu packages sdl) #:use-module (gnu packages xiph) #:use-module (gnu packages linux) #:use-module (gnu packages video) @@ -97,6 +98,29 @@ (sha256 (base32 "14f8bqrif6ffhj270vg1k90y1i2cw3kavbwsx7v7jg45yghlpa23")))))) +(define-public kdsingleapplication + (package + (name "kdsingleapplication") + (version "1.1.0") + (build-system cmake-build-system) + (home-page "https://github.com/KDAB/KDSingleApplication") + (license license:expat) + (description "Helper class providing an ability to run the only instance of the application.") + (synopsis "Helper class for single-instance policy applications") + (inputs (list qtbase)) + (arguments + `(#:configure-flags '("-DKDSingleApplication_QT6=true") + #:tests? #f)) + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/KDAB/KDSingleApplication") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 "1w7wg9w4mifrkpn7hhw1nnnwh1vhnf8i4wgfxvh44nacwslbwsb2")))))) + (define-public fooyin (package (name "fooyin") @@ -108,12 +132,18 @@ (synopsis "A customisable music player") (native-inputs (list pkg-config)) (inputs (list + alsa-lib + sdl2 + pipewire + kdsingleapplication qtbase + qttools qtsvg icu4c taglib ffmpeg zlib)) + (arguments `(#:tests? #f)) (source (origin (method git-fetch) -- cgit v1.2.3