2021-12-06 16:07:01 +00:00
|
|
|
{ lib
|
|
|
|
, stdenv
|
|
|
|
, fetchurl
|
|
|
|
, imagemagick
|
|
|
|
, libdvdread
|
|
|
|
, libxml2
|
|
|
|
, freetype
|
|
|
|
, fribidi
|
|
|
|
, libpng
|
|
|
|
, zlib
|
|
|
|
, pkg-config
|
|
|
|
, flex
|
|
|
|
, bison
|
|
|
|
}:
|
2020-04-24 23:36:52 +00:00
|
|
|
|
2020-06-18 07:06:33 +00:00
|
|
|
stdenv.mkDerivation rec {
|
2021-12-06 16:07:01 +00:00
|
|
|
pname = "dvdauthor";
|
|
|
|
version = "0.7.1";
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
src = fetchurl {
|
2021-12-06 16:07:01 +00:00
|
|
|
url = "mirror://sourceforge/dvdauthor/dvdauthor-${version}.tar.gz";
|
2020-04-24 23:36:52 +00:00
|
|
|
sha256 = "1s8zqlim0s3hk5sbdsilip3qqh0yv05l1jwx49d9rsy614dv27sh";
|
|
|
|
};
|
|
|
|
|
2021-12-06 16:07:01 +00:00
|
|
|
buildInputs = [ libpng freetype libdvdread libxml2 zlib fribidi imagemagick flex bison ];
|
2021-02-05 17:12:51 +00:00
|
|
|
nativeBuildInputs = [ pkg-config ];
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
patches = [
|
|
|
|
./dvdauthor-0.7.1-automake-1.13.patch
|
|
|
|
./dvdauthor-0.7.1-mga-strndup.patch
|
|
|
|
./dvdauthor-imagemagick-0.7.0.patch
|
|
|
|
];
|
|
|
|
|
2021-01-15 22:18:51 +00:00
|
|
|
meta = with lib; {
|
2020-04-24 23:36:52 +00:00
|
|
|
description = "Tools for generating DVD files to be played on standalone DVD players";
|
|
|
|
homepage = "http://dvdauthor.sourceforge.net/";
|
|
|
|
license = licenses.gpl2;
|
|
|
|
platforms = platforms.linux ++ platforms.darwin;
|
|
|
|
};
|
|
|
|
}
|