mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-28 18:03:04 +00:00
quasselDaemon: option for static linking
This commit is contained in:
parent
efb76ae10b
commit
8871c6fabc
@ -5,6 +5,7 @@
|
||||
, tag ? "" # tag added to the package name
|
||||
, withKDE ? stdenv.isLinux # enable KDE integration
|
||||
, kdelibs ? null
|
||||
, static ? false # link statically
|
||||
|
||||
, stdenv, fetchurl, cmake, makeWrapper, qt, automoc4, phonon, dconf, qca2 }:
|
||||
|
||||
@ -42,8 +43,8 @@ in with stdenv; mkDerivation rec {
|
||||
NIX_CFLAGS_COMPILE = "-fPIC";
|
||||
|
||||
cmakeFlags = [
|
||||
"-DEMBED_DATA=OFF"
|
||||
"-DSTATIC=OFF" ]
|
||||
"-DEMBED_DATA=OFF" ]
|
||||
++ edf static "STATIC"
|
||||
++ edf monolithic "WANT_MONO"
|
||||
++ edf daemon "WANT_CORE"
|
||||
++ edf client "WANT_QTCLIENT"
|
||||
|
@ -3,6 +3,7 @@
|
||||
, client ? false # build Quassel client
|
||||
, previews ? false # enable webpage previews on hovering over URLs
|
||||
, tag ? "" # tag added to the package name
|
||||
, static ? false # link statically
|
||||
|
||||
, stdenv, fetchurl, cmake, makeWrapper, dconf
|
||||
, qtbase, qtscript, qtwebkit
|
||||
@ -66,9 +67,9 @@ in with stdenv; mkDerivation rec {
|
||||
|
||||
cmakeFlags = [
|
||||
"-DEMBED_DATA=OFF"
|
||||
"-DSTATIC=OFF"
|
||||
"-DUSE_QT5=ON"
|
||||
]
|
||||
++ edf static "STATIC"
|
||||
++ edf monolithic "WANT_MONO"
|
||||
++ edf daemon "WANT_CORE"
|
||||
++ edf client "WANT_QTCLIENT"
|
||||
|
Loading…
Reference in New Issue
Block a user