1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-22 21:50:55 +00:00
nixpkgs/pkgs/applications/video/k9copy/default.nix

64 lines
1.4 KiB
Nix
Raw Normal View History

{ stdenv, fetchurl
, cmake
, dvdauthor, xineLib, libmpeg2, libav, libdvdread, libdvdnav, dvdplusrwtools
, phonon, qtx11extras
, extra-cmake-modules, kio, kiconthemes, ki18n, kdesu, kdoctools, solid
}:
2015-06-22 11:34:00 +01:00
stdenv.mkDerivation rec {
version = "3.0.3";
pname = "k9copy";
2015-06-22 11:34:00 +01:00
src = fetchurl {
url = "mirror://sourceforge/k9copy-reloaded/${pname}-${version}.tar.gz";
2015-06-22 11:34:00 +01:00
sha256 = "0dp06rwihks50c57bbv04d6bj2qc88isl91971r4lii2xp0qn7sg";
};
2017-08-30 19:54:10 +01:00
patches = [
./gcc6.patch
];
2015-06-22 11:34:00 +01: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
#automoc4
phonon
2015-06-22 11:34:00 +01:00
extra-cmake-modules
kio
solid
qtx11extras
2015-06-22 11:34:00 +01:00
kiconthemes
ki18n
kdesu
];
nativeBuildInputs = [ kdoctools ];
2015-06-22 11:34:00 +01:00
meta = {
description = "DVD backup and DVD authoring program";
homepage = http://k9copy-reloaded.sourceforge.net/;
2015-06-22 11:34:00 +01:00
license = stdenv.lib.licenses.gpl2;
maintainers = with stdenv.lib.maintainers; [ flosse ];
platforms = stdenv.lib.platforms.unix;
# TODO: The software is deprecated and the build is broken, see:
# https://github.com/NixOS/nixpkgs/pull/63260#issuecomment-503506487
broken = true;
2015-06-22 11:34:00 +01:00
};
}