wrapQtAppsHook: Remove ad hoc Qt wrappers
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
{ stdenv, fetchFromGitHub, makeDesktopItem, makeWrapper, pkgconfig
|
||||
{ stdenv, fetchFromGitHub, makeDesktopItem, wrapQtAppsHook, pkgconfig
|
||||
, cmake, epoxy, libzip, ffmpeg, imagemagick, SDL2, qtbase, qtmultimedia, libedit
|
||||
, qttools, minizip }:
|
||||
|
||||
@@ -25,7 +25,7 @@ in stdenv.mkDerivation rec {
|
||||
};
|
||||
|
||||
enableParallelBuilding = true;
|
||||
nativeBuildInputs = [ makeWrapper pkgconfig cmake ];
|
||||
nativeBuildInputs = [ wrapQtAppsHook pkgconfig cmake ];
|
||||
|
||||
buildInputs = [
|
||||
libzip epoxy ffmpeg imagemagick SDL2 qtbase qtmultimedia libedit minizip
|
||||
@@ -34,8 +34,6 @@ in stdenv.mkDerivation rec {
|
||||
|
||||
postInstall = ''
|
||||
cp -r ${desktopItem}/share/applications $out/share
|
||||
wrapProgram $out/bin/mgba-qt --suffix QT_PLUGIN_PATH : \
|
||||
${qtbase.bin}/${qtbase.qtPluginPrefix}
|
||||
'';
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
|
||||
Reference in New Issue
Block a user