sound-juicer: clean up
This commit is contained in:
parent
9de4363fb4
commit
a41294cc6e
@ -1,41 +1,33 @@
|
|||||||
{ stdenv, fetchurl, pkgconfig, gtk3, intltool, itstool, libxml2, brasero
|
{ stdenv, fetchurl, pkgconfig, glib, gtk3, intltool, itstool, libxml2, brasero
|
||||||
, libcanberra-gtk3, gnome3, gst_all_1, libmusicbrainz5, libdiscid, isocodes
|
, libcanberra-gtk3, gnome3, gst_all_1, libmusicbrainz5, libdiscid, isocodes
|
||||||
, makeWrapper }:
|
, wrapGAppsHook }:
|
||||||
|
|
||||||
let
|
let
|
||||||
major = "3.16";
|
pname = "sound-juicer";
|
||||||
minor = "1";
|
version = "3.16.1";
|
||||||
|
in stdenv.mkDerivation rec{
|
||||||
in stdenv.mkDerivation rec {
|
name = "${pname}-${version}";
|
||||||
version = "${major}.${minor}";
|
|
||||||
name = "sound-juicer-${version}";
|
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = "http://download.gnome.org/sources/sound-juicer/${major}/${name}.tar.xz";
|
url = "mirror://gnome/sources/${pname}/${gnome3.versionBranch version}/${name}.tar.xz";
|
||||||
sha256 = "0mx6n901vb97hsv0cwaafjffj75s1kcp8jsqay90dy3099849dyz";
|
sha256 = "0mx6n901vb97hsv0cwaafjffj75s1kcp8jsqay90dy3099849dyz";
|
||||||
};
|
};
|
||||||
|
|
||||||
nativeBuildInputs = [ pkgconfig ];
|
nativeBuildInputs = [ pkgconfig intltool itstool libxml2 wrapGAppsHook ];
|
||||||
buildInputs = [ gtk3 intltool itstool libxml2 brasero libcanberra-gtk3
|
buildInputs = [
|
||||||
gnome3.gsettings-desktop-schemas libmusicbrainz5 libdiscid isocodes
|
glib gtk3 brasero libcanberra-gtk3 gnome3.defaultIconTheme
|
||||||
makeWrapper (stdenv.lib.getLib gnome3.dconf)
|
gnome3.gsettings-desktop-schemas libmusicbrainz5 libdiscid isocodes
|
||||||
gst_all_1.gstreamer gst_all_1.gst-plugins-base
|
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-good gst_all_1.gst-plugins-bad
|
||||||
gst_all_1.gst-libav
|
gst_all_1.gst-libav
|
||||||
];
|
];
|
||||||
|
|
||||||
preFixup = ''
|
passthru = {
|
||||||
for f in $out/bin/* $out/libexec/*; do
|
updateScript = gnome3.updateScript {
|
||||||
wrapProgram "$f" \
|
packageName = pname;
|
||||||
--prefix XDG_DATA_DIRS : "${gnome3.gnome-themes-standard}/share:$XDG_ICON_DIRS:$GSETTINGS_SCHEMAS_PATH" \
|
attrPath = "gnome3.${pname}";
|
||||||
--prefix GST_PLUGIN_SYSTEM_PATH_1_0 : "$GST_PLUGIN_SYSTEM_PATH_1_0" \
|
};
|
||||||
--prefix GIO_EXTRA_MODULES : "${stdenv.lib.getLib gnome3.dconf}/lib/gio/modules"
|
};
|
||||||
done
|
|
||||||
'';
|
|
||||||
|
|
||||||
postInstall = ''
|
|
||||||
rm $out/share/icons/hicolor/icon-theme.cache
|
|
||||||
'';
|
|
||||||
|
|
||||||
meta = with stdenv.lib; {
|
meta = with stdenv.lib; {
|
||||||
description = "A Gnome CD Ripper";
|
description = "A Gnome CD Ripper";
|
||||||
|
Loading…
Reference in New Issue
Block a user