2024-07-27 06:49:29 +00:00
|
|
|
{
|
|
|
|
stdenv,
|
|
|
|
lib,
|
|
|
|
fetchFromGitHub,
|
|
|
|
nix-update-script,
|
|
|
|
meson,
|
|
|
|
ninja,
|
|
|
|
pkg-config,
|
|
|
|
vala,
|
|
|
|
wrapGAppsHook4,
|
|
|
|
gdk-pixbuf,
|
|
|
|
granite7,
|
|
|
|
gst_all_1,
|
|
|
|
gtk4,
|
|
|
|
libadwaita,
|
|
|
|
libgee,
|
2020-04-24 23:36:52 +00:00
|
|
|
}:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
pname = "elementary-videos";
|
2024-07-27 06:49:29 +00:00
|
|
|
version = "8.0.0";
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "elementary";
|
2021-12-19 01:06:50 +00:00
|
|
|
repo = "videos";
|
2020-04-24 23:36:52 +00:00
|
|
|
rev = version;
|
2024-07-27 06:49:29 +00:00
|
|
|
hash = "sha256-GfTYwnNZg8/cmJMzLDfYpulG7K4SMYK2H+SXtiS3TCg=";
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
nativeBuildInputs = [
|
|
|
|
meson
|
|
|
|
ninja
|
2021-02-05 17:12:51 +00:00
|
|
|
pkg-config
|
2020-04-24 23:36:52 +00:00
|
|
|
vala
|
2024-07-27 06:49:29 +00:00
|
|
|
wrapGAppsHook4
|
2020-04-24 23:36:52 +00:00
|
|
|
];
|
|
|
|
|
2022-02-10 20:34:41 +00:00
|
|
|
buildInputs = [
|
2024-07-27 06:49:29 +00:00
|
|
|
gdk-pixbuf
|
|
|
|
granite7
|
|
|
|
gst_all_1.gst-libav
|
|
|
|
gst_all_1.gst-plugins-bad
|
|
|
|
gst_all_1.gst-plugins-base
|
2023-08-22 20:05:09 +00:00
|
|
|
# https://github.com/elementary/videos/issues/356
|
2024-07-27 06:49:29 +00:00
|
|
|
(gst_all_1.gst-plugins-good.override { gtkSupport = true; })
|
|
|
|
gst_all_1.gst-plugins-rs # GTK 4 Sink
|
|
|
|
gst_all_1.gst-plugins-ugly
|
|
|
|
gst_all_1.gstreamer
|
|
|
|
gtk4
|
|
|
|
libadwaita
|
|
|
|
libgee
|
|
|
|
];
|
2020-04-24 23:36:52 +00:00
|
|
|
|
2021-12-06 16:07:01 +00:00
|
|
|
passthru = {
|
2022-12-28 21:21:41 +00:00
|
|
|
updateScript = nix-update-script { };
|
2021-12-06 16:07:01 +00:00
|
|
|
};
|
|
|
|
|
2021-01-15 22:18:51 +00:00
|
|
|
meta = with lib; {
|
2020-04-24 23:36:52 +00:00
|
|
|
description = "Video player and library app designed for elementary OS";
|
|
|
|
homepage = "https://github.com/elementary/videos";
|
|
|
|
license = licenses.gpl3Plus;
|
|
|
|
platforms = platforms.linux;
|
2021-09-22 15:38:15 +00:00
|
|
|
maintainers = teams.pantheon.members;
|
2021-12-06 16:07:01 +00:00
|
|
|
mainProgram = "io.elementary.videos";
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
}
|