generated from nix-community/nur-packages-template
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
2 changed files
with
55 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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; | ||
}; | ||
} |