Adding qtox. Making libtoxcore propagate libvpx.

This commit is contained in:
Lluís Batlle i Rossell 2014-09-18 09:51:43 +02:00
parent 1b6101775d
commit 04b3932117
3 changed files with 35 additions and 2 deletions

View File

@ -0,0 +1,29 @@
{ stdenv, fetchFromGitHub, pkgconfig, libtoxcore, qt5, openal, opencv }:
stdenv.mkDerivation rec {
name = "qtox-dev-20140918";
src = fetchFromGitHub {
owner = "tux3";
repo = "qTox";
rev = "f06ec65bca";
sha256 = "0r7qc444bgsxawyya5nw3xk1c50b90307lcwazs8mn35h4snr97m";
};
buildInputs = [ pkgconfig libtoxcore qt5 openal opencv ];
configurePhase = "qmake";
installPhase = ''
ensureDir $out/bin
cp qtox $out/bin
'';
meta = with stdenv.lib; {
description = "QT Tox client";
license = licenses.gpl3;
maintainers = with stdenv.lib.maintainers; [ viric ];
platforms = stdenv.lib.platforms.all;
};
}

View File

@ -37,10 +37,12 @@ stdenv.mkDerivation rec {
buildInputs = [ buildInputs = [
autoconf libtool automake libsodium ncurses libopus autoconf libtool automake libsodium ncurses libopus
libvpx check libconfig pkgconfig check libconfig pkgconfig
]; ];
doCheck = false; # certian tests fail, upstream advice is to wait propagatedBuildInputs = [ libvpx ];
doCheck = true;
meta = { meta = {
description = "P2P FOSS instant messaging application aimed to replace Skype with crypto"; description = "P2P FOSS instant messaging application aimed to replace Skype with crypto";

View File

@ -9986,6 +9986,8 @@ let
qsynth = callPackage ../applications/audio/qsynth { }; qsynth = callPackage ../applications/audio/qsynth { };
qtox = callPackage ../applications/networking/instant-messengers/qtox { };
qtpfsgui = callPackage ../applications/graphics/qtpfsgui { }; qtpfsgui = callPackage ../applications/graphics/qtpfsgui { };
qtractor = callPackage ../applications/audio/qtractor { }; qtractor = callPackage ../applications/audio/qtractor { };