[arch-commits] Commit in lightdm/trunk (PKGBUILD)
Maxime Gauduin
alucryd at nymeria.archlinux.org
Tue Apr 16 08:18:19 UTC 2013
Date: Tuesday, April 16, 2013 @ 10:18:19
Author: alucryd
Revision: 88300
upgpkg: lightdm 1:1.6.0-1
Modified:
lightdm/trunk/PKGBUILD
----------+
PKGBUILD | 28 +++++++++++++++++++++++-----
1 file changed, 23 insertions(+), 5 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2013-04-16 08:13:40 UTC (rev 88299)
+++ PKGBUILD 2013-04-16 08:18:19 UTC (rev 88300)
@@ -3,8 +3,8 @@
# Contributor: Morfeo <morfeo89 at hotmail.it>
pkgbase=lightdm
-pkgname=('lightdm' 'liblightdm-qt4')
-pkgver=1.4.1
+pkgname=('lightdm' 'liblightdm-qt4' 'liblightdm-qt5')
+pkgver=1.6.0
pkgrel=1
epoch=1
pkgdesc="A lightweight display manager"
@@ -12,9 +12,9 @@
url="https://launchpad.net/lightdm"
license=('GPL3' 'LGPL3')
groups=('lightdm')
-makedepends=('gobject-introspection' 'gtk-doc' 'intltool' 'itstool' 'libxklavier' 'qt4')
+makedepends=('gobject-introspection' 'gtk-doc' 'intltool' 'itstool' 'libxklavier' 'qt4' 'qt5-base' 'yelp-tools')
options=('!emptydirs' '!libtool')
-source=("https://launchpad.net/lightdm/1.4/${pkgver}/+download/${pkgbase}-${pkgver}.tar.gz"
+source=("https://launchpad.net/lightdm/1.6/${pkgver}/+download/${pkgbase}-${pkgver}.tar.xz"
'lightdm.service'
'lightdm.tmpfiles'
'lightdm.pam'
@@ -23,7 +23,7 @@
'lightdm-default-config.patch'
'lightdm-lock-screen-before-switch.patch'
'xsession')
-sha256sums=('f9ca1c03c3330b6265d03048f1ebafda596c436f279b5382bda656ab3a619439'
+sha256sums=('882ece568df0d81c0b6e399ff00b3f89eee6d50efc09ad1c52c61d8753efb419'
'2e03423cbe88c9fdc3a9684d6d14221aa6e92d105f9d1d53b08747d966c45125'
'b29521fbd7a48a8f60b93ecca3b30c30bcb71560de8033c8d39b25c22c6f696f'
'e8c4c5fd3b801a390d201166fd1fb9730e78a5c62928768103b870b6bd980ea0'
@@ -38,6 +38,7 @@
patch -Np1 -i ../lightdm-default-config.patch
patch -Np1 -i ../lightdm-lock-screen-before-switch.patch
+ sed -i 's/MOC5 --qt=qt5/MOC5/' configure
}
build() {
@@ -95,6 +96,23 @@
make DESTDIR="${pkgdir}" -C liblightdm-gobject install
make DESTDIR="${pkgdir}" -C liblightdm-qt install
make DESTDIR="${pkgdir}" -C liblightdm-gobject uninstall
+ find "${pkgdir}" -type d -name *qt5* -exec rm -rf {} +
+ find "${pkgdir}" -type f -name *qt5* -exec rm {} +
+ find "${pkgdir}" -type l -name *qt5* -exec rm {} +
}
+package_liblightdm-qt5() {
+pkgdesc=('LightDM Qt client library')
+depends=('lightdm' 'qt5-base')
+
+ cd "${srcdir}"/${pkgbase}-${pkgver}
+
+ make DESTDIR="${pkgdir}" -C liblightdm-gobject install
+ make DESTDIR="${pkgdir}" -C liblightdm-qt install
+ make DESTDIR="${pkgdir}" -C liblightdm-gobject uninstall
+ find "${pkgdir}" -type d -name *qt[!5]* -exec rm -rf {} +
+ find "${pkgdir}" -type f -name *qt[!5]* -exec rm {} +
+ find "${pkgdir}" -type l -name *qt[!5]* -exec rm {} +
+}
+
# vim: ts=2 sw=2 et:
More information about the arch-commits
mailing list