From f12fb51e0c5510d7f723b623fc5e8f4ef97ef1c1 Mon Sep 17 00:00:00 2001 From: Gary Wong Date: Sat, 9 Nov 2024 22:25:37 -0700 Subject: [PATCH] Add (broken) attempt. --- shortwave.scm | 43 +++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 43 insertions(+) create mode 100644 shortwave.scm diff --git a/shortwave.scm b/shortwave.scm new file mode 100644 index 0000000..460ccec --- /dev/null +++ b/shortwave.scm @@ -0,0 +1,43 @@ +(define-module (shortwave) + #:use-module (gnu packages freedesktop) + #:use-module (gnu packages gettext) + #:use-module (gnu packages glib) + #:use-module (gnu packages gnome) + #:use-module (gnu packages gstreamer) + #:use-module (gnu packages gtk) + #:use-module (gnu packages pkg-config) + #:use-module (gnu packages rust) + #:use-module (gnu packages rust-apps) + #:use-module (gnu packages sqlite) + #:use-module (gnu packages tls) + #:use-module (gnu packages version-control) + #:use-module (guix build-system meson) + #:use-module (guix git-download) + #:use-module ((guix licenses) + #:prefix lic:) + #:use-module (guix packages) + #:use-module (guix utils)) + +(define-public shortwave + (package + (name "shortwave") + (version "3.2.0") + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://gitlab.gnome.org/World/Shortwave.git") + (commit version))) + (file-name (git-file-name name version)) + (sha256 + (base32 "0176razcl593vdg1lnfvs4zfv5nd3h9xzz5vy6midf287p47a9hi")))) + (inputs (list dbus gstreamer gst-plugins-bad gst-plugins-base gtk libadwaita libshumate openssl rust sqlite)) + (native-inputs (list desktop-file-utils gettext-minimal git `(,glib "bin") `(,gtk+ "bin") pkg-config rust-cargo)) + (build-system meson-build-system) + (synopsis "An internet radio player.") + (description "Shortwave is an internet radio player that provides access to +a station database with over 50,000 stations.") + (home-page "https://apps.gnome.org/Shortwave/") + (license lic:gpl3+))) + +shortwave -- 2.11.4.GIT