mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-22 15:03:28 +00:00
treewide: Remove now unnecessary boost vars
`meson` now finds `boost` using `pkg-config`
This commit is contained in:
parent
821841dd87
commit
cde3f1cada
@ -99,11 +99,6 @@ in stdenv.mkDerivation rec {
|
|||||||
)
|
)
|
||||||
'';
|
'';
|
||||||
|
|
||||||
# Meson is no longer able to pick up Boost automatically.
|
|
||||||
# https://github.com/NixOS/nixpkgs/issues/86131
|
|
||||||
BOOST_INCLUDEDIR = "${lib.getDev boost}/include";
|
|
||||||
BOOST_LIBRARYDIR = "${lib.getLib boost}/lib";
|
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
description = "Limiter, compressor, reverberation, equalizer and auto volume effects for Pulseaudio applications";
|
description = "Limiter, compressor, reverberation, equalizer and auto volume effects for Pulseaudio applications";
|
||||||
mainProgram = "pulseeffects";
|
mainProgram = "pulseeffects";
|
||||||
|
@ -27,10 +27,6 @@ stdenv.mkDerivation (finalAttrs: {
|
|||||||
hash = "sha256-QLKLqTCpVMWxlDINa8Bo1vgCDcjwovoaXUs/PdMnxv0=";
|
hash = "sha256-QLKLqTCpVMWxlDINa8Bo1vgCDcjwovoaXUs/PdMnxv0=";
|
||||||
};
|
};
|
||||||
|
|
||||||
# Meson doesn't find boost without these
|
|
||||||
BOOST_INCLUDEDIR = "${lib.getDev boost}/include";
|
|
||||||
BOOST_LIBRARYDIR = "${lib.getLib boost}/lib";
|
|
||||||
|
|
||||||
nativeBuildInputs = [
|
nativeBuildInputs = [
|
||||||
git
|
git
|
||||||
makeWrapper
|
makeWrapper
|
||||||
|
@ -11,7 +11,7 @@
|
|||||||
stdenv.mkDerivation {
|
stdenv.mkDerivation {
|
||||||
pname = "tuxclocker-nvidia-plugin";
|
pname = "tuxclocker-nvidia-plugin";
|
||||||
|
|
||||||
inherit (tuxclocker-plugins) src version meta BOOST_INCLUDEDIR BOOST_LIBRARYDIR nativeBuildInputs;
|
inherit (tuxclocker-plugins) src version meta nativeBuildInputs;
|
||||||
|
|
||||||
buildInputs = [
|
buildInputs = [
|
||||||
boost
|
boost
|
||||||
|
@ -13,7 +13,7 @@
|
|||||||
}:
|
}:
|
||||||
|
|
||||||
stdenv.mkDerivation {
|
stdenv.mkDerivation {
|
||||||
inherit (tuxclocker) src version meta BOOST_INCLUDEDIR BOOST_LIBRARYDIR;
|
inherit (tuxclocker) src version meta;
|
||||||
|
|
||||||
pname = "tuxclocker-plugins";
|
pname = "tuxclocker-plugins";
|
||||||
|
|
||||||
|
@ -71,13 +71,6 @@ stdenv.mkDerivation rec {
|
|||||||
|
|
||||||
dontUseCmakeConfigure = true;
|
dontUseCmakeConfigure = true;
|
||||||
|
|
||||||
# Meson is no longer able to pick up Boost automatically.
|
|
||||||
# https://github.com/NixOS/nixpkgs/issues/86131
|
|
||||||
env = {
|
|
||||||
BOOST_INCLUDEDIR = "${lib.getDev boost182}/include";
|
|
||||||
BOOST_LIBRARYDIR = "${lib.getLib boost182}/lib";
|
|
||||||
};
|
|
||||||
|
|
||||||
mesonFlags = [
|
mesonFlags = [
|
||||||
(lib.mesonBool "enable_file_io" true)
|
(lib.mesonBool "enable_file_io" true)
|
||||||
(lib.mesonBool "enable_io_uring" true)
|
(lib.mesonBool "enable_io_uring" true)
|
||||||
|
@ -44,11 +44,6 @@ stdenv.mkDerivation rec {
|
|||||||
"-Dbuild-tests=true"
|
"-Dbuild-tests=true"
|
||||||
];
|
];
|
||||||
|
|
||||||
# Meson is no longer able to pick up Boost automatically.
|
|
||||||
# https://github.com/NixOS/nixpkgs/issues/86131
|
|
||||||
BOOST_INCLUDEDIR = "${lib.getDev boost}/include";
|
|
||||||
BOOST_LIBRARYDIR = "${lib.getLib boost}/lib";
|
|
||||||
|
|
||||||
# Tests fail on Darwin, possibly because of sandboxing.
|
# Tests fail on Darwin, possibly because of sandboxing.
|
||||||
doCheck = !stdenv.isDarwin;
|
doCheck = !stdenv.isDarwin;
|
||||||
|
|
||||||
|
@ -44,11 +44,6 @@ stdenv.mkDerivation rec {
|
|||||||
"-Dbuild-tests=true"
|
"-Dbuild-tests=true"
|
||||||
];
|
];
|
||||||
|
|
||||||
# Meson is no longer able to pick up Boost automatically.
|
|
||||||
# https://github.com/NixOS/nixpkgs/issues/86131
|
|
||||||
BOOST_INCLUDEDIR = "${lib.getDev boost}/include";
|
|
||||||
BOOST_LIBRARYDIR = "${lib.getLib boost}/lib";
|
|
||||||
|
|
||||||
doCheck = !stdenv.isDarwin;
|
doCheck = !stdenv.isDarwin;
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
|
@ -203,13 +203,6 @@ stdenv.mkDerivation {
|
|||||||
(lib.mesonOption "sandbox-shell" "${busybox-sandbox-shell}/bin/busybox")
|
(lib.mesonOption "sandbox-shell" "${busybox-sandbox-shell}/bin/busybox")
|
||||||
];
|
];
|
||||||
|
|
||||||
# Needed for Meson to find Boost.
|
|
||||||
# https://github.com/NixOS/nixpkgs/issues/86131.
|
|
||||||
env = {
|
|
||||||
BOOST_INCLUDEDIR = "${lib.getDev boost}/include";
|
|
||||||
BOOST_LIBRARYDIR = "${lib.getLib boost}/lib";
|
|
||||||
};
|
|
||||||
|
|
||||||
postInstall =
|
postInstall =
|
||||||
''
|
''
|
||||||
mkdir -p $doc/nix-support
|
mkdir -p $doc/nix-support
|
||||||
|
Loading…
Reference in New Issue
Block a user