Skip to content
This repository has been archived by the owner on May 20, 2023. It is now read-only.

Commit

Permalink
upgpkg: qgnomeplatform 0.9.1-2: Split color schemes to fix conflict b…
Browse files Browse the repository at this point in the history
…etween qt5/qt6 versions (FS#78489)

git-svn-id: file:///srv/repos/svn-community/svn@1459979 9fca08f4-af9d-4005-b8df-a31f2cc04f65
  • Loading branch information
arojas authored and svntogit committed May 11, 2023
1 parent e7ff51a commit aaad62b
Showing 1 changed file with 12 additions and 4 deletions.
16 changes: 12 additions & 4 deletions trunk/PKGBUILD
Expand Up @@ -7,9 +7,9 @@

pkgbase=qgnomeplatform
_pkgname=QGnomePlatform
pkgname=(qgnomeplatform-qt5 qgnomeplatform-qt6)
pkgname=(qgnomeplatform-qt5 qgnomeplatform-qt6 adwaita-color-schemes)
pkgver=0.9.1
pkgrel=1
pkgrel=2
pkgdesc='QPlatformTheme for a better Qt application inclusion in GNOME'
arch=(x86_64)
url='https://github.com/FedoraQt/QGnomePlatform'
Expand All @@ -32,15 +32,23 @@ build() {

package_qgnomeplatform-qt5() {
pkgdesc='QPlatformTheme for a better Qt5 application inclusion in GNOME'
depends=(gtk3 qt5-wayland qt5-quickcontrols2 adwaita-qt5)
depends=(gtk3 qt5-wayland qt5-quickcontrols2 adwaita-qt5 adwaita-color-schemes)
replaces=(qgnomeplatform)

DESTDIR="$pkgdir" cmake --install build-qt5
rm -r "$pkgdir"/usr/share
}

package_qgnomeplatform-qt6() {
pkgdesc='QPlatformTheme for a better Qt6 application inclusion in GNOME'
depends=(gtk3 qt6-wayland adwaita-qt6)
depends=(gtk3 qt6-wayland adwaita-qt6 adwaita-color-schemes)

DESTDIR="$pkgdir" cmake --install build-qt6
rm -r "$pkgdir"/usr/share
}

package_adwaita-color-schemes() {
pkgdesc='Adwaita color schemes for KDE applications'

DESTDIR="$pkgdir" cmake --install build-qt5/src/color-schemes
}

0 comments on commit aaad62b

Please sign in to comment.