summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorZhang, DingYuan2020-08-07 19:27:19 +0800
committerZhang, DingYuan2020-08-07 19:27:19 +0800
commit1e769ae599f8fa83f9f6265fba70abe661240f55 (patch)
treeebf3b88d0c2ed89f8aebc158b930abff351a78a0
parentbad7c0b95b950a9cbb8da4c76209cfec12d7b6a5 (diff)
downloadaur-1e769ae599f8fa83f9f6265fba70abe661240f55.tar.gz
update
-rw-r--r--.SRCINFO12
-rw-r--r--PKGBUILD32
2 files changed, 25 insertions, 19 deletions
diff --git a/.SRCINFO b/.SRCINFO
index a1c4785ddd7..687904acc67 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,24 +1,24 @@
pkgbase = dtkwidget-git
pkgdesc = Deepin graphical user interface library
- pkgver = 2.0.8.1.r1.870cf29
+ pkgver = 5.2.2.3.r3.g4750dbfe
pkgrel = 1
url = https://github.com/linuxdeepin/dtkwidget
arch = x86_64
- license = GPL3
+ license = LGPL3
+ makedepends = git
makedepends = qt5-tools
depends = deepin-qt-dbus-factory
depends = dtkcore
+ depends = dtkgui
depends = librsvg
depends = qt5-multimedia
depends = qt5-svg
depends = qt5-x11extras
depends = startup-notification
provides = dtkwidget
- conflicts = deepin-tool-kit<0.3.4
conflicts = dtkwidget
- replaces = deepin-tool-kit
- options = debug
- source = git+https://github.com/linuxdeepin/dtkwidget.git
+ replaces = dtkwidget
+ source = git://github.com/linuxdeepin/dtkwidget.git
sha512sums = SKIP
pkgname = dtkwidget-git
diff --git a/PKGBUILD b/PKGBUILD
index 4d422b679c5..553f140baec 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,29 +1,35 @@
-# $Id$
# Maintainer: Haruyuki lxz <lxz@ilxz.me>
pkgname=dtkwidget-git
-pkgver=2.0.8.1.r1.870cf29
+pkgver=5.2.2.3.r3.g4750dbfe
pkgrel=1
pkgdesc='Deepin graphical user interface library'
arch=('x86_64')
url="https://github.com/linuxdeepin/dtkwidget"
-license=('GPL3')
-depends=('deepin-qt-dbus-factory' 'dtkcore' 'librsvg' 'qt5-multimedia' 'qt5-svg' 'qt5-x11extras'
- 'startup-notification')
-makedepends=('qt5-tools')
+license=('LGPL3')
+depends=('deepin-qt-dbus-factory' 'dtkcore' 'dtkgui' 'librsvg' 'qt5-multimedia' 'qt5-svg'
+ 'qt5-x11extras' 'startup-notification')
+makedepends=('git' 'qt5-tools')
+replaces=('dtkwidget')
+conflicts=('dtkwidget')
provides=('dtkwidget')
-replaces=('deepin-tool-kit')
-conflicts=('deepin-tool-kit<0.3.4' 'dtkwidget')
-options=('debug')
-source=("git+https://github.com/linuxdeepin/dtkwidget.git")
+source=("git://github.com/linuxdeepin/dtkwidget.git")
sha512sums=('SKIP')
+pkgver() {
+ cd dtkwidget
+ git describe --long --tags | sed 's/\([^-]*-g\)/r\1/;s/-/./g'
+}
+
+prepare() {
+ cd dtkwidget
+ sed -i '/#include <QPainter>/a #include <QPainterPath>' src/util/dwidgetutil.cpp
+}
+
build() {
cd dtkwidget
- git checkout 870cf29
- LDFLAGS=${LDFLAGS/,-z,now/}
qmake-qt5 PREFIX=/usr
- make -j4
+ make
}
package() {