forked from gentoo/gentoo
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Signed-off-by: Michael Vetter <[email protected]> Signed-off-by: Jimi Huotari <[email protected]>
- Loading branch information
Showing
2 changed files
with
73 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,2 @@ | ||
DIST lxqt-config-1.2.0.tar.xz 364972 BLAKE2B 2c4082f8b70284492d02372e03088dbade48a8288cd2e0038dd60fd4a70c4ff434188d795ec75bbd268ea3d75661751230c06a74f1cd65273934f89604c7170d SHA512 ae0f71a6ac85e80bc1d1de890148b908bda21aced0829f5f203442f3a0139dbeec44e7190adc1f5706361f4cf7a00bdead3035c63bf6da2bbba5a16a88d7b469 | ||
DIST lxqt-config-1.3.0.tar.xz 370624 BLAKE2B 2015d2ec8f1a925e505b8c93b3db99fe351d8db742c78b2a19e8f8be7df47be619b3b5c313a693f1ac4e54b1f117aea5a706e8eae2d0fb6340fafe1b4a47412d SHA512 30610d1c90d897eb54ce5ee75a39721a7818b0164bc97dece5b74aec2032c3b0027316995d83c077352e93fd2f7ab319d1801ed5ce356b857805e855db71cd75 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,72 @@ | ||
# Copyright 1999-2023 Gentoo Authors | ||
# Distributed under the terms of the GNU General Public License v2 | ||
|
||
EAPI=8 | ||
|
||
MY_PV="$(ver_cut 1-2)" | ||
|
||
inherit cmake xdg-utils | ||
|
||
DESCRIPTION="LXQt system configuration control center" | ||
HOMEPAGE="https://lxqt-project.org/" | ||
|
||
if [[ ${PV} = *9999* ]]; then | ||
inherit git-r3 | ||
EGIT_REPO_URI="https://github.com/lxqt/${PN}.git" | ||
else | ||
SRC_URI="https://github.com/lxqt/${PN}/releases/download/${PV}/${P}.tar.xz" | ||
KEYWORDS="~amd64 ~arm ~arm64 ~loong ~ppc64 ~riscv ~x86" | ||
fi | ||
|
||
LICENSE="GPL-2 GPL-2+ GPL-3 LGPL-2 LGPL-2+ LGPL-2.1+ WTFPL-2" | ||
SLOT="0" | ||
IUSE="+monitor +touchpad" | ||
|
||
BDEPEND=" | ||
>=dev-qt/linguist-tools-5.15:5 | ||
" | ||
DEPEND=" | ||
>=dev-libs/libqtxdg-3.11.0 | ||
>=dev-qt/qtcore-5.15:5 | ||
>=dev-qt/qtgui-5.15:5 | ||
>=dev-qt/qtwidgets-5.15:5 | ||
>=dev-qt/qtsvg-5.15:5 | ||
>=dev-qt/qtx11extras-5.15:5 | ||
>=dev-qt/qtxml-5.15:5 | ||
=lxqt-base/liblxqt-${MY_PV}*:= | ||
sys-libs/zlib:= | ||
x11-apps/setxkbmap | ||
x11-libs/libxcb:= | ||
x11-libs/libX11 | ||
x11-libs/libXcursor | ||
x11-libs/libXfixes | ||
monitor? ( kde-plasma/libkscreen:5= ) | ||
touchpad? ( | ||
virtual/libudev:= | ||
x11-drivers/xf86-input-libinput | ||
x11-libs/libXi | ||
) | ||
" | ||
RDEPEND="${DEPEND}" | ||
|
||
src_configure() { | ||
local mycmakeargs=( | ||
-DWITH_MONITOR=$(usex monitor) | ||
-DWITH_TOUCHPAD=$(usex touchpad) | ||
) | ||
|
||
cmake_src_configure | ||
} | ||
|
||
src_install() { | ||
cmake_src_install | ||
doman man/*.1 liblxqt-config-cursor/man/*.1 lxqt-config-appearance/man/*.1 | ||
} | ||
|
||
pkg_postinst() { | ||
xdg_icon_cache_update | ||
} | ||
|
||
pkg_postrm() { | ||
xdg_icon_cache_update | ||
} |