File tree 3 files changed +11
-11
lines changed
3 files changed +11
-11
lines changed Original file line number Diff line number Diff line change 1
1
{
2
2
"app-id" : " com.saivert.pwvucontrol" ,
3
3
"runtime" : " org.gnome.Platform" ,
4
- "runtime-version" : " 46 " ,
4
+ "runtime-version" : " 47 " ,
5
5
"sdk" : " org.gnome.Sdk" ,
6
6
"sdk-extensions" : [
7
7
" org.freedesktop.Sdk.Extension.rust-stable" ,
8
- " org.freedesktop.Sdk.Extension.llvm16 "
8
+ " org.freedesktop.Sdk.Extension.llvm18 "
9
9
],
10
10
"command" : " pwvucontrol" ,
11
11
"finish-args" : [
12
12
" --share=network" ,
13
13
" --share=ipc" ,
14
14
" --socket=fallback-x11" ,
15
+ " --socket=pulseaudio" ,
15
16
" --device=dri" ,
16
17
" --socket=wayland" ,
17
18
" --filesystem=xdg-run/pipewire-0"
18
19
],
19
20
"build-options" : {
20
- "append-path" : " /usr/lib/sdk/rust-stable/bin:/usr/lib/sdk/llvm16 /bin" ,
21
- "prepend-ld-library-path" : " /usr/lib/sdk/llvm16 /lib" ,
21
+ "append-path" : " /usr/lib/sdk/rust-stable/bin:/usr/lib/sdk/llvm18 /bin" ,
22
+ "prepend-ld-library-path" : " /usr/lib/sdk/llvm18 /lib" ,
22
23
"build-args" : [
23
24
" --share=network"
24
25
],
25
26
"env" : {
26
- "RUST_BACKTRACE" : " 1" ,
27
- "RUST_LOG" : " pwvucontrol=debug" ,
28
27
"CARGO_REGISTRIES_CRATES_IO_PROTOCOL" : " sparse" ,
29
28
"CARGO_TARGET_X86_64_UNKNOWN_LINUX_GNU_LINKER" : " clang" ,
30
29
"CARGO_TARGET_X86_64_UNKNOWN_LINUX_GNU_RUSTFLAGS" : " -C link-arg=-fuse-ld=/usr/lib/sdk/rust-stable/bin/mold" ,
59
58
{
60
59
"type" : " git" ,
61
60
"tag" : " 0.4.16" ,
62
- "url" : " https://gitlab.freedesktop.org/pipewire /wireplumber.git"
61
+ "url" : " https://github.com/PipeWire /wireplumber.git"
63
62
}
64
63
]
65
64
},
87
86
]
88
87
}
89
88
]
90
- }
89
+ }
Original file line number Diff line number Diff line change @@ -9,7 +9,8 @@ fn main() {
9
9
// also need to copy the generated config.rs file there.
10
10
println ! ( "cargo::rerun-if-changed=src/config.rs.in" ) ;
11
11
let out_dir = env:: var ( "OUT_DIR" ) . unwrap ( ) ;
12
- let sourcepath: PathBuf = [ "builddir" , "src" , "config.rs" ] . iter ( ) . collect ( ) ;
12
+ let codegen_dir = env:: var ( "CODEGEN_DIR" ) . unwrap ( ) ;
13
+ let sourcepath: PathBuf = [ & codegen_dir, "config.rs" ] . iter ( ) . collect ( ) ;
13
14
if !Path :: exists ( & sourcepath) {
14
15
panic ! ( "Please configure the project with meson once to generate config.rs!" ) ;
15
16
}
Original file line number Diff line number Diff line change 27
27
28
28
cargo_env = [
29
29
' CARGO_HOME=' + meson .project_build_root() / ' cargo-home' ,
30
- ' OUT_DIR =' + meson .current_build_dir(),
30
+ ' CODEGEN_DIR =' + meson .current_build_dir(),
31
31
]
32
32
33
33
custom_target (
@@ -50,4 +50,4 @@ custom_target(
50
50
' src' / rust_target / meson .project_name(),
51
51
' @OUTPUT@' ,
52
52
],
53
- )
53
+ )
You can’t perform that action at this time.
0 commit comments