mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-07-23 09:00:51 +00:00
audacious-plugins: Fix support for libsidplay >= 3.0
This commit is contained in:
@@ -1,6 +1,7 @@
|
||||
{
|
||||
stdenv,
|
||||
fetchFromGitHub,
|
||||
fetchpatch,
|
||||
alsa-lib,
|
||||
audacious-bare,
|
||||
curl,
|
||||
@@ -24,6 +25,7 @@
|
||||
libogg,
|
||||
libopenmpt,
|
||||
libpulseaudio,
|
||||
libresidfp,
|
||||
libsamplerate,
|
||||
libsidplayfp,
|
||||
libsndfile,
|
||||
@@ -54,7 +56,21 @@ stdenv.mkDerivation rec {
|
||||
hash = "sha256-HfO59DOIYsEpBzUyaLYh/gXfz+zvH8lIY2yBVCn3wks=";
|
||||
};
|
||||
|
||||
patches = [ ./0001-Set-plugindir-to-PREFIX-lib-audacious.patch ];
|
||||
patches = [
|
||||
./0001-Set-plugindir-to-PREFIX-lib-audacious.patch
|
||||
|
||||
# Remove when version >= 4.6
|
||||
(fetchpatch {
|
||||
name = "0001-audacious-plugins-sid-Use-new-sidplayfp-API.patch";
|
||||
url = "https://github.com/audacious-media-player/audacious-plugins/commit/42c05763a136d6523d611473ff3701e2d9e30bec.patch";
|
||||
hash = "sha256-bTC9nZFNwyo4PsGrLyDiQJDOrHTUDHUQaxEFe/wFPME=";
|
||||
})
|
||||
(fetchpatch {
|
||||
name = "0002-audacious-plugins-sid-Support-version-3.0-of-libsidplayfp-version.patch";
|
||||
url = "https://github.com/audacious-media-player/audacious-plugins/commit/2aaf45bd3840858e23b75d5863129a510299abd6.patch";
|
||||
hash = "sha256-FbGLd3aiKeoJXKgTMIdI/oBEx5EzcqyhL0jWhG6Fyfw=";
|
||||
})
|
||||
];
|
||||
|
||||
nativeBuildInputs = [
|
||||
meson
|
||||
@@ -85,6 +101,7 @@ stdenv.mkDerivation rec {
|
||||
libnotify
|
||||
libogg
|
||||
libpulseaudio
|
||||
libresidfp
|
||||
libsamplerate
|
||||
libsidplayfp
|
||||
libsndfile
|
||||
|
||||
Reference in New Issue
Block a user