Merge pull request #91882 from fkautz/pidgin-osx
This commit is contained in:
commit
1b9b1440b9
@ -1,4 +1,5 @@
|
|||||||
{ stdenv, fetchurl, makeWrapper, pkgconfig, gtk2, gtkspell2, aspell
|
{ stdenv, fetchurl, makeWrapper, pkgconfig, gtk2, gtk2-x11
|
||||||
|
, gtkspell2, aspell
|
||||||
, gst_all_1, startupnotification, gettext
|
, gst_all_1, startupnotification, gettext
|
||||||
, perlPackages, libxml2, nss, nspr, farstream
|
, perlPackages, libxml2, nss, nspr, farstream
|
||||||
, libXScrnSaver, ncurses, avahi, dbus, dbus-glib, intltool, libidn
|
, libXScrnSaver, ncurses, avahi, dbus, dbus-glib, intltool, libidn
|
||||||
@ -29,19 +30,24 @@ let unwrapped = stdenv.mkDerivation rec {
|
|||||||
NIX_CFLAGS_COMPILE = "-I${gst_all_1.gst-plugins-base.dev}/include/gstreamer-1.0";
|
NIX_CFLAGS_COMPILE = "-I${gst_all_1.gst-plugins-base.dev}/include/gstreamer-1.0";
|
||||||
|
|
||||||
buildInputs = [
|
buildInputs = [
|
||||||
gtkspell2 aspell startupnotification
|
aspell startupnotification
|
||||||
gst_all_1.gstreamer gst_all_1.gst-plugins-base gst_all_1.gst-plugins-good
|
gst_all_1.gstreamer gst_all_1.gst-plugins-base gst_all_1.gst-plugins-good
|
||||||
libxml2 nss nspr farstream
|
libxml2 nss nspr
|
||||||
libXScrnSaver ncurses python
|
libXScrnSaver ncurses python
|
||||||
avahi dbus dbus-glib intltool libidn
|
avahi dbus dbus-glib intltool libidn
|
||||||
libICE libXext libSM cyrus_sasl
|
libICE libXext libSM cyrus_sasl
|
||||||
]
|
]
|
||||||
++ (lib.optional (openssl != null) openssl)
|
++ (lib.optional (openssl != null) openssl)
|
||||||
++ (lib.optional (gnutls != null) gnutls)
|
++ (lib.optional (gnutls != null) gnutls)
|
||||||
++ (lib.optional (libgcrypt != null) libgcrypt);
|
++ (lib.optional (libgcrypt != null) libgcrypt)
|
||||||
|
++ (lib.optionals (stdenv.isLinux) [gtk2 gtkspell2 farstream])
|
||||||
|
++ (lib.optional (stdenv.isDarwin) gtk2-x11);
|
||||||
|
|
||||||
propagatedBuildInputs = [ pkgconfig gtk2 gettext ]
|
|
||||||
++ (with perlPackages; [ perl XMLParser ]);
|
propagatedBuildInputs = [ pkgconfig gettext ]
|
||||||
|
++ (with perlPackages; [ perl XMLParser ])
|
||||||
|
++ (lib.optional (stdenv.isLinux) gtk2)
|
||||||
|
++ (lib.optional (stdenv.isDarwin) gtk2-x11);
|
||||||
|
|
||||||
patches = [ ./pidgin-makefile.patch ./add-search-path.patch ];
|
patches = [ ./pidgin-makefile.patch ./add-search-path.patch ];
|
||||||
|
|
||||||
@ -56,7 +62,8 @@ let unwrapped = stdenv.mkDerivation rec {
|
|||||||
"--disable-tcl"
|
"--disable-tcl"
|
||||||
]
|
]
|
||||||
++ (lib.optionals (cyrus_sasl != null) [ "--enable-cyrus-sasl=yes" ])
|
++ (lib.optionals (cyrus_sasl != null) [ "--enable-cyrus-sasl=yes" ])
|
||||||
++ (lib.optionals (gnutls != null) ["--enable-gnutls=yes" "--enable-nss=no"]);
|
++ (lib.optionals (gnutls != null) ["--enable-gnutls=yes" "--enable-nss=no"])
|
||||||
|
++ (lib.optionals (stdenv.isDarwin) ["--disable-gtkspell" "--disable-vv"]);
|
||||||
|
|
||||||
enableParallelBuilding = true;
|
enableParallelBuilding = true;
|
||||||
|
|
||||||
@ -69,7 +76,7 @@ let unwrapped = stdenv.mkDerivation rec {
|
|||||||
description = "Multi-protocol instant messaging client";
|
description = "Multi-protocol instant messaging client";
|
||||||
homepage = "http://pidgin.im";
|
homepage = "http://pidgin.im";
|
||||||
license = licenses.gpl2Plus;
|
license = licenses.gpl2Plus;
|
||||||
platforms = platforms.linux;
|
platforms = platforms.unix;
|
||||||
maintainers = [ maintainers.vcunat ];
|
maintainers = [ maintainers.vcunat ];
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
Loading…
x
Reference in New Issue
Block a user