Unverified Commit 72028dba authored by Frederik Rietdijk's avatar Frederik Rietdijk Committed by GitHub
Browse files

Merge pull request #174634 from helsinki-systems/drop/qt4

qt4: remove
parents a2dabc36 9afd8341
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -10,7 +10,7 @@ in

    i18n.inputMethod.uim = {
      toolbar = mkOption {
        type    = types.enum [ "gtk" "gtk3" "gtk-systray" "gtk3-systray" "qt4" ];
        type    = types.enum [ "gtk" "gtk3" "gtk-systray" "gtk3-systray" "qt5" ];
        default = "gtk";
        example = "gtk-systray";
        description = lib.mdDoc ''
+0 −48
Original line number Diff line number Diff line
{ lib
, stdenv
, fetchFromGitHub
, pkg-config
, cmake
, alsa-lib
, boost
, glib
, lash
, libjack2
, libarchive
, libsndfile
, lrdf
, qt4
}:

stdenv.mkDerivation rec {
  version = "0.9.7";
  pname = "hydrogen";

  src = fetchFromGitHub {
    owner = "hydrogen-music";
    repo = "hydrogen";
    rev = version;
    sha256 = "sha256-6ycNUcumtAEl/6XbIpW6JglGv4nNOdMrOJ1nvJg3z/c=";
  };

  nativeBuildInputs = [ pkg-config cmake ];
  buildInputs = [
    alsa-lib
    boost
    glib
    lash
    libjack2
    libarchive
    libsndfile
    lrdf
    qt4
  ];

  meta = with lib; {
    description = "Advanced drum machine";
    homepage = "http://www.hydrogen-music.org";
    license = licenses.gpl2;
    platforms = platforms.linux;
    maintainers = [ maintainers.goibhniu ];
  };
}
+0 −30
Original line number Diff line number Diff line
{ lib, stdenv, fetchurl, pkg-config, qt4, alsa-lib }:

stdenv.mkDerivation rec {
  version = "0.4.0";
  pname = "qmidiroute";

  src = fetchurl {
    url = "mirror://sourceforge/project/alsamodular/QMidiRoute/${version}/${pname}-${version}.tar.gz";
    sha256 = "0vmjwarsxr5540rafhmdcc62yarf0w2l05bjjl9s28zzr5m39z3n";
  };

  nativeBuildInputs = [ pkg-config ];
  buildInputs = [ qt4 alsa-lib ];

  meta = with lib; {
    description = "MIDI event processor and router";
    longDescription = ''
    qmidiroute is a versatile MIDI event processor and router for the ALSA
    sequencer.  The graphical  interface  is  based  on  the  Qt4  toolkit.
    qmidiroute permits setting up an unlimited number of MIDI maps in which
    incoming events are selected, modified or even changed in  type  before
    being  directed  to  a  dedicated  ALSA  output  port. The maps work in
    parallel, and they are organized in tabs.
    '';

    license = licenses.gpl2;
    maintainers = [ maintainers.lebastr ];
    platforms = lib.platforms.linux;
  };
}
+0 −34
Original line number Diff line number Diff line
{ stdenv, lib, fetchurl, withMtp ? true, libmtp, pkg-config, which, qt4, qmake4Hook }:

stdenv.mkDerivation rec {
  pname = "qtscrobbler";
  version = "0.11";

  src = fetchurl {
    url = "mirror://sourceforge/qtscrob/qtscrob/${version}/qtscrob-${version}.tar.bz2";
    sha256 = "01c8e48f616ed09504833d27d92fd62f455bd645ea2d1cc2a5f4c287d641daba";
  };

  nativeBuildInputs = [ qmake4Hook ] ++ lib.optionals withMtp [ pkg-config which ];
  buildInputs = [ qt4 ] ++ lib.optional withMtp libmtp;

  enableParallelBuilding = true;

  postPatch = ''
    cd src
    sed -i -e "s,/usr/local,$out," -e "s,/usr,," common.pri
  '';

  meta = with lib; {
    description = "Qt based last.fm scrobbler";
    longDescription = ''
      QTScrobbler is a tool to upload information about the tracks you have played from your Digital Audio Player (DAP) to your last.fm account.
      It is able to gather this information from Apple iPods or DAPs running the Rockbox replacement firmware.
    '';

    homepage = "https://qtscrob.sourceforge.net";
    license = licenses.gpl2;
    maintainers = [ maintainers.vanzef ];
    platforms = platforms.linux;
  };
}
+0 −56
Original line number Diff line number Diff line
{ lib
, stdenv
, fetchFromGitHub
, autoreconfHook
, help2man
, pkg-config
, libsndfile
, fftwFloat
, libjack2
, libxml2
, qt4
, boost
, ecasound
, glibcLocales
, libGLU
, libGL # Needed because help2man basically does a ./ssr-binaural  --help and ssr-binaural needs libGL
}:

stdenv.mkDerivation {
  pname = "soundscape-renderer";
  version = "unstable-2016-11-03";

  src = fetchFromGitHub {
    owner = "SoundScapeRenderer";
    repo = "ssr";
    rev = "0dd0136dd24e47b63d8a4e05de467f5c7b047ec9";
    sha256 = "sha256-9s+Elaxz9kX+Nle1CqBU/9r0hdI4dhsJ6GrNqvP5HIs=";
  };

  # Without it doesn't find all of the boost libraries.
  BOOST_LIB_DIR = "${boost}/lib";
  # uses the deprecated get_generic_category() in boost_system
  env.NIX_CFLAGS_COMPILE = "-DBOOST_SYSTEM_ENABLE_DEPRECATED=1";

  LC_ALL = "en_US.UTF-8";

  nativeBuildInputs = [ autoreconfHook pkg-config ];
  buildInputs = [ boost boost.dev ecasound libGLU libGL help2man libsndfile fftwFloat libjack2 libxml2 qt4 glibcLocales ];

  # 1) Fix detecting version. https://github.com/SoundScapeRenderer/ssr/pull/53
  # 2) Make it find ecasound headers
  # 3) Fix locale for help2man
  prePatch = ''
    substituteInPlace configure.ac --replace 'git describe ||' 'git describe 2> /dev/null ||';
    substituteInPlace configure.ac --replace '/{usr,opt}/{,local/}' '${ecasound}/'
    substituteInPlace man/Makefile.am --replace '--locale=en' '--locale=en_US.UTF-8'
  '';

  meta = {
    homepage = "http://spatialaudio.net/ssr/";
    description = "The SoundScape Renderer (SSR) is a tool for real-time spatial audio reproduction";
    license = lib.licenses.gpl3;
    maintainers = [ lib.maintainers.fridh ];
  };

}
Loading