Commit Graph

31 Commits

Author SHA1 Message Date
Rick van Schijndel
c5fb35d838 libcanberra: support cross-compilation
content-addressed outputs for native are the same, so should be good like this
2021-10-07 21:17:18 +02:00
Sebastián Mancilla
bf0cd1ce16 libcanberra/libcanberra-gtk2: fix build on darwin
All libcanberra/libcanberra-gtk2/libcanberra-gtk3 packages were marked
as broken on commit 806d814516 (libcanberra: mark broken on darwin,
2021-02-11), but only libcanberra-gtk3 is broken due to the missing
header.

This commit refactors how to enable GTK support, to mark just
libcanberra-gtk3 as broken and allow building libcanberra and
libcanberra-gtk2.

libcanberra builds but the linker fails with:

    ld: file not found: /System/Library/Frameworks/Carbon.framework/Versions/A/Carbon for architecture x86_64
    clang-7: error: linker command failed with exit code 1 (use -v to see invocation)

Adding Carbon to the inputs solves the problem.

libcanberra-gtk2 builds and the linker finishes without the above error,
most likely because it depends on gtk2 and gtk2 depends on Cocoa.

Also fix some issues with the derivation:

- Use pname/version instead of name.
- Use lib.optionalString to set postPatch.
- Only set passthru if building with GTK support, and ensure that the
  proper directory is passed for each GTK version.
2021-07-31 19:35:48 -04:00
AndersonTorres
e9e5f5f84d Change all alsaLib references to alsa-lib 2021-06-10 01:12:49 -03:00
Sandro Jäckel
806d814516
libcanberra: mark broken on darwin 2021-02-12 05:48:57 +01:00
Ben Siraphob
66e44425c6 pkgs/development/libraries: stdenv.lib -> lib 2021-01-21 19:11:02 -08:00
Jonathan Ringer
9bb3fccb5b treewide: pkgs.pkgconfig -> pkgs.pkg-config, move pkgconfig to alias.nix
continuation of #109595

pkgconfig was aliased in 2018, however, it remained in
all-packages.nix due to its wide usage. This cleans
up the remaining references to pkgs.pkgsconfig and
moves the entry to aliases.nix.

python3Packages.pkgconfig remained unchanged because
it's the canonical name of the upstream package
on pypi.
2021-01-19 01:16:25 -08:00
Michael Reilly
84cf00f980
treewide: Per RFC45, remove all unquoted URLs 2020-04-10 17:54:53 +01:00
Andreas Rammhold
0202d6db56 libcanberra: add patch to stop crashing on wayland
Without the applied patch libcanberra assumes the display is an X11
display and subsequently crashes on wayland.
2019-05-29 02:20:29 +02:00
Josef Kemetmüller
aeee761aba libcanberra: fix darwin build (#47634) 2018-10-02 12:55:57 +02:00
John Ericson
db965063b3 treewide: Make configureFlags lists 2018-08-03 17:06:03 -04:00
Matthew Bauer
eca521aea7 libcanberra: supports darwin 2018-06-10 22:45:40 -04:00
Jan Tojnar
1c33dff433
libcanberra: fix GStreamer support 2018-05-04 20:54:51 +02:00
Will Dietz
4b7b083bcb treewide: stdenv.lib.platforms.gnu -> ... gnu ++ linux
Include all linux platforms.
2018-04-30 18:12:10 -05:00
John Ericson
ed14223f8c treewide: Manual fix more pkg-config build-inputs 2017-09-21 15:49:54 -04:00
Bjørn Forsman
3d104ab2b3 gst-plugins-base: align attrname with pkgname 2017-02-27 12:16:26 +01:00
Vladimír Čunát
1197003966 fix references to ${libtool}/lib 2015-10-13 20:18:47 +02:00
Luca Bruno
86d7228365 libcanberra: fix .la file 2015-08-06 12:40:12 +02:00
William A. Kennington III
b07929b0a3 Use libpulseaudio instead of pulseaudio 2015-05-29 14:32:56 -07:00
Peter Simons
d0d5bbdc53 libcanberra: pass libcap to fix the build 2015-04-26 17:27:13 +02:00
Mateusz Kowalczyk
7a45996233 Turn some license strings into lib.licenses values 2014-07-28 11:31:14 +02:00
Ludovic Courtès
2e937c437a unmaintain several packages 2013-08-16 23:45:01 +02:00
Vladimír Čunát
b770365574 ReRevert Merge x-updates into master
This reverts commit ec3965d8d0.

Conflicts (taken x-updates):
	pkgs/development/libraries/libgcrypt/default.nix
	pkgs/development/libraries/libgpg-error/default.nix
	pkgs/development/libraries/poppler/default.nix
2013-05-29 23:25:02 +02:00
Jaka Hudoklin
09f342edc9 firefoxWrapper: Add libcanberra gtk module to firefox 2013-05-10 00:44:03 +00:00
Vladimír Čunát
ec3965d8d0 Revert Merge x-updates into master due to mesa bloat
See #490 discussion.

This reverts commit 1278859d31, reversing
changes made to 0c020c98f9.

Conflicts:
	pkgs/desktops/xfce/core/xfce4-session.nix (take master)
	pkgs/lib/misc.nix (auto)
2013-05-09 14:03:35 +02:00
Vladimír Čunát
74e0c25ec8 libcanberra: update, streamline dependencies
Still some ToDos but should be OK, tested building some
reverse-dependencies.
2013-02-21 21:26:36 +01:00
Eelco Dolstra
b6b4761dc6 * libcanberra updated to 0.28. Disabled the gstreamer backend by
default because there doesn't seem to be much point to it.

svn path=/nixpkgs/branches/kde-4.7/; revision=27809
2011-07-17 13:27:12 +00:00
Ludovic Courtès
4a909f0838 libcanberra: Remove useless ‘gthread’ argument.
svn path=/nixpkgs/trunk/; revision=23226
2010-08-18 14:27:04 +00:00
Ludovic Courtès
344f2efc5f libcanberra 0.23.
svn path=/nixpkgs/trunk/; revision=20353
2010-03-03 14:27:17 +00:00
Ludovic Courtès
723dfe4240 libcanberra: Make GTK+ a propagated build input.
svn path=/nixpkgs/branches/stdenv-updates/; revision=14881
2009-04-04 13:53:07 +00:00
Ludovic Courtès
7137c6dea8 libcanberra: Use the right GTK+ version, use GThread as well, disable OSS support (recommended).
svn path=/nixpkgs/trunk/; revision=13822
2009-01-22 22:34:06 +00:00
Ludovic Courtès
269f914ab7 Add `libcanberra'.
svn path=/nixpkgs/trunk/; revision=13814
2009-01-20 09:50:15 +00:00