forked from mirrors/nixpkgs
54 lines
1.1 KiB
Nix
54 lines
1.1 KiB
Nix
{ stdenv, fetchurl, cmake, automoc4, qt5, kf5, dvdauthor, xineLib, libmpeg2, libav,
|
|
libdvdread, libdvdnav, dvdplusrwtools, phonon_qt5 }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
version = "3.0.3";
|
|
name = "k9copy-${version}";
|
|
|
|
src = fetchurl {
|
|
url = "mirror://sourceforge/k9copy-reloaded/${name}.tar.gz";
|
|
sha256 = "0dp06rwihks50c57bbv04d6bj2qc88isl91971r4lii2xp0qn7sg";
|
|
};
|
|
|
|
cmakeFlags = [
|
|
"-DQT5_BUILD=ON"
|
|
"-DCMAKE_MINIMUM_REQUIRED_VERSION=3.0"
|
|
];
|
|
|
|
# Hack to disable documentation
|
|
preConfigure = ''
|
|
substituteInPlace ./CMakeLists.txt \
|
|
--replace "add_subdirectory(doc)" ""
|
|
'';
|
|
|
|
buildInputs = [
|
|
cmake
|
|
dvdauthor
|
|
xineLib
|
|
libmpeg2
|
|
libav
|
|
libdvdread
|
|
libdvdnav
|
|
dvdplusrwtools
|
|
automoc4
|
|
phonon_qt5
|
|
] ++ (with kf5; [
|
|
extra-cmake-modules
|
|
kio
|
|
solid
|
|
qt5.x11extras
|
|
kiconthemes
|
|
ki18n
|
|
kdesu
|
|
kdoctools
|
|
]);
|
|
|
|
meta = {
|
|
description = "DVD backup and DVD authoring program";
|
|
homepage = "http://k9copy-reloaded.sourceforge.net/";
|
|
license = stdenv.lib.licenses.gpl2;
|
|
maintainers = with stdenv.lib.maintainers; [ flosse ];
|
|
platforms = stdenv.lib.platforms.unix;
|
|
};
|
|
}
|