Date: Monday, December 7, 2015 @ 16:35:14 Author: fyan Revision: 253472
archrelease: copy trunk to staging-i686, staging-x86_64 Added: lightdm-kde-greeter/repos/staging-i686/ lightdm-kde-greeter/repos/staging-i686/PKGBUILD (from rev 253471, lightdm-kde-greeter/trunk/PKGBUILD) lightdm-kde-greeter/repos/staging-i686/findlightdm.patch (from rev 253471, lightdm-kde-greeter/trunk/findlightdm.patch) lightdm-kde-greeter/repos/staging-i686/lightdm-kde-greeter.conf (from rev 253471, lightdm-kde-greeter/trunk/lightdm-kde-greeter.conf) lightdm-kde-greeter/repos/staging-x86_64/ lightdm-kde-greeter/repos/staging-x86_64/PKGBUILD (from rev 253471, lightdm-kde-greeter/trunk/PKGBUILD) lightdm-kde-greeter/repos/staging-x86_64/findlightdm.patch (from rev 253471, lightdm-kde-greeter/trunk/findlightdm.patch) lightdm-kde-greeter/repos/staging-x86_64/lightdm-kde-greeter.conf (from rev 253471, lightdm-kde-greeter/trunk/lightdm-kde-greeter.conf) -----------------------------------------+ staging-i686/PKGBUILD | 52 ++++++++++++++++++++++++++++++ staging-i686/findlightdm.patch | 33 +++++++++++++++++++ staging-i686/lightdm-kde-greeter.conf | 2 + staging-x86_64/PKGBUILD | 52 ++++++++++++++++++++++++++++++ staging-x86_64/findlightdm.patch | 33 +++++++++++++++++++ staging-x86_64/lightdm-kde-greeter.conf | 2 + 6 files changed, 174 insertions(+) Copied: lightdm-kde-greeter/repos/staging-i686/PKGBUILD (from rev 253471, lightdm-kde-greeter/trunk/PKGBUILD) =================================================================== --- staging-i686/PKGBUILD (rev 0) +++ staging-i686/PKGBUILD 2015-12-07 15:35:14 UTC (rev 253472) @@ -0,0 +1,52 @@ +# $Id$ +# Maintainer: Maxime Gauduin <aluc...@gmail.com> +# Contributor: Massimiliano Torromeo <massimiliano.torro...@gmail.com> +# Contributor: Mladen Pejakovic <pej...@gmail.com> +# Contributor: Xiao-Long Chen <chenxiaol...@cxl.epac.to> + +pkgname=lightdm-kde-greeter +pkgver=0.3.2.2 +pkgrel=3 +pkgdesc='KDE greeter for LightDM' +arch=('i686' 'x86_64') +url='https://projects.kde.org/projects/playground/base/lightdm' +license=('GPL') +depends=('kdebase-runtime' 'liblightdm-qt4') +makedepends=('cmake' 'automoc4') +backup=('etc/lightdm/lightdm-kde-greeter.conf' + 'etc/dbus-1/system.d/org.kde.kcontrol.kcmlightdm.conf') +source=("http://download.kde.org/unstable/${pkgname%-*}/src/${pkgname%%-*}-${pkgver}.tar.bz2" + 'findlightdm.patch' + 'lightdm-kde-greeter.conf') +sha256sums=('7948ef6a5f6639abd61be02cbdf886823b0d227b4411361737d1a44cca606b09' + '9a042204df841f93a817c0613284bb09006e5dc4af910648025e7ab1bb56e114' + 'a8fe10ef68d553781b91b1377106f95915c3ca14d835bd66910e08f922ef64c8') + +prepare() { + cd lightdm-0.3.2.1 + + sed 's/sbin/bin/' -i greeter/CMakeLists.txt + patch -Np1 -i ../findlightdm.patch +} + +build() { + cd lightdm-0.3.2.1 + + if [[ -d build ]]; then + rm -rf build + fi + mkdir build && cd build + + cmake .. -DCMAKE_INSTALL_PREFIX='/usr' + make +} + +package() { + cd lightdm-0.3.2.1/build + + make DESTDIR="${pkgdir}" install + install -dm 755 "${pkgdir}"/etc/lightdm + install -m 644 ../../lightdm-kde-greeter.conf "${pkgdir}"/etc/lightdm/lightdm-kde-greeter.conf +} + +# vim ts=2 sw=2 et: Copied: lightdm-kde-greeter/repos/staging-i686/findlightdm.patch (from rev 253471, lightdm-kde-greeter/trunk/findlightdm.patch) =================================================================== --- staging-i686/findlightdm.patch (rev 0) +++ staging-i686/findlightdm.patch 2015-12-07 15:35:14 UTC (rev 253472) @@ -0,0 +1,33 @@ +--- a/cmake/modules/FindQLightDM.cmake ++++ b/cmake/modules/FindQLightDM.cmake +@@ -19,10 +19,19 @@ + find_package(PkgConfig) + if(PKG_CONFIG_FOUND) + if (QLIGHTDM_MIN_VERSION) +- PKG_CHECK_MODULES(PC_QLIGHTDM liblightdm-qt-2>=${QLIGHTDM_MIN_VERSION}) ++ PKG_CHECK_MODULES(PC_QLIGHTDM liblightdm-qt-3>=${QLIGHTDM_MIN_VERSION}) + else (QLIGHTDM_MIN_VERSION) +- PKG_CHECK_MODULES(PC_QLIGHTDM liblightdm-qt-2) ++ PKG_CHECK_MODULES(PC_QLIGHTDM liblightdm-qt-3) + endif (QLIGHTDM_MIN_VERSION) ++ SET (QLIGHTDM_API 3) ++ if (NOT PC_QLIGHTDM_FOUND) ++ if (QLIGHTDM_MIN_VERSION) ++ PKG_CHECK_MODULES(PC_QLIGHTDM liblightdm-qt-2>=${QLIGHTDM_MIN_VERSION}) ++ else (QLIGHTDM_MIN_VERSION) ++ PKG_CHECK_MODULES(PC_QLIGHTDM liblightdm-qt-2) ++ endif (QLIGHTDM_MIN_VERSION) ++ SET (QLIGHTDM_API 2) ++ endif (NOT PC_QLIGHTDM_FOUND) + endif(PKG_CONFIG_FOUND) + + +@@ -34,7 +43,7 @@ + ) + + find_library(QLIGHTDM_LIBRARIES +- NAMES lightdm-qt-2 ++ NAMES lightdm-qt-${QLIGHTDM_API} + HINTS + ${PC_QLIGHTDM_LIBDIR} + ${PC_QLIGHTDM_LIBRARY_DIRS} Copied: lightdm-kde-greeter/repos/staging-i686/lightdm-kde-greeter.conf (from rev 253471, lightdm-kde-greeter/trunk/lightdm-kde-greeter.conf) =================================================================== --- staging-i686/lightdm-kde-greeter.conf (rev 0) +++ staging-i686/lightdm-kde-greeter.conf 2015-12-07 15:35:14 UTC (rev 253472) @@ -0,0 +1,2 @@ +[greeter] +theme-name=classic Copied: lightdm-kde-greeter/repos/staging-x86_64/PKGBUILD (from rev 253471, lightdm-kde-greeter/trunk/PKGBUILD) =================================================================== --- staging-x86_64/PKGBUILD (rev 0) +++ staging-x86_64/PKGBUILD 2015-12-07 15:35:14 UTC (rev 253472) @@ -0,0 +1,52 @@ +# $Id$ +# Maintainer: Maxime Gauduin <aluc...@gmail.com> +# Contributor: Massimiliano Torromeo <massimiliano.torro...@gmail.com> +# Contributor: Mladen Pejakovic <pej...@gmail.com> +# Contributor: Xiao-Long Chen <chenxiaol...@cxl.epac.to> + +pkgname=lightdm-kde-greeter +pkgver=0.3.2.2 +pkgrel=3 +pkgdesc='KDE greeter for LightDM' +arch=('i686' 'x86_64') +url='https://projects.kde.org/projects/playground/base/lightdm' +license=('GPL') +depends=('kdebase-runtime' 'liblightdm-qt4') +makedepends=('cmake' 'automoc4') +backup=('etc/lightdm/lightdm-kde-greeter.conf' + 'etc/dbus-1/system.d/org.kde.kcontrol.kcmlightdm.conf') +source=("http://download.kde.org/unstable/${pkgname%-*}/src/${pkgname%%-*}-${pkgver}.tar.bz2" + 'findlightdm.patch' + 'lightdm-kde-greeter.conf') +sha256sums=('7948ef6a5f6639abd61be02cbdf886823b0d227b4411361737d1a44cca606b09' + '9a042204df841f93a817c0613284bb09006e5dc4af910648025e7ab1bb56e114' + 'a8fe10ef68d553781b91b1377106f95915c3ca14d835bd66910e08f922ef64c8') + +prepare() { + cd lightdm-0.3.2.1 + + sed 's/sbin/bin/' -i greeter/CMakeLists.txt + patch -Np1 -i ../findlightdm.patch +} + +build() { + cd lightdm-0.3.2.1 + + if [[ -d build ]]; then + rm -rf build + fi + mkdir build && cd build + + cmake .. -DCMAKE_INSTALL_PREFIX='/usr' + make +} + +package() { + cd lightdm-0.3.2.1/build + + make DESTDIR="${pkgdir}" install + install -dm 755 "${pkgdir}"/etc/lightdm + install -m 644 ../../lightdm-kde-greeter.conf "${pkgdir}"/etc/lightdm/lightdm-kde-greeter.conf +} + +# vim ts=2 sw=2 et: Copied: lightdm-kde-greeter/repos/staging-x86_64/findlightdm.patch (from rev 253471, lightdm-kde-greeter/trunk/findlightdm.patch) =================================================================== --- staging-x86_64/findlightdm.patch (rev 0) +++ staging-x86_64/findlightdm.patch 2015-12-07 15:35:14 UTC (rev 253472) @@ -0,0 +1,33 @@ +--- a/cmake/modules/FindQLightDM.cmake ++++ b/cmake/modules/FindQLightDM.cmake +@@ -19,10 +19,19 @@ + find_package(PkgConfig) + if(PKG_CONFIG_FOUND) + if (QLIGHTDM_MIN_VERSION) +- PKG_CHECK_MODULES(PC_QLIGHTDM liblightdm-qt-2>=${QLIGHTDM_MIN_VERSION}) ++ PKG_CHECK_MODULES(PC_QLIGHTDM liblightdm-qt-3>=${QLIGHTDM_MIN_VERSION}) + else (QLIGHTDM_MIN_VERSION) +- PKG_CHECK_MODULES(PC_QLIGHTDM liblightdm-qt-2) ++ PKG_CHECK_MODULES(PC_QLIGHTDM liblightdm-qt-3) + endif (QLIGHTDM_MIN_VERSION) ++ SET (QLIGHTDM_API 3) ++ if (NOT PC_QLIGHTDM_FOUND) ++ if (QLIGHTDM_MIN_VERSION) ++ PKG_CHECK_MODULES(PC_QLIGHTDM liblightdm-qt-2>=${QLIGHTDM_MIN_VERSION}) ++ else (QLIGHTDM_MIN_VERSION) ++ PKG_CHECK_MODULES(PC_QLIGHTDM liblightdm-qt-2) ++ endif (QLIGHTDM_MIN_VERSION) ++ SET (QLIGHTDM_API 2) ++ endif (NOT PC_QLIGHTDM_FOUND) + endif(PKG_CONFIG_FOUND) + + +@@ -34,7 +43,7 @@ + ) + + find_library(QLIGHTDM_LIBRARIES +- NAMES lightdm-qt-2 ++ NAMES lightdm-qt-${QLIGHTDM_API} + HINTS + ${PC_QLIGHTDM_LIBDIR} + ${PC_QLIGHTDM_LIBRARY_DIRS} Copied: lightdm-kde-greeter/repos/staging-x86_64/lightdm-kde-greeter.conf (from rev 253471, lightdm-kde-greeter/trunk/lightdm-kde-greeter.conf) =================================================================== --- staging-x86_64/lightdm-kde-greeter.conf (rev 0) +++ staging-x86_64/lightdm-kde-greeter.conf 2015-12-07 15:35:14 UTC (rev 253472) @@ -0,0 +1,2 @@ +[greeter] +theme-name=classic