mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-24 22:50:49 +00:00
add parole 0.5.4
This commit is contained in:
parent
7a74215fac
commit
0596f3074b
43
pkgs/desktops/xfce/applications/parole.nix
Normal file
43
pkgs/desktops/xfce/applications/parole.nix
Normal file
|
@ -0,0 +1,43 @@
|
|||
{ stdenv, fetchurl, makeWrapper, pkgconfig, intltool, gst_all_1
|
||||
, gtk, dbus_glib, libxfce4ui, libxfce4util, xfconf
|
||||
, taglib, libnotify
|
||||
, withGstPlugins ? true
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
p_name = "parole";
|
||||
ver_maj = "0.5";
|
||||
ver_min = "4";
|
||||
|
||||
src = fetchurl {
|
||||
url = "mirror://xfce/src/apps/${p_name}/${ver_maj}/${name}.tar.bz2";
|
||||
sha256 = "1hxzqg9dfghrhvmnnccwwa4278fh2awkcqy89sla05m08mxvvx60";
|
||||
};
|
||||
name = "${p_name}-${ver_maj}.${ver_min}";
|
||||
|
||||
nativeBuildInputs = [ pkgconfig intltool ];
|
||||
|
||||
buildInputs = [
|
||||
makeWrapper gst_all_1.gst-plugins-base
|
||||
gtk dbus_glib libxfce4ui libxfce4util xfconf
|
||||
taglib libnotify
|
||||
];
|
||||
|
||||
configureFlags = [ "--with-gstreamer=1.0" ];
|
||||
|
||||
postInstall = stdenv.lib.optionalString withGstPlugins ''
|
||||
wrapProgram "$out/bin/parole" --prefix \
|
||||
GST_PLUGIN_PATH ":" ${stdenv.lib.concatStringsSep ":"
|
||||
(map (s: s+"/lib/gstreamer-1.0") (with gst_all_1; [
|
||||
gst-plugins-base gst-plugins-good
|
||||
gst-plugins-bad gst-plugins-ugly
|
||||
gst-libav
|
||||
])) }
|
||||
'';
|
||||
|
||||
meta = {
|
||||
homepage = "http://goodies.xfce.org/projects/applications/${p_name}";
|
||||
description = "Modern simple media player";
|
||||
platforms = stdenv.lib.platforms.linux;
|
||||
};
|
||||
}
|
|
@ -41,6 +41,7 @@ xfce_self = rec { # the lines are very long but it seems better than the even-od
|
|||
|
||||
gigolo = callPackage ./applications/gigolo.nix { };
|
||||
mousepad = callPackage ./applications/mousepad.nix { };
|
||||
parole = callPackage ./applications/parole.nix { };
|
||||
ristretto = callPackage ./applications/ristretto.nix { };
|
||||
terminal = xfce4terminal; # it has changed its name
|
||||
xfce4mixer = callPackage ./applications/xfce4-mixer.nix { };
|
||||
|
|
Loading…
Reference in a new issue