Merge pull request #42213 from Chiiruno/dev/snes9x

snes9x-gtk: Install normally
This commit is contained in:
adisbladis 2018-06-19 15:26:07 +08:00 committed by GitHub
commit 119b41f6fc
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1,5 +1,5 @@
{ stdenv, fetchFromGitHub, autoreconfHook, intltool, pkgconfig, SDL2, zlib { stdenv, fetchFromGitHub, autoreconfHook, wrapGAppsHook, intltool, pkgconfig
, gtk3, libxml2, libXv, epoxy, minizip, portaudio }: , SDL2, zlib, gtk3, libxml2, libXv, epoxy, minizip, portaudio }:
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
name = "snes9x-gtk-${version}"; name = "snes9x-gtk-${version}";
@ -13,7 +13,7 @@ stdenv.mkDerivation rec {
}; };
enableParallelBuilding = true; enableParallelBuilding = true;
nativeBuildInputs = [ autoreconfHook intltool pkgconfig ]; nativeBuildInputs = [ autoreconfHook wrapGAppsHook intltool pkgconfig ];
buildInputs = [ SDL2 zlib gtk3 libxml2 libXv epoxy minizip portaudio ]; buildInputs = [ SDL2 zlib gtk3 libxml2 libXv epoxy minizip portaudio ];
preAutoreconf = '' preAutoreconf = ''
@ -21,11 +21,9 @@ stdenv.mkDerivation rec {
intltoolize intltoolize
''; '';
installPhase = "install -Dt $out/bin snes9x-gtk";
meta = with stdenv.lib; { meta = with stdenv.lib; {
homepage = "http://www.snes9x.com"; homepage = "http://www.snes9x.com";
description = "A portable, freeware Super Nintendo Entertainment System (SNES) emulator"; description = "Super Nintendo Entertainment System (SNES) emulator";
longDescription = '' longDescription = ''
Snes9x is a portable, freeware Super Nintendo Entertainment System (SNES) Snes9x is a portable, freeware Super Nintendo Entertainment System (SNES)