phonon: Qt 5 infrastructure update
This commit is contained in:
parent
d7dff0057c
commit
9a91200e9e
@ -1,36 +0,0 @@
|
||||
{ stdenv, fetchurl, cmake, mesa, pkgconfig, libpulseaudio, qt5, debug ? false }:
|
||||
|
||||
with stdenv.lib;
|
||||
|
||||
let
|
||||
v = "4.8.3";
|
||||
in
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "phonon-${v}";
|
||||
|
||||
src = fetchurl {
|
||||
url = "mirror://kde/stable/phonon/${v}/src/phonon-${v}.tar.xz";
|
||||
sha256 = "05nshngk03ln90vsjz44dx8al576f4vd5fvhs1l0jmx13jb9q551";
|
||||
};
|
||||
|
||||
buildInputs = [ mesa qt5.base qt5.quick1 qt5.tools libpulseaudio ];
|
||||
|
||||
nativeBuildInputs = [ cmake pkgconfig ];
|
||||
|
||||
NIX_CFLAGS_COMPILE = "-fPIC";
|
||||
|
||||
cmakeFlags = [
|
||||
"-DCMAKE_BUILD_TYPE=${if debug then "Debug" else "Release"}"
|
||||
"-DPHONON_BUILD_PHONON4QT5=ON"
|
||||
"-DCMAKE_INSTALL_LIBDIR=lib"
|
||||
];
|
||||
|
||||
meta = {
|
||||
homepage = http://phonon.kde.org/;
|
||||
description = "Multimedia API for Qt";
|
||||
license = stdenv.lib.licenses.lgpl2;
|
||||
platforms = stdenv.lib.platforms.linux;
|
||||
maintainers = with stdenv.lib.maintainers; [ ttuegel ];
|
||||
};
|
||||
}
|
@ -8032,8 +8032,6 @@ let
|
||||
|
||||
phonon_backend_vlc = callPackage ../development/libraries/phonon-backend-vlc/qt4 {};
|
||||
|
||||
phonon_qt5 = callPackage ../development/libraries/phonon/qt5/old.nix {};
|
||||
|
||||
physfs = callPackage ../development/libraries/physfs { };
|
||||
|
||||
pipelight = callPackage ../tools/misc/pipelight {
|
||||
@ -15803,6 +15801,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 = qt5.phonon; # added 2015-12-19
|
||||
phonon_qt5_backend_gstreamer = qt5.phonon_backend_gstreamer; # added 2015-12-19
|
||||
qca-qt5 = qt5.qca-qt5; # added 2015-12-19
|
||||
quassel_qt5 = kde5.quassel_qt5; # added 2015-09-30
|
||||
|
Loading…
Reference in New Issue
Block a user