-
Notifications
You must be signed in to change notification settings - Fork 61
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
x11-misc/sddm: Outsource Gentoo defaults and resulting optional RDEPENDs to gui-apps/sddm-gentoo-config #267
base: master
Are you sure you want to change the base?
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd"> | ||
<pkgmetadata> | ||
<maintainer type="project"> | ||
<email>lxqt@gentoo.org</email> | ||
<name>LXQt</name> | ||
</maintainer> | ||
<maintainer type="project"> | ||
<email>kde@gentoo.org</email> | ||
<name>Gentoo KDE Project</name> | ||
</maintainer> | ||
<upstream> | ||
<remote-id type="gentoo">gentoo/qt</remote-id> | ||
<bugs-to>http://bugs.gentoo.org</bugs-to> | ||
</upstream> | ||
</pkgmetadata> |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
# Copyright 2023 Gentoo Authors | ||
# Distributed under the terms of the GNU General Public License v2 | ||
|
||
EAPI=8 | ||
|
||
DESCRIPTION="Gentoo defaults for SDDM (Simple Desktop Display Manager)" | ||
HOMEPAGE="https://github.com/sddm/sddm" | ||
SRC_URI="" | ||
S=${WORKDIR} | ||
|
||
LICENSE="public-domain" | ||
SLOT="0" | ||
KEYWORDS="~amd64 ~arm ~arm64 ~loong ~ppc64 ~riscv ~x86" | ||
IUSE="X" | ||
|
||
RDEPEND=" | ||
X? ( x11-base/xorg-server ) | ||
!X? ( dev-libs/weston ) | ||
" | ||
|
||
src_install() { | ||
touch "${T}"/01gentoo.conf || die | ||
|
||
cat <<-EOF >> "${T}"/01gentoo.conf | ||
[General] | ||
# Which display server should be used | ||
DisplayServer=$(usex X "x11" "wayland") | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I added There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. it won't - those are shell quotes that will be discarded while lexing the arguments to |
||
|
||
# Remove qtvirtualkeyboard as InputMethod default | ||
InputMethod= | ||
EOF | ||
|
||
insinto /etc/sddm.conf.d/ | ||
doins "${T}"/01gentoo.conf | ||
} |
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -4,6 +4,7 @@ app-emulation | |
dev-libs | ||
dev-qt | ||
dev-util | ||
gui-apps | ||
lxqt-base | ||
media-gfx | ||
x11-libs | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
can this instead be turned into || (weston kwin) ? that way there is no unnecessary dependency on weston if kwin is installed
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes, this is outdated. In ::gentoo these RDEPENDs are completely done away with and replaced by optfeature - since Wayland support is completely experimental anyway right now it will not gain automatic configuration via ebuild for the time being.