wok-6.x rev 25088

modified recipe for lightdm
author Hans-G?nter Theisgen
date Sat Jun 18 09:31:48 2022 +0100 (2022-06-18)
parents 180119c209e8
children 92be0e14703a
files lightdm/receipt
line diff
     1.1 --- a/lightdm/receipt	Fri Jun 17 09:35:48 2022 +0000
     1.2 +++ b/lightdm/receipt	Sat Jun 18 09:31:48 2022 +0100
     1.3 @@ -7,16 +7,18 @@
     1.4  MAINTAINER="al.bobylev@gmail.com"
     1.5  LICENSE="GPL3 LGPL3"
     1.6  WEB_SITE="https://launchpad.net/lightdm"
     1.7 +HELP="https://wiki.archlinux.org/index.php/LightDM"
     1.8 +
     1.9  TARBALL="$PACKAGE-$VERSION.tar.gz"
    1.10  WGET_URL="https://github.com/canonical/lightdm/archive/refs/tags/$VERSION.tar.gz"
    1.11 -HELP="https://wiki.archlinux.org/index.php/LightDM"
    1.12 +
    1.13 +DEPENDS="libgcrypt libgio libxklavier pam xorg-libX11"
    1.14 +BUILD_DEPENDS="automake gobject-introspection-dev gtk-doc itstool
    1.15 +	libgcrypt-dev libtool libxklavier-dev pam-dev wget yelp-tools"
    1.16 +
    1.17  CONFIG_FILES="/etc/init/lightdm.conf /etc/lightdm/keys.conf \
    1.18  /etc/lightdm/lightdm.conf /etc/lightdm/users.conf"
    1.19  
    1.20 -DEPENDS="libgcrypt libgio libxklavier pam xorg-libX11"
    1.21 -BUILD_DEPENDS="gobject-introspection-dev pam-dev itstool libxklavier-dev \
    1.22 -libgcrypt-dev wget automake"
    1.23 -
    1.24  # What is the latest version available today?
    1.25  current_version()
    1.26  {
    1.27 @@ -27,15 +29,14 @@
    1.28  # Rules to configure and make the package.
    1.29  compile_rules()
    1.30  {
    1.31 -	./autogen.sh
    1.32 -	./configure \
    1.33 -		--libexecdir=/usr/lib \
    1.34 -		--sysconfdir=/etc \
    1.35 -		--disable-static \
    1.36 -		--enable-introspection \
    1.37 -		--enable-liblightdm-gobject \
    1.38 -		--disable-gtk-doc \
    1.39 -		--with-greeter-session=lightdm-gtk-greeter \
    1.40 +	./autogen.sh						\
    1.41 +		--libexecdir=/usr/lib				\
    1.42 +		--sysconfdir=/etc				\
    1.43 +		--disable-static				\
    1.44 +		--enable-introspection				\
    1.45 +		--enable-liblightdm-gobject			\
    1.46 +		--disable-gtk-doc				\
    1.47 +		--with-greeter-session=lightdm-gtk-greeter	\
    1.48  		$CONFIGURE_ARGS &&
    1.49  	make &&
    1.50  	make install
    1.51 @@ -44,19 +45,22 @@
    1.52  # Rules to gen a SliTaz package suitable for Tazpkg.
    1.53  genpkg_rules()
    1.54  {
    1.55 -	mkdir -p \
    1.56 -		$fs/usr/lib \
    1.57 -		$fs/usr/share/locale
    1.58 -	cp -a $install/etc $fs
    1.59 -	cp -a $install/usr/bin $fs/usr
    1.60 -	cp -a $install/usr/lib/lightdm $fs/usr/lib
    1.61 -	cp -a $install/usr/lib/*.so* $fs/usr/lib
    1.62 -	cp -a $install/usr/sbin $fs/usr
    1.63 +	mkdir -p $fs/usr/lib
    1.64 +	mkdir -p $fs/usr/share/locale
    1.65 +
    1.66 +	cp -a $install/etc		$fs
    1.67 +	cp -a $install/usr/bin		$fs/usr
    1.68 +	cp -a $install/usr/lib/lightdm	$fs/usr/lib
    1.69 +	cp -a $install/usr/lib/*.so*	$fs/usr/lib
    1.70 +	cp -a $install/usr/sbin		$fs/usr
    1.71  
    1.72  	# localization
    1.73 +	# split off to lightdm-lang ?
    1.74  	. $WOK/slitaz-i18n/stuff/locale-pack.conf
    1.75 -	for lang in $LOCALE_PACK; do
    1.76 +	for lang in $LOCALE_PACK
    1.77 +	  do
    1.78  		langf=$install/usr/share/locale/$lang
    1.79 -		[ -d $langf ] && cp -a $langf $fs/usr/share/locale
    1.80 -	done
    1.81 +		[ -d $langf ] &&
    1.82 +		cp -a $langf		$fs/usr/share/locale
    1.83 +	  done
    1.84  }