Merge pull request #29863 from yegortimoshenko/mednafen/0.9.48
mednafen: 0.9.47 -> 0.9.48, disable PIC, unversioned docs
This commit is contained in:
commit
da20916efa
@ -1,36 +1,42 @@
|
|||||||
{ stdenv, fetchurl, pkgconfig
|
{ stdenv, fetchurl, pkgconfig, freeglut, mesa, libcdio, libjack2
|
||||||
, libX11, mesa, freeglut
|
, libsamplerate, libsndfile, libX11, SDL, SDL_net, zlib }:
|
||||||
, libjack2, libcdio, libsndfile, libsamplerate
|
|
||||||
, SDL, SDL_net, zlib
|
|
||||||
}:
|
|
||||||
|
|
||||||
with stdenv.lib;
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
|
|
||||||
name = "mednafen-${version}";
|
name = "mednafen-${version}";
|
||||||
version = "0.9.47";
|
version = "0.9.48";
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = "https://mednafen.github.io/releases/files/${name}.tar.xz";
|
url = "https://mednafen.github.io/releases/files/${name}.tar.xz";
|
||||||
sha256 = "0flz6bjkzs9qrw923s4cpqrz4b2dhc2w7pd8mgw0l1xbmrh7w4si";
|
sha256 = "00i12mywhp43274aq466fwavglk5b7d8z8bfdna12ra9iy1hrk6k";
|
||||||
};
|
};
|
||||||
|
|
||||||
buildInputs =
|
nativeBuildInputs = [ pkgconfig ];
|
||||||
[ pkgconfig libX11 mesa freeglut libjack2 libcdio
|
|
||||||
libsndfile libsamplerate SDL SDL_net zlib ];
|
buildInputs = [
|
||||||
|
freeglut
|
||||||
|
mesa
|
||||||
|
libcdio
|
||||||
|
libjack2
|
||||||
|
libsamplerate
|
||||||
|
libsndfile
|
||||||
|
libX11
|
||||||
|
SDL
|
||||||
|
SDL_net
|
||||||
|
zlib
|
||||||
|
];
|
||||||
|
|
||||||
|
hardeningDisable = [ "pic" ];
|
||||||
|
|
||||||
# Install docs
|
|
||||||
postInstall = ''
|
postInstall = ''
|
||||||
mkdir -p $out/share/doc/$name
|
mkdir -p $out/share/doc
|
||||||
cd Documentation
|
mv Documentation $out/share/doc/mednafen
|
||||||
install -m 644 -t $out/share/doc/$name *.css *.def *.html *.php *.png *.txt
|
|
||||||
'';
|
'';
|
||||||
|
|
||||||
meta = with stdenv.lib; {
|
meta = with stdenv.lib; {
|
||||||
description = "A portable, CLI-driven, SDL+OpenGL-based, multi-system emulator";
|
description = "A portable, CLI-driven, SDL+OpenGL-based, multi-system emulator";
|
||||||
homepage = http://mednafen.github.io/;
|
homepage = https://mednafen.github.io/;
|
||||||
license = licenses.gpl2;
|
license = licenses.gpl2;
|
||||||
maintainers = [ maintainers.AndersonTorres ];
|
maintainers = with maintainers; [ AndersonTorres ];
|
||||||
platforms = platforms.linux;
|
platforms = platforms.linux;
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
@ -1,25 +1,21 @@
|
|||||||
{ stdenv, fetchurl }:
|
{ stdenv, fetchurl }:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
|
|
||||||
name = "mednafen-server-${version}";
|
name = "mednafen-server-${version}";
|
||||||
version = "0.5.2";
|
version = "0.5.2";
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = "https://mednafen.github.io/releases/files/mednafen-server-0.5.2.tar.xz";
|
url = "https://mednafen.github.io/releases/files/mednafen-server-${version}.tar.xz";
|
||||||
sha256 = "0xm7dj5nwnrsv69r72rcnlw03jm0l8rmrg3s05gjfvxyqmlb36dq";
|
sha256 = "0xm7dj5nwnrsv69r72rcnlw03jm0l8rmrg3s05gjfvxyqmlb36dq";
|
||||||
};
|
};
|
||||||
|
|
||||||
postInstall = ''
|
postInstall = "install -m 644 -Dt $out/share/mednafen-server standard.conf";
|
||||||
mkdir -p $out/share/$name
|
|
||||||
install -m 644 -t $out/share/$name standard.conf
|
|
||||||
'';
|
|
||||||
|
|
||||||
meta = with stdenv.lib; {
|
meta = with stdenv.lib; {
|
||||||
description = "Netplay server for Mednafen";
|
description = "Netplay server for Mednafen";
|
||||||
homepage = http://mednafen.github.io/;
|
homepage = https://mednafen.github.io/;
|
||||||
license = licenses.gpl2;
|
license = licenses.gpl2;
|
||||||
maintainers = [ maintainers.AndersonTorres ];
|
maintainers = with maintainers; [ AndersonTorres ];
|
||||||
platforms = platforms.linux;
|
platforms = platforms.linux;
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user