nixpkgs-suyu/pkgs/applications/video/bombono/default.nix

39 lines
1,007 B
Nix
Raw Normal View History

2017-09-01 22:25:55 +02:00
{ stdenv, fetchFromGitHub, wrapGAppsHook, gtk2, boost, gnome2, scons,
mjpegtools, libdvdread, dvdauthor, gettext, dvdplusrwtools, libxmlxx, ffmpeg,
enca, pkgconfig }:
stdenv.mkDerivation rec {
name = "bombono-${version}";
version = "1.2.4";
src = fetchFromGitHub {
owner = "muravjov";
repo = "bombono-dvd";
rev = version;
sha256 = "1lz1vik6abn1i1pvxhm55c9g47nxxv755wb2ijszwswwrwgvq5b9";
};
nativeBuildInputs = [ wrapGAppsHook scons pkgconfig gettext ];
buildInputs = [
gtk2 gnome2.gtkmm mjpegtools libdvdread dvdauthor boost dvdplusrwtools
libxmlxx ffmpeg enca
];
buildPhase = ''
2018-01-26 15:45:54 +01:00
scons PREFIX=$out -j$NIX_BUILD_CORES -l$NIX_BUILD_CORES
2017-09-01 22:25:55 +02:00
'';
2018-01-26 15:45:54 +01:00
enableParallelBuilding = true;
2017-09-01 22:25:55 +02:00
installPhase = ''
scons install
'';
meta = {
description = "a DVD authoring program for personal computers";
homepage = "http://www.bombono.org/";
license = stdenv.lib.licenses.gpl2;
2018-01-26 15:45:22 +01:00
maintainers = with stdenv.lib.maintainers; [ symphorien ];
2017-09-01 22:25:55 +02:00
};
}