mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-03 04:13:01 +00:00
commit
6881cd2c3a
53
pkgs/applications/video/k9copy/default.nix
Normal file
53
pkgs/applications/video/k9copy/default.nix
Normal file
@ -0,0 +1,53 @@
|
||||
{ stdenv, fetchurl, cmake, automoc4, kf5, dvdauthor, xineLib, libmpeg2, libav,
|
||||
libdvdread, libdvdnav, dvdplusrwtools }:
|
||||
|
||||
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
|
||||
] ++ (with kf5; [
|
||||
extra-cmake-modules
|
||||
kio
|
||||
solid
|
||||
scope.Phonon4Qt5
|
||||
scope.Qt5X11Extras
|
||||
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;
|
||||
};
|
||||
}
|
@ -6544,6 +6544,10 @@ let
|
||||
lua = lua5_1;
|
||||
};
|
||||
|
||||
k9copy = callPackage ../applications/video/k9copy {
|
||||
kf5 = kf510;
|
||||
};
|
||||
|
||||
keybinder3 = callPackage ../development/libraries/keybinder3 {
|
||||
automake = automake111x;
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user