Package Details: qadwaitadecorations-qt5-git 0.1.3.r0.g795bd8d-1

Git Clone URL: https://aur.archlinux.org/qadwaitadecorations-git.git (read-only, click to copy)
Package Base: qadwaitadecorations-git
Description: Qt5 decoration plugin implementing Adwaita-like client-side decorations
Upstream URL: https://github.com/FedoraQt/QAdwaitaDecorations
Licenses: LGPL2.1
Conflicts: qadwaitadecorations-qt5, qgnomeplatform-qt5
Provides: qadwaitadecorations-qt5
Submitter: taoky
Maintainer: taoky
Last Packager: taoky
Votes: 2
Popularity: 0.016083
First Submitted: 2023-08-27 06:23 (UTC)
Last Updated: 2023-10-27 15:59 (UTC)

Latest Comments

« First ‹ Previous 1 2

yochananmarqos commented on 2023-10-24 21:13 (UTC)

Please add qadwaitadecorations-qt5-git, it can be built without the Fedora patches by default now.

Either way, this package has been missing the qt6-svg dependency since 0.1.1. Apparently you're not following upstream at all.

diff --git a/PKGBUILD b/PKGBUILD
index 22ccf7b..84a5356 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -9,34 +9,49 @@

 pkgbase=qadwaitadecorations-git
 _pkgname=QAdwaitaDecorations
-pkgname=(qadwaitadecorations-qt6-git)
-pkgver=0.1.0.r0.g8ef4b78
+pkgname=('qadwaitadecorations-qt5-git' 'qadwaitadecorations-qt6-git')
+pkgver=0.1.3.r0.g795bd8d
 pkgrel=1
 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 qt6-wayland)
-source=(git+https://github.com/FedoraQt/$_pkgname.git)
+depends=(qt5-svg qt5-wayland qt6-svg qt6-wayland)
+makedepends=(cmake git)
+source=("git+https://github.com/FedoraQt/$_pkgname.git")
 sha256sums=('SKIP')

 pkgver() {
-  cd $_pkgname
+  cd "$_pkgname"
   git describe --long --tags | sed 's/\([^-]*-g\)/r\1/;s/-/./g'
 }

 build() {
-  cmake -B build-qt6 -S $_pkgname \
+  cmake -B build-qt5 -S "$_pkgname" \
+    -DCMAKE_INSTALL_PREFIX=/usr \
+    -DUSE_QT6=OFF
+  cmake --build build-qt5
+
+  cmake -B build-qt6 -S "$_pkgname" \
     -DCMAKE_INSTALL_PREFIX=/usr \
     -DUSE_QT6=ON
   cmake --build build-qt6
 }

+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<0.9.2')
+
+  DESTDIR="$pkgdir" cmake --install build-qt5
+}
+
 package_qadwaitadecorations-qt6-git() {
-  pkgdesc='Qt decoration plugin implementing Adwaita-like client-side decorations'
-  depends=(qt6-wayland)
+  pkgdesc='Qt6 decoration plugin implementing Adwaita-like client-side decorations'
+  depends=(qt6-svg qt6-wayland)
   provides=(qadwaitadecorations-qt6)
-  conflicts=(qadwaitadecorations-qt6)
+  conflicts=(qadwaitadecorations-qt6 'qgnomeplatform-qt6<0.9.2')

   DESTDIR="$pkgdir" cmake --install build-qt6
 }