Merge pull request #5166 from heitbaum/librespot

librespot: update to 0.1.6 and addon (127)
This commit is contained in:
Christian Hewitt 2021-03-27 12:45:50 +04:00 committed by GitHub
commit 1ab7a996bb
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 27 additions and 4 deletions

View File

@ -1,3 +1,6 @@
127
- Update to 0.1.6
126
- rust: update to 1.50.0

View File

@ -3,9 +3,9 @@
# Copyright (C) 2017-present Team LibreELEC (https://libreelec.tv)
PKG_NAME="librespot"
PKG_VERSION="0.1.3"
PKG_SHA256="2d28a63c6dda08ecbc1245c7cfe34c9b3b29e8c5304f4aa8b65aedb899056b25"
PKG_REV="126"
PKG_VERSION="0.1.6"
PKG_SHA256="7506b4448d3ae0eba063cd711baebdc23444c706c87d0551d5a4cbc623e70f30"
PKG_REV="127"
PKG_ARCH="any"
PKG_LICENSE="MIT"
PKG_SITE="https://github.com/librespot-org/librespot/"

View File

@ -0,0 +1,20 @@
--- a/Cargo.toml 2021-02-22 00:37:28.000000000 +0000
+++ b/Cargo.toml 2021-03-25 11:30:44.000000000 +0000
@@ -90,3 +90,6 @@
["target/release/librespot", "usr/bin/", "755"],
["contrib/librespot.service", "lib/systemd/system/", "644"]
]
+
+[patch.crates-io]
+vorbis = { git = 'https://github.com/roderickvd/vorbis-rs', branch = 'fix-ub-panic' }
--- a/audio/Cargo.toml 2021-02-22 00:37:28.000000000 +0000
+++ b/audio/Cargo.toml 2021-03-25 11:46:31.000000000 +0000
@@ -23,7 +23,7 @@
aes-ctr = "0.3"
librespot-tremor = { version = "0.2.0", optional = true }
-vorbis = { version ="0.0.14", optional = true }
+vorbis = { version ="0.1.0", optional = true }
[features]
with-tremor = ["librespot-tremor"]

View File

@ -12,4 +12,4 @@ PKG_DEPENDS_TARGET="toolchain"
PKG_LONGDESC="Libogg contains necessary functionality to create, decode, and work with Ogg bitstreams."
PKG_BUILD_FLAGS="+pic"
PKG_CMAKE_OPTS_TARGET="--DINSTALL_DOCS=OFF"
PKG_CMAKE_OPTS_TARGET="-DINSTALL_DOCS=OFF"