diff options
author | taoky | 2023-10-25 05:50:55 +0800 |
---|---|---|
committer | taoky | 2023-10-25 05:50:57 +0800 |
commit | 9996aa9f6d2782b3ef48acfc4f539c359427dc7c (patch) | |
tree | c4556aa960edb0c2099c9a56e67dfd186162894f /PKGBUILD | |
parent | ce98704e38a681d763f15d1f97c1aebdff794b25 (diff) | |
download | aur-9996aa9f6d2782b3ef48acfc4f539c359427dc7c.tar.gz |
Update to reflect latest upstream changes
- Qt5 decoration could be built without Fedora patches (though not
recommended).
- Add qt5-svg and qt6-svg to dependencies.
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 19 |
1 files changed, 16 insertions, 3 deletions
@@ -9,14 +9,14 @@ 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) +makedepends=(cmake git qt6-wayland qt5-wayland qt6-svg qt5-svg) source=(git+https://github.com/FedoraQt/$_pkgname.git) sha256sums=('SKIP') @@ -26,12 +26,25 @@ pkgver() { } build() { + cmake -B build-qt5 -S $_pkgname \ + -DCMAKE_INSTALL_PREFIX=/usr + 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='Qt decoration plugin implementing Adwaita-like client-side decorations' + depends=(qt5-wayland) + provides=(qadwaitadecorations-qt5) + conflicts=(qadwaitadecorations-qt5) + + DESTDIR="$pkgdir" cmake --install build-qt5 +} + package_qadwaitadecorations-qt6-git() { pkgdesc='Qt decoration plugin implementing Adwaita-like client-side decorations' depends=(qt6-wayland) |