lightdm: disable static, fix -devel rundeps.

This commit is contained in:
Juan RP 2012-04-20 09:21:39 +02:00
parent aff2d7ae5e
commit a09f9fc715
5 changed files with 18 additions and 13 deletions

View file

@ -1,2 +1,2 @@
abi_depends=">=1.0.6"
abi_depends=">=1.2.2_1"
api_depends="${abi_depends}"

View file

@ -5,8 +5,9 @@ long_desc="${long_desc}
This package contains the GObject support library for LightDM."
do_install()
{
revision=1
do_install() {
vmove "usr/lib/liblightdm-gobject*.so*" usr/lib
vmove usr/lib/girepository-1.0 usr/lib
}

View file

@ -5,8 +5,8 @@ long_desc="${long_desc}
This package contains the QT support library for LightDM."
revision=1
do_install()
{
do_install() {
vmove "usr/lib/liblightdm-qt*.so*" usr/lib
}

View file

@ -6,12 +6,15 @@ long_desc="${long_desc}
This package contains headers, static libs, etc for LightDM."
Add_dependency run glib-devel
Add_dependency run liblightdm-gobject ">=${version}"
Add_dependency run liblightdm-qt ">=${version}"
do_install()
{
mkdir -p ${DESTDIR}/usr/{lib,share}
mv ${SRCPKGDESTDIR}/usr/include ${DESTDIR}/usr
mv ${SRCPKGDESTDIR}/usr/lib/*.a ${DESTDIR}/usr/lib
mv ${SRCPKGDESTDIR}/usr/lib/pkgconfig ${DESTDIR}/usr/lib
mv ${SRCPKGDESTDIR}/usr/share/{vala*,gir*,gtk-doc} ${DESTDIR}/usr/share
revision=1
do_install() {
vmove usr/include usr
vmove usr/lib/pkgconfig usr/lib
vmove usr/share/gtk-doc usr/share
vmove usr/share/vala usr/share
vmove usr/share/gir-1.0 usr/share
}

View file

@ -1,10 +1,11 @@
# Template file for 'lightdm'
pkgname=lightdm
version=1.2.2
revision=1
homepage="https://launchpad.net/lightdm"
distfiles="https://launchpad.net/lightdm/1.2/$version/+download/$pkgname-$version.tar.gz"
build_style=gnu-configure
configure_args="--with-greeter-user=lightdm"
configure_args="--with-greeter-user=lightdm --disable-static"
short_desc="Light Display Manager"
maintainer="Juan RP <xtraeme@gmail.com>"
license="GPL-3, LGPL-3"