2019-06-16 21:59:06 +02:00
|
|
|
{ stdenv, fetchFromGitHub, wrapGAppsHook, gtk2, boost, gtkmm2, scons,
|
2020-06-07 14:39:09 +02:00
|
|
|
mjpegtools, libdvdread, dvdauthor, gettext, dvdplusrwtools, libxmlxx, ffmpeg_3,
|
2018-01-26 15:46:15 +01:00
|
|
|
enca, pkgconfig, fetchpatch }:
|
2017-09-01 22:25:55 +02:00
|
|
|
|
2018-01-26 15:46:15 +01:00
|
|
|
let fetchPatchFromAur = {name, sha256}:
|
|
|
|
fetchpatch {
|
|
|
|
inherit name sha256;
|
|
|
|
url = "https://aur.archlinux.org/cgit/aur.git/plain/${name}?h=e6cc6bc80c672aaa1a2260abfe8823da299a192c";
|
|
|
|
}; in
|
2017-09-01 22:25:55 +02:00
|
|
|
stdenv.mkDerivation rec {
|
2019-08-15 14:41:18 +02:00
|
|
|
pname = "bombono";
|
2017-09-01 22:25:55 +02:00
|
|
|
version = "1.2.4";
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "muravjov";
|
|
|
|
repo = "bombono-dvd";
|
|
|
|
rev = version;
|
|
|
|
sha256 = "1lz1vik6abn1i1pvxhm55c9g47nxxv755wb2ijszwswwrwgvq5b9";
|
|
|
|
};
|
|
|
|
|
2020-02-02 13:00:00 +01:00
|
|
|
patches = [
|
|
|
|
(fetchpatch {
|
|
|
|
name = "bombono-dvd-1.2.4-scons3.patch";
|
|
|
|
url = "https://svnweb.mageia.org/packages/cauldron/bombono-dvd/current/SOURCES/bombono-dvd-1.2.4-scons-python3.patch?revision=1447925&view=co&pathrev=1484457";
|
|
|
|
sha256 = "081116d0if6s2r1rgqfr1n5gl3kpvzk01pf4v2k7gg2rnid83qp4";
|
|
|
|
})
|
|
|
|
] ++ (map fetchPatchFromAur [
|
2019-03-23 05:50:12 +01:00
|
|
|
{name="fix_ffmpeg_codecid.patch"; sha256="1asfc0lqzk4gjssrvjmsi1xr53ygnsx2sh7c8yzp5r3j2bagxhp7";}
|
|
|
|
{name="fix_ptr2bool_cast.patch"; sha256="0iqzrmbg38ikh4x9cmx0v0rnm7a9lcq0kd8sh1z9yfmnz71qqahg";}
|
|
|
|
{name="fix_c++11_literal_warnings.patch"; sha256="1zbf12i77p0j0090pz5lzg4a7kyahahzqssybv7vi0xikwvw57w9";}
|
|
|
|
{name="autoptr2uniqueptr.patch"; sha256="0a3wvwfplmqvi8fnj929y85z3h1iq7baaz2d4v08h1q2wbmakqdm";}
|
|
|
|
{name="fix_deprecated_boost_api.patch"; sha256="184gdz3w95ihhsd8xscpwvq77xd4il47kvmv6wslax77xyw50gm8";}
|
|
|
|
{name="fix_throw_specifications.patch"; sha256="1f5gi3qwm843hsxvijq7sjy0s62xm7rnr1vdp7f242fi0ldq6c1n";}
|
|
|
|
{name="fix_operator_ambiguity.patch"; sha256="0r4scsbsqfg6wgzsbfxxpckamvgyrida0n1ypg1klx24pk5dc7n7";}
|
|
|
|
{name="fix_ffmpeg30.patch"; sha256="1irva7a9bpbzs60ga8ypa3la9y84i5rz20jnd721qmfqp2yip8dw";}
|
2020-02-02 13:00:00 +01:00
|
|
|
]);
|
2018-01-26 15:46:15 +01:00
|
|
|
|
2017-09-01 22:25:55 +02:00
|
|
|
nativeBuildInputs = [ wrapGAppsHook scons pkgconfig gettext ];
|
|
|
|
|
|
|
|
buildInputs = [
|
2019-03-23 05:50:12 +01:00
|
|
|
gtk2 gtkmm2 mjpegtools libdvdread dvdauthor boost dvdplusrwtools
|
2020-06-07 14:39:09 +02:00
|
|
|
libxmlxx ffmpeg_3 enca
|
2017-09-01 22:25:55 +02:00
|
|
|
];
|
|
|
|
|
2018-11-12 03:52:07 +01:00
|
|
|
prefixKey = "PREFIX=";
|
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
|
|
|
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
|
|
|
};
|
|
|
|
}
|