mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-27 08:04:14 +00:00
2e0589b4ca
Upstream changes to the build system required adjusting many packages' dependencies. On the Nixpkgs side, we no longer propagate the dependency on cmake (to reduce closure size), so downstream dependencies had to be adjusted for most packages that depend on kdelibs.
43 lines
1.4 KiB
Nix
43 lines
1.4 KiB
Nix
{ stdenv, fetchurl, makeWrapper, automoc4, cmake, perl, pkgconfig
|
|
, shared_mime_info, libvorbis, taglib , flac, libsamplerate
|
|
, libdvdread, lame, libsndfile, libmad, gettext , transcode, cdrdao
|
|
, cdrtools, dvdplusrwtools, vcdimager, cdparanoia , kdelibs
|
|
, kdemultimedia, phonon, libkcddb ? null
|
|
}:
|
|
|
|
stdenv.mkDerivation rec {
|
|
name = "k3b-2.0.3a";
|
|
|
|
src = fetchurl {
|
|
url = "http://download.kde.org/stable/k3b/${name}.tar.xz";
|
|
sha256 = "10f07465g9860chfnvrp9w3m686g6j9f446xgnnx7h82d1sb42rd";
|
|
};
|
|
|
|
nativeBuildInputs = [ automoc4 cmake gettext perl pkgconfig ];
|
|
|
|
buildInputs = [
|
|
shared_mime_info libvorbis taglib flac libsamplerate libdvdread
|
|
lame libsndfile libmad stdenv.cc.libc kdelibs
|
|
kdemultimedia phonon libkcddb makeWrapper cdparanoia
|
|
];
|
|
|
|
enableParallelBuilding = true;
|
|
|
|
# at runtime, k3b needs the executables cdrdao, cdrecord, dvd+rw-format,
|
|
# eMovix, growisofs, mkisofs, normalize, readcd, transcode, vcdxbuild,
|
|
# vcdxminfo, and vcdxrip
|
|
propagatedUserEnvPkgs = [ cdrdao cdrtools dvdplusrwtools transcode vcdimager ];
|
|
|
|
postInstall = ''
|
|
wrapProgram $out/bin/k3b \
|
|
--prefix LD_LIBRARY_PATH ":" "${cdparanoia}/lib"
|
|
'';
|
|
|
|
meta = with stdenv.lib; {
|
|
description = "CD/DVD Burning Application for KDE";
|
|
license = licenses.gpl2Plus;
|
|
maintainers = [ maintainers.sander maintainers.urkud maintainers.phreedom ];
|
|
platforms = with stdenv.lib.platforms; linux;
|
|
};
|
|
}
|