diff options
author | Jimi Huotari <chiitoo@gentoo.org> | 2023-11-09 21:26:50 +0200 |
---|---|---|
committer | Jimi Huotari <chiitoo@gentoo.org> | 2023-11-09 23:45:33 +0200 |
commit | e7ee21e07940595522c4563f4fda6c1475890d6e (patch) | |
tree | 8f43fd420b1fa479ef83e9b19e3788472f1a7318 /lxqt-base | |
parent | lxqt-base/lxqt-globalkeys: add 1.4.0 (diff) | |
download | gentoo-e7ee21e07940595522c4563f4fda6c1475890d6e.tar.gz gentoo-e7ee21e07940595522c4563f4fda6c1475890d6e.tar.bz2 gentoo-e7ee21e07940595522c4563f4fda6c1475890d6e.zip |
lxqt-base/lxqt-config: add 1.4.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-1.4.0.ebuild | 73 |
2 files changed, 74 insertions, 0 deletions
diff --git a/lxqt-base/lxqt-config/Manifest b/lxqt-base/lxqt-config/Manifest index bb8582ddbbb9..09f5160c8913 100644 --- a/lxqt-base/lxqt-config/Manifest +++ b/lxqt-base/lxqt-config/Manifest @@ -1 +1,2 @@ DIST lxqt-config-1.3.0.tar.xz 370624 BLAKE2B 2015d2ec8f1a925e505b8c93b3db99fe351d8db742c78b2a19e8f8be7df47be619b3b5c313a693f1ac4e54b1f117aea5a706e8eae2d0fb6340fafe1b4a47412d SHA512 30610d1c90d897eb54ce5ee75a39721a7818b0164bc97dece5b74aec2032c3b0027316995d83c077352e93fd2f7ab319d1801ed5ce356b857805e855db71cd75 +DIST lxqt-config-1.4.0.tar.xz 371628 BLAKE2B d7be05fdd55bfe2efe977184008ed6324e16e85c2bceb6b9c15e8ef11978d34ba0961b671978618ce4b7a836653477c4fa5cbc9b5dfead7a1c8a87e00c408bbd SHA512 a3e6722c3f63b3c7382ec84723e3a4d838d99b2c42ce731565f940873b275ef025b7bc1a570f165b7fce521eb77bb7b83b02e922bee251507b773c8de4f785fc diff --git a/lxqt-base/lxqt-config/lxqt-config-1.4.0.ebuild b/lxqt-base/lxqt-config/lxqt-config-1.4.0.ebuild new file mode 100644 index 000000000000..ccac5ca3d3ea --- /dev/null +++ b/lxqt-base/lxqt-config/lxqt-config-1.4.0.ebuild @@ -0,0 +1,73 @@ +# 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" +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}*:= + =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: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 +} |