Package Details: qadwaitadecorations-qt6-git 0.1.7.r1.ge6da80a-1

Git Clone URL: https://aur.archlinux.org/qadwaitadecorations-git.git (read-only, click to copy)
Package Base: qadwaitadecorations-git
Description: Qt6 decoration plugin implementing Adwaita-like client-side decorations
Upstream URL: https://github.com/FedoraQt/QAdwaitaDecorations
Licenses: LGPL-2.1-or-later
Conflicts: qadwaitadecorations-qt6, qgnomeplatform-qt6
Provides: qadwaitadecorations-qt6
Submitter: taoky
Maintainer: taoky
Last Packager: taoky
Votes: 2
Popularity: 0.000000
First Submitted: 2023-08-27 06:23 (UTC)
Last Updated: 2025-10-13 14:39 (UTC)

Dependencies (8)

Required by (1)

Sources (1)

Latest Comments

1 2 Next › Last »

taoky commented on 2025-10-13 14:40 (UTC)

The workaround has been removed as upstream has updated for Qt 6.10.

taoky commented on 2025-10-12 08:31 (UTC)

Update the workaround. Note that the adwaita decoration is already in recent Qt official versions so you probably don't need this package...

taoky commented on 2025-10-12 06:39 (UTC)

https://github.com/FedoraQt/QAdwaitaDecorations/issues/87

Let me check how to resolve this...

uudruid74 commented on 2025-10-12 02:18 (UTC)

I'm getting a compile fail. I think it may have something to do with new changes to Qt 6.10 and the use of private modules, but I don't use many Qt apps.

CMake Error at src/CMakeLists.txt:8 (target_link_libraries): Target "qadwaitadecorations" links to:

Qt6::GuiPrivate

but the target was not found. Possible reasons include:

* There is a typo in the target name.
* A find_package call is missing for an IMPORTED target.
* An ALIAS target is missing.

-- Generating done (0.0s) CMake Generate step failed. Build files cannot be regenerated correctly. ==> ERROR: A failure occurred in build(). Aborting... error: failed to build 'qadwaitadecorations-0.1.7-1 (qadwaitadecorations-qt6)': error: packages failed to build: qadwaitadecorations-0.1.7-1 (qadwaitadecorations-qt6)

taoky commented on 2024-08-12 17:40 (UTC)

@micwoj92: Updated.

micwoj92 commented on 2024-08-12 17:32 (UTC)

Please use spdx license identifier.

xiota commented on 2023-10-27 16:07 (UTC) (edited on 2023-10-27 16:09 (UTC) by xiota)

it's still required for AUR users to install both qt5 and qt6 deps when building

That's normal. There are workarounds, but they make the PKGBUILD complicated, they don't work well with AUR helpers, and users have difficulty using them.

Also, you should test that your packages build in a clean chroot.

taoky commented on 2023-10-27 16:00 (UTC)

@yochananmarqos: Thank you for your explanation. I've fixed the PKGBUILD (though it's still required for AUR users to install both qt5 and qt6 deps when building).

yochananmarqos commented on 2023-10-27 14:16 (UTC) (edited on 2023-10-27 14:16 (UTC) by yochananmarqos)

@taoky: That's not what @xiota meant. Each package has they're own runtime dependencies. All you had to do was move the packages from the primary depends() array to makedepends() and leave the package depends() arrays alone.

diff --git a/PKGBUILD b/PKGBUILD
index 37555bb..808155a 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -16,8 +16,7 @@ pkgdesc='Qt decoration plugin implementing Adwaita-like client-side decorations'
 arch=(x86_64)
 url='https://github.com/FedoraQt/QAdwaitaDecorations'
 license=(LGPL2.1)
-makedepends=(cmake git)
-depends=(qt5-svg qt5-wayland qt6-svg qt6-wayland)
+makedepends=(cmake git qt5-svg qt5-wayland qt6-svg qt6-wayland)
 source=(git+https://github.com/FedoraQt/$_pkgname.git)
 sha256sums=('SKIP')

@@ -40,6 +39,7 @@ build() {

 package_qadwaitadecorations-qt5-git() {
   pkgdesc='Qt5 decoration plugin implementing Adwaita-like client-side decorations'
+  depends=(qt5-svg qt5-wayland)
   provides=(qadwaitadecorations-qt5)
   conflicts=(qadwaitadecorations-qt5 qgnomeplatform-qt5)

@@ -48,6 +48,7 @@ package_qadwaitadecorations-qt5-git() {

 package_qadwaitadecorations-qt6-git() {
   pkgdesc='Qt6 decoration plugin implementing Adwaita-like client-side decorations'
+  depends=(qt6-svg qt6-wayland)
   provides=(qadwaitadecorations-qt6)
   conflicts=(qadwaitadecorations-qt6 qgnomeplatform-qt6)

taoky commented on 2023-10-27 08:35 (UTC)

@xiota: "Dependencies defined inside the package() function are only required to run the software." (https://wiki.archlinux.org/title/PKGBUILD#depends)

And that's bad, as I have to put qt5 deps in qt6 package, and vice versa. Though anyway I'll fix in this way until there's a better approach.