···1-{ lib, stdenv, fetchurl, pkg-config
2-, flex, bison, gettext
3-, xineUI, wxSVG
0000004, fontconfig
5-, xmlto, docbook5, zip
6-, cdrtools, dvdauthor, dvdplusrwtools
0000007, dvdisasterSupport ? true, dvdisaster ? null
8, thumbnailSupport ? true, libgnomeui ? null
9, udevSupport ? true, udev ? null
10, dbusSupport ? true, dbus ? null
11-, makeWrapper }:
1213-with lib;
14-stdenv.mkDerivation rec {
15-16 pname = "dvdstyler";
17- srcName = "DVDStyler-${version}";
18 version = "3.1.2";
1920 src = fetchurl {
21- url = "mirror://sourceforge/project/dvdstyler/dvdstyler/${version}/${srcName}.tar.bz2";
22 sha256 = "03lsblqficcadlzkbyk8agh5rqcfz6y6dqvy9y866wqng3163zq4";
23 };
2425- nativeBuildInputs =
26- [ pkg-config ];
27-28- packagesToBinPath =
29- [ cdrtools dvdauthor dvdplusrwtools ];
30-31- buildInputs =
32- [ flex bison gettext xineUI
33- wxSVG fontconfig xmlto
34- docbook5 zip makeWrapper ]
35- ++ packagesToBinPath
000000036 ++ optionals dvdisasterSupport [ dvdisaster ]
37 ++ optionals udevSupport [ udev ]
38 ++ optionals dbusSupport [ dbus ]
39 ++ optionals thumbnailSupport [ libgnomeui ];
4041- binPath = makeBinPath packagesToBinPath;
4243- postInstall = ''
44- wrapProgram $out/bin/dvdstyler \
45- --prefix PATH ":" "${binPath}"
46- '';
000004748 meta = with lib; {
049 description = "A DVD authoring software";
50 longDescription = ''
51- DVDStyler is a cross-platform free DVD authoring application for the
52- creation of professional-looking DVDs. It allows not only burning of video
53- files on DVD that can be played practically on any standalone DVD player,
54- but also creation of individually designed DVD menus. It is Open Source
55- Software and is completely free.
5657- Some of its features include:
58- - create and burn DVD video with interactive menus
59- - design your own DVD menu or select one from the list of ready to use menu
60- templates
61- - create photo slideshow
62- - add multiple subtitle and audio tracks
63- - support of AVI, MOV, MP4, MPEG, OGG, WMV and other file formats
64- - support of MPEG-2, MPEG-4, DivX, Xvid, MP2, MP3, AC-3 and other audio and
65- video formats
66- - support of multi-core processor
67- - use MPEG and VOB files without reencoding
68- - put files with different audio/video format on one DVD (support of
69- titleset)
70- - user-friendly interface with support of drag & drop
71- - flexible menu creation on the basis of scalable vector graphic
72- - import of image file for background
73- - place buttons, text, images and other graphic objects anywhere on the menu
74- screen
75- - change the font/color and other parameters of buttons and graphic objects
76- - scale any button or graphic object
77- - copy any menu object or whole menu
78- - customize navigation using DVD scripting
079 '';
80- homepage = "http://www.dvdstyler.org/";
81- license = with licenses; gpl2;
82 maintainers = with maintainers; [ AndersonTorres ];
83 platforms = with platforms; linux;
84 };
···1+{ lib
2+, stdenv
3+, fetchurl
4+, bison
5+, cdrtools
6+, docbook5
7+, dvdauthor
8+, dvdplusrwtools
9+, flex
10, fontconfig
11+, gettext
12+, makeWrapper
13+, pkg-config
14+, wxSVG
15+, xine-ui
16+, xmlto
17+, zip
18+19, dvdisasterSupport ? true, dvdisaster ? null
20, thumbnailSupport ? true, libgnomeui ? null
21, udevSupport ? true, udev ? null
22, dbusSupport ? true, dbus ? null
23+}:
2425+let
26+ inherit (lib) optionals makeBinPath;
27+in stdenv.mkDerivation rec {
28 pname = "dvdstyler";
029 version = "3.1.2";
3031 src = fetchurl {
32+ url = "mirror://sourceforge/project/dvdstyler/dvdstyler/${version}/DVDStyler-${version}.tar.bz2";
33 sha256 = "03lsblqficcadlzkbyk8agh5rqcfz6y6dqvy9y866wqng3163zq4";
34 };
3536+ nativeBuildInputs = [
37+ pkg-config
38+ ];
39+ buildInputs = [
40+ bison
41+ cdrtools
42+ docbook5
43+ dvdauthor
44+ dvdplusrwtools
45+ flex
46+ fontconfig
47+ gettext
48+ makeWrapper
49+ wxSVG
50+ xine-ui
51+ xmlto
52+ zip
53+ ]
54 ++ optionals dvdisasterSupport [ dvdisaster ]
55 ++ optionals udevSupport [ udev ]
56 ++ optionals dbusSupport [ dbus ]
57 ++ optionals thumbnailSupport [ libgnomeui ];
5805960+ postInstall = let
61+ binPath = makeBinPath [
62+ cdrtools
63+ dvdauthor
64+ dvdplusrwtools
65+ ]; in
66+ ''
67+ wrapProgram $out/bin/dvdstyler --prefix PATH ":" "${binPath}"
68+ '';
6970 meta = with lib; {
71+ homepage = "https://www.dvdstyler.org/";
72 description = "A DVD authoring software";
73 longDescription = ''
74+ DVDStyler is a cross-platform free DVD authoring application for the
75+ creation of professional-looking DVDs. It allows not only burning of video
76+ files on DVD that can be played practically on any standalone DVD player,
77+ but also creation of individually designed DVD menus. It is Open Source
78+ Software and is completely free.
7980+ Some of its features include:
81+82+ - create and burn DVD video with interactive menus
83+ - design your own DVD menu or select one from the list of ready to use menu
84+ templates
85+ - create photo slideshow
86+ - add multiple subtitle and audio tracks
87+ - support of AVI, MOV, MP4, MPEG, OGG, WMV and other file formats
88+ - support of MPEG-2, MPEG-4, DivX, Xvid, MP2, MP3, AC-3 and other audio and
89+ video formats
90+ - support of multi-core processor
91+ - use MPEG and VOB files without reencoding
92+ - put files with different audio/video format on one DVD (support of
93+ titleset)
94+ - user-friendly interface with support of drag & drop
95+ - flexible menu creation on the basis of scalable vector graphic
96+ - import of image file for background
97+ - place buttons, text, images and other graphic objects anywhere on the menu
98+ screen
99+ - change the font/color and other parameters of buttons and graphic objects
100+ - scale any button or graphic object
101+ - copy any menu object or whole menu
102+ - customize navigation using DVD scripting
103 '';
104+ license = licenses.gpl2Plus;
0105 maintainers = with maintainers; [ AndersonTorres ];
106 platforms = with platforms; linux;
107 };