openmpt123: Add libsndfile and flac as dependencies (#19904)
This commit is contained in:
parent
b1d3998015
commit
fa4167c0a1
@ -1,4 +1,4 @@
|
||||
{ stdenv, fetchurl, SDL2, pkgconfig }:
|
||||
{ stdenv, fetchurl, SDL2, pkgconfig, flac, libsndfile }:
|
||||
|
||||
let
|
||||
version = "0.2.7025-beta20.1";
|
||||
@ -8,7 +8,7 @@ in stdenv.mkDerivation rec {
|
||||
url = "https://lib.openmpt.org/files/libopenmpt/src/libopenmpt-${version}.tar.gz";
|
||||
sha256 = "0qp2nnz6pnl1d7yv9hcjyim7q6yax5881k1jxm8jfgjqagmz5k6p";
|
||||
};
|
||||
buildInputs = [ SDL2 pkgconfig ];
|
||||
buildInputs = [ SDL2 pkgconfig flac libsndfile ];
|
||||
makeFlags = [ "NO_LTDL=1 TEST=0 EXAMPLES=0" ]
|
||||
++ stdenv.lib.optional (stdenv.isDarwin) "SHARED_SONAME=0";
|
||||
installFlags = "PREFIX=\${out}";
|
||||
|
Loading…
Reference in New Issue
Block a user