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

Antonio Rojas arojas at archlinux.org
Thu Feb 11 10:49:48 UTC 2021


    Date: Thursday, February 11, 2021 @ 10:49:47
  Author: arojas
Revision: 855741

archrelease: copy trunk to community-x86_64

Added:
  qtcurve/repos/community-x86_64/PKGBUILD
    (from rev 855740, qtcurve/trunk/PKGBUILD)
Deleted:
  qtcurve/repos/community-x86_64/PKGBUILD

----------+
 PKGBUILD |  152 +++++++++++++++++++++++++++++--------------------------------
 1 file changed, 73 insertions(+), 79 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2021-02-11 10:49:39 UTC (rev 855740)
+++ PKGBUILD	2021-02-11 10:49:47 UTC (rev 855741)
@@ -1,79 +0,0 @@
-# Maintainer: Antonio Rojas <arojas at archlinux.org>
-# Contributor: speps <speps at aur dot archlinux dot org>
-# Contributor: Sven-Hendrik Haase <sh at lutzhaase.com>
-# Contributor: Andrea Scarpino <andrea at archlinux.org>
-# Contributor: Pierre Schmitz <pierre at archlinux.de>
-
-pkgbase=qtcurve
-pkgname=(qtcurve-utils qtcurve-gtk2 qtcurve-qt5 qtcurve-kde)
-epoch=1
-pkgver=1.9
-pkgrel=4
-pkgdesc='A configurable set of widget styles for KDE and Gtk'
-arch=(x86_64)
-url='https://github.com/KDE/qtcurve/'
-license=(LGPL)
-groups=(qtcurve)
-makedepends=(extra-cmake-modules gtk2 kdelibs4support kdoctools frameworkintegration kdesignerplugin kinit)
-source=(https://download.kde.org/stable/$pkgbase/$pkgbase-$pkgver.tar.xz{,.sig}
-        qtcurve-gcc9.patch::"https://cgit.kde.org/qtcurve.git/patch/?id=ee2228ea")
-sha256sums=('281f5e3d13b0c1c0aeea6f5c7e895aedcb8f4ce91bdbd12d068d3616bc6d2f99'
-            'SKIP'
-            'be0167f269f3b0161bdcb3f8cbc0ab1043a0b1df5ecf09e22996a4cb8a946027')
-validpgpkeys=(D88390B2991F8242FABD2A3C07F45E2A1937DD32) # Yichao Yu <yyc1992 at gmail.com>
-
-prepare() {
-  mkdir -p build{,-kde}
-
-  cd $pkgbase-$pkgver
-  patch -p1 -i ../qtcurve-gcc9.patch # Fix build with GCC 9
-}
-
-build() {
-  cd build
-  cmake ../$pkgbase-$pkgver \
-    -DQTC_QT5_ENABLE_KDE=false \
-    -DCMAKE_INSTALL_PREFIX=/usr
-  make
-
-  cd ../build-kde
-  cmake ../$pkgbase-$pkgver \
-    -DENABLE_GTK2=false
-  make
-}
-
-package_qtcurve-utils() {
-  pkgdesc='A configurable set of widget styles for KDE and Gtk (shared libraries)'
-  depends=(libx11 gcc-libs)
-  cd build/lib/utils
-  make DESTDIR="$pkgdir" install
-
-# Install translations
-  mkdir "$pkgdir"/usr/share
-  cp -r ../../locale "$pkgdir"/usr/share 
-}
-
-package_qtcurve-gtk2() {
-  pkgdesk='A configurable set of widget styles for Gtk2'
-  depends=(qtcurve-utils gtk2 perl)
-  cd build/gtk2
-  make DESTDIR="$pkgdir" install
-  cd ../lib/cairo
-  make DESTDIR="$pkgdir" install
-}
-
-package_qtcurve-qt5() {
-  pkgdesc='A configurable set of widget styles for Qt5'
-  depends=(qtcurve-utils qt5-svg qt5-x11extras)
-  groups=()
-  cd build/qt5
-  make DESTDIR="$pkgdir" install
-}
-
-package_qtcurve-kde() {
-  pkgdesc='A configurable set of widget styles for Qt5 (with KDE integration)'
-  depends=(qtcurve-utils kdelibs4support frameworkintegration)
-  conflicts=(qtcurve-qt5)
-  cd build-kde/qt5
-  make DESTDIR="$pkgdir" install
-}

