mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-17 23:36:17 +01:00
quassel: 0.10.0 -> 0.11.0
This commit is contained in:
parent
c5f3b32ac5
commit
9c064a72de
2 changed files with 29 additions and 5 deletions
|
@ -5,14 +5,17 @@
|
||||||
, ssl ? true # enable SSL support
|
, ssl ? true # enable SSL support
|
||||||
, previews ? false # enable webpage previews on hovering over URLs
|
, previews ? false # enable webpage previews on hovering over URLs
|
||||||
, tag ? "" # tag added to the package name
|
, tag ? "" # tag added to the package name
|
||||||
, stdenv, fetchurl, cmake, makeWrapper, qt4, kdelibs, automoc4, phonon, dconf }:
|
, stdenv, fetchurl, cmake, makeWrapper, qt, kdelibs, automoc4, phonon, dconf }:
|
||||||
|
|
||||||
|
assert monolithic -> !client && !daemon;
|
||||||
|
assert client || daemon -> !monolithic;
|
||||||
|
|
||||||
let
|
let
|
||||||
edf = flag: feature: [("-D" + feature + (if flag then "=ON" else "=OFF"))];
|
edf = flag: feature: [("-D" + feature + (if flag then "=ON" else "=OFF"))];
|
||||||
|
|
||||||
in with stdenv; mkDerivation rec {
|
in with stdenv; mkDerivation rec {
|
||||||
|
|
||||||
version = "0.10.1";
|
version = "0.11.0";
|
||||||
name = "quassel${tag}-${version}";
|
name = "quassel${tag}-${version}";
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
|
@ -22,7 +25,7 @@ in with stdenv; mkDerivation rec {
|
||||||
|
|
||||||
enableParallelBuilding = true;
|
enableParallelBuilding = true;
|
||||||
|
|
||||||
buildInputs = [ cmake makeWrapper qt4 ]
|
buildInputs = [ cmake makeWrapper qt ]
|
||||||
++ lib.optional withKDE kdelibs
|
++ lib.optional withKDE kdelibs
|
||||||
++ lib.optional withKDE automoc4
|
++ lib.optional withKDE automoc4
|
||||||
++ lib.optional withKDE phonon;
|
++ lib.optional withKDE phonon;
|
||||||
|
@ -63,6 +66,6 @@ in with stdenv; mkDerivation rec {
|
||||||
license = stdenv.lib.licenses.gpl3;
|
license = stdenv.lib.licenses.gpl3;
|
||||||
maintainers = [ maintainers.phreedom ];
|
maintainers = [ maintainers.phreedom ];
|
||||||
repositories.git = https://github.com/quassel/quassel.git;
|
repositories.git = https://github.com/quassel/quassel.git;
|
||||||
inherit (qt4.meta) platforms;
|
inherit (qt.meta) platforms;
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
|
@ -11528,27 +11528,48 @@ let
|
||||||
|
|
||||||
qtcurve = callPackage ../misc/themes/qtcurve { };
|
qtcurve = callPackage ../misc/themes/qtcurve { };
|
||||||
|
|
||||||
quassel = callPackage ../applications/networking/irc/quassel { dconf = gnome3.dconf; };
|
quassel = callPackage ../applications/networking/irc/quassel rec {
|
||||||
|
monolithic = true;
|
||||||
|
daemon = false;
|
||||||
|
client = false;
|
||||||
|
withKDE = stdenv.isLinux;
|
||||||
|
qt = if withKDE then qt4 else qt5; # KDE supported quassel cannot build with qt5 yet (maybe in 0.12.0)
|
||||||
|
dconf = gnome3.dconf;
|
||||||
|
};
|
||||||
|
|
||||||
quasselWithoutKDE = (self.quassel.override {
|
quasselWithoutKDE = (self.quassel.override {
|
||||||
|
monolithic = true;
|
||||||
|
daemon = false;
|
||||||
|
client = false;
|
||||||
withKDE = false;
|
withKDE = false;
|
||||||
|
qt = qt5;
|
||||||
tag = "-without-kde";
|
tag = "-without-kde";
|
||||||
});
|
});
|
||||||
|
|
||||||
quasselDaemon = (self.quassel.override {
|
quasselDaemon = (self.quassel.override {
|
||||||
monolithic = false;
|
monolithic = false;
|
||||||
daemon = true;
|
daemon = true;
|
||||||
|
client = false;
|
||||||
|
withKDE = false;
|
||||||
|
qt = qt5;
|
||||||
tag = "-daemon";
|
tag = "-daemon";
|
||||||
});
|
});
|
||||||
|
|
||||||
quasselClient = (self.quassel.override {
|
quasselClient = (self.quassel.override {
|
||||||
monolithic = false;
|
monolithic = false;
|
||||||
|
daemon = false;
|
||||||
client = true;
|
client = true;
|
||||||
|
withKDE = stdenv.isLinux;
|
||||||
|
qt = if withKDE then qt4 else qt5; # KDE supported quassel cannot build with qt5 yet (maybe in 0.12.0)
|
||||||
tag = "-client";
|
tag = "-client";
|
||||||
});
|
});
|
||||||
|
|
||||||
quasselClientWithoutKDE = (self.quasselClient.override {
|
quasselClientWithoutKDE = (self.quasselClient.override {
|
||||||
|
monolithic = false;
|
||||||
|
daemon = false;
|
||||||
|
client = true;
|
||||||
withKDE = false;
|
withKDE = false;
|
||||||
|
qt = qt5;
|
||||||
tag = "-client-without-kde";
|
tag = "-client-without-kde";
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue