2021-02-05 17:12:51 +00:00
|
|
|
{ lib, stdenv, fetchFromGitHub, autoreconfHook, pkg-config, intltool, file,
|
2020-04-24 23:36:52 +00:00
|
|
|
desktop-file-utils, enchant, gtk3, gtkmm3, gst_all_1, hicolor-icon-theme,
|
2021-02-05 17:12:51 +00:00
|
|
|
libsigcxx, libxmlxx, xdg-utils, isocodes, wrapGAppsHook
|
2020-04-24 23:36:52 +00:00
|
|
|
}:
|
|
|
|
|
|
|
|
let
|
|
|
|
version = "0.54.0";
|
|
|
|
in
|
|
|
|
|
|
|
|
stdenv.mkDerivation {
|
|
|
|
pname = "subtitleeditor";
|
|
|
|
inherit version;
|
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "kitone";
|
|
|
|
repo = "subtitleeditor";
|
|
|
|
rev = version;
|
|
|
|
sha256 = "0vxcscc9m6gymgj173ahk2g9hlk9588z5fdaavmkpyriqdlhwm11";
|
|
|
|
};
|
|
|
|
|
|
|
|
nativeBuildInputs = [
|
|
|
|
autoreconfHook
|
2021-02-05 17:12:51 +00:00
|
|
|
pkg-config
|
2020-04-24 23:36:52 +00:00
|
|
|
intltool
|
|
|
|
file
|
|
|
|
wrapGAppsHook
|
|
|
|
];
|
|
|
|
|
|
|
|
buildInputs = [
|
|
|
|
desktop-file-utils
|
|
|
|
enchant
|
|
|
|
gtk3
|
|
|
|
gtkmm3
|
|
|
|
gst_all_1.gstreamer
|
|
|
|
gst_all_1.gstreamermm
|
|
|
|
gst_all_1.gst-plugins-base
|
|
|
|
gst_all_1.gst-plugins-good
|
2021-01-05 17:05:55 +00:00
|
|
|
gst_all_1.gst-plugins-bad
|
|
|
|
gst_all_1.gst-plugins-ugly
|
|
|
|
gst_all_1.gst-libav
|
2020-04-24 23:36:52 +00:00
|
|
|
hicolor-icon-theme
|
|
|
|
libsigcxx
|
|
|
|
libxmlxx
|
2021-02-05 17:12:51 +00:00
|
|
|
xdg-utils
|
2020-04-24 23:36:52 +00:00
|
|
|
isocodes
|
|
|
|
];
|
|
|
|
|
|
|
|
enableParallelBuilding = true;
|
|
|
|
|
|
|
|
preConfigure = "substituteInPlace ./configure --replace /usr/bin/file ${file}/bin/file";
|
|
|
|
|
|
|
|
configureFlags = [ "--disable-debug" ];
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
description = "GTK 3 application to edit video subtitles";
|
|
|
|
longDescription = ''
|
|
|
|
Subtitle Editor is a GTK 3 tool to edit subtitles for GNU/Linux/*BSD. It
|
|
|
|
can be used for new subtitles or as a tool to transform, edit, correct
|
|
|
|
and refine existing subtitle. This program also shows sound waves, which
|
|
|
|
makes it easier to synchronise subtitles to voices.
|
|
|
|
'';
|
|
|
|
homepage = "http://kitone.github.io/subtitleeditor/";
|
2021-01-15 22:18:51 +00:00
|
|
|
license = lib.licenses.gpl3Plus;
|
|
|
|
platforms = lib.platforms.linux;
|
|
|
|
maintainers = [ lib.maintainers.plcplc ];
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
}
|