diff options
author | kashw2 <supra4keanu@hotmail.com> | 2024-04-25 00:23:39 +1000 |
---|---|---|
committer | kashw2 <supra4keanu@hotmail.com> | 2024-04-27 00:19:45 +1000 |
commit | df998dfb81a574989fc35fce6a377e3e3955a8fa (patch) | |
tree | f99afc6dfd974fc3d8f9de6a23747b475172dd55 /pkgs/applications/video/clapper | |
parent | f2294037ad2b1345c5d9c2df0e81bdb00eab21f3 (diff) |
clapper: 0.5.2 -> 0.6.0
Diffstat (limited to 'pkgs/applications/video/clapper')
-rw-r--r-- | pkgs/applications/video/clapper/default.nix | 47 |
1 files changed, 20 insertions, 27 deletions
diff --git a/pkgs/applications/video/clapper/default.nix b/pkgs/applications/video/clapper/default.nix index 6d1539f93575c..97285e6e14159 100644 --- a/pkgs/applications/video/clapper/default.nix +++ b/pkgs/applications/video/clapper/default.nix @@ -2,9 +2,7 @@ , lib , stdenv , fetchFromGitHub -, glib , gobject-introspection -, python3 , pkg-config , ninja , wayland @@ -14,42 +12,41 @@ , shared-mime-info , wrapGAppsHook4 , meson -, gjs , gtk4 , gst_all_1 , libGL , libadwaita -, appstream-glib -, libsoup +, libsoup_3 +, vala +, cmake +, libmicrodns }: -stdenv.mkDerivation rec { +stdenv.mkDerivation (finalAttrs: { pname = "clapper"; - version = "0.5.2"; + version = "0.6.0"; src = fetchFromGitHub { owner = "Rafostar"; - repo = pname; - rev = version; - sha256 = "sha256-s+qdTq3/pHHstwr1W3Hs2Zje++iJFHM6hQTFoZD43bY="; + repo = "clapper"; + rev = finalAttrs.version; + hash = "sha256-5fD1OnVcY3ZC+QfoFqe2jV43/J36r85SpLUYF2ti7dY="; }; nativeBuildInputs = [ - appstream-glib - desktop-file-utils # for update-desktop-database - glib gobject-introspection meson + cmake ninja makeWrapper pkg-config - python3 - shared-mime-info # for update-mime-database wrapGAppsHook4 # for gsettings + desktop-file-utils # for update-desktop-database + shared-mime-info # for update-mime-database + vala ]; buildInputs = [ - gjs gst_all_1.gstreamer gst_all_1.gst-plugins-base gst_all_1.gst-plugins-good @@ -58,29 +55,25 @@ stdenv.mkDerivation rec { gtk4 libGL libadwaita - libsoup + libsoup_3 wayland wayland-protocols + libmicrodns ]; postPatch = '' - patchShebangs build-aux/meson/postinstall.py - ''; - - postInstall = '' - cp ${src}/data/icons/*.svg $out/share/icons/hicolor/scalable/apps/ - cp ${src}/data/icons/*.svg $out/share/icons/hicolor/symbolic/apps/ + patchShebangs --build build-aux/meson/postinstall.py ''; meta = with lib; { - description = "A GNOME media player built using GJS with GTK4 toolkit and powered by GStreamer with OpenGL rendering. "; + description = "A GNOME media player built using GTK4 toolkit and powered by GStreamer with OpenGL rendering"; longDescription = '' - Clapper is a GNOME media player build using GJS with GTK4 toolkit. - The media player is using GStreamer as a media backend and renders everything via OpenGL. + 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 = licenses.gpl3Plus; maintainers = with maintainers; [ ]; platforms = platforms.linux; }; -} +}) |