summaryrefslogtreecommitdiff
path: root/x11-themes/adwaita-qt
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2023-11-10 22:34:27 +0000
committerV3n3RiX <venerix@koprulu.sector>2023-11-10 22:34:27 +0000
commit04b35f566703f8bb84d52e8d2ff2f0f54c21900b (patch)
tree8c04f83d8fb3c828c1eea4e4bc7ac14a4e902661 /x11-themes/adwaita-qt
parenta6611f9bc959724ec73dbaa6f1c608698c387a8c (diff)
gentoo auto-resync : 10:11:2023 - 22:34:26
Diffstat (limited to 'x11-themes/adwaita-qt')
-rw-r--r--x11-themes/adwaita-qt/Manifest1
-rw-r--r--x11-themes/adwaita-qt/adwaita-qt-1.4.2-r1.ebuild55
2 files changed, 56 insertions, 0 deletions
diff --git a/x11-themes/adwaita-qt/Manifest b/x11-themes/adwaita-qt/Manifest
index ba46458c6d6f..fcc41794dc24 100644
--- a/x11-themes/adwaita-qt/Manifest
+++ b/x11-themes/adwaita-qt/Manifest
@@ -1,3 +1,4 @@
DIST adwaita-qt-1.4.2.tar.gz 1543173 BLAKE2B 5b089092c5d809e4dab5cd30b86e289e9b151f165ab613eb092da1607f9058b465cc42addfb0722ac0f6a5d944f6881b9f94b8e31f3a1ed9be779bea8cec2461 SHA512 ef2245cd1b08f2d5c23a534427c7a301cbb3a8b573a1870db48dfc82961417097465e02c696c311e5dd6f9fe1c03a27879c6b08aba5532d2f41ab9d0dcbd7f15
+EBUILD adwaita-qt-1.4.2-r1.ebuild 1146 BLAKE2B 917483fbf7f7bd426748153f0f5192ac44e93086e68f3883268bc3c54c08655fcfe90b62e026f8e10d34acfbc746c8ebb84c242f82f570349e66b8545cd7cdad SHA512 f069021a068a0b7e62a719337c9c3f29de1f0fb313e75e8fff4dfb9b96523a8721aa0b3209916fd667aa358c506026f388ac54dcb955d362510a31dba0573470
EBUILD adwaita-qt-1.4.2.ebuild 671 BLAKE2B 012d511ee7fe49e5f7879d61535d5b5a92b965a29a2fcaf84cf01b3c7a3fbeaefb048fdbfa501dde92a19b3df9e70b6460b7032ab7728858db8c5454156a7fae SHA512 d6c8b851cb841789697007420a338f66f90354336c9dc614c1f47a4b760ff36e6f77a471150193db18f060f0f4a8196b7d24adfb9ac0e2a23428bd9358b70d6a
MISC metadata.xml 301 BLAKE2B 7aff167d2d643a12e33735ba6260a448e64efb49ff440b2a848514c2bc8a22eec6430fff918ee1cdd7277c69e083bd8f9cddfc657b7bfd642d81211f869ab4ee SHA512 96ec5ce8be5e80fd974f2e79a98d06f412d127ea52f62d9dbf4b53c45991e6adaac6306fba76f1be80f60b359bb9c0194300d83c81e4d60319977e0d9dbc4703
diff --git a/x11-themes/adwaita-qt/adwaita-qt-1.4.2-r1.ebuild b/x11-themes/adwaita-qt/adwaita-qt-1.4.2-r1.ebuild
new file mode 100644
index 000000000000..87e4cf45f272
--- /dev/null
+++ b/x11-themes/adwaita-qt/adwaita-qt-1.4.2-r1.ebuild
@@ -0,0 +1,55 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+inherit cmake
+
+DESCRIPTION="A style to bend Qt applications to look like they belong into GNOME Shell"
+HOMEPAGE="https://github.com/FedoraQt/adwaita-qt"
+SRC_URI="https://github.com/FedoraQt/${PN}/archive/${PV}/${P}.tar.gz"
+
+LICENSE="GPL-2 LGPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~arm64 ~ppc64 ~x86"
+IUSE="gnome +qt5 qt6"
+REQUIRED_USE="|| ( qt5 qt6 )"
+
+DEPEND="
+ qt5? (
+ dev-qt/qtcore:5
+ dev-qt/qtdbus:5
+ dev-qt/qtgui:5
+ dev-qt/qtwidgets:5
+ dev-qt/qtx11extras:5
+ )
+ qt6? ( dev-qt/qtbase:6[dbus,gui,widgets] )
+"
+RDEPEND="${DEPEND}"
+PDEPEND="gnome? ( x11-themes/QGnomePlatform )"
+
+src_configure() {
+ if use qt5; then
+ BUILD_DIR="${WORKDIR}/${PN}_qt5"
+ local mycmakeargs=(-DUSE_QT6=OFF)
+ cmake_src_configure
+ fi
+ if use qt6; then
+ BUILD_DIR="${WORKDIR}/${PN}_qt6"
+ local mycmakeargs=(-DUSE_QT6=ON)
+ cmake_src_configure
+ fi
+}
+
+src_compile() {
+ local _d
+ for _d in "${WORKDIR}"/${PN}_qt*; do
+ cmake_src_compile -C "${_d}"
+ done
+}
+
+src_install() {
+ local _d
+ for _d in "${WORKDIR}"/${PN}_qt*; do
+ cmake_src_install -C "${_d}"
+ done
+}