Copied: qtcurve/repos/community-x86_64/PKGBUILD (from rev 855740, qtcurve/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2021-02-11 10:49:47 UTC (rev 855741)
@@ -0,0 +1,73 @@
+# Maintainer: Antonio Rojas <arojas at archlinux.org>
+# Contributor: speps <speps at aur dot archlinux dot org>
+# Contributor: Sven-Hendrik Haase <sh at lutzhaase.com>
+# Contributor: Andrea Scarpino <andrea at archlinux.org>
+# Contributor: Pierre Schmitz <pierre at archlinux.de>
+
+pkgbase=qtcurve
+pkgname=(qtcurve-utils qtcurve-gtk2 qtcurve-qt5 qtcurve-kde)
+epoch=1
+pkgver=1.9
+pkgrel=5
+pkgdesc='A configurable set of widget styles for KDE and Gtk'
+arch=(x86_64)
+url='https://github.com/KDE/qtcurve/'
+license=(LGPL)
+groups=(qtcurve)
+makedepends=(extra-cmake-modules gtk2 kdelibs4support kdoctools frameworkintegration kdesignerplugin kinit)
+source=(https://download.kde.org/stable/$pkgbase/$pkgbase-$pkgver.tar.xz{,.sig}
+        qtcurve-gcc9.patch::"https://invent.kde.org/system/qtcurve/-/commit/ee2228ea.patch"
+        qtcurve-qt5.15.patch::"https://invent.kde.org/system/qtcurve/-/commit/44e2a35e.patch")
+sha256sums=('281f5e3d13b0c1c0aeea6f5c7e895aedcb8f4ce91bdbd12d068d3616bc6d2f99'
+            'SKIP'
+            'fddbc6a58f5ee14de38f42554a3b559835361524e5a416d62500ff62c4265748'
+            'b965861d96681b446de5693d87d762861a00feff77c79dc243edc2b60e82ad3e')
+validpgpkeys=(D88390B2991F8242FABD2A3C07F45E2A1937DD32) # Yichao Yu <yyc1992 at gmail.com>
+
+prepare() {
+  cd $pkgbase-$pkgver
+  patch -p1 -i ../qtcurve-gcc9.patch # Fix build with GCC 9
+  patch -p1 -i ../qtcurve-qt5.15.patch # Fix build with Qt 5.15
+}
+
+build() {
+  cmake -B build -S $pkgbase-$pkgver \
+    -DQTC_QT5_ENABLE_KDE=false \
+    -DCMAKE_INSTALL_PREFIX=/usr
+  cmake --build build
+
+  cmake -B build-kde S $pkgbase-$pkgver \
+    -DENABLE_GTK2=false
+  cmake --build build-kde
+}
+
+package_qtcurve-utils() {
+  pkgdesc='A configurable set of widget styles for KDE and Gtk (shared libraries)'
+  depends=(libx11 gcc-libs)
+  DESTDIR="$pkgdir" cmake --install build/lib/utils
+
+# Install translations
+  mkdir "$pkgdir"/usr/share
+  cp -r build/locale "$pkgdir"/usr/share 
+}
+
+package_qtcurve-gtk2() {
+  pkgdesk='A configurable set of widget styles for Gtk2'
+  depends=(qtcurve-utils gtk2 perl)
+  DESTDIR="$pkgdir" cmake --install build/gtk2
+  DESTDIR="$pkgdir" cmake --install build/lib/cairo
+}
+
+package_qtcurve-qt5() {
+  pkgdesc='A configurable set of widget styles for Qt5'
+  depends=(qtcurve-utils qt5-svg qt5-x11extras)
+  groups=()
+  DESTDIR="$pkgdir" cmake --install build/qt5
+}
+
+package_qtcurve-kde() {
+  pkgdesc='A configurable set of widget styles for Qt5 (with KDE integration)'
+  depends=(qtcurve-utils kdelibs4support frameworkintegration)
+  conflicts=(qtcurve-qt5)
+  DESTDIR="$pkgdir" cmake --install build-kde/qt5
+}



More information about the arch-commits mailing list