gnaural: drop (#522815)
This commit is contained in:
@@ -1,50 +0,0 @@
|
||||
{
|
||||
lib,
|
||||
stdenv,
|
||||
fetchurl,
|
||||
pkg-config,
|
||||
libsndfile,
|
||||
portaudio,
|
||||
gtk2,
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation (finalAttrs: {
|
||||
pname = "gnaural";
|
||||
version = "20110606";
|
||||
|
||||
src = fetchurl {
|
||||
url = "mirror://sourceforge/gnaural/gnaural_${finalAttrs.version}.tar.xz";
|
||||
hash = "sha256-0a09DUMfHEIGYuIYSBGJalBiIHIgejr/KVDXCFgKBb8=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ pkg-config ];
|
||||
buildInputs = [
|
||||
gtk2
|
||||
libsndfile
|
||||
portaudio
|
||||
];
|
||||
|
||||
# Workaround build failure on -fno-common toolchains:
|
||||
# ld: src/net/../gnauralnet.h:233: multiple definition of `GN_ScheduleFingerprint';
|
||||
# src/net/../../src/gnauralnet.h:233: first defined here
|
||||
env.NIX_CFLAGS_COMPILE = "-fcommon";
|
||||
|
||||
postInstall = ''
|
||||
mkdir -p $out/share/applications
|
||||
substitute \
|
||||
$out/share/gnome/apps/Multimedia/gnaural.desktop \
|
||||
$out/share/applications/gnaural.desktop \
|
||||
--replace \
|
||||
"/usr/share/gnaural/pixmaps/gnaural-icon.png" \
|
||||
"$out/share/gnaural/pixmaps/gnaural-icon.png" \
|
||||
|
||||
rm -rf $out/share/gnome
|
||||
'';
|
||||
|
||||
meta = {
|
||||
description = "Programmable auditory binaural-beat synthesizer";
|
||||
homepage = "https://gnaural.sourceforge.net/";
|
||||
license = with lib.licenses; [ gpl2Only ];
|
||||
mainProgram = "gnaural";
|
||||
};
|
||||
})
|
||||
@@ -938,6 +938,7 @@ mapAliases {
|
||||
gnatcoll-xref = throw "'gnatcoll-xref' has been renamed to/replaced by 'gnatPackages.gnatcoll-xref'"; # Converted to throw 2025-10-27
|
||||
gnatcoll-zlib = throw "'gnatcoll-zlib' has been renamed to/replaced by 'gnatPackages.gnatcoll-zlib'"; # Converted to throw 2025-10-27
|
||||
gnatinspect = throw "'gnatinspect' has been renamed to/replaced by 'gnatPackages.gnatinspect'"; # Converted to throw 2025-10-27
|
||||
gnaural = throw "'gnaural' has been removed due to lack of maintainance and relying on gtk2. Consider using 'sbagen' instead"; # Added 2026-05-22
|
||||
gnome-bluetooth_1_0 = throw "'gnome-bluetooth_1_0' has been removed as it is unmaintained upstream"; # Added 2026-03-09
|
||||
gnome-firmware-updater = throw "'gnome-firmware-updater' has been renamed to/replaced by 'gnome-firmware'"; # Converted to throw 2025-10-27
|
||||
gnome-passwordsafe = throw "'gnome-passwordsafe' has been renamed to/replaced by 'gnome-secrets'"; # Converted to throw 2025-10-27
|
||||
|
||||
Reference in New Issue
Block a user