2015-09-27 17:11:01 +02:00
|
|
|
{ stdenv, fetchurl
|
|
|
|
, cmake, automoc4
|
|
|
|
, dvdauthor, xineLib, libmpeg2, libav, libdvdread, libdvdnav, dvdplusrwtools
|
|
|
|
, phonon, qtx11extras
|
|
|
|
, extra-cmake-modules, kio, kiconthemes, ki18n, kdesu, kdoctools, solid
|
|
|
|
}:
|
2015-06-22 12:34:00 +02:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
version = "3.0.3";
|
|
|
|
name = "k9copy-${version}";
|
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "mirror://sourceforge/k9copy-reloaded/${name}.tar.gz";
|
|
|
|
sha256 = "0dp06rwihks50c57bbv04d6bj2qc88isl91971r4lii2xp0qn7sg";
|
|
|
|
};
|
|
|
|
|
2017-08-30 20:54:10 +02:00
|
|
|
patches = [
|
|
|
|
./gcc6.patch
|
|
|
|
];
|
|
|
|
|
2015-06-22 12:34:00 +02:00
|
|
|
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
|
2015-09-27 17:11:01 +02:00
|
|
|
#automoc4
|
|
|
|
phonon
|
2015-06-22 12:34:00 +02:00
|
|
|
extra-cmake-modules
|
|
|
|
kio
|
|
|
|
solid
|
2015-09-27 17:11:01 +02:00
|
|
|
qtx11extras
|
2015-06-22 12:34:00 +02:00
|
|
|
kiconthemes
|
|
|
|
ki18n
|
|
|
|
kdesu
|
2015-09-27 17:11:01 +02:00
|
|
|
];
|
|
|
|
nativeBuildInputs = [ kdoctools ];
|
2015-06-22 12:34:00 +02:00
|
|
|
|
|
|
|
meta = {
|
|
|
|
description = "DVD backup and DVD authoring program";
|
2017-08-01 22:03:30 +02:00
|
|
|
homepage = http://k9copy-reloaded.sourceforge.net/;
|
2015-06-22 12:34:00 +02:00
|
|
|
license = stdenv.lib.licenses.gpl2;
|
|
|
|
maintainers = with stdenv.lib.maintainers; [ flosse ];
|
|
|
|
platforms = stdenv.lib.platforms.unix;
|
|
|
|
};
|
|
|
|
}
|