[arch-commits] Commit in rssguard/repos/community-x86_64 (PKGBUILD PKGBUILD)

Antonio Rojas arojas at gemini.archlinux.org
Wed May 4 10:49:50 UTC 2022


    Date: Wednesday, May 4, 2022 @ 10:49:50
  Author: arojas
Revision: 1193305

archrelease: copy trunk to community-x86_64

Added:
  rssguard/repos/community-x86_64/PKGBUILD
    (from rev 1193303, rssguard/trunk/PKGBUILD)
Deleted:
  rssguard/repos/community-x86_64/PKGBUILD

----------+
 PKGBUILD |  101 +++++++++++++++++++++++++++++--------------------------------
 1 file changed, 49 insertions(+), 52 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2022-05-04 10:49:49 UTC (rev 1193304)
+++ PKGBUILD	2022-05-04 10:49:50 UTC (rev 1193305)
@@ -1,52 +0,0 @@
-# Maintainer: Balló György <ballogyor+arch at gmail dot com>
-# Contributor: WorMzy Tykashi <wormzy.tykashi at gmail.com>
-# Contributor: Alois Nespor <info at aloisnespor.info>
-# Contributor: speps <speps dot aur dot archlinux dot org>
-
-pkgbase=rssguard
-pkgname=(rssguard{,-nowebengine})
-pkgver=4.1.2
-pkgrel=1
-pkgdesc='Simple (yet powerful) Qt5 feed reader'
-arch=('x86_64')
-url='https://github.com/martinrotter/rssguard'
-license=('GPL3')
-makedepends=('qt5-tools' 'qt5-multimedia' 'qt5-webengine')
-optdepends=('clang: Support for beautification of message filter scripts')
-source=("https://github.com/martinrotter/$pkgbase/archive/$pkgver/$pkgbase-$pkgver.tar.gz")
-sha256sums=('3e9c6b25cad846aa2047f737d961fe007c88873d9e9772ec8e238908c6f8df95')
-
-prepare() {
-  mkdir build{,-nowebengine}
-}
-
-build() {
-  cd build
-  qmake-qt5 ../$pkgname-$pkgver -r CONFIG+=release PREFIX=/usr
-  make
-
-  cd ../build-nowebengine
-  qmake-qt5 ../$pkgname-$pkgver -r CONFIG+=release PREFIX=/usr USE_WEBENGINE=false
-  make
-}
-
-package_rssguard() {
-  depends=('qt5-webengine' 'qt5-multimedia')
-
-  cd build
-  make INSTALL_ROOT="$pkgdir" install -j1
-}
-
-package_rssguard-nowebengine() {
-  pkgdesc+=' without WebEngine support'
-  depends=('hicolor-icon-theme' 'qt5-declarative' 'qt5-multimedia')
-  conflicts=("$pkgbase")
-  provides=("$pkgbase=$pkgver")
-
-  cd build-nowebengine
-  make INSTALL_ROOT="$pkgdir" install -j1
-
-  # Ignore package by AppStream to avoid duplicated IDs
-  rm -r "$pkgdir/usr/share/metainfo/"
-  echo 'X-AppStream-Ignore=true' >> "$pkgdir/usr/share/applications/com.github.rssguard.desktop"
-}

Copied: rssguard/repos/community-x86_64/PKGBUILD (from rev 1193303, rssguard/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2022-05-04 10:49:50 UTC (rev 1193305)
@@ -0,0 +1,49 @@
+# Maintainer: Balló György <ballogyor+arch at gmail dot com>
+# Contributor: WorMzy Tykashi <wormzy.tykashi at gmail.com>
+# Contributor: Alois Nespor <info at aloisnespor.info>
+# Contributor: speps <speps dot aur dot archlinux dot org>
+
+pkgbase=rssguard
+pkgname=(rssguard{,-nowebengine})
+pkgver=4.2.0
+pkgrel=1
+pkgdesc='Simple (yet powerful) Qt feed reader'
+arch=('x86_64')
+url='https://github.com/martinrotter/rssguard'
+license=('GPL3')
+makedepends=('cmake' 'qt6-tools' 'qt6-multimedia' 'qt6-webengine' 'qt6-5compat')
+optdepends=('clang: Support for beautification of message filter scripts')
+source=("https://github.com/martinrotter/$pkgbase/archive/$pkgver/$pkgbase-$pkgver.tar.gz")
+sha256sums=('8911b2d3d378e39c0d34b78c42c6d5b5775b0894f2edef9092a8ce45dcd9a2e4')
+
+build() {
+  cmake -B build -S $pkgname-$pkgver \
+    -DCMAKE_INSTALL_PREFIX=/usr \
+    -DBUILD_WITH_QT6=ON
+  cmake --build build
+
+  cmake -B build-nowebengine -S $pkgname-$pkgver \
+    -DCMAKE_INSTALL_PREFIX=/usr \
+    -DBUILD_WITH_QT6=ON \
+    -DUSE_WEBENGINE=OFF
+  cmake --build build-nowebengine
+}
+
+package_rssguard() {
+  depends=('qt6-webengine' 'qt6-multimedia' 'qt6-5compat')
+
+  DESTDIR="$pkgdir" cmake --install build
+}
+
+package_rssguard-nowebengine() {
+  pkgdesc+=' without WebEngine support'
+  depends=('hicolor-icon-theme' 'qt6-declarative' 'qt6-multimedia' 'qt6-5compat')
+  conflicts=("$pkgbase")
+  provides=("$pkgbase=$pkgver")
+
+  DESTDIR="$pkgdir" cmake --install build-nowebengine
+
+  # Ignore package by AppStream to avoid duplicated IDs
+  rm -r "$pkgdir/usr/share/metainfo/"
+  echo 'X-AppStream-Ignore=true' >> "$pkgdir/usr/share/applications/com.github.rssguard.desktop"
+}



More information about the arch-commits mailing list