pcsxr: use wrapGAppsHook
This commit is contained in:
parent
4f676a0825
commit
728b8ab483
@ -1,5 +1,5 @@
|
|||||||
{ stdenv, fetchurl, autoreconfHook, intltool, pkgconfig, gtk3, SDL2, xorg
|
{ stdenv, fetchurl, autoreconfHook, intltool, pkgconfig, gtk3, SDL2, xorg
|
||||||
, gsettings_desktop_schemas, makeWrapper, libcdio, nasm, ffmpeg, file
|
, wrapGAppsHook, libcdio, nasm, ffmpeg, file
|
||||||
, fetchpatch }:
|
, fetchpatch }:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
@ -49,9 +49,9 @@ stdenv.mkDerivation rec {
|
|||||||
./uncompress2.patch
|
./uncompress2.patch
|
||||||
];
|
];
|
||||||
|
|
||||||
|
nativeBuildInputs = [ autoreconfHook intltool pkgconfig wrapGAppsHook ];
|
||||||
buildInputs = [
|
buildInputs = [
|
||||||
autoreconfHook intltool pkgconfig gtk3 SDL2 xorg.libXv xorg.libXtst
|
gtk3 SDL2 xorg.libXv xorg.libXtst libcdio nasm ffmpeg file
|
||||||
makeWrapper libcdio nasm ffmpeg file
|
|
||||||
];
|
];
|
||||||
|
|
||||||
dynarecTarget =
|
dynarecTarget =
|
||||||
@ -67,8 +67,6 @@ stdenv.mkDerivation rec {
|
|||||||
];
|
];
|
||||||
|
|
||||||
postInstall = ''
|
postInstall = ''
|
||||||
wrapProgram "$out/bin/pcsxr" \
|
|
||||||
--prefix XDG_DATA_DIRS : "$GSETTINGS_SCHEMAS_PATH"
|
|
||||||
mkdir -p "$out/share/doc/${name}"
|
mkdir -p "$out/share/doc/${name}"
|
||||||
cp README \
|
cp README \
|
||||||
AUTHORS \
|
AUTHORS \
|
||||||
|
Loading…
Reference in New Issue
Block a user