mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-06-13 13:15:30 +03:00
clapper-unwrapped: separated from clapper
This commit is contained in:
parent
25c2561fdf
commit
2139289f87
1 changed files with 86 additions and 0 deletions
86
pkgs/by-name/cl/clapper-unwrapped/package.nix
Normal file
86
pkgs/by-name/cl/clapper-unwrapped/package.nix
Normal file
|
@ -0,0 +1,86 @@
|
||||||
|
{
|
||||||
|
lib,
|
||||||
|
stdenv,
|
||||||
|
fetchFromGitHub,
|
||||||
|
gobject-introspection,
|
||||||
|
pkg-config,
|
||||||
|
ninja,
|
||||||
|
desktop-file-utils,
|
||||||
|
shared-mime-info,
|
||||||
|
meson,
|
||||||
|
gtk4,
|
||||||
|
gst_all_1,
|
||||||
|
libGL,
|
||||||
|
libadwaita,
|
||||||
|
libsoup_3,
|
||||||
|
vala,
|
||||||
|
cmake,
|
||||||
|
libmicrodns,
|
||||||
|
glib-networking,
|
||||||
|
libpeas2,
|
||||||
|
}:
|
||||||
|
|
||||||
|
stdenv.mkDerivation (finalAttrs: {
|
||||||
|
pname = "clapper-unwrapped";
|
||||||
|
version = "0.8.0";
|
||||||
|
|
||||||
|
outputs = [
|
||||||
|
"out"
|
||||||
|
"lib"
|
||||||
|
"dev"
|
||||||
|
];
|
||||||
|
|
||||||
|
src = fetchFromGitHub {
|
||||||
|
owner = "Rafostar";
|
||||||
|
repo = "clapper";
|
||||||
|
tag = finalAttrs.version;
|
||||||
|
hash = "sha256-Yb2fWsdd8jhxkGWKanLn7CAuF4MjyQ27XTrO8ja3hfs=";
|
||||||
|
};
|
||||||
|
|
||||||
|
nativeBuildInputs = [
|
||||||
|
gobject-introspection
|
||||||
|
meson
|
||||||
|
cmake
|
||||||
|
ninja
|
||||||
|
pkg-config
|
||||||
|
desktop-file-utils # for update-desktop-database
|
||||||
|
shared-mime-info # for update-mime-database
|
||||||
|
vala
|
||||||
|
];
|
||||||
|
|
||||||
|
buildInputs = [
|
||||||
|
gst_all_1.gstreamer
|
||||||
|
gst_all_1.gst-plugins-base
|
||||||
|
gst_all_1.gst-plugins-good
|
||||||
|
gst_all_1.gst-plugins-bad
|
||||||
|
gst_all_1.gst-plugins-ugly
|
||||||
|
glib-networking # for TLS support
|
||||||
|
gtk4
|
||||||
|
libGL
|
||||||
|
libadwaita
|
||||||
|
libsoup_3
|
||||||
|
libmicrodns
|
||||||
|
libpeas2
|
||||||
|
];
|
||||||
|
|
||||||
|
postPatch = ''
|
||||||
|
patchShebangs --build build-aux/meson/postinstall.py
|
||||||
|
'';
|
||||||
|
|
||||||
|
preFixup = ''
|
||||||
|
mkdir -p $out/share/gsettings-schemas
|
||||||
|
cp -r $lib/share/gsettings-schemas/clapper-unwrapped-$version $out/share/gsettings-schemas/clapper-$version
|
||||||
|
'';
|
||||||
|
|
||||||
|
meta = {
|
||||||
|
description = "GNOME media player built using GTK4 toolkit and powered by GStreamer with OpenGL rendering";
|
||||||
|
longDescription = ''
|
||||||
|
Clapper is a GNOME media player built using the GTK4 toolkit.
|
||||||
|
The media player is using GStreamer as a media backend.
|
||||||
|
'';
|
||||||
|
homepage = "https://github.com/Rafostar/clapper";
|
||||||
|
license = lib.licenses.gpl3Plus;
|
||||||
|
maintainers = with lib.maintainers; [ aleksana ];
|
||||||
|
platforms = lib.platforms.linux;
|
||||||
|
};
|
||||||
|
})
|
Loading…
Add table
Add a link
Reference in a new issue