mirror of
https://github.com/SebastianWendel/nixpkgs.git
synced 2024-09-20 04:19:00 +02:00
pkgsMusl.ffado: fix build
This commit is contained in:
parent
488d4a827f
commit
4b8bdbc8bd
|
@ -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;
|
||||
|
||||
|
|
Loading…
Reference in a new issue