Update talimat

This commit is contained in:
Aylinux 2018-05-05 11:28:09 +03:00 committed by GitHub
parent 686f883174
commit afca2c14e0
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 # Gerekler: deepin-qt-dbus-factory dtkcore startup-notification qt5 librsvg
isim=dtkwidget isim=dtkwidget
surum=2.0.5.3 surum=2.0.8
devir=1 devir=1
kaynak=(https://github.com/linuxdeepin/dtkwidget/archive/$surum.tar.gz::dtkwidget-$surum.tar.gz) kaynak=(https://github.com/linuxdeepin/dtkwidget/archive/$surum.tar.gz::dtkwidget-$surum.tar.gz)
derle() { derle() {
[ ! -f /usr/bin/lrelease ] && ln -s /usr/bin/lrelease-qt5 /usr/bin/lrelease [ ! -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 cd dtkwidget-$surum
qmake-qt5 PREFIX=/usr DBUS_VERSION_0_4_2=YES qmake-qt5 PREFIX=/usr
make make
make INSTALL_ROOT="$PKG" install make INSTALL_ROOT="$PKG" install
[ -f /usr/bin/lrelease ] && rm /usr/bin/lrelease [ -f /usr/bin/lrelease ] && rm /usr/bin/lrelease