mirror of
https://github.com/hyprwm/hyprland-wiki.git
synced 2024-12-23 01:59:49 +01:00
add gentoo overlay for xdg-desktop-portal-hyprland (#80)
* add gentoo overlay for xdg-desktop-portal-hyprland
This commit is contained in:
parent
2d8f4c1a19
commit
a072871049
1 changed files with 49 additions and 3 deletions
|
@ -22,15 +22,61 @@ will be disabled)
|
||||||
{{< /hint >}}
|
{{< /hint >}}
|
||||||
|
|
||||||
## Installing
|
## Installing
|
||||||
|
{{< tabs "uniqueid" >}}
|
||||||
|
|
||||||
#### AUR
|
{{< tab "Arch Linux" >}}
|
||||||
```sh
|
```plain
|
||||||
yay -S xdg-desktop-portal-hyprland-git
|
yay -S xdg-desktop-portal-hyprland-git
|
||||||
```
|
```
|
||||||
|
{{< /tab >}}
|
||||||
|
{{< tab "Gentoo" >}}
|
||||||
|
## Unmask dependencies
|
||||||
|
### /etc/portage/profile/package.unmask
|
||||||
|
```plain
|
||||||
|
=dev-qt/qtbase-6.4.0
|
||||||
|
=dev-qt/qtwayland-6.4.0
|
||||||
|
=dev-qt/qtdeclarative-6.4.0
|
||||||
|
=dev-qt/qtshadertools-6.4.0
|
||||||
|
```
|
||||||
|
|
||||||
#### Manual
|
## Apply necessary useflags
|
||||||
|
### /etc/portage/package.use
|
||||||
|
```plain
|
||||||
|
dev-qt/qtbase opengl egl eglfs gles2-only
|
||||||
|
dev-qt/qtdeclarative opengl
|
||||||
|
gui-libs/xdg-desktop-portal-hyprland select-window select-region
|
||||||
|
sys-apps/xdg-desktop-portal screencast
|
||||||
|
```
|
||||||
|
|
||||||
|
## Unmask dependencies and xdph
|
||||||
|
### /etc/portage/package.accept_keywords
|
||||||
|
```plain
|
||||||
|
gui-libs/xdg-desktop-portal-hyprland **
|
||||||
|
=dev-qt/qtbase-6.4.0
|
||||||
|
=dev-qt/qtwayland-6.4.0
|
||||||
|
=dev-qt/qtdeclarative-6.4.0
|
||||||
|
=dev-qt/qtshadertools-6.4.0
|
||||||
|
```
|
||||||
|
|
||||||
|
btw those are the useflags that I have tested, you could also test others. Also if the gentoo devs update the qt ebuilds without marking them as stable you'll need to check the ebuild version and update it on '/etc/portage/package.accept_keywords' and '/etc/portage/profile/package.unmask'
|
||||||
|
|
||||||
|
example: '=dev-qt/qtbase-6.5.0'
|
||||||
|
|
||||||
|
## Installation
|
||||||
|
```sh
|
||||||
|
eselect repository add useless-overlay git https://github.com/Wa1t5/useless-overlay
|
||||||
|
emaint sync -r useless-overlay
|
||||||
|
emerge --ask --verbose gui-libs/xdg-desktop-portal-hyprland
|
||||||
|
```
|
||||||
|
|
||||||
|
{{< /tab >}}
|
||||||
|
{{< tab "Manual" >}}
|
||||||
See [The Github repo's readme](https://github.com/hyprwm/xdg-desktop-portal-hyprland).
|
See [The Github repo's readme](https://github.com/hyprwm/xdg-desktop-portal-hyprland).
|
||||||
|
|
||||||
|
{{</ tab >}}
|
||||||
|
|
||||||
|
{{< /tabs >}}
|
||||||
|
|
||||||
{{< hint type=important >}}
|
{{< hint type=important >}}
|
||||||
It's recommended to uninstall any other portal implementations to avoid conflicts with the `-hyprland` or `-wlr` ones.
|
It's recommended to uninstall any other portal implementations to avoid conflicts with the `-hyprland` or `-wlr` ones.
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue