fix evals /cc @ttuegel
This commit is contained in:
parent
4f2b49744d
commit
b7f15c43da
@ -11,7 +11,7 @@ stdenv.mkDerivation rec {
|
|||||||
};
|
};
|
||||||
|
|
||||||
buildInputs = [
|
buildInputs = [
|
||||||
makeWrapper cmake qt5 pkgconfig alsaLib portaudio jack2 lame libsndfile libvorbis
|
makeWrapper cmake qt5.base pkgconfig alsaLib portaudio jack2 lame libsndfile libvorbis
|
||||||
];
|
];
|
||||||
|
|
||||||
patchPhase = ''
|
patchPhase = ''
|
||||||
|
@ -16,7 +16,7 @@ stdenv.mkDerivation rec {
|
|||||||
};
|
};
|
||||||
|
|
||||||
buildInputs =
|
buildInputs =
|
||||||
[ libsndfile qt5 fftw /* should be fftw3f ??*/ bzip2 librdf rubberband
|
[ libsndfile qt5.base fftw /* should be fftw3f ??*/ bzip2 librdf rubberband
|
||||||
libsamplerate vampSDK alsaLib librdf_raptor librdf_rasqal redland
|
libsamplerate vampSDK alsaLib librdf_raptor librdf_rasqal redland
|
||||||
serd
|
serd
|
||||||
sord
|
sord
|
||||||
|
@ -17,15 +17,15 @@ stdenv.mkDerivation rec {
|
|||||||
|
|
||||||
buildInputs = [
|
buildInputs = [
|
||||||
pkgconfig pam libxcb glib libXdmcp itstool libxml2 intltool libxklavier libgcrypt
|
pkgconfig pam libxcb glib libXdmcp itstool libxml2 intltool libxklavier libgcrypt
|
||||||
qt4 qt5
|
qt4
|
||||||
];
|
] ++ stdenv.lib.optional (qt5 != null) qt5.base;
|
||||||
|
|
||||||
configureFlags = [
|
configureFlags = [
|
||||||
"--enable-liblightdm-gobject"
|
"--enable-liblightdm-gobject"
|
||||||
"--localstatedir=/var"
|
"--localstatedir=/var"
|
||||||
"--sysconfdir=/etc"
|
"--sysconfdir=/etc"
|
||||||
] ++ stdenv.lib.optional (qt4 != null) "--enable-liblightdm-qt"
|
] ++ stdenv.lib.optional (qt4 != null) "--enable-liblightdm-qt"
|
||||||
++ stdenv.lib.optional (qt5 != null) "--enable-liblightdm-qt5";
|
++ stdenv.lib.optional ((qt5.base or null) != null) "--enable-liblightdm-qt5";
|
||||||
|
|
||||||
installFlags = [
|
installFlags = [
|
||||||
"sysconfdir=\${out}/etc"
|
"sysconfdir=\${out}/etc"
|
||||||
|
@ -23,7 +23,7 @@ stdenv.mkDerivation rec {
|
|||||||
|
|
||||||
buildInputs =
|
buildInputs =
|
||||||
[ python pyqt5 sip_4_16 poppler_utils libpng imagemagick libjpeg
|
[ python pyqt5 sip_4_16 poppler_utils libpng imagemagick libjpeg
|
||||||
fontconfig podofo qt5 pil chmlib icu sqlite libusb1 libmtp xdg_utils
|
fontconfig podofo qt5.base pil chmlib icu sqlite libusb1 libmtp xdg_utils
|
||||||
pythonPackages.mechanize pythonPackages.lxml pythonPackages.dateutil
|
pythonPackages.mechanize pythonPackages.lxml pythonPackages.dateutil
|
||||||
pythonPackages.cssutils pythonPackages.beautifulsoup pythonPackages.pillow
|
pythonPackages.cssutils pythonPackages.beautifulsoup pythonPackages.pillow
|
||||||
pythonPackages.sqlite3 pythonPackages.netifaces pythonPackages.apsw
|
pythonPackages.sqlite3 pythonPackages.netifaces pythonPackages.apsw
|
||||||
|
@ -10,6 +10,9 @@
|
|||||||
, phonon_qt5, libdbusmenu_qt5
|
, phonon_qt5, libdbusmenu_qt5
|
||||||
, stdenv, fetchurl, cmake, makeWrapper, qt, automoc4, phonon, dconf }:
|
, stdenv, fetchurl, cmake, makeWrapper, qt, automoc4, phonon, dconf }:
|
||||||
|
|
||||||
|
|
||||||
|
assert stdenv.isLinux;
|
||||||
|
|
||||||
assert monolithic -> !client && !daemon;
|
assert monolithic -> !client && !daemon;
|
||||||
assert client || daemon -> !monolithic;
|
assert client || daemon -> !monolithic;
|
||||||
assert withKDE -> kdelibs != null;
|
assert withKDE -> kdelibs != null;
|
||||||
|
@ -9,7 +9,7 @@ stdenv.mkDerivation rec {
|
|||||||
sha256 = "13d35rlcjncd8lx3khkgn9x8is2xjd5fp6ns5xsn3w6l4xj9b4gl";
|
sha256 = "13d35rlcjncd8lx3khkgn9x8is2xjd5fp6ns5xsn3w6l4xj9b4gl";
|
||||||
};
|
};
|
||||||
|
|
||||||
buildInputs = [ qt5 pkgconfig boost ];
|
buildInputs = [ qt5.base pkgconfig boost ];
|
||||||
|
|
||||||
postPatch = ''
|
postPatch = ''
|
||||||
sed -e "s|/usr/include/|/nonexistent/|g" -i linssid-app/*.pro
|
sed -e "s|/usr/include/|/nonexistent/|g" -i linssid-app/*.pro
|
||||||
|
@ -4,7 +4,7 @@
|
|||||||
stdenv.mkDerivation {
|
stdenv.mkDerivation {
|
||||||
name = "firestr-0.8";
|
name = "firestr-0.8";
|
||||||
|
|
||||||
buildInputs = [ cmake boost botan snappy libopus libuuid qt5 libXScrnSaver openssl ];
|
buildInputs = [ cmake boost botan snappy libopus libuuid qt5.base libXScrnSaver openssl ];
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "mempko";
|
owner = "mempko";
|
||||||
|
@ -23,7 +23,7 @@ stdenv.mkDerivation rec {
|
|||||||
jansson
|
jansson
|
||||||
libv4l
|
libv4l
|
||||||
libxkbcommon
|
libxkbcommon
|
||||||
qt5
|
qt5.base
|
||||||
x264
|
x264
|
||||||
];
|
];
|
||||||
|
|
||||||
|
@ -9,7 +9,7 @@ stdenv.mkDerivation rec {
|
|||||||
sha256 = "1504ds3ppqmpg84nb2gb74qndqysjwn3xw7n8xv19kd1pppnr10f";
|
sha256 = "1504ds3ppqmpg84nb2gb74qndqysjwn3xw7n8xv19kd1pppnr10f";
|
||||||
};
|
};
|
||||||
|
|
||||||
buildInputs = [ SDL frei0r gettext makeWrapper mlt pkgconfig qt5 ];
|
buildInputs = [ SDL frei0r gettext makeWrapper mlt pkgconfig qt5.base ];
|
||||||
|
|
||||||
configurePhase = "qmake PREFIX=$out";
|
configurePhase = "qmake PREFIX=$out";
|
||||||
|
|
||||||
|
@ -1,16 +1,13 @@
|
|||||||
{ stdenv, fetchurl, xz, vlc, automoc4, cmake, pkgconfig, phonon
|
{ stdenv, fetchurl, xz, vlc, automoc4, cmake, pkgconfig, phonon, qt4}:
|
||||||
, qt4 ? null, qt5 ? null, withQt5 ? false }:
|
|
||||||
|
|
||||||
with stdenv.lib;
|
with stdenv.lib;
|
||||||
|
|
||||||
assert (withQt5 -> qt5 != null); assert (!withQt5 -> qt4 != null);
|
|
||||||
|
|
||||||
let
|
let
|
||||||
pname = "phonon-backend-vlc";
|
pname = "phonon-backend-vlc";
|
||||||
v = "0.8.1";
|
v = "0.8.1";
|
||||||
# Force same Qt version in phonon and VLC
|
# Force same Qt version in phonon and VLC
|
||||||
vlc_ = vlc.override { inherit qt4 qt5 withQt5; };
|
vlc_ = vlc.override { inherit qt4; };
|
||||||
phonon_ = phonon.override { inherit qt4 qt5 withQt5; };
|
phonon_ = phonon.override { inherit qt4; };
|
||||||
in
|
in
|
||||||
|
|
||||||
stdenv.mkDerivation {
|
stdenv.mkDerivation {
|
||||||
@ -23,9 +20,7 @@ stdenv.mkDerivation {
|
|||||||
|
|
||||||
nativeBuildInputs = [ cmake pkgconfig automoc4 xz ];
|
nativeBuildInputs = [ cmake pkgconfig automoc4 xz ];
|
||||||
|
|
||||||
buildInputs = [ vlc_ phonon_ (if withQt5 then qt5 else qt4)];
|
buildInputs = [ vlc_ phonon_ qt4 ];
|
||||||
|
|
||||||
cmakeFlags = optional withQt5 "-DPHONON_BUILD_PHONON4QT5=ON";
|
|
||||||
|
|
||||||
meta = {
|
meta = {
|
||||||
homepage = http://phonon.kde.org/;
|
homepage = http://phonon.kde.org/;
|
||||||
|
@ -12,7 +12,7 @@ stdenv.mkDerivation rec {
|
|||||||
|
|
||||||
installFlags = "INSTALL_ROOT=$(out)";
|
installFlags = "INSTALL_ROOT=$(out)";
|
||||||
|
|
||||||
buildInputs = [ zlib qt.base ];
|
buildInputs = [ zlib (qt.base or qt) ];
|
||||||
|
|
||||||
meta = {
|
meta = {
|
||||||
description = "Provides access to ZIP archives from Qt programs";
|
description = "Provides access to ZIP archives from Qt programs";
|
||||||
|
Loading…
x
Reference in New Issue
Block a user