Skip to content

Commit

Permalink
lxqt-base/lxqt-meta: add 2.0.0
Browse files Browse the repository at this point in the history
Welcome Qt 6!

With this, the 'minimal' USE-flag is changed to 'window-manager', and
instead of Openbox, it will pull in KWin.

Openbox has not been in active development for a decade or two, and
no fixes seem to be getting in either.  LXQt upstream also does not
recommend using it due to the same reason(s).

Additionally, LXQt upstream is probably not going to port 'obconf-qt'
to Qt 6, and as such, it has been removed from this meta ebuild as
well.

KWin works well with LXQt, and it's behind a USE-flag so anyone
can still continue using Openbox or anything else they like (or not
install this meta package in the first place).

Other lighter-on-the-dependencies window managers do exist, but they
tend to come with their own panels and such, making things awkward.

Not pulling any window manager by default may leave users confused,
however, so pulling in /something/ seems like a good thing to do.

Also, the Oxygen icon set has been changed to Breeze, per upstream
defaults.

Further, some USE-flags have gone enabled by default.

Signed-off-by: Jimi Huotari <[email protected]>
  • Loading branch information
Chiitoo committed Jun 14, 2024
1 parent 1b63233 commit cc1712b
Show file tree
Hide file tree
Showing 2 changed files with 70 additions and 3 deletions.
66 changes: 66 additions & 0 deletions lxqt-base/lxqt-meta/lxqt-meta-2.0.0.ebuild
Original file line number Diff line number Diff line change
@@ -0,0 +1,66 @@
# Copyright 1999-2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=8

MY_PV="$(ver_cut 1-2)"

DESCRIPTION="Meta ebuild for LXQt, the Lightweight Desktop Environment"
HOMEPAGE="https://lxqt-project.org/"

if [[ ${PV} != 9999 ]]; then
KEYWORDS="~amd64"
fi

LICENSE="metapackage"
SLOT="0"

IUSE="
+about admin +archiver +desktop-portal +display-manager +filemanager
+lximage nls +policykit powermanagement +processviewer +screenshot
+sddm ssh-askpass +sudo +terminal +trash +window-manager
"

REQUIRED_USE="trash? ( filemanager )"

# Pull in 'kde-frameworks/breeze-icons' as an upstream default.
# https://bugs.gentoo.org/543380
# https://github.com/lxqt/lxqt-session/commit/5d32ff434d4
RDEPEND="
kde-frameworks/breeze-icons:6
=lxqt-base/lxqt-config-${MY_PV}*
=lxqt-base/lxqt-globalkeys-${MY_PV}*
=lxqt-base/lxqt-menu-data-${MY_PV}*
=lxqt-base/lxqt-notificationd-${MY_PV}*
=lxqt-base/lxqt-panel-${MY_PV}*
=lxqt-base/lxqt-qtplugin-${MY_PV}*
=lxqt-base/lxqt-runner-${MY_PV}*
=lxqt-base/lxqt-session-${MY_PV}*
virtual/ttf-fonts
x11-terms/xterm
=x11-themes/lxqt-themes-${MY_PV}*
about? ( =lxqt-base/lxqt-about-${MY_PV}* )
admin? ( =lxqt-base/lxqt-admin-${MY_PV}* )
archiver? ( >=app-arch/lxqt-archiver-1.0 )
desktop-portal? ( >=gui-libs/xdg-desktop-portal-lxqt-1.0 )
display-manager? (
sddm? ( x11-misc/sddm )
!sddm? ( x11-misc/lightdm )
)
filemanager? ( =x11-misc/pcmanfm-qt-${MY_PV}* )
lximage? ( =media-gfx/lximage-qt-${MY_PV}* )
nls? ( dev-qt/qttranslations:6 )
policykit? ( =lxqt-base/lxqt-policykit-${MY_PV}* )
powermanagement? ( =lxqt-base/lxqt-powermanagement-${MY_PV}* )
processviewer? ( >=x11-misc/qps-2.9 )
screenshot? ( >=x11-misc/screengrab-2.8 )
sddm? ( x11-misc/sddm )
ssh-askpass? ( =lxqt-base/lxqt-openssh-askpass-${MY_PV}* )
sudo? ( =lxqt-base/lxqt-sudo-${MY_PV}* )
terminal? ( =x11-terms/qterminal-${MY_PV}* )
trash? ( gnome-base/gvfs )
window-manager? (
kde-plasma/kwin:6
kde-plasma/systemsettings:6
)
"
7 changes: 4 additions & 3 deletions lxqt-base/lxqt-meta/metadata.xml
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,9 @@
<flag name="archiver">Install <pkg>app-arch/lxqt-archiver</pkg></flag>
<flag name="desktop-portal">Enable the LXQt <pkg>sys-apps/xdg-desktop-portal</pkg> backend implementation</flag>
<flag name="display-manager">Install a graphical display manager</flag>
<flag name="filemanager">Install <pkg>x11-misc/pcmanfm-qt</pkg>file manager</flag>
<flag name="lximage">Install <pkg>media-gfx/lximage-qt</pkg>image viewer</flag>
<flag name="minimal">Do not install <pkg>x11-wm/openbox</pkg>window manager</flag>
<flag name="filemanager">Install <pkg>x11-misc/pcmanfm-qt</pkg> file manager</flag>
<flag name="lximage">Install <pkg>media-gfx/lximage-qt</pkg> image viewer</flag>
<flag name="minimal" restrict="&lt;lxqt-base/lxqt-meta-2.0">Do not install <pkg>x11-wm/openbox</pkg> window manager</flag>
<flag name="nls">Install <pkg>dev-qt/qttranslations</pkg> to better support different locales</flag>
<flag name="powermanagement">Install <pkg>lxqt-base/lxqt-powermanagement</pkg> package</flag>
<flag name="processviewer">Install <pkg>x11-misc/qps</pkg> package</flag>
Expand All @@ -24,5 +24,6 @@
<flag name="terminal">Install <pkg>x11-terms/qterminal</pkg> package</flag>
<flag name="trash">Install <pkg>gnome-base/gvfs</pkg> to enable 'trash'
functionality in <pkg>x11-misc/pcmanfm-qt</pkg></flag>
<flag name="window-manager" restrict="&gt;lxqt-base/lxqt-meta-1.4">Install <pkg>kde-plasma/kwin</pkg> window manager</flag>
</use>
</pkgmetadata>

0 comments on commit cc1712b

Please sign in to comment.