3
0
Fork 0
forked from mirrors/nixpkgs

butt: init at 0.1.37

Broadcast Using This Tool

https://danielnoethen.de/butt/
This commit is contained in:
Emery Hemingway 2023-05-04 09:29:04 +01:00
parent caf436a52b
commit 93c3d1274f
2 changed files with 49 additions and 0 deletions

View file

@ -0,0 +1,47 @@
{ lib, stdenv, fetchurl, pkg-config, fltk13, portaudio, lame, libvorbis, libogg
, flac, libopus, libsamplerate, fdk_aac, dbus, openssl, curl }:
stdenv.mkDerivation rec {
pname = "butt";
version = "0.1.37";
src = fetchurl {
url = "mirror://sourceforge/${pname}/${pname}-${version}.tar.gz";
hash = "sha256-FI8xRCaGSMC6KEf5v87Q4syO3kVPWXYXgnL24+myRKo=";
};
postPatch = ''
# remove advertising
substituteInPlace src/FLTK/flgui.cpp \
--replace 'idata_radio_co_badge, 124, 61, 4,' 'nullptr, 0, 0, 0,'
'';
nativeBuildInputs = [ pkg-config ];
buildInputs = [
fltk13
portaudio
lame
libvorbis
libogg
flac
libopus
libsamplerate
fdk_aac
dbus
openssl
curl
];
postInstall = ''
cp -r usr/share $out/
'';
meta = {
description =
"butt (broadcast using this tool) is an easy to use, multi OS streaming tool";
homepage = "https://danielnoethen.de/butt/";
license = lib.licenses.gpl2;
maintainers = with lib.maintainers; [ ehmry ];
};
}

View file

@ -3132,6 +3132,8 @@ with pkgs;
bunyan-rs = callPackage ../development/tools/bunyan-rs { };
butt = callPackage ../applications/audio/butt { };
calcure = callPackage ../applications/misc/calcure { };
callaudiod = callPackage ../applications/audio/callaudiod { };