wok rev 15190
lightdm: add Qt version lightdm-qt
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Wed Aug 28 17:57:06 2013 +0300 (2013-08-28) |
parents | 20fd4e3d8970 |
children | 6a7afc995cac |
files | lightdm-qt-dev/receipt lightdm-qt/description.txt lightdm-qt/receipt |
line diff
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/lightdm-qt-dev/receipt Wed Aug 28 17:57:06 2013 +0300 1.3 @@ -0,0 +1,26 @@ 1.4 +# SliTaz package receipt. 1.5 + 1.6 +PACKAGE="lightdm-qt-dev" 1.7 +VERSION="1.5.3" 1.8 +CATEGORY="development" 1.9 +SHORT_DESC="Development files for lightdm-qt" 1.10 +MAINTAINER="al.bobylev@gmail.com" 1.11 +LICENSE="GPL3 LGPL3" 1.12 +WEB_SITE="https://launchpad.net/lightdm" 1.13 + 1.14 +WANTED="lightdm-qt" 1.15 +DEPENDS="Qt4-dev lightdm-dev lightdm-qt xorg-libXi-dev xorg-libxkbfile-dev" 1.16 + 1.17 +# Rules to gen a SliTaz package suitable for Tazpkg. 1.18 +genpkg_rules() 1.19 +{ 1.20 + mkdir -p \ 1.21 + $fs/usr/lib \ 1.22 + $fs/usr/share 1.23 + cp -a $install/usr/include $fs/usr 1.24 + cp -a $install/usr/lib/girepository* $fs/usr/lib 1.25 + cp -a $install/usr/lib/pkgconfig $fs/usr/lib 1.26 + cp -a $install/usr/lib/*.la $fs/usr/lib 1.27 + cp -a $install/usr/share/gir* $fs/usr/share 1.28 + cp -a $install/usr/share/vala $fs/usr/share 1.29 +}
2.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 2.2 +++ b/lightdm-qt/description.txt Wed Aug 28 17:57:06 2013 +0300 2.3 @@ -0,0 +1,5 @@ 2.4 +An display manager that: 2.5 + * Has a lightweight codebase 2.6 + * Is standards compliant (PAM, ConsoleKit, etc) 2.7 + * Has a well defined interface between the server and user interface 2.8 + * Cross-desktop (greeters can be written in any toolkit)
3.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 3.2 +++ b/lightdm-qt/receipt Wed Aug 28 17:57:06 2013 +0300 3.3 @@ -0,0 +1,56 @@ 3.4 +# SliTaz package receipt. 3.5 + 3.6 +PACKAGE="lightdm-qt" 3.7 +VERSION="1.5.3" 3.8 +CATEGORY="system-tools" 3.9 +SHORT_DESC="A lightweight display manager for Qt" 3.10 +MAINTAINER="al.bobylev@gmail.com" 3.11 +LICENSE="GPL3 LGPL3" 3.12 +WEB_SITE="https://launchpad.net/lightdm" 3.13 +SOURCE="lightdm" 3.14 +TARBALL="$SOURCE-$VERSION.tar.xz" 3.15 +WGET_URL="https://launchpad.net/$SOURCE/1.8/$VERSION/+download/$TARBALL" 3.16 +HELP="https://wiki.archlinux.org/index.php/LightDM" 3.17 +CONFIG_FILES="/etc/init/lightdm.conf /etc/lightdm/keys.conf \ 3.18 +/etc/lightdm/lightdm.conf /etc/lightdm/users.conf" 3.19 + 3.20 +DEPENDS="libQtDBus libQtGui libgcrypt libgio libxklavier pam" 3.21 +BUILD_DEPENDS="Qt4-dev gobject-introspection-dev pam-dev itstool libxklavier-dev \ 3.22 +libgcrypt-dev wget xorg-libXdmcp-dev xorg-libX11-dev xorg-libXi-dev \ 3.23 +xorg-libxkbfile-dev" 3.24 + 3.25 +# Rules to configure and make the package. 3.26 +compile_rules() 3.27 +{ 3.28 + ./configure \ 3.29 + --libexecdir=/usr/lib \ 3.30 + --sysconfdir=/etc \ 3.31 + --disable-static \ 3.32 + --enable-introspection \ 3.33 + --enable-liblightdm-gobject \ 3.34 + --disable-gtk-doc \ 3.35 + --with-greeter-session=lightdm-gtk-greeter \ 3.36 + $CONFIGURE_ARGS && 3.37 + make && 3.38 + make install 3.39 +} 3.40 + 3.41 +# Rules to gen a SliTaz package suitable for Tazpkg. 3.42 +genpkg_rules() 3.43 +{ 3.44 + mkdir -p \ 3.45 + $fs/usr/lib \ 3.46 + $fs/usr/share/locale 3.47 + cp -a $install/etc $fs 3.48 + cp -a $install/usr/bin $fs/usr 3.49 + cp -a $install/usr/lib/lightdm $fs/usr/lib 3.50 + cp -a $install/usr/lib/*.so* $fs/usr/lib 3.51 + cp -a $install/usr/sbin $fs/usr 3.52 + 3.53 + # localization 3.54 + . $WOK/slitaz-i18n/stuff/locale-pack.conf 3.55 + for lang in $LOCALE_PACK; do 3.56 + langf=$install/usr/share/locale/$lang 3.57 + [ -d $langf ] && cp -a $langf $fs/usr/share/locale 3.58 + done 3.59 +}