Merge pull request #67483 from jonringer/bump-allegro
allegro: 5.2.4.0 -> 5.2.5.0
This commit is contained in:
commit
c6c7850321
@ -8,14 +8,14 @@
|
|||||||
}:
|
}:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
name = "allegro-${version}";
|
pname = "allegro";
|
||||||
version = "5.2.4.0";
|
version = "5.2.5.0";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "liballeg";
|
owner = "liballeg";
|
||||||
repo = "allegro5";
|
repo = "allegro5";
|
||||||
rev = version;
|
rev = version;
|
||||||
sha256 = "01y3hirn5b08f188nnhb2cbqj4vzysr7l2qpz2208srv8arzmj2d";
|
sha256 = "1jrnizpwznyxz2c7zb75lfy7l51ww5jlqfaahcrycfj1xay9mpqp";
|
||||||
};
|
};
|
||||||
|
|
||||||
buildInputs = [
|
buildInputs = [
|
||||||
@ -28,14 +28,6 @@ stdenv.mkDerivation rec {
|
|||||||
libpulseaudio libpthreadstubs
|
libpulseaudio libpthreadstubs
|
||||||
];
|
];
|
||||||
|
|
||||||
patches = [
|
|
||||||
# fix compilation with mesa 18.2.5
|
|
||||||
(fetchpatch {
|
|
||||||
url = "https://github.com/liballeg/allegro5/commit/a40d30e21802ecf5c9382cf34af9b01bd3781e47.patch";
|
|
||||||
sha256 = "1f1xlj5y2vr6wzmcz04s8kxn8cfdwrg9kjlnvpz9dix1z3qjnd4m";
|
|
||||||
})
|
|
||||||
];
|
|
||||||
|
|
||||||
postPatch = ''
|
postPatch = ''
|
||||||
sed -e 's@/XInput2.h@/XI2.h@g' -i CMakeLists.txt "src/"*.c
|
sed -e 's@/XInput2.h@/XI2.h@g' -i CMakeLists.txt "src/"*.c
|
||||||
'';
|
'';
|
||||||
|
Loading…
Reference in New Issue
Block a user