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

Felix Yan felixonmars at archlinux.org
Sun May 10 20:55:20 UTC 2020


    Date: Sunday, May 10, 2020 @ 20:55:19
  Author: felixonmars
Revision: 626230

archrelease: copy trunk to community-x86_64

Added:
  deepin-draw/repos/community-x86_64/PKGBUILD
    (from rev 626229, deepin-draw/trunk/PKGBUILD)
Deleted:
  deepin-draw/repos/community-x86_64/PKGBUILD

----------+
 PKGBUILD |   58 ++++++++++++++++++++++++++++++++--------------------------
 1 file changed, 32 insertions(+), 26 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2020-05-10 20:54:56 UTC (rev 626229)
+++ PKGBUILD	2020-05-10 20:55:19 UTC (rev 626230)
@@ -1,26 +0,0 @@
-# Maintainer: Felix Yan <felixonmars at archlinux.org>
-
-pkgname=deepin-draw
-pkgver=5.8.0.15
-pkgrel=2
-pkgdesc="A lightweight drawing tool for Linux Deepin"
-arch=('x86_64')
-url="https://github.com/linuxdeepin/deepin-draw"
-license=('GPL3')
-depends=('deepin-picker' 'deepin-qt5integration' 'freeimage' 'libexif' 'qt5-imageformats')
-makedepends=('qt5-tools')
-groups=('deepin-extra')
-source=("$pkgname-$pkgver.tar.gz::https://github.com/linuxdeepin/deepin-draw/archive/$pkgver.tar.gz")
-sha512sums=('910dd748c524f6ba6c148d61ced068aff224a9f8fbc3bf168f92b06937cea786ece78be51caf9bda9f1d1b52e83ee1426307f31e54470661f4574ce849005a13')
-
-build() {
-  cd deepin-draw-$pkgver
-
-  qmake-qt5
-  make
-}
-
-package() {
-  cd deepin-draw-$pkgver
-  make INSTALL_ROOT="$pkgdir" install
-}

Copied: deepin-draw/repos/community-x86_64/PKGBUILD (from rev 626229, deepin-draw/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2020-05-10 20:55:19 UTC (rev 626230)
@@ -0,0 +1,32 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+pkgname=deepin-draw
+pkgver=5.8.0.16
+pkgrel=1
+pkgdesc="A lightweight drawing tool for Linux Deepin"
+arch=('x86_64')
+url="https://github.com/linuxdeepin/deepin-draw"
+license=('GPL3')
+depends=('deepin-picker' 'deepin-qt5integration' 'freeimage' 'libexif' 'qt5-imageformats')
+makedepends=('qt5-tools')
+groups=('deepin-extra')
+source=("$pkgname-$pkgver.tar.gz::https://github.com/linuxdeepin/deepin-draw/archive/$pkgver.tar.gz")
+sha512sums=('c1594791d65082e73eae234f5360c2e48a7bc3a6f00dfd325bec39a2e6159ad0a69684a503f379c3183db0d91702f4d55c9d77a82352b6f6d2051624f3e5fdc8')
+
+prepare() {
+  cd deepin-draw-$pkgver
+  sed -i '/include <DGraphicsView>/i #include <QFileDevice>' frame/cgraphicsview.h
+  sed -i '/include <QPainter>/a #include <QMouseEvent>' widgets/ciconbutton.cpp
+}
+
+build() {
+  cd deepin-draw-$pkgver
+
+  qmake-qt5
+  make
+}
+
+package() {
+  cd deepin-draw-$pkgver
+  make INSTALL_ROOT="$pkgdir" install
+}



More information about the arch-commits mailing list