2021-05-03 20:48:10 +00:00
|
|
|
{ lib
|
|
|
|
, stdenv
|
|
|
|
, fetchurl
|
|
|
|
, bison
|
|
|
|
, cdrtools
|
2022-02-20 05:27:41 +00:00
|
|
|
, docbook_xml_dtd_412
|
|
|
|
, docbook-xsl-nons
|
2021-05-03 20:48:10 +00:00
|
|
|
, dvdauthor
|
|
|
|
, dvdplusrwtools
|
2021-05-20 23:08:51 +00:00
|
|
|
, ffmpeg
|
2021-05-03 20:48:10 +00:00
|
|
|
, flex
|
2020-04-24 23:36:52 +00:00
|
|
|
, fontconfig
|
2021-05-03 20:48:10 +00:00
|
|
|
, gettext
|
2022-02-20 05:27:41 +00:00
|
|
|
, glib
|
|
|
|
, gobject-introspection
|
2021-05-20 23:08:51 +00:00
|
|
|
, libexif
|
2022-02-20 05:27:41 +00:00
|
|
|
, libjpeg
|
2021-05-03 20:48:10 +00:00
|
|
|
, pkg-config
|
2022-02-20 05:27:41 +00:00
|
|
|
, wrapGAppsHook
|
2022-12-17 10:02:37 +00:00
|
|
|
, wxGTK30 # crash with wxGTK30 with GTK2 compat
|
2021-05-03 20:48:10 +00:00
|
|
|
, wxSVG
|
|
|
|
, xine-ui
|
|
|
|
, xmlto
|
|
|
|
, zip
|
|
|
|
|
2020-04-24 23:36:52 +00:00
|
|
|
, dvdisasterSupport ? true, dvdisaster ? null
|
|
|
|
, thumbnailSupport ? true, libgnomeui ? null
|
|
|
|
, udevSupport ? true, udev ? null
|
|
|
|
, dbusSupport ? true, dbus ? null
|
2021-05-03 20:48:10 +00:00
|
|
|
}:
|
2020-04-24 23:36:52 +00:00
|
|
|
|
2021-05-03 20:48:10 +00:00
|
|
|
let
|
|
|
|
inherit (lib) optionals makeBinPath;
|
|
|
|
in stdenv.mkDerivation rec {
|
2020-04-24 23:36:52 +00:00
|
|
|
pname = "dvdstyler";
|
|
|
|
version = "3.1.2";
|
|
|
|
|
|
|
|
src = fetchurl {
|
2021-05-03 20:48:10 +00:00
|
|
|
url = "mirror://sourceforge/project/dvdstyler/dvdstyler/${version}/DVDStyler-${version}.tar.bz2";
|
2020-04-24 23:36:52 +00:00
|
|
|
sha256 = "03lsblqficcadlzkbyk8agh5rqcfz6y6dqvy9y866wqng3163zq4";
|
|
|
|
};
|
|
|
|
|
2021-05-03 20:48:10 +00:00
|
|
|
nativeBuildInputs = [
|
2022-02-20 05:27:41 +00:00
|
|
|
bison
|
|
|
|
docbook_xml_dtd_412
|
|
|
|
docbook-xsl-nons
|
|
|
|
flex
|
|
|
|
gettext
|
|
|
|
gobject-introspection
|
2021-05-03 20:48:10 +00:00
|
|
|
pkg-config
|
2022-02-20 05:27:41 +00:00
|
|
|
wrapGAppsHook
|
|
|
|
xmlto
|
|
|
|
zip
|
2021-05-03 20:48:10 +00:00
|
|
|
];
|
|
|
|
buildInputs = [
|
|
|
|
cdrtools
|
|
|
|
dvdauthor
|
|
|
|
dvdplusrwtools
|
2021-05-20 23:08:51 +00:00
|
|
|
ffmpeg
|
2021-05-03 20:48:10 +00:00
|
|
|
fontconfig
|
2022-02-20 05:27:41 +00:00
|
|
|
glib
|
2021-05-20 23:08:51 +00:00
|
|
|
libexif
|
2022-02-20 05:27:41 +00:00
|
|
|
libjpeg
|
2021-05-03 20:48:10 +00:00
|
|
|
wxSVG
|
2022-12-17 10:02:37 +00:00
|
|
|
wxGTK30
|
2021-05-03 20:48:10 +00:00
|
|
|
xine-ui
|
|
|
|
]
|
2020-04-24 23:36:52 +00:00
|
|
|
++ optionals dvdisasterSupport [ dvdisaster ]
|
|
|
|
++ optionals udevSupport [ udev ]
|
|
|
|
++ optionals dbusSupport [ dbus ]
|
|
|
|
++ optionals thumbnailSupport [ libgnomeui ];
|
|
|
|
|
2022-02-20 05:27:41 +00:00
|
|
|
enableParallelBuilding = true;
|
2020-04-24 23:36:52 +00:00
|
|
|
|
2022-02-20 05:27:41 +00:00
|
|
|
preFixup = let
|
|
|
|
binPath = makeBinPath ([
|
2021-05-03 20:48:10 +00:00
|
|
|
cdrtools
|
|
|
|
dvdauthor
|
|
|
|
dvdplusrwtools
|
2022-02-20 05:27:41 +00:00
|
|
|
] ++ optionals dvdisasterSupport [ dvdisaster ]);
|
|
|
|
in
|
2021-05-03 20:48:10 +00:00
|
|
|
''
|
2022-02-20 05:27:41 +00:00
|
|
|
gappsWrapperArgs+=(
|
|
|
|
--prefix PATH : "${binPath}"
|
|
|
|
)
|
|
|
|
'';
|
2020-04-24 23:36:52 +00:00
|
|
|
|
2021-05-20 23:08:51 +00:00
|
|
|
|
2021-01-15 22:18:51 +00:00
|
|
|
meta = with lib; {
|
2021-05-03 20:48:10 +00:00
|
|
|
homepage = "https://www.dvdstyler.org/";
|
2020-04-24 23:36:52 +00:00
|
|
|
description = "A DVD authoring software";
|
|
|
|
longDescription = ''
|
2021-05-03 20:48:10 +00:00
|
|
|
DVDStyler is a cross-platform free DVD authoring application for the
|
|
|
|
creation of professional-looking DVDs. It allows not only burning of video
|
|
|
|
files on DVD that can be played practically on any standalone DVD player,
|
|
|
|
but also creation of individually designed DVD menus. It is Open Source
|
|
|
|
Software and is completely free.
|
|
|
|
|
|
|
|
Some of its features include:
|
2020-04-24 23:36:52 +00:00
|
|
|
|
2021-05-03 20:48:10 +00:00
|
|
|
- create and burn DVD video with interactive menus
|
|
|
|
- design your own DVD menu or select one from the list of ready to use menu
|
|
|
|
templates
|
|
|
|
- create photo slideshow
|
|
|
|
- add multiple subtitle and audio tracks
|
|
|
|
- support of AVI, MOV, MP4, MPEG, OGG, WMV and other file formats
|
|
|
|
- support of MPEG-2, MPEG-4, DivX, Xvid, MP2, MP3, AC-3 and other audio and
|
|
|
|
video formats
|
|
|
|
- support of multi-core processor
|
|
|
|
- use MPEG and VOB files without reencoding
|
|
|
|
- put files with different audio/video format on one DVD (support of
|
|
|
|
titleset)
|
|
|
|
- user-friendly interface with support of drag & drop
|
|
|
|
- flexible menu creation on the basis of scalable vector graphic
|
|
|
|
- import of image file for background
|
|
|
|
- place buttons, text, images and other graphic objects anywhere on the menu
|
|
|
|
screen
|
|
|
|
- change the font/color and other parameters of buttons and graphic objects
|
|
|
|
- scale any button or graphic object
|
|
|
|
- copy any menu object or whole menu
|
|
|
|
- customize navigation using DVD scripting
|
2020-04-24 23:36:52 +00:00
|
|
|
'';
|
2021-05-03 20:48:10 +00:00
|
|
|
license = licenses.gpl2Plus;
|
2020-04-24 23:36:52 +00:00
|
|
|
maintainers = with maintainers; [ AndersonTorres ];
|
|
|
|
platforms = with platforms; linux;
|
|
|
|
};
|
|
|
|
}
|