summaryrefslogtreecommitdiff
path: root/rodion/packages
diff options
context:
space:
mode:
authorRodion Goritskov <rodion.goritskov@gmail.com>2024-07-02 00:23:00 +0400
committerRodion Goritskov <rodion.goritskov@gmail.com>2024-07-02 00:28:14 +0400
commitb9d740efe22d483cdf5847a73e709190a6384cf9 (patch)
treee6e0968dd5bc15aba66faee61d848a77ba64ccef /rodion/packages
parent5a226ff9ee0845e536fb6fc7e0fc121e78c1fb7f (diff)
gnu: Add kdsingleapplication.
* rodion/packages/audio.scm (kdsingleapplication): New variable.
Diffstat (limited to 'rodion/packages')
-rw-r--r--rodion/packages/audio.scm30
1 files changed, 30 insertions, 0 deletions
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)