Merge pull request #173484 from cmm/deadbeef-1.9.1
deadbeef 1.8.4 -> 1.9.1
This commit is contained in:
commit
8ed4879c12
@ -2420,6 +2420,12 @@
|
||||
githubId = 20808761;
|
||||
name = "cmfwyp";
|
||||
};
|
||||
cmm = {
|
||||
email = "repo@cmm.kakpryg.net";
|
||||
github = "cmm";
|
||||
githubId = 718298;
|
||||
name = "Michael Livshin";
|
||||
};
|
||||
cobbal = {
|
||||
email = "andrew.cobb@gmail.com";
|
||||
github = "cobbal";
|
||||
|
@ -1,10 +1,11 @@
|
||||
{ config, lib, stdenv, fetchFromGitHub
|
||||
{ lib, config, clangStdenv, fetchFromGitHub
|
||||
, autoconf
|
||||
, automake
|
||||
, libtool
|
||||
, intltool
|
||||
, pkg-config
|
||||
, jansson
|
||||
, swift-corelibs-libdispatch
|
||||
# deadbeef can use either gtk2 or gtk3
|
||||
, gtk2Support ? false, gtk2
|
||||
, gtk3Support ? true, gtk3, gsettings-desktop-schemas, wrapGAppsHook
|
||||
@ -26,7 +27,7 @@
|
||||
, osdSupport ? true, dbus
|
||||
# output plugins
|
||||
, alsaSupport ? true, alsa-lib
|
||||
, pulseSupport ? config.pulseaudio or stdenv.isLinux, libpulseaudio
|
||||
, pulseSupport ? config.pulseaudio or true, libpulseaudio
|
||||
# effect plugins
|
||||
, resamplerSupport ? true, libsamplerate
|
||||
, overloadSupport ? true, zlib
|
||||
@ -36,40 +37,70 @@
|
||||
|
||||
assert gtk2Support || gtk3Support;
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
let
|
||||
inherit (lib) optionals;
|
||||
|
||||
version = "1.9.1";
|
||||
in clangStdenv.mkDerivation {
|
||||
pname = "deadbeef";
|
||||
version = "1.8.4";
|
||||
inherit version;
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "DeaDBeeF-Player";
|
||||
repo = "deadbeef";
|
||||
fetchSubmodules = true;
|
||||
rev = version;
|
||||
sha256 = "161b0ll8v4cjgwwmk137hzvh0jidlkx56vjkpnr70f0x4jzv2nll";
|
||||
sha256 = "sha256-e3bAGpkRPIqVWl0nvSZ61JpIQZw24mqE9218SWHBCFo=";
|
||||
};
|
||||
|
||||
buildInputs = with lib; [ jansson ]
|
||||
++ optional gtk2Support gtk2
|
||||
++ optionals gtk3Support [ gtk3 gsettings-desktop-schemas ]
|
||||
++ optional vorbisSupport libvorbis
|
||||
++ optional mp123Support libmad
|
||||
++ optional flacSupport flac
|
||||
++ optional wavSupport libsndfile
|
||||
++ optionals cdaSupport [ libcdio libcddb ]
|
||||
++ optional aacSupport faad2
|
||||
++ optional opusSupport opusfile
|
||||
++ optional zipSupport libzip
|
||||
++ optional ffmpegSupport ffmpeg
|
||||
++ optional apeSupport yasm
|
||||
++ optional artworkSupport imlib2
|
||||
++ optional hotkeysSupport libX11
|
||||
++ optional osdSupport dbus
|
||||
++ optional alsaSupport alsa-lib
|
||||
++ optional pulseSupport libpulseaudio
|
||||
++ optional resamplerSupport libsamplerate
|
||||
++ optional overloadSupport zlib
|
||||
++ optional wavpackSupport wavpack
|
||||
++ optional remoteSupport curl
|
||||
;
|
||||
buildInputs = [
|
||||
jansson
|
||||
swift-corelibs-libdispatch
|
||||
] ++ optionals gtk2Support [
|
||||
gtk2
|
||||
] ++ optionals gtk3Support [
|
||||
gtk3
|
||||
gsettings-desktop-schemas
|
||||
] ++ optionals vorbisSupport [
|
||||
libvorbis
|
||||
] ++ optionals mp123Support [
|
||||
libmad
|
||||
] ++ optionals flacSupport [
|
||||
flac
|
||||
] ++ optionals wavSupport [
|
||||
libsndfile
|
||||
] ++ optionals cdaSupport [
|
||||
libcdio
|
||||
libcddb
|
||||
] ++ optionals aacSupport [
|
||||
faad2
|
||||
] ++ optionals opusSupport [
|
||||
opusfile
|
||||
] ++ optionals zipSupport [
|
||||
libzip
|
||||
] ++ optionals ffmpegSupport [
|
||||
ffmpeg
|
||||
] ++ optionals apeSupport [
|
||||
yasm
|
||||
] ++ optionals artworkSupport [
|
||||
imlib2
|
||||
] ++ optionals hotkeysSupport [
|
||||
libX11
|
||||
] ++ optionals osdSupport [
|
||||
dbus
|
||||
] ++ optionals alsaSupport [
|
||||
alsa-lib
|
||||
] ++ optionals pulseSupport [
|
||||
libpulseaudio
|
||||
] ++ optionals resamplerSupport [
|
||||
libsamplerate
|
||||
] ++ optionals overloadSupport [
|
||||
zlib
|
||||
] ++ optionals wavpackSupport [
|
||||
wavpack
|
||||
] ++ optionals remoteSupport [
|
||||
curl
|
||||
];
|
||||
|
||||
nativeBuildInputs = [
|
||||
autoconf
|
||||
@ -77,7 +108,9 @@ stdenv.mkDerivation rec {
|
||||
intltool
|
||||
libtool
|
||||
pkg-config
|
||||
] ++ lib.optional gtk3Support wrapGAppsHook;
|
||||
] ++ optionals gtk3Support [
|
||||
wrapGAppsHook
|
||||
];
|
||||
|
||||
enableParallelBuilding = true;
|
||||
|
||||
|
@ -1,21 +1,38 @@
|
||||
{ lib, stdenv, fetchurl, pkg-config, deadbeef, glib }:
|
||||
{ lib
|
||||
, stdenv
|
||||
, fetchFromGitHub
|
||||
, deadbeef
|
||||
, autoreconfHook
|
||||
, pkg-config
|
||||
, glib
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
let
|
||||
pname = "deadbeef-mpris2-plugin";
|
||||
version = "1.12";
|
||||
version = "1.14";
|
||||
in stdenv.mkDerivation {
|
||||
inherit pname version;
|
||||
|
||||
src = fetchurl {
|
||||
url = "https://github.com/Serranya/deadbeef-mpris2-plugin/releases/download/v${version}/${pname}-${version}.tar.xz";
|
||||
sha256 = "0s3y4ka4qf38cypc0xspy79q0g5y1kqx6ldad7yr6a45nw6j95jh";
|
||||
src = fetchFromGitHub {
|
||||
owner = "DeaDBeeF-Player";
|
||||
repo = pname;
|
||||
rev = "v${version}";
|
||||
sha256 = "sha256-w7ccIhcPjbjs18kb3ZdM9JtSail9ik3uyAc40T8lHho=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ pkg-config ];
|
||||
nativeBuildInputs = [
|
||||
autoreconfHook
|
||||
pkg-config
|
||||
];
|
||||
|
||||
buildInputs = [ deadbeef glib ];
|
||||
buildInputs = [
|
||||
deadbeef
|
||||
glib
|
||||
];
|
||||
|
||||
meta = with lib; {
|
||||
description = "MPRISv2 plugin for the DeaDBeeF music player";
|
||||
homepage = "https://github.com/Serranya/deadbeef-mpris2-plugin/";
|
||||
homepage = "https://github.com/DeaDBeeF-Player/deadbeef-mpris2-plugin/";
|
||||
license = licenses.gpl2;
|
||||
platforms = platforms.linux;
|
||||
maintainers = [ maintainers.abbradar ];
|
||||
|
@ -0,0 +1,50 @@
|
||||
{ lib
|
||||
, stdenv
|
||||
, fetchFromGitHub
|
||||
, pkg-config
|
||||
, deadbeef
|
||||
, gtk3
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation {
|
||||
pname = "deadbeef-playlist-manager-plugin";
|
||||
version = "unstable-2021-05-02";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "kpcee";
|
||||
repo = "deadbeef-playlist-manager";
|
||||
rev = "b1393022b2d9ea0a19b845420146e0fc56cd9c0a";
|
||||
sha256 = "sha256-dsKthlQ0EuX4VhO8K9VTyX3zN8ytzDUbSi/xSMB4xRw=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
pkg-config
|
||||
];
|
||||
|
||||
buildInputs = [
|
||||
deadbeef
|
||||
gtk3
|
||||
];
|
||||
|
||||
installPhase = ''
|
||||
runHook preInstall
|
||||
|
||||
mkdir -p $out/lib/deadbeef/
|
||||
cp *.so $out/lib/deadbeef/
|
||||
|
||||
runHook postInstall
|
||||
'';
|
||||
|
||||
buildFlags = [
|
||||
"CFLAGS=-I${deadbeef}/include/deadbeef"
|
||||
"gtk3"
|
||||
];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Removes duplicate and vanished files from the current playlist";
|
||||
homepage = "https://github.com/kpcee/deadbeef-playlist-manager";
|
||||
license = licenses.gpl2Plus;
|
||||
maintainers = [ maintainers.cmm ];
|
||||
platforms = platforms.linux;
|
||||
};
|
||||
}
|
@ -0,0 +1,42 @@
|
||||
{ lib
|
||||
, clangStdenv
|
||||
, fetchFromGitHub
|
||||
, cmake
|
||||
, ninja
|
||||
, libbsd
|
||||
, libsystemtap
|
||||
}:
|
||||
|
||||
let
|
||||
version = "5.5";
|
||||
in clangStdenv.mkDerivation {
|
||||
pname = "swift-corelibs-libdispatch";
|
||||
inherit version;
|
||||
|
||||
outputs = [ "out" "dev" "man" ];
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "apple";
|
||||
repo = "swift-corelibs-libdispatch";
|
||||
rev = "swift-${version}-RELEASE";
|
||||
sha256 = "sha256-MbLgmS6qRSRT+2dGqbYTNb5MTM4Wz/grDXFk1kup+jk=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
cmake
|
||||
ninja
|
||||
];
|
||||
|
||||
buildInputs = [
|
||||
libbsd
|
||||
libsystemtap
|
||||
];
|
||||
|
||||
meta = {
|
||||
description = "Grand Central Dispatch";
|
||||
homepage = "https://github.com/apple/swift-corelibs-libdispatch";
|
||||
platforms = lib.platforms.linux;
|
||||
license = lib.licenses.asl20;
|
||||
maintainers = [ lib.maintainers.cmm ];
|
||||
};
|
||||
}
|
@ -26132,6 +26132,7 @@ with pkgs;
|
||||
mpris2 = callPackage ../applications/audio/deadbeef/plugins/mpris2.nix { };
|
||||
musical-spectrum = callPackage ../applications/audio/deadbeef/plugins/musical-spectrum.nix { };
|
||||
statusnotifier = callPackage ../applications/audio/deadbeef/plugins/statusnotifier.nix { };
|
||||
playlist-manager = callPackage ../applications/audio/deadbeef/plugins/playlist-manager.nix { };
|
||||
};
|
||||
|
||||
deadbeef-with-plugins = callPackage ../applications/audio/deadbeef/wrapper.nix {
|
||||
@ -35817,4 +35818,6 @@ with pkgs;
|
||||
honeyvent = callPackage ../servers/tracing/honeycomb/honeyvent { };
|
||||
|
||||
mictray = callPackage ../tools/audio/mictray { };
|
||||
|
||||
swift-corelibs-libdispatch = callPackage ../development/libraries/swift-corelibs-libdispatch { };
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user