Merge pull request #208799 from wegank/mediainfo-gui-bump

mediainfo-gui: 22.06 -> 22.12
This commit is contained in:
Thiago Kenji Okada 2023-01-08 12:05:17 +00:00 committed by GitHub
commit d8b6cb9e29
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1,16 +1,20 @@
{ lib, stdenv, fetchurl, autoreconfHook, pkg-config, libmediainfo, wxGTK30
, desktop-file-utils, libSM, imagemagick }:
{ lib, stdenv, fetchurl, autoreconfHook, pkg-config, libmediainfo, wxGTK32
, desktop-file-utils, libSM, imagemagick, darwin }:
let
inherit (darwin.apple_sdk.frameworks) Cocoa;
in
stdenv.mkDerivation rec {
version = "22.06";
version = "22.12";
pname = "mediainfo-gui";
src = fetchurl {
url = "https://mediaarea.net/download/source/mediainfo/${version}/mediainfo_${version}.tar.xz";
sha256 = "sha256-mGowC8wnNJij5dpOlwHX3m7uGZ7TbUInPdP+nsesi30=";
sha256 = "sha256-kyuCc59zjn22A89bsXByBzGp58YdFFwqVKq7PNC3U7w=";
};
nativeBuildInputs = [ autoreconfHook pkg-config ];
buildInputs = [ libmediainfo wxGTK30 desktop-file-utils libSM imagemagick ];
buildInputs = [ libmediainfo wxGTK32 desktop-file-utils libSM imagemagick ]
++ lib.optionals stdenv.isDarwin [ Cocoa ];
sourceRoot = "./MediaInfo/Project/GNU/GUI/";
@ -24,7 +28,7 @@ stdenv.mkDerivation rec {
'';
homepage = "https://mediaarea.net/";
license = licenses.bsd2;
platforms = platforms.linux;
platforms = platforms.unix;
maintainers = [ maintainers.devhell ];
};
}