Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

mediainfo-gui: Fix missing GSettings schemas #359367

Merged
merged 2 commits into from
Dec 6, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
47 changes: 34 additions & 13 deletions pkgs/by-name/me/mediainfo-gui/package.nix
Original file line number Diff line number Diff line change
@@ -1,37 +1,58 @@
{ lib, stdenv, fetchurl, autoreconfHook, pkg-config, libmediainfo, wxGTK32
, desktop-file-utils, libSM, imagemagick, darwin }:
{
lib,
stdenv,
fetchurl,
autoreconfHook,
pkg-config,
libmediainfo,
wxGTK32,
desktop-file-utils,
libSM,
imagemagick,
darwin,
wrapGAppsHook3,
}:

let
inherit (darwin.apple_sdk.frameworks) Cocoa;
in
stdenv.mkDerivation rec {
stdenv.mkDerivation (finalAttrs: {
pname = "mediainfo-gui";
version = "24.06";

src = fetchurl {
url = "https://mediaarea.net/download/source/mediainfo/${version}/mediainfo_${version}.tar.xz";
url = "https://mediaarea.net/download/source/mediainfo/${finalAttrs.version}/mediainfo_${finalAttrs.version}.tar.xz";
hash = "sha256-MvSoKjHjhuF3/fbkwjcFPkdbUBCJJpqyxylFKgkxNSA=";
};

nativeBuildInputs = [ autoreconfHook pkg-config ];
nativeBuildInputs = [
autoreconfHook
pkg-config
wrapGAppsHook3
];

buildInputs = [ libmediainfo wxGTK32 desktop-file-utils libSM imagemagick ]
++ lib.optionals stdenv.hostPlatform.isDarwin [ Cocoa ];
buildInputs = [
libmediainfo
wxGTK32
desktop-file-utils
libSM
imagemagick
] ++ lib.optionals stdenv.hostPlatform.isDarwin [ Cocoa ];

sourceRoot = "MediaInfo/Project/GNU/GUI";

enableParallelBuilding = true;

meta = with lib; {
meta = {
description = "Supplies technical and tag information about a video or audio file (GUI version)";
longDescription = ''
MediaInfo is a convenient unified display of the most relevant technical
and tag data for video and audio files.
'';
homepage = "https://mediaarea.net/";
license = licenses.bsd2;
platforms = platforms.unix;
maintainers = [ maintainers.devhell ];
homepage = "https://mediaarea.net";
license = lib.licenses.bsd2;
platforms = lib.platforms.unix;
maintainers = with lib.maintainers; [ devhell ];
mainProgram = "mediainfo-gui";
};
}
})
Loading