2024-04-21 15:54:59 +00:00
|
|
|
{ lib
|
|
|
|
, stdenv
|
|
|
|
, fetchFromGitLab
|
|
|
|
, meson
|
|
|
|
, ninja
|
|
|
|
, pkg-config
|
|
|
|
, gst_all_1
|
|
|
|
, wrapGAppsHook4
|
|
|
|
, appstream-glib
|
|
|
|
, gtk4
|
|
|
|
, libadwaita
|
|
|
|
, desktop-file-utils
|
|
|
|
, libGL
|
|
|
|
}:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
pname = "livi";
|
2024-07-01 15:47:52 +00:00
|
|
|
version = "0.2.0";
|
2024-04-21 15:54:59 +00:00
|
|
|
|
|
|
|
src = fetchFromGitLab {
|
|
|
|
owner = "guidog";
|
|
|
|
repo = "livi";
|
|
|
|
domain = "gitlab.gnome.org";
|
|
|
|
rev = "v${version}";
|
2024-07-01 15:47:52 +00:00
|
|
|
hash = "sha256-4CWH8TWxuDGYlOilxyCa/HL/vtO6A9u/x39s1OLDODo";
|
2024-04-21 15:54:59 +00:00
|
|
|
};
|
|
|
|
nativeBuildInputs = [
|
|
|
|
meson
|
|
|
|
ninja
|
|
|
|
pkg-config
|
|
|
|
wrapGAppsHook4
|
|
|
|
appstream-glib
|
|
|
|
desktop-file-utils
|
|
|
|
];
|
|
|
|
|
|
|
|
buildInputs = [
|
|
|
|
gst_all_1.gstreamer
|
|
|
|
gst_all_1.gst-plugins-base
|
|
|
|
gst_all_1.gst-plugins-good
|
|
|
|
gst_all_1.gst-plugins-bad
|
|
|
|
gtk4
|
|
|
|
libadwaita
|
|
|
|
libGL
|
|
|
|
];
|
|
|
|
strictDeps = true;
|
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
homepage = "https://gitlab.gnome.org/guidog/livi";
|
2024-06-20 14:57:18 +00:00
|
|
|
description = "Small video player targeting mobile devices (also named μPlayer)";
|
2024-04-21 15:54:59 +00:00
|
|
|
license = licenses.gpl3Plus;
|
|
|
|
platforms = platforms.linux;
|
|
|
|
mainProgram = "livi";
|
|
|
|
maintainers = with maintainers; [ mksafavi ];
|
|
|
|
};
|
|
|
|
}
|