qt6.qtsvg: add mingw support
Part of a larger effort to add mingw support to qtmultimedia.
This commit is contained in:
parent
3d23162141
commit
f83d7ac16d
1 changed files with 10 additions and 1 deletions
|
@ -5,11 +5,20 @@
|
|||
, libmng
|
||||
, zlib
|
||||
, pkg-config
|
||||
, lib
|
||||
, stdenv
|
||||
}:
|
||||
|
||||
qtModule {
|
||||
pname = "qtsvg";
|
||||
propagatedBuildInputs = [ qtbase ];
|
||||
buildInputs = [ libwebp jasper libmng zlib ];
|
||||
buildInputs = [
|
||||
libwebp
|
||||
] ++ lib.optionals (stdenv.buildPlatform.canExecute stdenv.hostPlatform) [
|
||||
jasper
|
||||
] ++ [
|
||||
libmng
|
||||
zlib
|
||||
];
|
||||
nativeBuildInputs = [ pkg-config ];
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue