Added lightdm-0.2.3 build template.

This commit is contained in:
Juan RP 2011-02-16 14:27:20 +01:00
parent 2db5a13f6c
commit 67def0c02b
13 changed files with 179 additions and 0 deletions

1
srcpkgs/liblightdm-gobject Symbolic link
View file

@ -0,0 +1 @@
lightdm

1
srcpkgs/liblightdm-qt Symbolic link
View file

@ -0,0 +1 @@
lightdm

1
srcpkgs/lightdm-devel Symbolic link
View file

@ -0,0 +1 @@
lightdm

1
srcpkgs/lightdm-webkit Symbolic link
View file

@ -0,0 +1 @@
lightdm

2
srcpkgs/lightdm/depends Normal file
View file

@ -0,0 +1,2 @@
abi_depends=">=0.2.1"
api_depends="${abi_depends}"

View file

@ -0,0 +1,9 @@
#!/sbin/runscript
command=/usr/bin/lightdm
name="Light Display Manager"
depend()
{
need dbus localmount
}

View file

@ -0,0 +1,12 @@
# Template file for 'gir-lightdm.
#
short_desc="${short_desc} - Introspection data"
long_desc="${long_desc}
This package contains GObject introspection data for LightDM."
do_install()
{
mkdir -p ${DESTDIR}/usr/lib
mv ${SRCPKGDESTDIR}/usr/lib/gir* ${DESTDIR}/usr/lib
}

View file

@ -0,0 +1,20 @@
# Template file for 'liblightdm-gobject'.
#
short_desc="${short_desc} - GObject support library"
long_desc="${long_desc}
This package contains the GObject support library for LightDM."
Add_dependency run glibc
Add_dependency run dbus-libs
Add_dependency run glib
Add_dependency run dbus-glib
Add_dependency run libxml2
Add_dependency run libX11
Add_dependency run libxklavier
do_install()
{
mkdir -p ${DESTDIR}/usr/lib
mv ${SRCPKGDESTDIR}/usr/lib/liblightdm-gobject*.so* ${DESTDIR}/usr/lib
}

View file

@ -0,0 +1,17 @@
# Template file for 'liblightdm-qt'.
#
short_desc="${short_desc} - QT support library"
long_desc="${long_desc}
This package contains the QT support library for LightDM."
Add_dependency run libgcc
Add_dependency run glibc
Add_dependency run libstdc++
Add_dependency run qt
do_install()
{
mkdir -p ${DESTDIR}/usr/lib
mv ${SRCPKGDESTDIR}/usr/lib/liblightdm-qt*.so* ${DESTDIR}/usr/lib
}

View file

@ -0,0 +1,31 @@
# Template file for 'lightdm-devel.
#
short_desc="${short_desc} - development files"
long_desc="${long_desc}
This package contains headers, static libs, etc for LightDM."
Add_dependency run glib-devel
Add_dependency run dbus-glib-devel
Add_dependency run dbus-devel
Add_dependency run glibc-devel
Add_dependency run libxklavier-devel
Add_dependency run libxml2-devel
Add_dependency run libX11-devel
Add_dependency run qt-devel
Add_dependency run gtk+-devel
Add_dependency run gdk-pixbuf-devel
Add_dependency run cairo-devel
Add_dependency run webkit-gtk-devel
Add_dependency run libxcb-devel
Add_dependency run libXdmcp-devel
Add_dependency run pam-devel
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
}

View file

@ -0,0 +1,24 @@
# Template file for 'lightdm-webkit"
#
short_desc="${short_desc} - WebKit greeter support"
long_desc="${long_desc}
This package contains the LightDM WebKit support files."
Add_dependency run glibc
Add_dependency run glib
Add_dependency run liblightdm-gobject
Add_dependency run gtk+
Add_dependency run webkit-gtk
Add_dependency run lightdm
do_install()
{
mkdir -p ${DESTDIR}/usr/share/lightdm/themes
mkdir -p ${DESTDIR}/usr/libexec
mv ${SRCPKGDESTDIR}/usr/libexec/ldm-webkit* \
${DESTDIR}/usr/libexec
mv ${SRCPKGDESTDIR}/usr/share/lightdm/themes/webkit \
${DESTDIR}/usr/share/lightdm/themes
}

58
srcpkgs/lightdm/template Normal file
View file

@ -0,0 +1,58 @@
# Template file for 'lightdm'
pkgname=lightdm
version=0.2.3
distfiles="http://launchpad.net/lightdm/trunk/$version/+download/lightdm-$version.tar.gz"
build_style=gnu_configure
configure_args="--localstatedir=/var"
short_desc="Light Display Manager"
maintainer="Juan RP <xtraeme@gmail.com>"
checksum=5b925a6eeb0b670b1e9f5a1b2f5dae29eceb1c1ceb17db5bd33aea4354bfe432
long_desc="
An X display manager that:
* Has a lightweight codebase
* Is standards compliant (PAM, ConsoleKit, etc)
* Has a well defined interface between the server and user interface
* Fully themeable (easiest with the webkit interface)
* Cross-desktop (greeters can be written in any toolkit)"
openrc_services="lightdm default true"
subpackages="gir-lightdm liblightdm-gobject liblightdm-qt"
subpackages="${subpackages} lightdm-webkit lightdm-devel"
Add_dependency run glibc
Add_dependency run glib
Add_dependency run dbus-libs
Add_dependency run dbus-glib
Add_dependency run cairo
Add_dependency run libXdmcp
Add_dependency run libxcb
Add_dependency run pam
Add_dependency run gdk-pixbuf
Add_dependency run gtk+
Add_dependency run liblightdm-gobject
Add_dependency build glib-devel
Add_dependency build dbus-glib-devel
Add_dependency build dbus-devel
Add_dependency build glibc-devel
Add_dependency build libxklavier-devel
Add_dependency build libxml2-devel
Add_dependency build libX11-devel
Add_dependency build qt-devel
Add_dependency build libstdc++-devel
Add_dependency build gtk+-devel
Add_dependency build gdk-pixbuf-devel
Add_dependency build cairo-devel
Add_dependency build webkit-gtk-devel
Add_dependency build libxcb-devel
Add_dependency build libXdmcp-devel
Add_dependency build pam-devel
Add_dependency full dbus
post_install()
{
# Remove provided startup files, use our own.
rm -rf ${DESTDIR}/etc/init
install -D -m755 ${FILESDIR}/lightdm.rc ${DESTDIR}/etc/init.d/lightdm
}

View file

@ -763,3 +763,5 @@ libvirt-qemu.so libvirt libvirt-devel
libgdk-3.so gtk+3 gtk+3-devel libgdk-3.so gtk+3 gtk+3-devel
libgtk-3.so gtk+3 gtk+3-devel libgtk-3.so gtk+3 gtk+3-devel
libgailutil-3.so gtk+3 gtk+3-devel libgailutil-3.so gtk+3 gtk+3-devel
liblightdm-gobject-0.so liblightdm-gobject lightdm-devel
liblightdm-qt.so liblightdm-qt lightdm-devel