Skip to content

Commit

Permalink
subtitlecomposer: init at 0.8.0
Browse files Browse the repository at this point in the history
  • Loading branch information
kugland committed Mar 6, 2024
1 parent 65cfd0e commit 7b7e1c4
Show file tree
Hide file tree
Showing 2 changed files with 55 additions and 0 deletions.
1 change: 1 addition & 0 deletions default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -8,4 +8,5 @@
ffsubsync = pkgs.callPackage ./pkgs/ffsubsync {inherit auditok pysubs2;};
neocities-deploy = pkgs.callPackage ./pkgs/neocities-deploy {};
pysubs2 = pkgs.callPackage ./pkgs/pysubs2 {};
subtitlecomposer = pkgs.callPackage ./pkgs/subtitlecomposer {};
}
54 changes: 54 additions & 0 deletions pkgs/subtitlecomposer/default.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,54 @@
# This package is already merged into nixpkgs unstable, but I'll keep it here to
# use it until it and to cache its build on cachix until it goes to stable.

{ lib
, fetchFromGitLab
, cmake
, extra-cmake-modules
, ffmpeg
, openal
, stdenv
, libsForQt5
}:

stdenv.mkDerivation rec {
pname = "subtitlecomposer";
version = "0.8.0";

src = fetchFromGitLab {
domain = "invent.kde.org";
owner = "multimedia";
repo = "subtitlecomposer";
rev = "v${version}";
hash = "sha256-RKS3VTtpxnox0hzessMHmoGPpT+Ho0b3fxtQMGw9OrM=";
};

nativeBuildInputs = [ cmake extra-cmake-modules libsForQt5.wrapQtAppsHook ];
buildInputs = [ ffmpeg openal ] ++ (with libsForQt5; [
kcodecs
kconfig
kconfigwidgets
kcoreaddons
ki18n
kio
ktextwidgets
kwidgetsaddons
kxmlgui
sonnet
]);

meta = with lib; {
homepage = "https://apps.kde.org/subtitlecomposer";
description = "An open source text-based subtitle editor";
longDescription = ''
An open source text-based subtitle editor that supports basic and
advanced editing operations, aiming to become an improved version of
Subtitle Workshop for every platform supported by Plasma Frameworks.
'';
changelog = "https://invent.kde.org/multimedia/subtitlecomposer/-/blob/master/ChangeLog";
license = licenses.gpl2Plus;
maintainers = with maintainers; [ ];
mainProgram = "subtitlecomposer";
platforms = with platforms; linux ++ freebsd ++ windows;
};
}

0 comments on commit 7b7e1c4

Please sign in to comment.