summaryrefslogtreecommitdiff
path: root/rodion
diff options
context:
space:
mode:
authorRodion Goritskov <rodion.goritskov@gmail.com>2024-02-12 01:24:51 +0400
committerRodion Goritskov <rodion.goritskov@gmail.com>2024-02-13 21:03:57 +0400
commitdbff02ec9d49d670922a5a2b24b6faee7dadc801 (patch)
treed208b97c440fd31e7f0e66bc13a5055785ca7d01 /rodion
parent6ce34d7ee4e028ab279c1d4c2f2ef727f5f29d35 (diff)
First try
Diffstat (limited to 'rodion')
-rw-r--r--rodion/packages/audio.scm95
1 files changed, 95 insertions, 0 deletions
diff --git a/rodion/packages/audio.scm b/rodion/packages/audio.scm
new file mode 100644
index 0000000..e3b385a
--- /dev/null
+++ b/rodion/packages/audio.scm
@@ -0,0 +1,95 @@
+(define-module (rodion packages audio)
+ #:use-module (guix packages)
+ #:use-module (guix build-system glib-or-gtk)
+ #:use-module (guix git-download)
+ #:use-module (gnu packages gettext)
+ #:use-module (gnu packages autotools)
+ #:use-module (gnu packages gtk)
+ #:use-module (gnu packages glib)
+ #:use-module (gnu packages llvm)
+ #:use-module (gnu packages pkg-config)
+ #:use-module (gnu packages web)
+ #:use-module (gnu packages compression)
+ #:use-module (gnu packages c)
+ #:use-module (gnu packages xiph)
+ #:use-module (gnu packages linux)
+ #:use-module (gnu packages video)
+ #:use-module (gnu packages audio)
+ #:use-module (gnu packages mp3)
+ #:use-module (gnu packages pulseaudio)
+ #:use-module (gnu packages cdrom)
+ #:use-module (gnu packages image)
+ #:use-module (gnu packages curl)
+ #:use-module (gnu packages assembly)
+ #:use-module (guix gexp)
+ #:use-module ((guix licenses) #:prefix license:))
+
+(define-public deadbeef
+ (package
+ (name "deadbeef")
+ (version "1.9.6")
+ (build-system glib-or-gtk-build-system)
+ (home-page "https://github.com/DeaDBeeF-Player/deadbeef")
+ (license license:zlib)
+ (description "Test")
+ (synopsis "Test")
+ (native-inputs (list
+ gnu-gettext
+ autoconf
+ automake
+ libtool
+ intltool
+ clang-17
+ pkg-config))
+ (inputs (list
+ gtk+
+ gtk+-2
+
+ clang-runtime-17
+
+ jansson
+ libzip
+ libdispatch
+
+ libsamplerate
+ libcdio
+ libcddb
+
+ imlib2
+ curl
+
+ yasm
+
+ wavpack
+ libsndfile
+ libvorbis
+ opusfile
+ faad2
+
+ mpg123
+ libmad
+
+ ffmpeg
+ flac
+
+ pulseaudio
+ alsa-lib
+ pipewire))
+ (arguments
+ (list #:phases
+ #~(modify-phases %standard-phases
+ (delete 'check)
+ (add-before 'configure 'prepare-build-environment
+ (lambda* (#:key native-inputs inputs #:allow-other-keys)
+ (setenv "CC" "clang")
+ (setenv "CXX" "clang++"))))))
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/DeaDBeeF-Player/deadbeef")
+ (commit version)
+ (recursive? #t)))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32 "14f8bqrif6ffhj270vg1k90y1i2cw3kavbwsx7v7jg45yghlpa23"))))))