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

Felix Yan felixonmars at archlinux.org
Tue Jul 7 09:57:28 UTC 2020


    Date: Tuesday, July 7, 2020 @ 09:57:28
  Author: felixonmars
Revision: 658104

archrelease: copy trunk to community-x86_64

Added:
  dtkwidget/repos/community-x86_64/PKGBUILD
    (from rev 658103, dtkwidget/trunk/PKGBUILD)
Deleted:
  dtkwidget/repos/community-x86_64/PKGBUILD

----------+
 PKGBUILD |   63 ++++++++++++++++++++++++++++++++-----------------------------
 1 file changed, 34 insertions(+), 29 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2020-07-07 09:57:18 UTC (rev 658103)
+++ PKGBUILD	2020-07-07 09:57:28 UTC (rev 658104)
@@ -1,29 +0,0 @@
-# Maintainer: Felix Yan <felixonmars at archlinux.org>
-# Contributor: Josip Ponjavic <josipponjavic at gmail dot com>
-# Contributor: Xu Fasheng <fasheng.xu[AT]gmail.com>
-
-pkgname=dtkwidget
-pkgver=5.2.2.1
-pkgrel=1
-pkgdesc='Deepin graphical user interface library'
-arch=('x86_64')
-url="https://github.com/linuxdeepin/dtkwidget"
-license=('LGPL3')
-depends=('deepin-qt-dbus-factory' 'dtkcore' 'dtkgui' 'librsvg' 'qt5-multimedia' 'qt5-svg'
-         'qt5-x11extras' 'startup-notification')
-makedepends=('qt5-tools')
-replaces=('deepin-tool-kit')
-conflicts=('deepin-tool-kit<0.3.4')
-source=("$pkgname-$pkgver.tar.gz::https://github.com/linuxdeepin/dtkwidget/archive/$pkgver.tar.gz")
-sha512sums=('e856386656f8abf305c28b877ea026042bc2eb6a52ca240f9be80775287cbddeecfebfa8de18fd100553ec08129bb675aa361218bf7b818ec413aec866d0cf91')
-
-build() {
-  cd dtkwidget-$pkgver
-  qmake-qt5 PREFIX=/usr
-  make
-}
-
-package() {
-  cd dtkwidget-$pkgver
-  make INSTALL_ROOT="$pkgdir" install
-}

Copied: dtkwidget/repos/community-x86_64/PKGBUILD (from rev 658103, dtkwidget/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2020-07-07 09:57:28 UTC (rev 658104)
@@ -0,0 +1,34 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Contributor: Josip Ponjavic <josipponjavic at gmail dot com>
+# Contributor: Xu Fasheng <fasheng.xu[AT]gmail.com>
+
+pkgname=dtkwidget
+pkgver=5.2.2.2
+pkgrel=1
+pkgdesc='Deepin graphical user interface library'
+arch=('x86_64')
+url="https://github.com/linuxdeepin/dtkwidget"
+license=('LGPL3')
+depends=('deepin-qt-dbus-factory' 'dtkcore' 'dtkgui' 'librsvg' 'qt5-multimedia' 'qt5-svg'
+         'qt5-x11extras' 'startup-notification')
+makedepends=('qt5-tools')
+replaces=('deepin-tool-kit')
+conflicts=('deepin-tool-kit<0.3.4')
+source=("$pkgname-$pkgver.tar.gz::https://github.com/linuxdeepin/dtkwidget/archive/$pkgver.tar.gz")
+sha512sums=('86a7f6be73b72dfbd065dee41fc3c198d92d7a3c21f7b90a9e60489131f6e710cd9ac4a2cac571b58e302ab6976416aa861695e44e259a8e555778961726421f')
+
+prepare() {
+  cd dtkwidget-$pkgver
+  sed -i '/#include <QPainter>/a #include <QPainterPath>' src/util/dwidgetutil.cpp
+}
+
+build() {
+  cd dtkwidget-$pkgver
+  qmake-qt5 PREFIX=/usr
+  make
+}
+
+package() {
+  cd dtkwidget-$pkgver
+  make INSTALL_ROOT="$pkgdir" install
+}


More information about the arch-commits mailing list