From dbff02ec9d49d670922a5a2b24b6faee7dadc801 Mon Sep 17 00:00:00 2001 From: Rodion Goritskov Date: Mon, 12 Feb 2024 01:24:51 +0400 Subject: First try --- rodion/packages/audio.scm | 95 +++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 95 insertions(+) create mode 100644 rodion/packages/audio.scm 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")))))) -- cgit v1.2.3