diff options
author | Jean-Philippe Bernardy <jeanphilippe.bernardy@gmail.com> | 2021-07-13 19:48:26 +0200 |
---|---|---|
committer | Jean-Philippe Bernardy <jeanphilippe.bernardy@gmail.com> | 2021-07-14 09:14:20 +0200 |
commit | d6ec883de2bdcb38927b8ce8405c12e758a512f6 (patch) | |
tree | bba721a0bcb75b0e61ed4064b5ea49f6c0c32e6a | |
parent | 242c2dd8e581c5f732e81e98923122f763584700 (diff) | |
download | nixpkgs-d6ec883de2bdcb38927b8ce8405c12e758a512f6.tar nixpkgs-d6ec883de2bdcb38927b8ce8405c12e758a512f6.tar.gz nixpkgs-d6ec883de2bdcb38927b8ce8405c12e758a512f6.tar.bz2 nixpkgs-d6ec883de2bdcb38927b8ce8405c12e758a512f6.tar.lz nixpkgs-d6ec883de2bdcb38927b8ce8405c12e758a512f6.tar.xz nixpkgs-d6ec883de2bdcb38927b8ce8405c12e758a512f6.tar.zst nixpkgs-d6ec883de2bdcb38927b8ce8405c12e758a512f6.zip |
rhythmbox: add support for more features (depend on more libraries)
- libsecret: remember passwords for DAAP servers in the keyring - libnotify: watch changes in the music library - more gstreamer plugins
-rw-r--r-- | pkgs/applications/audio/rhythmbox/default.nix | 23 |
1 files changed, 17 insertions, 6 deletions
diff --git a/pkgs/applications/audio/rhythmbox/default.nix b/pkgs/applications/audio/rhythmbox/default.nix index 9e338e19813..4898648599c 100644 --- a/pkgs/applications/audio/rhythmbox/default.nix +++ b/pkgs/applications/audio/rhythmbox/default.nix @@ -6,6 +6,8 @@ , intltool , libpeas , libsoup +, libsecret +, libnotify , libdmapsharing , gnome , totem-pl-parser @@ -17,8 +19,6 @@ , gst_plugins ? with gst_all_1; [ gst-plugins-good gst-plugins-ugly ] }: let - pname = "rhythmbox"; - version = "3.4.4"; # The API version of libdmapsharing required by rhythmbox 3.4.4 is 3.0. @@ -39,10 +39,11 @@ let }); in stdenv.mkDerivation rec { - name = "${pname}-${version}"; + pname = "rhythmbox"; + version = "3.4.4"; src = fetchurl { - url = "mirror://gnome/sources/${pname}/${lib.versions.majorMinor version}/${name}.tar.xz"; + url = "mirror://gnome/sources/${pname}/${lib.versions.majorMinor version}/${pname}-${version}.tar.xz"; sha256 = "142xcvw4l19jyr5i72nbnrihs953pvrrzcbijjn9dxmxszbv03pf"; }; @@ -66,11 +67,21 @@ in stdenv.mkDerivation rec { gst_all_1.gstreamer gst_all_1.gst-plugins-base + gst_all_1.gst-plugins-good + gst_all_1.gst-plugins-bad + gst_all_1.gst-plugins-ugly + gst_all_1.gst-libav libdmapsharing_3 # necessary for daap support + libsecret + libnotify ] ++ gst_plugins; - configureFlags = [ "--enable-daap" ]; + configureFlags = [ + "--enable-daap" + "--enable-libnotify" + "--with-libsecret" + ]; enableParallelBuilding = true; @@ -84,7 +95,7 @@ in stdenv.mkDerivation rec { meta = with lib; { homepage = "https://wiki.gnome.org/Apps/Rhythmbox"; description = "A music playing application for GNOME"; - license = licenses.gpl2; + license = licenses.gpl2Plus; platforms = platforms.linux; maintainers = [ maintainers.rasendubi ]; }; |