Merge #287468: pkgsMusl.ffado: fix build

...into staging
This commit is contained in:
Vladimír Čunát 2024-02-17 10:59:57 +01:00
commit dc738b327d
No known key found for this signature in database
GPG Key ID: E747DF1F9575A3AA

View File

@ -1,9 +1,12 @@
{ lib
, stdenv
, mkDerivation
, argp-standalone
, dbus
, dbus_cplusplus
, desktop-file-utils
, fetchurl
, fetchpatch
, glibmm
, kernel
, libavc1394
@ -41,6 +44,13 @@ mkDerivation rec {
patches = [
# fix installing metainfo file
./fix-build.patch
(fetchpatch {
name = "musl.patch";
url = "http://subversion.ffado.org/changeset?format=diff&new=2846&old=2845";
stripLen = 2;
hash = "sha256-iWeYnb5J69Uvo1lftc7MWg7WrLa+CGZyOwJPOe8/PKg=";
})
];
outputs = [ "out" "bin" "dev" ];
@ -79,8 +89,12 @@ mkDerivation rec {
libraw1394
libxmlxx3
python
] ++ lib.optionals (!stdenv.hostPlatform.isGnu) [
argp-standalone
];
NIX_LDFLAGS = lib.optionalString (!stdenv.hostPlatform.isGnu) "-largp";
enableParallelBuilding = true;
dontWrapQtApps = true;