wok diff lightdm-qt/receipt @ rev 21304

updated libsdl2-net and libsdl2-net-dev (2.0.0 -> 2.0.1)
author Hans-G?nter Theisgen
date Thu Apr 18 14:46:00 2019 +0100 (2019-04-18)
parents
children 1bd2c6414e5a
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/lightdm-qt/receipt	Thu Apr 18 14:46:00 2019 +0100
     1.3 @@ -0,0 +1,56 @@
     1.4 +# SliTaz package receipt.
     1.5 +
     1.6 +PACKAGE="lightdm-qt"
     1.7 +VERSION="1.5.3"
     1.8 +CATEGORY="system-tools"
     1.9 +SHORT_DESC="A lightweight display manager for Qt"
    1.10 +MAINTAINER="al.bobylev@gmail.com"
    1.11 +LICENSE="GPL3 LGPL3"
    1.12 +WEB_SITE="https://launchpad.net/lightdm"
    1.13 +SOURCE="lightdm"
    1.14 +TARBALL="$SOURCE-$VERSION.tar.xz"
    1.15 +WGET_URL="https://launchpad.net/$SOURCE/1.8/$VERSION/+download/$TARBALL"
    1.16 +HELP="https://wiki.archlinux.org/index.php/LightDM"
    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="libQtDBus libQtGui libgcrypt libgio libxklavier pam"
    1.21 +BUILD_DEPENDS="Qt4-dev gobject-introspection-dev pam-dev itstool libxklavier-dev \
    1.22 +libgcrypt-dev wget xorg-libXdmcp-dev xorg-libX11-dev xorg-libXi-dev \
    1.23 +xorg-libxkbfile-dev"
    1.24 +
    1.25 +# Rules to configure and make the package.
    1.26 +compile_rules()
    1.27 +{
    1.28 +	./configure \
    1.29 +		--libexecdir=/usr/lib \
    1.30 +		--sysconfdir=/etc \
    1.31 +		--disable-static \
    1.32 +		--enable-introspection \
    1.33 +		--enable-liblightdm-gobject \
    1.34 +		--disable-gtk-doc \
    1.35 +		--with-greeter-session=lightdm-gtk-greeter \
    1.36 +		$CONFIGURE_ARGS &&
    1.37 +	make &&
    1.38 +	make install
    1.39 +}
    1.40 +
    1.41 +# Rules to gen a SliTaz package suitable for Tazpkg.
    1.42 +genpkg_rules()
    1.43 +{
    1.44 +	mkdir -p \
    1.45 +		$fs/usr/lib \
    1.46 +		$fs/usr/share/locale
    1.47 +	cp -a $install/etc $fs
    1.48 +	cp -a $install/usr/bin $fs/usr
    1.49 +	cp -a $install/usr/lib/lightdm $fs/usr/lib
    1.50 +	cp -a $install/usr/lib/*.so* $fs/usr/lib
    1.51 +	cp -a $install/usr/sbin $fs/usr
    1.52 +
    1.53 +	# localization
    1.54 +	. $WOK/slitaz-i18n/stuff/locale-pack.conf
    1.55 +	for lang in $LOCALE_PACK; do
    1.56 +		langf=$install/usr/share/locale/$lang
    1.57 +		[ -d $langf ] && cp -a $langf $fs/usr/share/locale
    1.58 +	done
    1.59 +}