Merge branch 'master' into staging

Hydra: ?compare=1399476
This commit is contained in:
Vladimír Čunát
2017-10-07 10:17:42 +02:00
89 changed files with 2041 additions and 888 deletions
+24 -18
View File
@@ -1,36 +1,42 @@
{ stdenv, fetchurl, pkgconfig
, libX11, mesa, freeglut
, libjack2, libcdio, libsndfile, libsamplerate
, SDL, SDL_net, zlib
}:
{ stdenv, fetchurl, pkgconfig, freeglut, mesa, libcdio, libjack2
, libsamplerate, libsndfile, libX11, SDL, SDL_net, zlib }:
with stdenv.lib;
stdenv.mkDerivation rec {
name = "mednafen-${version}";
version = "0.9.47";
version = "0.9.48";
src = fetchurl {
url = "https://mednafen.github.io/releases/files/${name}.tar.xz";
sha256 = "0flz6bjkzs9qrw923s4cpqrz4b2dhc2w7pd8mgw0l1xbmrh7w4si";
sha256 = "00i12mywhp43274aq466fwavglk5b7d8z8bfdna12ra9iy1hrk6k";
};
buildInputs =
[ pkgconfig libX11 mesa freeglut libjack2 libcdio
libsndfile libsamplerate SDL SDL_net zlib ];
nativeBuildInputs = [ pkgconfig ];
buildInputs = [
freeglut
mesa
libcdio
libjack2
libsamplerate
libsndfile
libX11
SDL
SDL_net
zlib
];
hardeningDisable = [ "pic" ];
# Install docs
postInstall = ''
mkdir -p $out/share/doc/$name
cd Documentation
install -m 644 -t $out/share/doc/$name *.css *.def *.html *.php *.png *.txt
mkdir -p $out/share/doc
mv Documentation $out/share/doc/mednafen
'';
meta = with stdenv.lib; {
description = "A portable, CLI-driven, SDL+OpenGL-based, multi-system emulator";
homepage = http://mednafen.github.io/;
homepage = https://mednafen.github.io/;
license = licenses.gpl2;
maintainers = [ maintainers.AndersonTorres ];
maintainers = with maintainers; [ AndersonTorres ];
platforms = platforms.linux;
};
}
+4 -8
View File
@@ -1,25 +1,21 @@
{ stdenv, fetchurl }:
stdenv.mkDerivation rec {
name = "mednafen-server-${version}";
version = "0.5.2";
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";
};
postInstall = ''
mkdir -p $out/share/$name
install -m 644 -t $out/share/$name standard.conf
'';
postInstall = "install -m 644 -Dt $out/share/mednafen-server standard.conf";
meta = with stdenv.lib; {
description = "Netplay server for Mednafen";
homepage = http://mednafen.github.io/;
homepage = https://mednafen.github.io/;
license = licenses.gpl2;
maintainers = [ maintainers.AndersonTorres ];
maintainers = with maintainers; [ AndersonTorres ];
platforms = platforms.linux;
};
}
+1 -1
View File
@@ -34,7 +34,7 @@ stdenv.mkDerivation ((lib.optionalAttrs (! isNull buildScript) {
++ lib.optional cairoSupport pkgs.cairo
++ lib.optional tiffSupport pkgs.libtiff
++ lib.optional odbcSupport pkgs.unixODBC
++ lib.optional netapiSupport pkgs.samba3_light
++ lib.optional netapiSupport pkgs.samba4
++ lib.optional cursesSupport pkgs.ncurses
++ lib.optional vaSupport pkgs.libva-full
++ lib.optional pcapSupport pkgs.libpcap
+3 -3
View File
@@ -32,15 +32,15 @@ in rec {
unstable = fetchurl rec {
# NOTE: Don't forget to change the SHA256 for staging as well.
version = "2.17";
version = "2.18";
url = "https://dl.winehq.org/wine/source/2.x/wine-${version}.tar.xz";
sha256 = "0sgazjn30ki2y3bjrd0xbpf870ii22wkyrmgaxcwbk23j1rrbp3y";
sha256 = "0l2gmk6g4c5ds29iqcvpmh5g8jdz6g6id7xkgiqps5bqk09322cz";
inherit (stable) mono gecko32 gecko64;
};
staging = fetchFromGitHub rec {
inherit (unstable) version;
sha256 = "11jm39g1kc77fvn02j9g8syyc095b6w2jashyr28v4gi7g0fqv6h";
sha256 = "02rh2lvx7sd8d6nhgpfq9crjh495k4k7i3wmgigs4m5rlip363s8";
owner = "wine-compholio";
repo = "wine-staging";
rev = "v${version}";