diff options
author | Jimi Huotari <chiitoo@gentoo.org> | 2024-04-21 20:17:02 +0300 |
---|---|---|
committer | Jimi Huotari <chiitoo@gentoo.org> | 2024-04-21 22:48:26 +0300 |
commit | 909f089f35c151be3aeff37fe383cf69a680d275 (patch) | |
tree | 2edfecee763821bc38b106aca32e6765472d4548 /lxqt-base | |
parent | lxqt-base/lxqt-menu-data: add 2.0.0 (diff) | |
download | qt-909f089f35c151be3aeff37fe383cf69a680d275.tar.gz qt-909f089f35c151be3aeff37fe383cf69a680d275.tar.bz2 qt-909f089f35c151be3aeff37fe383cf69a680d275.zip |
lxqt-base/lxqt-config: add 2.0.0
Signed-off-by: Jimi Huotari <chiitoo@gentoo.org>
Diffstat (limited to 'lxqt-base')
-rw-r--r-- | lxqt-base/lxqt-config/Manifest | 1 | ||||
-rw-r--r-- | lxqt-base/lxqt-config/lxqt-config-2.0.0.ebuild | 70 |
2 files changed, 71 insertions, 0 deletions
diff --git a/lxqt-base/lxqt-config/Manifest b/lxqt-base/lxqt-config/Manifest new file mode 100644 index 00000000..5d8d5a46 --- /dev/null +++ b/lxqt-base/lxqt-config/Manifest @@ -0,0 +1 @@ +DIST lxqt-config-2.0.0.tar.xz 380552 BLAKE2B 5b6dc5f1323609b487608efabcd3b3a2b2d14ee0374a9959b9ee1627146232ff8d91ea244b243a342217f06613424e5e0dca0b89bfef99771dcf8018fccba2ea SHA512 dbb96a069fa0b73c5e7cb6ed26d99ddf838df363b3dba5c6f8ac3dde4ab316646c6bea6fd6d463d9ddc76c38ce8b75dbf1fadc7e56d4c548a54c6d53b494bce3 diff --git a/lxqt-base/lxqt-config/lxqt-config-2.0.0.ebuild b/lxqt-base/lxqt-config/lxqt-config-2.0.0.ebuild new file mode 100644 index 00000000..b5163665 --- /dev/null +++ b/lxqt-base/lxqt-config/lxqt-config-2.0.0.ebuild @@ -0,0 +1,70 @@ +# Copyright 1999-2024 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" +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/qttools-6.6:6[linguist] + >=dev-util/lxqt-build-tools-2.0.0 +" +DEPEND=" + >=dev-libs/libqtxdg-4.0.0 + >=dev-qt/qtbase-6.6:6[gui,widgets,xml] + >=dev-qt/qtsvg-6.6:6 + =lxqt-base/liblxqt-${MY_PV}*:= + =lxqt-base/lxqt-menu-data-${MY_PV}* + sys-libs/zlib:= + x11-apps/setxkbmap + x11-libs/libxcb:= + x11-libs/libX11 + x11-libs/libXcursor + x11-libs/libXfixes + monitor? ( kde-plasma/libkscreen:6= ) + 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 +} |