Commit 6c317b62 authored by gnidorah's avatar gnidorah
Browse files

amarok-kde4: drop

parent 8a152583
Loading
Loading
Loading
Loading
+0 −48
Original line number Diff line number Diff line
{ stdenv, fetchurl, lib, automoc4, cmake, perl, pkgconfig
, qtscriptgenerator, gettext, curl , libxml2, mysql, taglib
, taglib_extras, loudmouth , kdelibs4, qca2, libmtp, liblastfm, libgpod
, phonon , strigi, soprano, qjson, ffmpeg, libofa, nepomuk_core ? null
, lz4, lzo, snappy, libaio, pcre
}:

stdenv.mkDerivation rec {
  name = "${pname}-${version}";

  pname = "amarok";
  version = "2.8.0";

  src = fetchurl {
    url = "mirror://kde/stable/${pname}/${version}/src/${name}.tar.bz2";
    sha256 = "1ilf9wdp3wna5pmvxill8x08rb9gw86qkc2zwm3xk9hpy8l9pf7l";
  };

  QT_PLUGIN_PATH="${qtscriptgenerator}/lib/qt4/plugins";

  nativeBuildInputs = [ automoc4 cmake perl pkgconfig ];

  buildInputs = [
    qtscriptgenerator stdenv.cc.libc gettext curl libxml2 mysql.server/*libmysqld*/
    taglib taglib_extras loudmouth kdelibs4 phonon strigi soprano qca2
    libmtp liblastfm libgpod qjson ffmpeg libofa nepomuk_core
    lz4 lzo snappy libaio pcre
  ];

  # This is already fixed upstream, will be release in 2.9
  preConfigure = ''
    sed -i -e 's/STRLESS/VERSION_LESS/g' cmake/modules/FindTaglib.cmake
  '';

  cmakeFlags = "-DKDE4_BUILD_TESTS=OFF";

  enableParallelBuilding = true;

  propagatedUserEnvPkgs = [ qtscriptgenerator ];

  meta = {
    repositories.git = git://anongit.kde.org/amarok.git;
    description = "Popular music player for KDE";
    license = "GPL";
    homepage = https://amarok.kde.org;
    inherit (kdelibs4.meta) platforms;
  };
}
+0 −5
Original line number Diff line number Diff line
@@ -13936,11 +13936,6 @@ with pkgs;
  msgviewer = callPackage ../applications/networking/mailreaders/msgviewer { };
  amarok = kde4.callPackage ../applications/audio/amarok {
    ffmpeg = ffmpeg_2;
    stdenv = overrideCC stdenv gcc5;
  };
  amarok-kf5 = libsForQt5.callPackage ../applications/audio/amarok/kf5.nix { };
  AMB-plugins = callPackage ../applications/audio/AMB-plugins { };