wxSVG: ffmpeg_3 -> ffmpeg

And refactor.
This commit is contained in:
AndersonTorres 2021-04-27 11:58:55 -03:00
parent 5495d6d2b2
commit 5eefe24c94

View file

@ -1,34 +1,43 @@
{ lib, stdenv, fetchurl
, pkg-config, wxGTK
, ffmpeg_3, libexif
, cairo, pango }:
{ lib
, stdenv
, fetchurl
, cairo
, ffmpeg
, libexif
, pango
, pkg-config
, wxGTK
}:
stdenv.mkDerivation rec {
pname = "wxSVG";
srcName = "wxsvg-${version}";
version = "1.5.22";
src = fetchurl {
url = "mirror://sourceforge/project/wxsvg/wxsvg/${version}/${srcName}.tar.bz2";
sha256 = "0agmmwg0zlsw1idygvqjpj1nk41akzlbdha0hsdk1k8ckz6niq8d";
url = "mirror://sourceforge/project/wxsvg/wxsvg/${version}/wxsvg-${version}.tar.bz2";
hash = "sha256-DeFozZ8MzTCbhkDBtuifKpBpg7wS7+dbDFzTDx6v9Sk=";
};
nativeBuildInputs = [ pkg-config ];
propagatedBuildInputs = [ wxGTK ffmpeg_3 libexif ];
buildInputs = [ cairo pango ];
nativeBuildInputs = [
pkg-config
];
buildInputs = [
cairo
ffmpeg
libexif
pango
wxGTK
];
meta = with lib; {
homepage = "http://wxsvg.sourceforge.net/";
description = "A SVG manipulation library built with wxWidgets";
longDescription = ''
wxSVG is C++ library to create, manipulate and render
Scalable Vector Graphics (SVG) files with the wxWidgets toolkit.
wxSVG is C++ library to create, manipulate and render Scalable Vector
Graphics (SVG) files with the wxWidgets toolkit.
'';
homepage = "http://wxsvg.sourceforge.net/";
license = with licenses; gpl2;
license = with licenses; gpl2Plus;
maintainers = with maintainers; [ AndersonTorres ];
platforms = with platforms; linux;
platforms = wxGTK.meta.platforms;
};
}