dvdstyler: xineUI -> xine-ui

This commit is contained in:
AndersonTorres 2021-04-27 11:45:13 -03:00
parent 06dadfa1a1
commit e44606ff47

View file

@ -1,51 +1,74 @@
{ lib, stdenv, fetchurl, pkg-config { lib
, flex, bison, gettext , stdenv
, xineUI, wxSVG , fetchurl
, bison
, cdrtools
, docbook5
, dvdauthor
, dvdplusrwtools
, flex
, fontconfig , fontconfig
, xmlto, docbook5, zip , gettext
, cdrtools, dvdauthor, dvdplusrwtools , makeWrapper
, pkg-config
, wxSVG
, xine-ui
, xmlto
, zip
, dvdisasterSupport ? true, dvdisaster ? null , dvdisasterSupport ? true, dvdisaster ? null
, thumbnailSupport ? true, libgnomeui ? null , thumbnailSupport ? true, libgnomeui ? null
, udevSupport ? true, udev ? null , udevSupport ? true, udev ? null
, dbusSupport ? true, dbus ? null , dbusSupport ? true, dbus ? null
, makeWrapper }: }:
with lib;
stdenv.mkDerivation rec {
let
inherit (lib) optionals makeBinPath;
in stdenv.mkDerivation rec {
pname = "dvdstyler"; pname = "dvdstyler";
srcName = "DVDStyler-${version}";
version = "3.1.2"; version = "3.1.2";
src = fetchurl { src = fetchurl {
url = "mirror://sourceforge/project/dvdstyler/dvdstyler/${version}/${srcName}.tar.bz2"; url = "mirror://sourceforge/project/dvdstyler/dvdstyler/${version}/DVDStyler-${version}.tar.bz2";
sha256 = "03lsblqficcadlzkbyk8agh5rqcfz6y6dqvy9y866wqng3163zq4"; sha256 = "03lsblqficcadlzkbyk8agh5rqcfz6y6dqvy9y866wqng3163zq4";
}; };
nativeBuildInputs = nativeBuildInputs = [
[ pkg-config ]; pkg-config
];
packagesToBinPath = buildInputs = [
[ cdrtools dvdauthor dvdplusrwtools ]; bison
cdrtools
buildInputs = docbook5
[ flex bison gettext xineUI dvdauthor
wxSVG fontconfig xmlto dvdplusrwtools
docbook5 zip makeWrapper ] flex
++ packagesToBinPath fontconfig
gettext
makeWrapper
wxSVG
xine-ui
xmlto
zip
]
++ optionals dvdisasterSupport [ dvdisaster ] ++ optionals dvdisasterSupport [ dvdisaster ]
++ optionals udevSupport [ udev ] ++ optionals udevSupport [ udev ]
++ optionals dbusSupport [ dbus ] ++ optionals dbusSupport [ dbus ]
++ optionals thumbnailSupport [ libgnomeui ]; ++ optionals thumbnailSupport [ libgnomeui ];
binPath = makeBinPath packagesToBinPath;
postInstall = '' postInstall = let
wrapProgram $out/bin/dvdstyler \ binPath = makeBinPath [
--prefix PATH ":" "${binPath}" cdrtools
dvdauthor
dvdplusrwtools
]; in
''
wrapProgram $out/bin/dvdstyler --prefix PATH ":" "${binPath}"
''; '';
meta = with lib; { meta = with lib; {
homepage = "https://www.dvdstyler.org/";
description = "A DVD authoring software"; description = "A DVD authoring software";
longDescription = '' longDescription = ''
DVDStyler is a cross-platform free DVD authoring application for the DVDStyler is a cross-platform free DVD authoring application for the
@ -55,6 +78,7 @@ stdenv.mkDerivation rec {
Software and is completely free. Software and is completely free.
Some of its features include: Some of its features include:
- create and burn DVD video with interactive menus - create and burn DVD video with interactive menus
- design your own DVD menu or select one from the list of ready to use menu - design your own DVD menu or select one from the list of ready to use menu
templates templates
@ -77,8 +101,7 @@ stdenv.mkDerivation rec {
- copy any menu object or whole menu - copy any menu object or whole menu
- customize navigation using DVD scripting - customize navigation using DVD scripting
''; '';
homepage = "http://www.dvdstyler.org/"; license = licenses.gpl2Plus;
license = with licenses; gpl2;
maintainers = with maintainers; [ AndersonTorres ]; maintainers = with maintainers; [ AndersonTorres ];
platforms = with platforms; linux; platforms = with platforms; linux;
}; };