Участник с: 29 августа 2009
|
проект Qt5Gtk2 для поддержки Gtk+ 2.0 в Qt5
https://bitbucket.org/trialuser02/qt5gtk2
PKGBUILD
pkgname=qt5gtk2
pkgver=0.1
pkgrel=1
pkgdesc="GTK+2.0 integration plugins for Qt5"
arch=('i686' 'x86_64')
url="https://bitbucket.org/trialuser02/qt5gtk2"
depends=('qt5-base')
install=qt5gtk2.install
source=("https://bitbucket.org/trialuser02/qt5gtk2/downloads/qt5gtk2-$pkgver.tar.bz2")
md5sums=(SKIP)
build() {
cd $pkgname-$pkgver
qmake PREFIX='/usr' LIBDIR='/usr/lib'
make
}
package() {
cd $pkgname-$pkgver
make INSTALL_ROOT="${pkgdir}" install
}
qt5gtk2.install
post_install() {
cat << EOF
Add line 'export QT_QPA_PLATFORMTHEME=qt5gtk2' to ~/.profile and re-login.
Alternatively, create the file /etc/X11/Xsession.d/100-qt5gtk2 with
the following line:
export QT_QPA_PLATFORMTHEME=qt5gtk2
Now restart X11 server to take the changes effect.
Files and directories:
libqt5gtk2.so - GTK+2.0 platform plugin
libqt5gtk2-style.so - GTK+2.0 style plugin
Attention!
Environment variable QT_STYLE_OVERRIDE should be removed before usage.
EOF
}
|