24 version = "1.2.4-unstable-2022-02-06";
26 src = fetchFromGitHub {
27 owner = "bombono-dvd";
29 rev = "8680f5803314e4bcfbdae44f555c47ad345dae72";
30 hash = "sha256-8AxXIvShH4HwlPZWAszku33rts13HiNoRsHiLYdZAHA=";
35 name = "bombono-dvd-1.2.4-scons3.patch";
36 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";
37 sha256 = "sha256-5OKBWrRZvHem2MTdAObfdw76ig3Z4ZdDFtq4CJoJISA=";
40 # Fix compilation errors having ffmpeg 2:5.1
41 # https://github.com/bombono-dvd/bombono-dvd/pull/28
43 url = "https://github.com/bombono-dvd/bombono-dvd/commit/9f2cde1ddc22705bf58264739685086755b2138b.patch?full_index=1";
44 hash = "sha256-ks6c04HEYF4nPfSOjzG+dUt9v7ZmNBb0XH6byPYqX5I=";
49 substituteInPlace src/mbase/SConscript \
50 --replace "lib_mbase_env['CPPDEFINES']" "list(lib_mbase_env['CPPDEFINES'])"
53 nativeBuildInputs = [ wrapGAppsHook3 scons pkg-config gettext ];
68 prefixKey = "PREFIX=";
70 enableParallelBuilding = true;
74 install -Dt $out/share/bombono/resources/scons_authoring tools/scripts/SConsTwin.py
76 wrapProgram $out/bin/bombono-dvd --prefix PATH : ${lib.makeBinPath [ ffmpeg_6 dvdauthor cdrkit ]}
80 description = "DVD authoring program for personal computers";
81 homepage = "https://www.bombono.org/";
82 license = licenses.gpl2Only;
83 maintainers = with maintainers; [ symphorien ];
84 platforms = platforms.linux;