wok annotate lightdm-qt/receipt @ rev 25144

updated plymouth (0.9.4 -> 0.9.5)
author Hans-G?nter Theisgen
date Wed Jun 29 14:52:59 2022 +0100 (2022-06-29)
parents 1bd2c6414e5a
children
rev   line source
al@15190 1 # SliTaz package receipt.
al@15190 2
al@15190 3 PACKAGE="lightdm-qt"
al@15190 4 VERSION="1.5.3"
al@15190 5 CATEGORY="system-tools"
al@15190 6 SHORT_DESC="A lightweight display manager for Qt"
al@15190 7 MAINTAINER="al.bobylev@gmail.com"
al@15190 8 LICENSE="GPL3 LGPL3"
al@15190 9 WEB_SITE="https://launchpad.net/lightdm"
al@15190 10 SOURCE="lightdm"
al@15190 11 TARBALL="$SOURCE-$VERSION.tar.xz"
pascal@24993 12 WGET_URL="https://launchpad.net/$SOURCE/${VERSION%.*}/$VERSION/+download/$TARBALL"
al@15190 13 HELP="https://wiki.archlinux.org/index.php/LightDM"
al@15190 14 CONFIG_FILES="/etc/init/lightdm.conf /etc/lightdm/keys.conf \
al@15190 15 /etc/lightdm/lightdm.conf /etc/lightdm/users.conf"
al@15190 16
al@15190 17 DEPENDS="libQtDBus libQtGui libgcrypt libgio libxklavier pam"
al@15190 18 BUILD_DEPENDS="Qt4-dev gobject-introspection-dev pam-dev itstool libxklavier-dev \
al@15190 19 libgcrypt-dev wget xorg-libXdmcp-dev xorg-libX11-dev xorg-libXi-dev \
al@15190 20 xorg-libxkbfile-dev"
al@15190 21
pascal@24434 22 # What is the latest version available today?
pascal@24434 23 current_version()
pascal@24434 24 {
pascal@24434 25 wget -O - $WEB_SITE 2>/dev/null | \
pascal@24434 26 sed '/Latest version is/!d;s|.*is ||'
pascal@24434 27 }
pascal@24434 28
al@15190 29 # Rules to configure and make the package.
al@15190 30 compile_rules()
al@15190 31 {
al@15190 32 ./configure \
al@15190 33 --libexecdir=/usr/lib \
al@15190 34 --sysconfdir=/etc \
al@15190 35 --disable-static \
al@15190 36 --enable-introspection \
al@15190 37 --enable-liblightdm-gobject \
al@15190 38 --disable-gtk-doc \
al@15190 39 --with-greeter-session=lightdm-gtk-greeter \
al@15190 40 $CONFIGURE_ARGS &&
al@15190 41 make &&
al@15190 42 make install
al@15190 43 }
al@15190 44
al@15190 45 # Rules to gen a SliTaz package suitable for Tazpkg.
al@15190 46 genpkg_rules()
al@15190 47 {
al@15190 48 mkdir -p \
al@15190 49 $fs/usr/lib \
al@15190 50 $fs/usr/share/locale
al@15190 51 cp -a $install/etc $fs
al@15190 52 cp -a $install/usr/bin $fs/usr
al@15190 53 cp -a $install/usr/lib/lightdm $fs/usr/lib
al@15190 54 cp -a $install/usr/lib/*.so* $fs/usr/lib
al@15190 55 cp -a $install/usr/sbin $fs/usr
al@15190 56
al@15190 57 # localization
al@15190 58 . $WOK/slitaz-i18n/stuff/locale-pack.conf
al@15190 59 for lang in $LOCALE_PACK; do
al@15190 60 langf=$install/usr/share/locale/$lang
al@15190 61 [ -d $langf ] && cp -a $langf $fs/usr/share/locale
al@15190 62 done
al@15190 63 }