[arch-commits] Commit in dtkgui/trunk (PKGBUILD)

Felix Yan felixonmars at archlinux.org
Sat Jun 5 21:09:39 UTC 2021


    Date: Saturday, June 5, 2021 @ 21:09:38
  Author: felixonmars
Revision: 956159

upgpkg: dtkgui 5.5.2-1

Modified:
  dtkgui/trunk/PKGBUILD

----------+
 PKGBUILD |   12 ++++++++++--
 1 file changed, 10 insertions(+), 2 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2021-06-05 21:05:38 UTC (rev 956158)
+++ PKGBUILD	2021-06-05 21:09:38 UTC (rev 956159)
@@ -1,7 +1,7 @@
 # Maintainer: Felix Yan <felixonmars at archlinux.org>
 
 pkgname=dtkgui
-pkgver=5.4.13
+pkgver=5.5.2
 pkgrel=1
 pkgdesc='Deepin Toolkit, gui module for DDE look and feel'
 arch=('x86_64')
@@ -10,8 +10,16 @@
 depends=('dtkcore' 'librsvg' 'qt5-x11extras')
 makedepends=('qt5-tools' 'gtest')
 source=("https://github.com/linuxdeepin/dtkgui/archive/$pkgver/$pkgname-$pkgver.tar.gz")
-sha512sums=('cc1e3d776f11ad7583af005662439a2490cc53304220db3b36bf6492de30871006e523bbc8fbb2af34b1107aa521e723d5a0047e6b024b431dd51ff19c5363fd')
+sha512sums=('964d01b8453a3134d94cb20da5e6dd2ff09561e2a3f06b4bf7f45afad87d924ff0a1ee71a9c766774a6af56217e0fb935abd30917e136b9d3f0937961418be2a')
 
+prepare() {
+  cd dtkgui-$pkgver
+  # Patch out 5.5 suffix. The version number in dtkcore & friends never matched their tags,
+  # and current version of dde-session-shell requires 5.5 explicitly. Let's make qmake and
+  # cmake happy while upstream didn't react on this matter.
+  find . -name '*.pro' -exec sed -i 's/dtkcore5.5/dtkcore/g;s/dtkgui5.5/dtkgui/g' {} \;
+}
+
 build() {
   cd dtkgui-$pkgver
   qmake-qt5 PREFIX=/usr DTK_VERSION=$pkgver LIB_INSTALL_DIR=/usr/lib



More information about the arch-commits mailing list