openal: 1.19.1 -> 1.21.1
This commit is contained in:
parent
6643acce72
commit
3d2a8f38c9
2 changed files with 13 additions and 13 deletions
|
@ -10,21 +10,21 @@ assert alsaSupport -> alsa-lib != null;
|
||||||
assert pulseSupport -> libpulseaudio != null;
|
assert pulseSupport -> libpulseaudio != null;
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
version = "1.19.1";
|
version = "1.21.1";
|
||||||
pname = "openal-soft";
|
pname = "openal-soft";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "kcat";
|
owner = "kcat";
|
||||||
repo = "openal-soft";
|
repo = "openal-soft";
|
||||||
rev = "${pname}-${version}";
|
rev = version;
|
||||||
sha256 = "0b0g0q1c36nfb289xcaaj3cmyfpiswvvgky3qyalsf9n4dj7vnzi";
|
sha256 = "sha256-rgc6kjXaZb6sCR+e9Gu7BEEHIiCHMygpLIeSqgWkuAg=";
|
||||||
};
|
};
|
||||||
|
|
||||||
# this will make it find its own data files (e.g. HRTF profiles)
|
# this will make it find its own data files (e.g. HRTF profiles)
|
||||||
# without any other configuration
|
# without any other configuration
|
||||||
patches = [ ./search-out.patch ];
|
patches = [ ./search-out.patch ];
|
||||||
postPatch = ''
|
postPatch = ''
|
||||||
substituteInPlace Alc/helpers.c \
|
substituteInPlace alc/helpers.cpp \
|
||||||
--replace "@OUT@" $out
|
--replace "@OUT@" $out
|
||||||
'';
|
'';
|
||||||
|
|
||||||
|
|
|
@ -1,12 +1,12 @@
|
||||||
diff -Nuar a/Alc/helpers.c b/Alc/helpers.c
|
diff --git a/alc/helpers.cpp b/alc/helpers.cpp
|
||||||
--- a/Alc/helpers.c 1970-01-01 00:00:01.000000000 +0000
|
index 8c1c856..19bbc0f 100644
|
||||||
+++ b/Alc/helpers.c 1970-01-01 00:00:02.000000000 +0000
|
--- a/alc/helpers.cpp
|
||||||
@@ -951,6 +951,8 @@
|
+++ b/alc/helpers.cpp
|
||||||
}
|
@@ -402,6 +402,7 @@ al::vector<std::string> SearchDataFiles(const char *ext, const char *subdir)
|
||||||
}
|
|
||||||
|
|
||||||
+ DirectorySearch("@OUT@/share", ext, &results);
|
DirectorySearch(path.c_str(), ext, &results);
|
||||||
+
|
|
||||||
alstr_reset(&path);
|
|
||||||
}
|
}
|
||||||
|
+ DirectorySearch("@OUT@/share/", ext, &results);
|
||||||
|
|
||||||
|
return results;
|
||||||
|
}
|
||||||
|
|
Loading…
Reference in a new issue