Merge pull request #67483 from jonringer/bump-allegro

allegro: 5.2.4.0 -> 5.2.5.0
This commit is contained in:
Aaron Andersen 2019-08-26 06:55:23 -04:00 committed by GitHub
commit c6c7850321
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -8,14 +8,14 @@
}:
stdenv.mkDerivation rec {
name = "allegro-${version}";
version = "5.2.4.0";
pname = "allegro";
version = "5.2.5.0";
src = fetchFromGitHub {
owner = "liballeg";
repo = "allegro5";
rev = version;
sha256 = "01y3hirn5b08f188nnhb2cbqj4vzysr7l2qpz2208srv8arzmj2d";
sha256 = "1jrnizpwznyxz2c7zb75lfy7l51ww5jlqfaahcrycfj1xay9mpqp";
};
buildInputs = [
@ -28,14 +28,6 @@ stdenv.mkDerivation rec {
libpulseaudio libpthreadstubs
];
patches = [
# fix compilation with mesa 18.2.5
(fetchpatch {
url = "https://github.com/liballeg/allegro5/commit/a40d30e21802ecf5c9382cf34af9b01bd3781e47.patch";
sha256 = "1f1xlj5y2vr6wzmcz04s8kxn8cfdwrg9kjlnvpz9dix1z3qjnd4m";
})
];
postPatch = ''
sed -e 's@/XInput2.h@/XI2.h@g' -i CMakeLists.txt "src/"*.c
'';