qt5: remove makeQtWrapper
This commit is contained in:
@@ -1,11 +1,10 @@
|
||||
{ stdenv, fetchurl, cmake, alsaLib, udev, qtbase,
|
||||
qtsvg, qttools, makeQtWrapper }:
|
||||
{ mkDerivation, lib, fetchurl, cmake, alsaLib, udev, qtbase, qtsvg, qttools }:
|
||||
|
||||
let
|
||||
version = "0.21.0";
|
||||
in
|
||||
|
||||
stdenv.mkDerivation {
|
||||
mkDerivation {
|
||||
name = "qastools-${version}";
|
||||
|
||||
src = fetchurl {
|
||||
@@ -14,15 +13,15 @@ stdenv.mkDerivation {
|
||||
};
|
||||
|
||||
buildInputs = [
|
||||
cmake alsaLib udev qtbase qtsvg qttools makeQtWrapper
|
||||
alsaLib udev qtbase qtsvg qttools
|
||||
];
|
||||
nativeBuildInputs = [ cmake ];
|
||||
|
||||
cmakeFlags = [
|
||||
"-DCMAKE_INSALL_PREFIX=$out"
|
||||
"-DALSA_INCLUDE=${alsaLib.dev}/include/alsa/version.h"
|
||||
];
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
meta = with lib; {
|
||||
description = "Collection of desktop applications for ALSA configuration";
|
||||
license = licenses.gpl3;
|
||||
platforms = platforms.linux;
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{ stdenv, cmake, pkgconfig, SDL2, qtbase, qttools, makeQtWrapper, xorg, fetchFromGitHub }:
|
||||
{ mkDerivation, lib, cmake, pkgconfig, SDL2, qtbase, qttools, xorg, fetchFromGitHub }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
mkDerivation rec {
|
||||
name = "antimicro-${version}";
|
||||
version = "2.23";
|
||||
|
||||
@@ -11,15 +11,12 @@ stdenv.mkDerivation rec {
|
||||
sha256 = "1q40ayxwwyq85lc89cnj1cm2nar625h4vhh8dvmb2qcxczaggf4v";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ cmake pkgconfig ];
|
||||
buildInputs = [
|
||||
cmake pkgconfig SDL2 qtbase qttools xorg.libXtst makeQtWrapper
|
||||
SDL2 qtbase qttools xorg.libXtst
|
||||
];
|
||||
|
||||
postInstall = ''
|
||||
wrapQtProgram $out/bin/antimicro
|
||||
'';
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
meta = with lib; {
|
||||
description = "GUI for mapping keyboard and mouse controls to a gamepad";
|
||||
inherit (src.meta) homepage;
|
||||
maintainers = with maintainers; [ jb55 ];
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
{ stdenv, fetchurl, qtbase, qtsvg, qttools, qmake, makeQtWrapper }:
|
||||
{ stdenv, fetchurl, qtbase, qtsvg, qttools, qmake }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "qt5ct-${version}";
|
||||
@@ -18,10 +18,6 @@ stdenv.mkDerivation rec {
|
||||
qmakeFlags="$qmakeFlags PLUGINDIR=$out/$qtPluginPrefix"
|
||||
'';
|
||||
|
||||
preFixup = ''
|
||||
wrapQtProgram $out/bin/qt5ct
|
||||
'';
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
description = "Qt5 Configuration Tool";
|
||||
homepage = https://www.opendesktop.org/content/show.php?content=168066;
|
||||
|
||||
@@ -1,11 +1,11 @@
|
||||
{ stdenv, fetchFromGitHub, qtbase, qmake, makeQtWrapper, libXrandr }:
|
||||
{ stdenv, fetchFromGitHub, qtbase, qmake, libXrandr }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
|
||||
name = "radeon-profile-${version}";
|
||||
version = "20161221";
|
||||
|
||||
nativeBuildInputs = [ qmake makeQtWrapper ];
|
||||
nativeBuildInputs = [ qmake ];
|
||||
buildInputs = [ qtbase libXrandr ];
|
||||
|
||||
src = (fetchFromGitHub {
|
||||
@@ -18,7 +18,6 @@ stdenv.mkDerivation rec {
|
||||
postInstall = ''
|
||||
mkdir -p $out/bin
|
||||
cp ./radeon-profile $out/bin/radeon-profile
|
||||
wrapQtProgram $out/bin/radeon-profile
|
||||
'';
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
{ stdenv, fetchurl, pkgconfig, libusb1
|
||||
, qtbase, qttools, makeQtWrapper, qmake
|
||||
, qtbase, qttools, makeWrapper, qmake
|
||||
, withEspeak ? false, espeak ? null }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
@@ -13,7 +13,7 @@ stdenv.mkDerivation rec {
|
||||
|
||||
buildInputs = [ libusb1 qtbase qttools ]
|
||||
++ stdenv.lib.optional withEspeak espeak;
|
||||
nativeBuildInputs = [ makeQtWrapper pkgconfig qmake ];
|
||||
nativeBuildInputs = [ makeWrapper pkgconfig qmake ];
|
||||
|
||||
preConfigure = ''
|
||||
cd rbutil/rbutilqt
|
||||
@@ -24,7 +24,7 @@ stdenv.mkDerivation rec {
|
||||
|
||||
install -Dm755 RockboxUtility $out/bin/rockboxutility
|
||||
ln -s $out/bin/rockboxutility $out/bin/RockboxUtility
|
||||
wrapQtProgram $out/bin/rockboxutility \
|
||||
wrapProgram $out/bin/rockboxutility \
|
||||
${stdenv.lib.optionalString withEspeak ''
|
||||
--prefix PATH : ${espeak}/bin
|
||||
''}
|
||||
|
||||
Reference in New Issue
Block a user