mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2026-02-13 03:42:37 +01:00
60 lines
1.5 KiB
Plaintext
60 lines
1.5 KiB
Plaintext
# Contributor: Natanael Copa <ncopa@alpinelinux.org>
|
|
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
|
|
pkgname=lightdm
|
|
pkgver=1.4.0
|
|
pkgrel=0
|
|
pkgdesc="A cross-desktop display manager"
|
|
url="http://www.freedesktop.org/wiki/Software/LightDM"
|
|
arch="all"
|
|
license="GPL-3"
|
|
depends="dbus"
|
|
depends_dev=""
|
|
makedepends="linux-pam-dev gtk+3.0-dev libxklavier-dev libxext-dev
|
|
autoconf automake libtool gobject-introspection-dev itstool"
|
|
install="$pkgname.pre-install"
|
|
subpackages="$pkgname-dev $pkgname-doc $pkgname-lang"
|
|
source="https://launchpad.net/lightdm/${pkgver%.*}/$pkgver/+download/lightdm-$pkgver.tar.gz
|
|
disallow-guest.patch
|
|
uclibc-language.patch
|
|
lightdm.initd"
|
|
|
|
_builddir="$srcdir"/lightdm-$pkgver
|
|
prepare() {
|
|
local i
|
|
cd "$_builddir"
|
|
for i in $source; do
|
|
case $i in
|
|
*.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;;
|
|
esac
|
|
done
|
|
}
|
|
|
|
build() {
|
|
cd "$_builddir"
|
|
./configure --prefix=/usr \
|
|
--sysconfdir=/etc \
|
|
--localstatedir=/var \
|
|
--enable-liblightdm-gobject \
|
|
--with-greeter-session=lightdm-gtk-greeter \
|
|
|| return 1
|
|
|
|
# workaround build bug
|
|
touch tests/src/lightdm-session
|
|
|
|
make || return 1
|
|
}
|
|
|
|
package() {
|
|
cd "$_builddir"
|
|
make DESTDIR="$pkgdir" install || return 1
|
|
rm -f "$pkgdir"/usr/lib/*.la
|
|
mv "$pkgdir"/usr/lib/locale "$pkgdir"/usr/share/
|
|
|
|
install -Dm755 "$srcdir"/lightdm.initd "$pkgdir"/etc/init.d/lightdm
|
|
}
|
|
|
|
md5sums="622d9087ec773dd0626a250a5868f88c lightdm-1.4.0.tar.gz
|
|
72a44670872ce38ec0229e6595f0c629 disallow-guest.patch
|
|
66782244aa11446e586d80e52ca74775 uclibc-language.patch
|
|
9eb01e4202919424face9bafbda4936c lightdm.initd"
|