[arch-commits] Commit in qcoro/repos/community-x86_64 (PKGBUILD PKGBUILD)
Antonio Rojas
arojas at gemini.archlinux.org
Thu Jan 6 20:10:21 UTC 2022
Date: Thursday, January 6, 2022 @ 20:10:21
Author: arojas
Revision: 1094855
archrelease: copy trunk to community-x86_64
Added:
qcoro/repos/community-x86_64/PKGBUILD
(from rev 1094854, qcoro/trunk/PKGBUILD)
Deleted:
qcoro/repos/community-x86_64/PKGBUILD
----------+
PKGBUILD | 72 +++++++++++++++++++++++++++++++------------------------------
1 file changed, 37 insertions(+), 35 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2022-01-06 20:10:11 UTC (rev 1094854)
+++ PKGBUILD 2022-01-06 20:10:21 UTC (rev 1094855)
@@ -1,35 +0,0 @@
-# Maintainer: Antonio Rojas <arojas at archlinux.org>
-
-pkgbase=qcoro
-pkgname=(qcoro-qt5 qcoro-qt6)
-pkgver=0.3.0
-pkgrel=1
-pkgdesc='C++ Coroutines for Qt'
-arch=(x86_64)
-url='https://github.com/danvratil/qcoro'
-license=(MIT)
-makedepends=(cmake qt5-base qt6-base)
-source=(https://github.com/danvratil/qcoro/archive/v$pkgver/$pkgname-$pkgver.tar.gz)
-sha256sums=('610fcf621de0cf04597e2e308d1d22a7fce2a39eafa2d4827d1ff6c8b0e724c0')
-
-build() {
- cmake -B build5 -S $pkgbase-$pkgver \
- -DCMAKE_INSTALL_PREFIX=/usr \
- -DUSE_QT_VERSION=5
- cmake --build build5
-
- cmake -B build6 -S $pkgbase-$pkgver \
- -DCMAKE_INSTALL_PREFIX=/usr \
- -DUSE_QT_VERSION=6
- cmake --build build6
-}
-
-package_qcoro-qt5() {
- DESTDIR="$pkgdir" cmake --install build5
- install -Dm644 $pkgbase-$pkgver/LICENSES/MIT.txt -t "$pkgdir"/usr/share/licenses/$pkgname
-}
-
-package_qcoro-qt6() {
- DESTDIR="$pkgdir" cmake --install build6
- install -Dm644 $pkgbase-$pkgver/LICENSES/MIT.txt -t "$pkgdir"/usr/share/licenses/$pkgname
-}
Copied: qcoro/repos/community-x86_64/PKGBUILD (from rev 1094854, qcoro/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2022-01-06 20:10:21 UTC (rev 1094855)
@@ -0,0 +1,37 @@
+# Maintainer: Antonio Rojas <arojas at archlinux.org>
+
+pkgbase=qcoro
+pkgname=(qcoro-qt5 qcoro-qt6)
+pkgver=0.4.0
+pkgrel=1
+pkgdesc='C++ Coroutines for Qt'
+arch=(x86_64)
+url='https://github.com/danvratil/qcoro'
+license=(MIT)
+makedepends=(cmake qt5-base qt6-base)
+source=(https://github.com/danvratil/qcoro/archive/v$pkgver/$pkgname-$pkgver.tar.gz)
+sha256sums=('0e68b3f0ce7bf521ffbdd731464d2d60d8d7a39a749b551ed26855a1707d86d1')
+
+build() {
+ cmake -B build5 -S $pkgbase-$pkgver \
+ -DCMAKE_INSTALL_PREFIX=/usr \
+ -DUSE_QT_VERSION=5 \
+ -DCMAKE_CXX_FLAGS="$CXXFLAGS -ffat-lto-objects"
+ cmake --build build5
+
+ cmake -B build6 -S $pkgbase-$pkgver \
+ -DCMAKE_INSTALL_PREFIX=/usr \
+ -DUSE_QT_VERSION=6 \
+ -DCMAKE_CXX_FLAGS="$CXXFLAGS -ffat-lto-objects"
+ cmake --build build6
+}
+
+package_qcoro-qt5() {
+ DESTDIR="$pkgdir" cmake --install build5
+ install -Dm644 $pkgbase-$pkgver/LICENSES/MIT.txt -t "$pkgdir"/usr/share/licenses/$pkgname
+}
+
+package_qcoro-qt6() {
+ DESTDIR="$pkgdir" cmake --install build6
+ install -Dm644 $pkgbase-$pkgver/LICENSES/MIT.txt -t "$pkgdir"/usr/share/licenses/$pkgname
+}
More information about the arch-commits
mailing list