summaryrefslogtreecommitdiffstats
path: root/profiles/amd64-desktop/make.defaults
diff options
context:
space:
mode:
Diffstat (limited to 'profiles/amd64-desktop/make.defaults')
-rw-r--r--profiles/amd64-desktop/make.defaults118
1 files changed, 61 insertions, 57 deletions
diff --git a/profiles/amd64-desktop/make.defaults b/profiles/amd64-desktop/make.defaults
index ac851eb..b97bb64 100644
--- a/profiles/amd64-desktop/make.defaults
+++ b/profiles/amd64-desktop/make.defaults
@@ -1,16 +1,20 @@
1# CPU flags 1#-----#
2# 2# CPU #
3#-----#
3CPU_FLAGS_X86="mmx mmxext sse sse2 sse3 ssse3 sse4_1 sse4_2 popcnt" 4CPU_FLAGS_X86="mmx mmxext sse sse2 sse3 ssse3 sse4_1 sse4_2 popcnt"
4 5
5# LTO flags 6#-------------------------------------------------------------------#
6# 7# LTO #
7# SOURCE: https://wiki.gentoo.org/wiki/LTO#Enabling_LTO_System-wide 8# #
9# Source: https://wiki.gentoo.org/wiki/LTO#Enabling_LTO_System-wide #
10#-------------------------------------------------------------------#
8WARNING_FLAGS="-Werror=odr -Werror=lto-type-mismatch -Werror=strict-aliasing" 11WARNING_FLAGS="-Werror=odr -Werror=lto-type-mismatch -Werror=strict-aliasing"
9LTO_FLAGS="-flto ${WARNING_FLAGS}" 12LTO_FLAGS="-flto ${WARNING_FLAGS}"
10USE="${USE} lto" 13USE="${USE} lto"
11 14
12# Common compilation flags 15#-------------------#
13# 16# Compilation flags #
17#-------------------#
14COMMON_FLAGS="-march=x86-64-v3 -O2 -pipe ${LTO_FLAGS}" 18COMMON_FLAGS="-march=x86-64-v3 -O2 -pipe ${LTO_FLAGS}"
15RUSTFLAGS="-C target-cpu=x86-64" 19RUSTFLAGS="-C target-cpu=x86-64"
16 20
@@ -19,82 +23,82 @@ CXXFLAGS="${COMMON_FLAGS}"
19FCFLAGS="${COMMON_FLAGS}" 23FCFLAGS="${COMMON_FLAGS}"
20FFLAGS="${COMMON_FLAGS}" 24FFLAGS="${COMMON_FLAGS}"
21 25
22# Distro 26#--------#
23# 27# Gentoo #
24# Enable: distribution kernel, prebuilt binaries 28#--------#
25USE="${USE} dist-kernel bindist" 29USE="${USE} dist-kernel bindist"
26 30
27# Security 31#----------#
28# 32# Security #
29# Enable: process capabilities, file capabilities, access control lists 33#----------#
30# Disable: suid, single-use key
31USE="${USE} caps filecaps acl -suid -skey" 34USE="${USE} caps filecaps acl -suid -skey"
32 35
33# Optimizations 36#---------------#
34# 37# Optimizations #
35# Enable: orc 38#---------------#
36#
37# NOTES: hardened profile disables orc which is mostly safe and provides
38# speedup
39USE="${USE} orc" 39USE="${USE} orc"
40 40
41# Desktop 41#---------#
42# 42# Desktop #
43# Enable: screencast support, fontconfig 43#---------#
44USE="${USE} screencast fontconfig" 44USE="${USE} screencast fontconfig"
45 45
46# Xorg 46#------#
47# 47# Xorg #
48# Disable: X and its extensions 48#------#
49#
50# NOTES: enable them per-package
51USE="${USE} -X -xcomposite -xpresent -xinerama -xscreensaver -xv -startup-notification" 49USE="${USE} -X -xcomposite -xpresent -xinerama -xscreensaver -xv -startup-notification"
52 50
53# GTK & QT 51#-----#
54# 52# GTK #
55# Enable: introspection and gstreamer for GTK, qml for QT 53#-----#
56# Disable: gtk documentation and gtk2, gtk3, qt5, qt6 toolkits
57#
58# NOTES: enable them per-package
59USE="${USE} introspection gstreamer -gtk2 -gtk3 -gtk-doc" 54USE="${USE} introspection gstreamer -gtk2 -gtk3 -gtk-doc"
55
56#----#
57# QT #
58#----#
60USE="${USE} qml -qt5 -qt6" 59USE="${USE} qml -qt5 -qt6"
61 60
62# GNOME & KDE 61#-------#
63# 62# GNOME #
64# Disable: disable gnome and kde services/features which are not strictly necessary to run a standalone desktop 63#-------#
65USE="${USE} -gnome -eds -gnome-online-accounts -sysprof" 64USE="${USE} -gnome -eds -gnome-online-accounts -sysprof"
65
66#-----#
67# KDE #
68#-----#
66USE="${USE} -kde -plasma -kwallet -kaccounts" 69USE="${USE} -kde -plasma -kwallet -kaccounts"
67 70
68# Audio 71#-------#
69# 72# Audio #
70# Enable: jack, pipewire 73#-------#
71USE="${USE} jack pipewire" 74USE="${USE} jack pipewire"
72 75
73# Graphics 76#----------#
74# 77# Graphics #
75# Enable: vaapi, vulkan 78#----------#
76USE="${USE} vaapi vulkan" 79USE="${USE} vaapi vulkan"
77 80
78# Misc 81#------#
79# 82# Misc #
80# Enable: fftw library, MTP for android file transfer 83#------#
81USE="${USE} fftw mtp" 84USE="${USE} fftw mtp"
82 85
83# Video cards 86#-------------#
84# 87# Video cards #
85# Enable: framebuffer device (basic), AMD related video card support 88#-------------#
86VIDEO_CARDS="fbdev amdgpu radeon radeonsi zink" 89VIDEO_CARDS="fbdev amdgpu radeon radeonsi zink"
87 90
88# Input devices 91#---------------#
89# 92# Input Devices #
90# Enable: evdev, libinput (manages most common inputs such as mouse, keyboard, touchpad etc) 93#---------------#
91INPUT_DEVICES="evdev libinput" 94INPUT_DEVICES="evdev libinput"
92 95
93# Localization 96#--------------#
94# 97# Localization #
98#--------------#
95L10N="" 99L10N=""
96 100
97# Licensing 101#----------#
98# 102# Licenses #
99# Enable: nothing except free and binary redistributables 103#----------#
100ACCEPT_LICENSE="-* @FREE @BINARY-REDISTRIBUTABLE" 104ACCEPT_LICENSE="-* @FREE @BINARY-REDISTRIBUTABLE"