fltk: do not propagate fontconfig (#357470)

This commit is contained in:
Matthieu Coudron 2024-11-23 00:37:39 +01:00 committed by GitHub
commit 38655c5357
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 47 additions and 40 deletions

View File

@ -1,24 +1,26 @@
{ lib
, stdenv
, fetchFromGitHub
, cmake
, pkg-config
, fltk
, fmt
, rtmidi
, libsamplerate
, libmpg123
, libsndfile
, jack2
, alsa-lib
, libpulseaudio
, libXpm
, libXrandr
, flac
, libogg
, libvorbis
, libopus
, nlohmann_json
{
lib,
stdenv,
fetchFromGitHub,
cmake,
pkg-config,
fltk,
fontconfig,
fmt,
rtmidi,
libsamplerate,
libmpg123,
libsndfile,
jack2,
alsa-lib,
libpulseaudio,
libXpm,
libXrandr,
flac,
libogg,
libvorbis,
libopus,
nlohmann_json,
}:
stdenv.mkDerivation (finalAttrs: {
@ -47,24 +49,28 @@ stdenv.mkDerivation (finalAttrs: {
pkg-config
];
buildInputs = [
rtmidi
fltk
fmt
libmpg123
libsndfile
libsamplerate
nlohmann_json
alsa-lib
libXpm
libpulseaudio
jack2
flac
libogg
libvorbis
libopus
libXrandr
];
buildInputs =
[
rtmidi
fltk
fmt
libmpg123
libsndfile
libsamplerate
nlohmann_json
alsa-lib
libXpm
libpulseaudio
jack2
flac
libogg
libvorbis
libopus
libXrandr
]
++ lib.optionals (stdenv.hostPlatform.isLinux || stdenv.hostPlatform.isFreeBSD) [
fontconfig
];
meta = {
description = "Free, minimal, hardcore audio tool for DJs, live performers and electronic musicians";

View File

@ -85,6 +85,8 @@ stdenv.mkDerivation rec {
libGLU
] ++ lib.optionals (withExamples && withGL) [
glew
] ++ lib.optionals stdenv.hostPlatform.isLinux [
fontconfig
];
propagatedBuildInputs = [
@ -93,7 +95,6 @@ stdenv.mkDerivation rec {
libpng
] ++ lib.optionals stdenv.hostPlatform.isLinux [
freetype
fontconfig
libX11
libXext
libXinerama