Merge pull request #524 from oltulu/patch-311

Update talimat
This commit is contained in:
Milli İşletim Sistemi (Milis Linux) 2018-05-07 10:02:36 +03:00 committed by GitHub
commit 3bde4d3c68
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 2 deletions

View File

@ -4,14 +4,15 @@
# Gerekler: deepin-qt-dbus-factory dtkcore startup-notification qt5 librsvg
isim=dtkwidget
surum=2.0.5.3
surum=2.0.8
devir=1
kaynak=(https://github.com/linuxdeepin/dtkwidget/archive/$surum.tar.gz::dtkwidget-$surum.tar.gz)
derle() {
[ ! -f /usr/bin/lrelease ] && ln -s /usr/bin/lrelease-qt5 /usr/bin/lrelease
sed -i 's/x11/x11 xi/' dtkwidget-$surum/src/widgets/private/keyboardmonitor/keyboardmonitor.pri
cd dtkwidget-$surum
qmake-qt5 PREFIX=/usr DBUS_VERSION_0_4_2=YES
qmake-qt5 PREFIX=/usr
make
make INSTALL_ROOT="$PKG" install
[ -f /usr/bin/lrelease ] && rm /usr/bin/lrelease