···11-{ lib, stdenv, fetchurl, pkg-config
22-, flex, bison, gettext
33-, xineUI, wxSVG
11+{ lib
22+, stdenv
33+, fetchurl
44+, bison
55+, cdrtools
66+, docbook5
77+, dvdauthor
88+, dvdplusrwtools
99+, flex
410, fontconfig
55-, xmlto, docbook5, zip
66-, cdrtools, dvdauthor, dvdplusrwtools
1111+, gettext
1212+, makeWrapper
1313+, pkg-config
1414+, wxSVG
1515+, xine-ui
1616+, xmlto
1717+, zip
1818+719, dvdisasterSupport ? true, dvdisaster ? null
820, thumbnailSupport ? true, libgnomeui ? null
921, udevSupport ? true, udev ? null
1022, dbusSupport ? true, dbus ? null
1111-, makeWrapper }:
2323+}:
12241313-with lib;
1414-stdenv.mkDerivation rec {
1515-2525+let
2626+ inherit (lib) optionals makeBinPath;
2727+in stdenv.mkDerivation rec {
1628 pname = "dvdstyler";
1717- srcName = "DVDStyler-${version}";
1829 version = "3.1.2";
19302031 src = fetchurl {
2121- url = "mirror://sourceforge/project/dvdstyler/dvdstyler/${version}/${srcName}.tar.bz2";
3232+ url = "mirror://sourceforge/project/dvdstyler/dvdstyler/${version}/DVDStyler-${version}.tar.bz2";
2233 sha256 = "03lsblqficcadlzkbyk8agh5rqcfz6y6dqvy9y866wqng3163zq4";
2334 };
24352525- nativeBuildInputs =
2626- [ pkg-config ];
2727-2828- packagesToBinPath =
2929- [ cdrtools dvdauthor dvdplusrwtools ];
3030-3131- buildInputs =
3232- [ flex bison gettext xineUI
3333- wxSVG fontconfig xmlto
3434- docbook5 zip makeWrapper ]
3535- ++ packagesToBinPath
3636+ nativeBuildInputs = [
3737+ pkg-config
3838+ ];
3939+ buildInputs = [
4040+ bison
4141+ cdrtools
4242+ docbook5
4343+ dvdauthor
4444+ dvdplusrwtools
4545+ flex
4646+ fontconfig
4747+ gettext
4848+ makeWrapper
4949+ wxSVG
5050+ xine-ui
5151+ xmlto
5252+ zip
5353+ ]
3654 ++ optionals dvdisasterSupport [ dvdisaster ]
3755 ++ optionals udevSupport [ udev ]
3856 ++ optionals dbusSupport [ dbus ]
3957 ++ optionals thumbnailSupport [ libgnomeui ];
40584141- binPath = makeBinPath packagesToBinPath;
42594343- postInstall = ''
4444- wrapProgram $out/bin/dvdstyler \
4545- --prefix PATH ":" "${binPath}"
4646- '';
6060+ postInstall = let
6161+ binPath = makeBinPath [
6262+ cdrtools
6363+ dvdauthor
6464+ dvdplusrwtools
6565+ ]; in
6666+ ''
6767+ wrapProgram $out/bin/dvdstyler --prefix PATH ":" "${binPath}"
6868+ '';
47694870 meta = with lib; {
7171+ homepage = "https://www.dvdstyler.org/";
4972 description = "A DVD authoring software";
5073 longDescription = ''
5151- DVDStyler is a cross-platform free DVD authoring application for the
5252- creation of professional-looking DVDs. It allows not only burning of video
5353- files on DVD that can be played practically on any standalone DVD player,
5454- but also creation of individually designed DVD menus. It is Open Source
5555- Software and is completely free.
7474+ DVDStyler is a cross-platform free DVD authoring application for the
7575+ creation of professional-looking DVDs. It allows not only burning of video
7676+ files on DVD that can be played practically on any standalone DVD player,
7777+ but also creation of individually designed DVD menus. It is Open Source
7878+ Software and is completely free.
56795757- Some of its features include:
5858- - create and burn DVD video with interactive menus
5959- - design your own DVD menu or select one from the list of ready to use menu
6060- templates
6161- - create photo slideshow
6262- - add multiple subtitle and audio tracks
6363- - support of AVI, MOV, MP4, MPEG, OGG, WMV and other file formats
6464- - support of MPEG-2, MPEG-4, DivX, Xvid, MP2, MP3, AC-3 and other audio and
6565- video formats
6666- - support of multi-core processor
6767- - use MPEG and VOB files without reencoding
6868- - put files with different audio/video format on one DVD (support of
6969- titleset)
7070- - user-friendly interface with support of drag & drop
7171- - flexible menu creation on the basis of scalable vector graphic
7272- - import of image file for background
7373- - place buttons, text, images and other graphic objects anywhere on the menu
7474- screen
7575- - change the font/color and other parameters of buttons and graphic objects
7676- - scale any button or graphic object
7777- - copy any menu object or whole menu
7878- - customize navigation using DVD scripting
8080+ Some of its features include:
8181+8282+ - create and burn DVD video with interactive menus
8383+ - design your own DVD menu or select one from the list of ready to use menu
8484+ templates
8585+ - create photo slideshow
8686+ - add multiple subtitle and audio tracks
8787+ - support of AVI, MOV, MP4, MPEG, OGG, WMV and other file formats
8888+ - support of MPEG-2, MPEG-4, DivX, Xvid, MP2, MP3, AC-3 and other audio and
8989+ video formats
9090+ - support of multi-core processor
9191+ - use MPEG and VOB files without reencoding
9292+ - put files with different audio/video format on one DVD (support of
9393+ titleset)
9494+ - user-friendly interface with support of drag & drop
9595+ - flexible menu creation on the basis of scalable vector graphic
9696+ - import of image file for background
9797+ - place buttons, text, images and other graphic objects anywhere on the menu
9898+ screen
9999+ - change the font/color and other parameters of buttons and graphic objects
100100+ - scale any button or graphic object
101101+ - copy any menu object or whole menu
102102+ - customize navigation using DVD scripting
79103 '';
8080- homepage = "http://www.dvdstyler.org/";
8181- license = with licenses; gpl2;
104104+ license = licenses.gpl2Plus;
82105 maintainers = with maintainers; [ AndersonTorres ];
83106 platforms = with platforms; linux;
84107 };