sfml: 2.5.1 -> 2.6.2
Diff: https://github.com/SFML/SFML/compare/2.5.1...2.6.2 Changelog: https://github.com/SFML/SFML/blob/2.6.2/changelog.md
This commit is contained in:
@@ -2,7 +2,6 @@
|
||||
lib,
|
||||
stdenv,
|
||||
fetchFromGitHub,
|
||||
fetchpatch,
|
||||
cmake,
|
||||
libX11,
|
||||
freetype,
|
||||
@@ -11,6 +10,7 @@
|
||||
flac,
|
||||
libvorbis,
|
||||
glew,
|
||||
libXcursor,
|
||||
libXrandr,
|
||||
libXrender,
|
||||
udev,
|
||||
@@ -19,27 +19,15 @@
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "sfml";
|
||||
version = "2.5.1";
|
||||
version = "2.6.2";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "SFML";
|
||||
repo = "SFML";
|
||||
rev = version;
|
||||
sha256 = "sha256-Xt2Ct4vV459AsSvJxQfwMsNs6iA5y3epT95pLWJGeSk=";
|
||||
hash = "sha256-m8FVXM56qjuRKRmkcEcRI8v6IpaJxskoUQ+sNsR1EhM=";
|
||||
};
|
||||
|
||||
patches = [
|
||||
(fetchpatch {
|
||||
url = "https://github.com/macports/macports-ports/raw/4df1fc235a708ff28200ffc0a39120974ed4b6e1/multimedia/sfml/files/patch-apple-silicon.diff";
|
||||
extraPrefix = "";
|
||||
sha256 = "sha256-9dNawJaYtkugR+2NvhQOhgsf6w9ZXHkBgsDRh8yAJc0=";
|
||||
})
|
||||
(fetchpatch {
|
||||
url = "https://github.com/SFML/SFML/commit/bf92efe9a4035fee0258386173d53556aa196e49.patch";
|
||||
hash = "sha256-1htwPfpn7Z6s/3b+/i1tQ+btjr/tWv5m6IyDVMBNqQA=";
|
||||
})
|
||||
];
|
||||
|
||||
nativeBuildInputs = [ cmake ];
|
||||
buildInputs =
|
||||
[
|
||||
@@ -53,6 +41,7 @@ stdenv.mkDerivation rec {
|
||||
++ lib.optional stdenv.hostPlatform.isLinux udev
|
||||
++ lib.optionals (!stdenv.hostPlatform.isDarwin) [
|
||||
libX11
|
||||
libXcursor
|
||||
libXrandr
|
||||
libXrender
|
||||
xcbutilimage
|
||||
|
||||
Reference in New Issue
Block a user