Merge pull request #117333 from OPNA2608/fix/supercollider-wrapping/21.05

supercollider: fix Qt wrapping
This commit is contained in:
Sandro 2021-04-07 10:31:19 +02:00 committed by GitHub
commit b219457ac0
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1,17 +1,16 @@
{ lib, stdenv, fetchurl, cmake, pkg-config, alsaLib { lib, stdenv, mkDerivation, fetchurl, cmake, pkg-config, alsaLib
, libjack2, libsndfile, fftw, curl, gcc , libjack2, libsndfile, fftw, curl, gcc
, libXt, qtbase, qttools, qtwebengine , libXt, qtbase, qttools, qtwebengine
, readline, qtwebsockets, useSCEL ? false, emacs , readline, qtwebsockets, useSCEL ? false, emacs
}: }:
let optional = lib.optional; let
inherit (lib) optional;
in in
mkDerivation rec {
stdenv.mkDerivation rec {
pname = "supercollider"; pname = "supercollider";
version = "3.11.2"; version = "3.11.2";
src = fetchurl { src = fetchurl {
url = "https://github.com/supercollider/supercollider/releases/download/Version-${version}/SuperCollider-${version}-Source.tar.bz2"; url = "https://github.com/supercollider/supercollider/releases/download/Version-${version}/SuperCollider-${version}-Source.tar.bz2";
sha256 = "wiwyxrxIJnHU+49RZy33Etl6amJ3I1xNojEpEDA6BQY="; sha256 = "wiwyxrxIJnHU+49RZy33Etl6amJ3I1xNojEpEDA6BQY=";
@ -31,13 +30,11 @@ stdenv.mkDerivation rec {
++ optional (!stdenv.isDarwin) alsaLib ++ optional (!stdenv.isDarwin) alsaLib
++ optional useSCEL emacs; ++ optional useSCEL emacs;
dontWrapQtApps = true;
meta = with lib; { meta = with lib; {
description = "Programming language for real time audio synthesis"; description = "Programming language for real time audio synthesis";
homepage = "https://supercollider.github.io"; homepage = "https://supercollider.github.io";
maintainers = with maintainers; [ mrmebelman ]; maintainers = with maintainers; [ mrmebelman ];
license = licenses.gpl3; license = licenses.gpl3Plus;
platforms = [ "x686-linux" "x86_64-linux" ]; platforms = [ "x686-linux" "x86_64-linux" ];
}; };
} }