diff options
author | V3n3RiX <venerix@koprulu.sector> | 2024-09-15 18:26:15 +0100 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2024-09-15 18:26:15 +0100 |
commit | fda43397772811b92b0964a1f9619ad754c9360b (patch) | |
tree | 7e49e858dfb8d9541393a77e481509e8e5485967 /dev-libs | |
parent | f9b4edae85ab8d924dc0c537962502f188e95ea9 (diff) |
lxqt-base/lxqt-meta : support qt5 theming
Diffstat (limited to 'dev-libs')
-rw-r--r-- | dev-libs/libqtxdg/Manifest | 2 | ||||
-rw-r--r-- | dev-libs/libqtxdg/libqtxdg-3.12.0-r5.ebuild | 57 | ||||
-rw-r--r-- | dev-libs/libqtxdg/libqtxdg-4.0.0-r5.ebuild | 51 |
3 files changed, 110 insertions, 0 deletions
diff --git a/dev-libs/libqtxdg/Manifest b/dev-libs/libqtxdg/Manifest new file mode 100644 index 00000000..bf0f56d8 --- /dev/null +++ b/dev-libs/libqtxdg/Manifest @@ -0,0 +1,2 @@ +DIST libqtxdg-3.12.0.tar.xz 71684 BLAKE2B 909fe97ccd8815d9d923d440abef9f0e9cf28fa8e18220f6998e69ff17a1bbb28b37c734758c01cb0a9537464fb0dd2f38b1f61640fd8468c30f8aac57e62106 SHA512 9db46b0dddb027a24e1c19a2e3679014735cc246f15d32bc5fb9e778cd7d8fb57c9b105f819091308002f0a2eff8269920ecc0d7bd5ce8a01fbaf0b37e61a76e +DIST libqtxdg-4.0.0.tar.xz 71508 BLAKE2B 823bfaba4ea1beb88b064d4935e7c660569b9215aa9f40b7ad6e3ffab965259467d968cd6b5f0c42c2912478d2766d52d52f0296d9eb3586c45ac5ddd7b97ed7 SHA512 4a8a32968e74ed54d700cf65c9cfb238001f58d93a9e374e18d60023615d6277f80459dd8477205ce31a6d8caf798cde70b91681df80b1bff3b754e0586868d2 diff --git a/dev-libs/libqtxdg/libqtxdg-3.12.0-r5.ebuild b/dev-libs/libqtxdg/libqtxdg-3.12.0-r5.ebuild new file mode 100644 index 00000000..6e69475a --- /dev/null +++ b/dev-libs/libqtxdg/libqtxdg-3.12.0-r5.ebuild @@ -0,0 +1,57 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit cmake optfeature virtualx + +DESCRIPTION="Qt Implementation of XDG Standards" +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="LGPL-2.1+ Nokia-Qt-LGPL-Exception-1.1" +SLOT="0/5" +IUSE="test" +RESTRICT="!test? ( test )" + +BDEPEND=" + >=dev-util/lxqt-build-tools-0.13.0:${SLOT} + virtual/pkgconfig +" +RDEPEND=" + dev-libs/glib:2 + >=dev-qt/qtcore-5.15:5 + >=dev-qt/qtdbus-5.15:5 + >=dev-qt/qtgui-5.15:5= + >=dev-qt/qtsvg-5.15:5 + >=dev-qt/qtwidgets-5.15:5 + >=dev-qt/qtxml-5.15:5 + x11-misc/xdg-utils +" +DEPEND="${RDEPEND} + test? ( >=dev-qt/qttest-5.15:5 ) +" + +src_configure() { + local mycmakeargs=( + -DBUILD_TESTS=$(usex test) + ) + + cmake_src_configure +} + +src_test() { + # Tests don't work with C + LC_ALL=en_US.utf8 virtx cmake_src_test +} + +pkg_postinst() { + ! has_version lxqt-base/lxqt-meta && optfeature "features that require a terminal emulator" x11-terms/xterm +} diff --git a/dev-libs/libqtxdg/libqtxdg-4.0.0-r5.ebuild b/dev-libs/libqtxdg/libqtxdg-4.0.0-r5.ebuild new file mode 100644 index 00000000..d67297cc --- /dev/null +++ b/dev-libs/libqtxdg/libqtxdg-4.0.0-r5.ebuild @@ -0,0 +1,51 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit cmake optfeature virtualx + +DESCRIPTION="Qt Implementation of XDG Standards" +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 arm64 ~loong ~riscv ~x86" +fi + +LICENSE="LGPL-2.1+ Nokia-Qt-LGPL-Exception-1.1" +SLOT="0/6" +IUSE="test" +RESTRICT="!test? ( test )" + +BDEPEND=" + >=dev-util/lxqt-build-tools-2.0.0:${SLOT} + virtual/pkgconfig +" +RDEPEND=" + dev-libs/glib:2 + >=dev-qt/qtbase-6.6:6=[dbus,gui,widgets,xml] + >=dev-qt/qtsvg-6.6:6 + x11-misc/xdg-utils +" +DEPEND="${RDEPEND}" + +src_configure() { + local mycmakeargs=( + -DBUILD_TESTS=$(usex test) + ) + + cmake_src_configure +} + +src_test() { + # Tests don't work with C + LC_ALL=en_US.utf8 virtx cmake_src_test +} + +pkg_postinst() { + ! has_version lxqt-base/lxqt-meta && optfeature "features that require a terminal emulator" x11-terms/xterm +} |