2018-01-13 01:14:12 +01:00
|
|
|
{ stdenv, fetchFromGitHub, autoreconfHook, pkgconfig, intltool, file,
|
2019-06-16 21:59:06 +02:00
|
|
|
desktop-file-utils, enchant, gtk3, gtkmm3, gst_all_1, hicolor-icon-theme,
|
2018-01-13 01:14:12 +01:00
|
|
|
libsigcxx, libxmlxx, xdg_utils, isocodes, wrapGAppsHook
|
2016-09-20 15:18:16 +02:00
|
|
|
}:
|
2014-05-21 20:45:58 +02:00
|
|
|
|
|
|
|
let
|
2018-01-13 01:14:12 +01:00
|
|
|
version = "0.54.0";
|
2014-05-21 20:45:58 +02:00
|
|
|
in
|
|
|
|
|
2019-08-13 23:52:01 +02:00
|
|
|
stdenv.mkDerivation {
|
2019-08-13 23:52:01 +02:00
|
|
|
pname = "subtitleeditor";
|
|
|
|
inherit version;
|
2014-05-21 20:45:58 +02:00
|
|
|
|
2018-01-13 01:14:12 +01:00
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "kitone";
|
|
|
|
repo = "subtitleeditor";
|
|
|
|
rev = version;
|
|
|
|
sha256 = "0vxcscc9m6gymgj173ahk2g9hlk9588z5fdaavmkpyriqdlhwm11";
|
2014-05-21 20:45:58 +02:00
|
|
|
};
|
|
|
|
|
2016-03-18 13:14:46 +01:00
|
|
|
nativeBuildInputs = [
|
2018-01-13 01:14:12 +01:00
|
|
|
autoreconfHook
|
2016-09-20 15:18:16 +02:00
|
|
|
pkgconfig
|
|
|
|
intltool
|
|
|
|
file
|
|
|
|
wrapGAppsHook
|
2016-03-18 13:14:46 +01:00
|
|
|
];
|
|
|
|
|
|
|
|
buildInputs = [
|
2018-02-25 03:23:58 +01:00
|
|
|
desktop-file-utils
|
2016-03-18 13:14:46 +01:00
|
|
|
enchant
|
2019-03-09 12:41:12 +01:00
|
|
|
gtk3
|
2019-03-23 05:50:12 +01:00
|
|
|
gtkmm3
|
2016-03-18 13:14:46 +01:00
|
|
|
gst_all_1.gstreamer
|
|
|
|
gst_all_1.gstreamermm
|
|
|
|
gst_all_1.gst-plugins-base
|
|
|
|
gst_all_1.gst-plugins-good
|
2018-02-25 03:23:58 +01:00
|
|
|
hicolor-icon-theme
|
2016-03-18 13:14:46 +01:00
|
|
|
libsigcxx
|
|
|
|
libxmlxx
|
|
|
|
xdg_utils
|
|
|
|
isocodes
|
|
|
|
];
|
|
|
|
|
|
|
|
enableParallelBuilding = true;
|
|
|
|
|
2016-09-20 15:18:16 +02:00
|
|
|
preConfigure = "substituteInPlace ./configure --replace /usr/bin/file ${file}/bin/file";
|
2014-05-21 20:45:58 +02:00
|
|
|
|
2016-03-18 13:14:46 +01:00
|
|
|
configureFlags = [ "--disable-debug" ];
|
2014-05-21 20:45:58 +02:00
|
|
|
|
|
|
|
meta = {
|
2019-09-04 00:49:40 +02:00
|
|
|
description = "GTK 3 application to edit video subtitles";
|
2014-05-21 20:45:58 +02:00
|
|
|
longDescription = ''
|
2019-09-04 00:49:40 +02:00
|
|
|
Subtitle Editor is a GTK 3 tool to edit subtitles for GNU/Linux/*BSD. It
|
2016-03-18 13:14:46 +01:00
|
|
|
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.
|
2014-05-21 20:45:58 +02:00
|
|
|
'';
|
2020-04-01 03:11:51 +02:00
|
|
|
homepage = "http://kitone.github.io/subtitleeditor/";
|
2016-03-18 13:14:46 +01:00
|
|
|
license = stdenv.lib.licenses.gpl3Plus;
|
2014-05-21 20:45:58 +02:00
|
|
|
platforms = stdenv.lib.platforms.linux;
|
2018-01-13 01:14:12 +01:00
|
|
|
maintainers = [ stdenv.lib.maintainers.plcplc ];
|
2014-05-21 20:45:58 +02:00
|
|
|
};
|
|
|
|
}
|