Use libpulseaudio instead of pulseaudio
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
{ stdenv, fetchurl, cmake, coreutils, dbus, freetype, glib, gnused
|
||||
, libpthreadstubs, pango, pkgconfig, pulseaudio, which }:
|
||||
, libpthreadstubs, pango, pkgconfig, libpulseaudio, which }:
|
||||
|
||||
let version = "4.10.2.2614"; in
|
||||
stdenv.mkDerivation rec {
|
||||
@@ -29,7 +29,7 @@ stdenv.mkDerivation rec {
|
||||
};
|
||||
|
||||
buildInputs = [ cmake coreutils dbus freetype glib gnused libpthreadstubs
|
||||
pango pkgconfig pulseaudio which ];
|
||||
pango pkgconfig libpulseaudio which ];
|
||||
|
||||
postPatch = ''
|
||||
for i in squeak.in squeak.sh.in; do
|
||||
|
||||
@@ -101495,16 +101495,16 @@ self: {
|
||||
}) {};
|
||||
|
||||
"pulse-simple" = callPackage
|
||||
({ mkDerivation, base, bytestring, pulseaudio }:
|
||||
({ mkDerivation, base, bytestring, libpulseaudio }:
|
||||
mkDerivation {
|
||||
pname = "pulse-simple";
|
||||
version = "0.1.14";
|
||||
sha256 = "1as1cnx50mqmib5llzy2w218rg7dxmhz6nfa9kryfjzk0n5rshl4";
|
||||
buildDepends = [ base bytestring ];
|
||||
extraLibraries = [ pulseaudio ];
|
||||
extraLibraries = [ libpulseaudio ];
|
||||
description = "binding to Simple API of pulseaudio";
|
||||
license = stdenv.lib.licenses.bsd3;
|
||||
}) { inherit (pkgs) pulseaudio;};
|
||||
}) { inherit (pkgs) libpulseaudio;};
|
||||
|
||||
"punkt" = callPackage
|
||||
({ mkDerivation, array, base, mtl, regex-tdfa, regex-tdfa-text
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
, openglSupport ? false, mesa ? null
|
||||
, alsaSupport ? true, alsaLib ? null
|
||||
, x11Support ? true, x11 ? null, libXrandr ? null
|
||||
, pulseaudioSupport ? true, pulseaudio ? null
|
||||
, pulseaudioSupport ? true, libpulseaudio ? null
|
||||
}:
|
||||
|
||||
# OSS is no longer supported, for it's much crappier than ALSA and
|
||||
@@ -12,7 +12,7 @@ assert (stdenv.isLinux && !(stdenv ? cross)) -> alsaSupport || pulseaudioSupport
|
||||
assert openglSupport -> (mesa != null && x11Support);
|
||||
assert x11Support -> (x11 != null && libXrandr != null);
|
||||
assert alsaSupport -> alsaLib != null;
|
||||
assert pulseaudioSupport -> pulseaudio != null;
|
||||
assert pulseaudioSupport -> libpulseaudio != null;
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
version = "1.2.15";
|
||||
@@ -27,7 +27,7 @@ stdenv.mkDerivation rec {
|
||||
propagatedNativeBuildInputs =
|
||||
stdenv.lib.optionals x11Support [ x11 libXrandr ] ++
|
||||
stdenv.lib.optional alsaSupport alsaLib ++
|
||||
stdenv.lib.optional pulseaudioSupport pulseaudio;
|
||||
stdenv.lib.optional pulseaudioSupport libpulseaudio;
|
||||
|
||||
buildInputs = let
|
||||
notMingw = !(stdenv ? cross) || stdenv.cross.libc != "msvcrt";
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
, openglSupport ? false, mesa ? null
|
||||
, alsaSupport ? true, alsaLib ? null
|
||||
, x11Support ? true, x11 ? null, libXrandr ? null
|
||||
, pulseaudioSupport ? true, pulseaudio ? null
|
||||
, pulseaudioSupport ? true, libpulseaudio ? null
|
||||
}:
|
||||
|
||||
# OSS is no longer supported, for it's much crappier than ALSA and
|
||||
@@ -12,7 +12,7 @@ assert !stdenv.isDarwin -> alsaSupport || pulseaudioSupport;
|
||||
assert openglSupport -> (stdenv.isDarwin || mesa != null && x11Support);
|
||||
assert x11Support -> (x11 != null && libXrandr != null);
|
||||
assert alsaSupport -> alsaLib != null;
|
||||
assert pulseaudioSupport -> pulseaudio != null;
|
||||
assert pulseaudioSupport -> libpulseaudio != null;
|
||||
|
||||
let
|
||||
configureFlagsFun = attrs: ''
|
||||
@@ -32,7 +32,7 @@ stdenv.mkDerivation rec {
|
||||
|
||||
# Since `libpulse*.la' contain `-lgdbm', PulseAudio must be propagated.
|
||||
propagatedBuildInputs = stdenv.lib.optionals x11Support [ x11 libXrandr ] ++
|
||||
stdenv.lib.optional pulseaudioSupport pulseaudio;
|
||||
stdenv.lib.optional pulseaudioSupport libpulseaudio;
|
||||
|
||||
buildInputs = [ pkgconfig audiofile ] ++
|
||||
stdenv.lib.optional openglSupport [ mesa ] ++
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
{
|
||||
stdenv, fetchsvn, openssl, zlib, libvorbis, pulseaudio, gstreamer, libao,
|
||||
stdenv, fetchsvn, openssl, zlib, libvorbis, libpulseaudio, gstreamer, libao,
|
||||
libtool, ncurses, glibc
|
||||
}:
|
||||
|
||||
@@ -13,7 +13,7 @@ stdenv.mkDerivation rec {
|
||||
};
|
||||
|
||||
buildInputs = [
|
||||
openssl zlib libvorbis pulseaudio gstreamer libao libtool ncurses glibc
|
||||
openssl zlib libvorbis libpulseaudio gstreamer libao libtool ncurses glibc
|
||||
];
|
||||
|
||||
configurePhase = "cd src";
|
||||
|
||||
@@ -108,7 +108,7 @@
|
||||
#, openh264 ? null # H.264/AVC encoder
|
||||
, openjpeg_1 ? null # JPEG 2000 de/encoder
|
||||
, opensslExtlib ? false, openssl ? null
|
||||
, pulseaudio ? null # Pulseaudio input support
|
||||
, libpulseaudio ? null # Pulseaudio input support
|
||||
, rtmpdump ? null # RTMP[E] support
|
||||
#, libquvi ? null # Quvi input support
|
||||
, samba ? null # Samba protocol
|
||||
@@ -361,7 +361,7 @@ stdenv.mkDerivation rec {
|
||||
#(enableFeature (openh264 != null) "openh264")
|
||||
(enableFeature (openjpeg_1 != null) "libopenjpeg")
|
||||
(enableFeature (opensslExtlib && gplLicensing) "openssl")
|
||||
(enableFeature (pulseaudio != null) "libpulse")
|
||||
(enableFeature (libpulseaudio != null) "libpulse")
|
||||
#(enableFeature quvi "libquvi")
|
||||
(enableFeature (rtmpdump != null) "librtmp")
|
||||
#(enableFeature (schroedinger != null) "libschroedinger")
|
||||
@@ -399,7 +399,7 @@ stdenv.mkDerivation rec {
|
||||
bzip2 celt fontconfig freetype frei0r fribidi game-music-emu gnutls gsm
|
||||
jack2 ladspaH lame libass libbluray libbs2b libcaca libdc1394 libmodplug
|
||||
libogg libopus libssh libtheora libvdpau libvorbis libvpx libwebp libX11
|
||||
libxcb libXext libXfixes libXv lzma openal openjpeg_1 pulseaudio rtmpdump
|
||||
libxcb libXext libXfixes libXv lzma openal openjpeg_1 libpulseaudio rtmpdump
|
||||
samba SDL soxr speex vid-stab wavpack x264 x265 xavs xvidcore zeromq4 zlib
|
||||
] ++ optional openglExtlib mesa
|
||||
++ optionals x11grabExtlib [ libXext libXfixes ]
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{ stdenv, fetchurl, pkgconfig, perl, texinfo, yasm
|
||||
, alsaLib, bzip2, fontconfig, freetype, gnutls, libiconv, lame, libass, libogg
|
||||
, libtheora, libva, libvdpau, libvorbis, libvpx, lzma, pulseaudio, SDL, soxr
|
||||
, libtheora, libva, libvdpau, libvorbis, libvpx, lzma, libpulseaudio, SDL, soxr
|
||||
, x264, xvidcore, zlib
|
||||
, openglSupport ? false, mesa ? null
|
||||
# Build options
|
||||
@@ -139,7 +139,7 @@ stdenv.mkDerivation rec {
|
||||
bzip2 fontconfig freetype gnutls libiconv lame libass libogg libtheora
|
||||
libvdpau libvorbis lzma SDL soxr x264 xvidcore zlib
|
||||
] ++ optional openglSupport mesa
|
||||
++ optionals (!isDarwin) [ libvpx pulseaudio ] # Need to be fixed on Darwin
|
||||
++ optionals (!isDarwin) [ libvpx libpulseaudio ] # Need to be fixed on Darwin
|
||||
++ optional (isLinux || isFreeBSD) libva
|
||||
++ optional isLinux alsaLib;
|
||||
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
, libv4l, libdv, libavc1394, libiec61883
|
||||
, libvpx, speex, flac, taglib
|
||||
, cairo, gdk_pixbuf, aalib, libcaca
|
||||
, libsoup, pulseaudio, libintlOrEmpty
|
||||
, libsoup, libpulseaudio, libintlOrEmpty
|
||||
}:
|
||||
|
||||
let
|
||||
@@ -39,7 +39,7 @@ stdenv.mkDerivation rec {
|
||||
libsoup
|
||||
]
|
||||
++ libintlOrEmpty
|
||||
++ optionals stdenv.isLinux [ libv4l pulseaudio libavc1394 libiec61883 ];
|
||||
++ optionals stdenv.isLinux [ libv4l libpulseaudio libavc1394 libiec61883 ];
|
||||
|
||||
LDFLAGS = optionalString stdenv.isDarwin "-lintl";
|
||||
}
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{ fetchurl, stdenv, pkgconfig, gst_plugins_base, aalib, cairo
|
||||
, flac, libjpeg, zlib, speex, libpng, libdv, libcaca, libvpx
|
||||
, libiec61883, libavc1394, taglib, pulseaudio, gdk_pixbuf, orc
|
||||
, libiec61883, libavc1394, taglib, libpulseaudio, gdk_pixbuf, orc
|
||||
, glib, gstreamer, bzip2, libsoup, libintlOrEmpty
|
||||
, # Whether to build no plugins that have external dependencies
|
||||
# (except the PulseAudio plugin).
|
||||
@@ -24,7 +24,7 @@ stdenv.mkDerivation rec {
|
||||
|
||||
buildInputs =
|
||||
[ pkgconfig glib gstreamer gst_plugins_base ]
|
||||
++ stdenv.lib.optional stdenv.isLinux [ pulseaudio ]
|
||||
++ stdenv.lib.optional stdenv.isLinux [ libpulseaudio ]
|
||||
++ libintlOrEmpty
|
||||
++ stdenv.lib.optionals (!minimalDeps)
|
||||
[ aalib libcaca cairo libdv flac libjpeg libpng speex
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
{ lib, stdenv, fetchurl, pkgconfig, pulseaudio, alsaLib, libcap
|
||||
{ lib, stdenv, fetchurl, pkgconfig, libpulseaudio, alsaLib, libcap
|
||||
, usePulseAudio }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
@@ -11,7 +11,7 @@ stdenv.mkDerivation rec {
|
||||
|
||||
buildInputs =
|
||||
[ pkgconfig libcap ] ++
|
||||
lib.optional stdenv.isLinux (if usePulseAudio then [ pulseaudio ] else [ alsaLib ]);
|
||||
lib.optional stdenv.isLinux (if usePulseAudio then [ libpulseaudio ] else [ alsaLib ]);
|
||||
|
||||
meta = {
|
||||
longDescription = ''
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
{ stdenv, fetchurl, pkgconfig, libtool, gtk ? null, libcap
|
||||
, alsaLib, pulseaudio, gstreamer, gst_plugins_base, libvorbis }:
|
||||
, alsaLib, libpulseaudio, gstreamer, gst_plugins_base, libvorbis }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "libcanberra-0.30";
|
||||
@@ -10,7 +10,7 @@ stdenv.mkDerivation rec {
|
||||
};
|
||||
|
||||
buildInputs = [
|
||||
pkgconfig libtool alsaLib pulseaudio libvorbis gtk libcap
|
||||
pkgconfig libtool alsaLib libpulseaudio libvorbis gtk libcap
|
||||
/*gstreamer gst_plugins_base*/ # ToDo: gstreamer not found (why?), add (g)udev?
|
||||
];
|
||||
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
{ stdenv, fetchurl, texinfo, alsaLib, pulseaudio }:
|
||||
{ stdenv, fetchurl, texinfo, alsaLib, libpulseaudio }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "libmikmod-3.3.7";
|
||||
@@ -8,9 +8,9 @@ stdenv.mkDerivation rec {
|
||||
};
|
||||
|
||||
buildInputs = [ texinfo ]
|
||||
++ stdenv.lib.optional stdenv.isLinux [ alsaLib pulseaudio ];
|
||||
++ stdenv.lib.optional stdenv.isLinux [ alsaLib libpulseaudio ];
|
||||
propagatedBuildInputs =
|
||||
stdenv.lib.optional stdenv.isLinux pulseaudio;
|
||||
stdenv.lib.optional stdenv.isLinux libpulseaudio;
|
||||
|
||||
NIX_LDFLAGS = stdenv.lib.optionalString stdenv.isLinux "-lasound";
|
||||
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
{ stdenv, fetchurl, pkgconfig, intltool, alsaLib, pulseaudio, speex, gsm
|
||||
{ stdenv, fetchurl, pkgconfig, intltool, alsaLib, libpulseaudio, speex, gsm
|
||||
, libopus, ffmpeg, libX11, libXv, mesa, glew, libtheora, libvpx, SDL, libupnp
|
||||
, ortp, libv4l, libpcap, srtp, vim
|
||||
}:
|
||||
@@ -19,7 +19,7 @@ stdenv.mkDerivation rec {
|
||||
nativeBuildInputs = [ pkgconfig intltool ];
|
||||
|
||||
propagatedBuildInputs = [
|
||||
alsaLib pulseaudio speex gsm libopus
|
||||
alsaLib libpulseaudio speex gsm libopus
|
||||
ffmpeg libX11 libXv mesa glew libtheora libvpx SDL libupnp
|
||||
ortp libv4l libpcap srtp
|
||||
vim
|
||||
|
||||
@@ -1,12 +1,12 @@
|
||||
{ stdenv, fetchurl, cmake
|
||||
, alsaSupport ? true, alsaLib ? null
|
||||
, pulseSupport ? true, pulseaudio ? null
|
||||
, pulseSupport ? true, libpulseaudio ? null
|
||||
}:
|
||||
|
||||
with stdenv.lib;
|
||||
|
||||
assert alsaSupport -> alsaLib != null;
|
||||
assert pulseSupport -> pulseaudio != null;
|
||||
assert pulseSupport -> libpulseaudio != null;
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
version = "1.16.0";
|
||||
@@ -19,7 +19,7 @@ stdenv.mkDerivation rec {
|
||||
|
||||
buildInputs = [ cmake ]
|
||||
++ optional alsaSupport alsaLib
|
||||
++ optional pulseSupport pulseaudio;
|
||||
++ optional pulseSupport libpulseaudio;
|
||||
|
||||
NIX_LDFLAGS = []
|
||||
++ optional alsaSupport "-lasound"
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
{ stdenv, fetchurl, cmake, automoc4, pulseaudio, qt4 }:
|
||||
{ stdenv, fetchurl, cmake, automoc4, libpulseaudio, qt4 }:
|
||||
|
||||
with stdenv.lib;
|
||||
|
||||
@@ -14,7 +14,7 @@ stdenv.mkDerivation rec {
|
||||
sha256 = "1l97h1jj3gvl1chx1qbipizfvjgqc05wrhdcflc76c2krlk03jmn";
|
||||
};
|
||||
|
||||
buildInputs = [ qt4 pulseaudio ];
|
||||
buildInputs = [ qt4 libpulseaudio ];
|
||||
|
||||
nativeBuildInputs = [ cmake automoc4 ];
|
||||
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
{ stdenv, fetchurl, cmake, mesa, pkgconfig, pulseaudio, qt5, debug ? false }:
|
||||
{ stdenv, fetchurl, cmake, mesa, pkgconfig, libpulseaudio, qt5, debug ? false }:
|
||||
|
||||
with stdenv.lib;
|
||||
|
||||
@@ -14,7 +14,7 @@ stdenv.mkDerivation rec {
|
||||
sha256 = "05nshngk03ln90vsjz44dx8al576f4vd5fvhs1l0jmx13jb9q551";
|
||||
};
|
||||
|
||||
buildInputs = [ mesa qt5.base qt5.quick1 qt5.tools pulseaudio ];
|
||||
buildInputs = [ mesa qt5.base qt5.quick1 qt5.tools libpulseaudio ];
|
||||
|
||||
nativeBuildInputs = [ cmake pkgconfig ];
|
||||
|
||||
|
||||
@@ -5,7 +5,7 @@
|
||||
, gdk_pixbuf, python, gdb, xlibs, libX11, libxcb, xcbutil, xcbutilimage
|
||||
, xcbutilkeysyms, xcbutilwm, udev, libxml2, libxslt, pcre, libxkbcommon
|
||||
, alsaLib, gstreamer, gst_plugins_base
|
||||
, pulseaudio, bison, flex, gperf, ruby, libwebp, libXcursor
|
||||
, libpulseaudio, bison, flex, gperf, ruby, libwebp, libXcursor
|
||||
, flashplayerFix ? false
|
||||
, gtkStyle ? false, libgnomeui, gtk, GConf, gnome_vfs
|
||||
, buildDocs ? false
|
||||
@@ -148,7 +148,7 @@ stdenv.mkDerivation rec {
|
||||
xlibs.libXcomposite libX11 libxcb libXext libXrender libXi
|
||||
fontconfig freetype openssl dbus.libs glib udev libxml2 libxslt pcre
|
||||
zlib libjpeg libpng libtiff sqlite icu
|
||||
libwebp alsaLib gstreamer gst_plugins_base pulseaudio
|
||||
libwebp alsaLib gstreamer gst_plugins_base libpulseaudio
|
||||
xcbutil xcbutilimage xcbutilkeysyms xcbutilwm libxkbcommon
|
||||
]
|
||||
# Qt doesn't directly need GLU (just GL), but many apps use, it's small and
|
||||
|
||||
@@ -147,14 +147,14 @@ let
|
||||
multimedia = callPackage
|
||||
(
|
||||
{ qtSubmodule, base, declarative
|
||||
, alsaLib, gstreamer, gst_plugins_base, pulseaudio
|
||||
, alsaLib, gstreamer, gst_plugins_base, libpulseaudio
|
||||
}:
|
||||
|
||||
qtSubmodule {
|
||||
name = "qtmultimedia";
|
||||
qtInputs = [ base declarative ];
|
||||
buildInputs = [
|
||||
alsaLib gstreamer gst_plugins_base pulseaudio
|
||||
alsaLib gstreamer gst_plugins_base libpulseaudio
|
||||
];
|
||||
}
|
||||
)
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
{ stdenv, fetchurl, pkgconfig, gtk, spice_protocol, intltool, celt_0_5_1
|
||||
, openssl, pulseaudio, pixman, gobjectIntrospection, libjpeg_turbo, zlib
|
||||
, openssl, libpulseaudio, pixman, gobjectIntrospection, libjpeg_turbo, zlib
|
||||
, cyrus_sasl, python, pygtk, autoconf, automake, libtool, usbredir, libsoup
|
||||
, gtk3, enableGTK3 ? false }:
|
||||
|
||||
@@ -14,7 +14,7 @@ stdenv.mkDerivation rec {
|
||||
};
|
||||
|
||||
buildInputs = [
|
||||
spice_protocol celt_0_5_1 openssl pulseaudio pixman gobjectIntrospection
|
||||
spice_protocol celt_0_5_1 openssl libpulseaudio pixman gobjectIntrospection
|
||||
libjpeg_turbo zlib cyrus_sasl python pygtk usbredir
|
||||
] ++ (if enableGTK3 then [ gtk3 ] else [ gtk ]);
|
||||
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{ stdenv, fetchurl, pkgconfig, xorg, alsaLib, mesa, aalib
|
||||
, libvorbis, libtheora, speex, zlib, libdvdcss, perl, ffmpeg
|
||||
, flac, libcaca, pulseaudio, libmng, libcdio, libv4l, vcdimager
|
||||
, flac, libcaca, libpulseaudio, libmng, libcdio, libv4l, vcdimager
|
||||
, libmpcdec
|
||||
}:
|
||||
|
||||
@@ -17,7 +17,7 @@ stdenv.mkDerivation rec {
|
||||
buildInputs = [
|
||||
xorg.libX11 xorg.libXv xorg.libXinerama xorg.libxcb xorg.libXext
|
||||
alsaLib mesa aalib libvorbis libtheora speex perl ffmpeg flac
|
||||
libcaca pulseaudio libmng libcdio libv4l vcdimager libmpcdec
|
||||
libcaca libpulseaudio libmng libcdio libv4l vcdimager libmpcdec
|
||||
];
|
||||
|
||||
NIX_LDFLAGS = "-rpath ${libdvdcss}/lib -L${libdvdcss}/lib -ldvdcss";
|
||||
|
||||
Reference in New Issue
Block a user