Package Details: qqc2-desktop-style-git 6.22.0.r7.gf050af6-1

Git Clone URL: https://aur.archlinux.org/qqc2-desktop-style-git.git (read-only, click to copy)
Package Base: qqc2-desktop-style-git
Description: A style for Qt Quick Controls 2 to make it follow your desktop theme
Upstream URL: https://invent.kde.org/frameworks/qqc2-desktop-style
Licenses: LGPL
Groups: kf6-git
Conflicts: qqc2-desktop-style
Provides: qqc2-desktop-style
Submitter: Kodehawa
Maintainer: User8395
Last Packager: User8395
Votes: 3
Popularity: 0.79
First Submitted: 2021-01-16 01:38 (UTC)
Last Updated: 2026-01-15 00:14 (UTC)

Required by (35)

Sources (1)

Latest Comments

techmanwalker commented on 2026-01-11 07:17 (UTC) (edited on 2026-01-11 07:20 (UTC) by techmanwalker)

All the git variants of Plasma packages on the AUR depend on the git variants of dependencies
plasma-desktop-git may depend on this package

The keyword here is may. It means this is a possible dependency path, not something that is guaranteed to always occur. That's theory.

But, in practice, kdeconnect-git does depend on it, and this leads to plasma-bigscreen-git failing to compile because pacman attempts to replace this package with the non-git version. If that replacement is accepted, the rest of a plasma-git setup breaks due to incompatible builds being mixed, and leads to an unbootable Plasma session.

For anyone running Plasma from git for development or testing, this currently means having to manually patch this PKGBUILD to add a provides entry so that dependency resolution works correctly. That is, provides=(qqc2-desktop-style) means that it provides what the original package does and so pacman won't break the setup by trying to hard-push the two together and not being able to do so.

That provides line is already how the other Plasma git packages are handled (for example, see kdeconnect-git on the AUR), and this package is currently the only outlier in that regard. This is the only one that doesn't offer itself as a provider of what the non-git version also provides.

Adding it avoids pacman trying to replace this package and prevents a single AUR update from breaking an otherwise consistent plasma-git installation as soon as one logs out from the Plasma session.

User8395 commented on 2026-01-10 13:55 (UTC)

I will not be doing that. All the git variants of Plasma packages on the AUR depend on the git variants of dependencies, e.g. plasma-desktop-git may depend on this package. There is no need for the provides field.

techmanwalker commented on 2026-01-10 04:32 (UTC)

Thank you, but it seems like you forgot to add the provides line.

Without it, compiling Plasma from master git fails because it wants to replace this package with the original qqc2-desktop-style. So please add it so this package finally stops conflicting.

User8395 commented on 2026-01-09 20:01 (UTC)

Fixed

techmanwalker commented on 2026-01-09 19:37 (UTC)

Please add as well:

conflicts=('qqc2-desktop-style')
provides=('qqc2-desktop-style')

So it stops conflicting with the original package.

techmanwalker commented on 2026-01-08 07:16 (UTC) (edited on 2026-01-08 07:17 (UTC) by techmanwalker)

Again, please unhardcode that qqc2-desktop-style name as it causes it to fail building.

Please replace:

cd "qqc2-desktop-style"

with

cd "${pkgname%-git}"

and:

  cmake -B build -S $_pkgname \

with:

  cmake -B build -S "${pkgname%-git}" \

so it stops to fail building and actually builds successfully.

techmanwalker commented on 2025-08-09 22:21 (UTC)

In pkgver(), replace cd "$pkgname" with cd "${pkgname%-git}", otherwise it fails to build