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