Unverified Commit fa6624af authored by Sandro Jäckel's avatar Sandro Jäckel Committed by GitHub
Browse files

Merge pull request #245102 from SuperSandro2000/phonon-gstreamer

parents fb80f9e5 1aa85533
Loading
Loading
Loading
Loading
+18 −19
Original line number Diff line number Diff line
@@ -7,14 +7,6 @@ stdenv.mkDerivation rec {
  pname = "phonon-backend-gstreamer";
  version = "4.10.0";

  meta = with lib; {
    homepage = "https://phonon.kde.org/";
    description = "GStreamer backend for Phonon";
    platforms = platforms.linux;
    maintainers = with maintainers; [ ttuegel ];
    license = licenses.lgpl21;
  };

  src = fetchurl {
    url = "mirror://kde/stable/phonon/${pname}/${version}/${pname}-${version}.tar.xz";
    sha256 = "1wk1ip2w7fkh65zk6rilj314dna0hgsv2xhjmpr5w08xa8sii1y5";
@@ -34,9 +26,8 @@ stdenv.mkDerivation rec {

  dontWrapQtApps = true;

  env.NIX_CFLAGS_COMPILE =
    let gstPluginPaths =
          lib.makeSearchPathOutput "lib" "/lib/gstreamer-1.0"
  env.NIX_CFLAGS_COMPILE = let
    gstPluginPaths = lib.makeSearchPathOutput "lib" "/lib/gstreamer-1.0"
      (with gst_all_1; [
        gstreamer
        gst-plugins-base
@@ -70,4 +61,12 @@ stdenv.mkDerivation rec {
  cmakeFlags = [
    "-DCMAKE_BUILD_TYPE=${if debug then "Debug" else "Release"}"
  ];

  meta = with lib; {
    homepage = "https://phonon.kde.org/";
    description = "GStreamer backend for Phonon";
    platforms = platforms.linux;
    maintainers = with maintainers; [ ttuegel ];
    license = licenses.lgpl21;
  };
}