File: disable-sound.patch

package info (click to toggle)
rust-bacon 3.19.0-2
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 1,100 kB
  • sloc: makefile: 4
file content (38 lines) | stat: -rw-r--r-- 979 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
Description: Disable sound feature
 because resources have too many copyright holders thus excluded, see
 debcargo.toml.
 Then they are currently baked into bacon, i.e. customized sounds are not
 possible yet, so there's no use leaving it there.
Bug: https://github.com/Canop/bacon/issues/337
Author: Blair Noctis <ncts@debian.org>
Last-Update: 2025-03-06
diff --git a/Cargo.toml b/Cargo.toml
index 901ee91..c18c272 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -40,7 +40,7 @@ repository = "https://github.com/Canop/bacon"
 [features]
 clipboard = ["arboard"]
 default = []
-sound = ["rodio"]
+#sound = ["rodio"]

 [lib]
 name = "bacon"
@@ -115,11 +115,11 @@ version = "1.0"
 [dependencies.pretty_assertions]
 version = "1.4"

-[dependencies.rodio]
-version = "0.20"
-features = ["mp3"]
-optional = true
-default-features = false
+#[dependencies.rodio]
+#version = "0.20"
+#features = ["mp3"]
+#optional = true
+#default-features = false

 [dependencies.rustc-hash]
 version = "2"