pcsxr: use wrapGAppsHook

This commit is contained in:
Jörg Thalheim 2017-05-11 13:36:33 +01:00
parent 4f676a0825
commit 728b8ab483
No known key found for this signature in database
GPG Key ID: CA4106B8D7CC79FA

View File

@ -1,5 +1,5 @@
{ stdenv, fetchurl, autoreconfHook, intltool, pkgconfig, gtk3, SDL2, xorg
, gsettings_desktop_schemas, makeWrapper, libcdio, nasm, ffmpeg, file
, wrapGAppsHook, libcdio, nasm, ffmpeg, file
, fetchpatch }:
stdenv.mkDerivation rec {
@ -49,9 +49,9 @@ stdenv.mkDerivation rec {
./uncompress2.patch
];
nativeBuildInputs = [ autoreconfHook intltool pkgconfig wrapGAppsHook ];
buildInputs = [
autoreconfHook intltool pkgconfig gtk3 SDL2 xorg.libXv xorg.libXtst
makeWrapper libcdio nasm ffmpeg file
gtk3 SDL2 xorg.libXv xorg.libXtst libcdio nasm ffmpeg file
];
dynarecTarget =
@ -67,8 +67,6 @@ stdenv.mkDerivation rec {
];
postInstall = ''
wrapProgram "$out/bin/pcsxr" \
--prefix XDG_DATA_DIRS : "$GSETTINGS_SCHEMAS_PATH"
mkdir -p "$out/share/doc/${name}"
cp README \
AUTHORS \