More Gentoo tweaking

This commit is contained in:
Salt 2020-12-04 09:25:52 -06:00
parent 775bbeff5f
commit 7824679f2e
12 changed files with 51 additions and 6 deletions

View File

@ -8,7 +8,7 @@
#
# USE
USE="curl ffmpeg gstreamer networkmanager pulseaudio systemd vulkan webp xinerama -elogind -test"
USE="curl ffmpeg gnome-keyring gstreamer networkmanager opus pulseaudio systemd vulkan webp xinerama -elogind -test"
#ansible:use
# Compilation configuration
@ -24,7 +24,7 @@ ACCEPT_LICENSE="*"
EMERGE_DEFAULT_OPTS="--jobs 10"
FEATURES="-network-sandbox"
GENTOO_MIRRORS="http://distfiles.gentoo.org"
VIDEO_CARDS="i915 amdgpu qxl radeon"
VIDEO_CARDS="amdgpu i915 intel qxl radeon"
# Package configuration
GRUB_PLATFORMS="emu efi-32 efi-64 pc"

View File

@ -1 +1,6 @@
games-util/game-device-udev-rules ~amd64
games-util/lutris ~amd64
games-util/steam-client-meta ~amd64
games-util/steam-games-meta ~amd64
games-util/steam-launcher ~amd64
games-util/steam-meta ~amd64

View File

@ -1 +1,2 @@
dev-lang/python -bluetooth -sqlite
dev-lang/mono minimal
dev-lang/python -bluetooth

View File

@ -0,0 +1,2 @@
dev-qt/qtwebchannel qml
dev-qt/qtwebengine widgets

View File

@ -1 +1,3 @@
media-libs/mesa d3d9 vulkan
media-libs/libsdl2 haptic
media-libs/libvpx postproc
media-libs/mesa vulkan

View File

@ -0,0 +1 @@
net-dns/dnsmasq script

View File

@ -0,0 +1 @@
net-libs/nodejs inspector

View File

@ -1 +1,2 @@
net-misc/networkmanager dhclient
net-misc/spice-gtk usbredir

View File

@ -1 +1,2 @@
sys-libs/ncurses -gpm
sys-libs/zlib minizip

View File

@ -67,7 +67,6 @@ media-video/mpv
net-im/element-desktop-bin
net-im/slack
net-im/telegram-desktop
net-misc/nextcloud-client
net-p2p/qbittorrent-4.2.5-r2

View File

@ -52,7 +52,9 @@
synchronize: src="portage/" dest="/etc/portage/"
# This is my bootstrap script, which can cause damage if invoked by root again, so we remove it
- name: remove gentoostrap
file: path="/gentoostrap.sh" state=absent
file: path=/gentoostrap.sh state=absent
- name: remove gentoostrap package.use
file: path=/etc/portage/package.use/gentoostrap state=absent
when: ansible_os_family == "Gentoo"
- name: configure pip3 packages
pip: executable=/usr/bin/pip3 state=latest name="{{ desktop_pip3_packages + desktop_pip3_packages_extra }}"

View File

@ -10,6 +10,36 @@
- role: ansible-pull
become: yes
tags: [ ansible, common ]
- hosts: gentoo
post_tasks:
- name: confirm liblzo2 dllmap
lineinfile:
path: /etc/mono/config
insertafter: "<configuration>"
line: '<dllmap dll="lzo2.dll" target="liblzo2.so.2" os="!windows"/>'
become: yes
tags: [ desktop, mono ]
- name: give python3 cap_sys_ptrace
capabilities:
path: /usr/bin/python3.8
# Required for Randovania to access Dolphin memory
capability: cap_sys_ptrace+eip
become: yes
tags: [ desktop, python, cap ]
roles:
- role: desktop
become: yes
tags: [ desktop ]
- role: grub
become: yes
tags: [ desktop, grub ]
- role: udev
vars:
udev_rules:
# Switch RCM stuff
- SUBSYSTEM=="usb", ATTR{idVendor}=="0955", MODE="0664", GROUP="plugdev"
become: yes
tags: [ desktop, udev ]
# Home desktops
- hosts: desktop
post_tasks: