phonon-backend-gstreamer: Qt 5 infrastructure update

This commit is contained in:
Thomas Tuegel 2015-12-19 20:02:57 -06:00
parent 26cf5db23f
commit b8b14eda69
2 changed files with 1 additions and 43 deletions

View File

@ -1,41 +0,0 @@
{ stdenv, fetchurl, cmake, gst_all_1, phonon_qt5, pkgconfig, qt5, debug ? false }:
with stdenv.lib;
let
version = "4.8.2";
pname = "phonon-backend-gstreamer";
in
stdenv.mkDerivation rec {
name = "${pname}-${version}";
src = fetchurl {
url = "mirror://kde/stable/phonon/${pname}/${version}/src/${name}.tar.xz";
sha256 = "1q1ix6zsfnh6gfnpmwp67s376m7g7ahpjl1qp2fqakzb5cgzgq10";
};
buildInputs = with gst_all_1; [
gstreamer gst-plugins-base phonon_qt5 qt5.base
];
NIX_CFLAGS_COMPILE = [
# This flag should be picked up through pkgconfig, but it isn't.
"-I${gst_all_1.gstreamer}/lib/gstreamer-1.0/include"
];
nativeBuildInputs = [ cmake pkgconfig ];
cmakeFlags = [
"-DCMAKE_INSTALL_LIBDIR=lib"
"-DPHONON_BUILD_PHONON4QT5=ON"
]
++ optional debug "-DCMAKE_BUILD_TYPE=Debug";
meta = with stdenv.lib; {
homepage = http://phonon.kde.org/;
description = "GStreamer backend for Phonon";
platforms = platforms.linux;
maintainer = with maintainers; [ ttuegel ];
};
}

View File

@ -8034,8 +8034,6 @@ let
phonon_qt5 = callPackage ../development/libraries/phonon/qt5/old.nix {};
phonon_qt5_backend_gstreamer = callPackage ../development/libraries/phonon-backend-gstreamer/qt5/old.nix {};
physfs = callPackage ../development/libraries/physfs { };
pipelight = callPackage ../tools/misc/pipelight {
@ -15809,6 +15807,7 @@ aliases = with self; rec {
lttngUst = lttng-ust; # added 2014-07-31
mlt-qt5 = qt5.mlt; # added 2015-12-19
nfsUtils = nfs-utils; # added 2014-12-06
phonon_qt5_backend_gstreamer = qt5.phonon_backend_gstreamer; # added 2015-12-19
quassel_qt5 = kde5.quassel_qt5; # added 2015-09-30
quasselClient_qt5 = kde5.quasselClient_qt5; # added 2015-09-30
quasselDaemon_qt5 = kde5.quasselDaemon; # added 2015-09-30