lightdm: added qt5 support.

This commit is contained in:
Juan RP 2015-02-23 12:36:55 +01:00
parent a81f38c7e6
commit b9dea95fe1
3 changed files with 14 additions and 4 deletions

View file

@ -713,6 +713,7 @@ libgtk-3.so.0 gtk+3-3.0.0_1
libgailutil-3.so.0 gtk+3-3.0.0_1
liblightdm-gobject-1.so.0 liblightdm-gobject-1.2.2_1
liblightdm-qt-3.so.0 liblightdm-qt-1.10.1_1
liblightdm-qt5-3.so.0 liblightdm-qt5-1.12.2_3
libcelt051.so.0 celt051-0.5.1.3_1
libcelt0.so.2 celt-0.11.1_1
libspice-server.so.1 spice-0.6.4_1

1
srcpkgs/liblightdm-qt5 Symbolic link
View file

@ -0,0 +1 @@
lightdm

View file

@ -1,7 +1,7 @@
# Template file for 'lightdm'
pkgname=lightdm
version=1.12.2
revision=2
revision=3
build_style=gnu-configure
configure_args="--with-greeter-session=lightdm-gtk-greeter
--with-greeter-user=lightdm --disable-static --disable-tests
@ -35,8 +35,9 @@ subpackages="liblightdm-gobject lightdm-devel"
if [ -z "$CROSS_BUILD" ]; then
build_options_default="gir"
makedepends+=" qt-devel"
subpackages+=" liblightdm-qt"
configure_args="MOC4=/usr/lib/qt/bin/moc MOC5=/usr/lib/qt5/bin/moc"
makedepends+=" qt-devel qt5-devel"
subpackages+=" liblightdm-qt liblightdm-qt5"
fi
post_install() {
@ -69,13 +70,20 @@ liblightdm-gobject_package() {
liblightdm-qt_package() {
short_desc+=" - QT 4.x support library"
pkg_install() {
vmove "usr/lib/liblightdm-qt*.so.*"
vmove "usr/lib/liblightdm-qt-3.so.*"
}
}
liblightdm-qt5_package() {
short_desc+=" - QT 5.x support library"
pkg_install() {
vmove "usr/lib/liblightdm-qt5*.so.*"
}
}
lightdm-devel_package() {
depends="libglib-devel liblightdm-gobject-${version}_${revision}"
if [ -z "$CROSS_BUILD" ]; then
depends+=" liblightdm-qt-${version}_${revision}"
depends+=" liblightdm-qt5-${version}_${revision}"
fi
short_desc+=" - development files"
pkg_install() {