milis/talimatname/genel/d/dtkwidget/talimat

21 lines
692 B
Plaintext
Raw Normal View History

2018-01-02 15:57:05 +01:00
# Tanım: Deepin grafiksel kullanıcı arabirimi kütüphanesi
# URL: https://github.com/linuxdeepin/dtkwidget
2018-08-17 11:54:52 +02:00
# Paketçi: Cihan_Alkan
2018-01-02 15:57:05 +01:00
# Gerekler: deepin-qt-dbus-factory dtkcore startup-notification qt5 librsvg
2018-08-17 11:54:52 +02:00
# Grup: kütüphane
2018-01-02 15:57:05 +01:00
isim=dtkwidget
2018-05-05 10:28:09 +02:00
surum=2.0.8
2018-01-02 15:57:05 +01:00
devir=1
kaynak=(https://github.com/linuxdeepin/dtkwidget/archive/$surum.tar.gz::dtkwidget-$surum.tar.gz)
derle() {
2018-01-02 16:29:02 +01:00
[ ! -f /usr/bin/lrelease ] && ln -s /usr/bin/lrelease-qt5 /usr/bin/lrelease
2018-05-05 10:28:09 +02:00
sed -i 's/x11/x11 xi/' dtkwidget-$surum/src/widgets/private/keyboardmonitor/keyboardmonitor.pri
2018-01-02 15:57:05 +01:00
cd dtkwidget-$surum
2018-05-05 10:28:09 +02:00
qmake-qt5 PREFIX=/usr
2018-01-02 15:57:05 +01:00
make
make INSTALL_ROOT="$PKG" install
2018-01-02 16:29:02 +01:00
[ -f /usr/bin/lrelease ] && rm /usr/bin/lrelease
2018-01-02 15:57:05 +01:00
}