File tree Expand file tree Collapse file tree 3 files changed +13
-1
lines changed Expand file tree Collapse file tree 3 files changed +13
-1
lines changed Original file line number Diff line number Diff line change 1
1
[package ]
2
2
name = " sharun"
3
- version = " 0.2.1 "
3
+ version = " 0.2.2 "
4
4
readme = " README.md"
5
5
license = " MIT"
6
6
repository = " https://github.com/VHSgunzo/sharun"
Original file line number Diff line number Diff line change @@ -113,6 +113,9 @@ cp ./target/$(uname -m)-unknown-linux-musl/release/sharun .
113
113
* ` GDK_PIXBUF_MODULEDIR ` and ` GDK_PIXBUF_MODULE_FILE ` -- ` ${SHARUN_DIR}/shared/$LIB/gdk-pixbuf-* `
114
114
* ` LIBDECOR_PLUGIN_DIR ` -- ` ${SHARUN_DIR}/shared/$LIB/libdecor/plugins-1 `
115
115
* ` GTK_IM_MODULE_FILE ` -- ` ${SHARUN_DIR}/shared/$LIB/gtk-*/*/immodules.cache `
116
+ * ` LIBGL_DRIVERS_PATH ` -- ` ${SHARUN_DIR}/shared/$LIB/dri `
117
+ * ` SPA_PLUGIN_DIR ` -- ` ${SHARUN_DIR}/shared/$LIB/spa-* `
118
+ * ` PIPEWIRE_MODULE_DIR ` -- ` ${SHARUN_DIR}/shared/$LIB/pipewire-* `
116
119
117
120
* ` XDG_DATA_DIRS ` -- ` ${SHARUN_DIR}/share `
118
121
* ` VK_DRIVER_FILES ` -- ` ${SHARUN_DIR}/share/vulkan/icd.d `
Original file line number Diff line number Diff line change @@ -418,6 +418,15 @@ fn main() {
418
418
env:: set_var ( "GIO_MODULE_DIR" , modules)
419
419
}
420
420
}
421
+ if dir == "dri" {
422
+ env:: set_var ( "LIBGL_DRIVERS_PATH" , dir_path)
423
+ }
424
+ if dir. starts_with ( "spa-" ) {
425
+ env:: set_var ( "SPA_PLUGIN_DIR" , dir_path)
426
+ }
427
+ if dir. starts_with ( "pipewire-" ) {
428
+ env:: set_var ( "PIPEWIRE_MODULE_DIR" , dir_path)
429
+ }
421
430
if dir. starts_with ( "gtk-" ) {
422
431
add_to_env ( "GTK_PATH" , dir_path) ;
423
432
env:: set_var ( "GTK_EXE_PREFIX" , & sharun_dir) ;
You can’t perform that action at this time.
0 commit comments