lightdm: enable cross-build of liblightdm-qt5
This was excluded way back in Qt4 days of early 2015 to enable cross-building of lightdm but doesn't appear to be a problem anymore.
This commit is contained in:
parent
ae475e0ef3
commit
e86be5b57e
1 changed files with 6 additions and 14 deletions
|
@ -1,16 +1,17 @@
|
|||
# Template file for 'lightdm'
|
||||
pkgname=lightdm
|
||||
version=1.32.0
|
||||
revision=1
|
||||
revision=2
|
||||
build_style=gnu-configure
|
||||
build_helper="gir"
|
||||
configure_args="--sbindir=/usr/bin --with-greeter-session=lightdm-gtk-greeter
|
||||
--with-greeter-user=lightdm --disable-static --disable-tests
|
||||
$(vopt_enable gir introspection)"
|
||||
hostmakedepends="pkg-config intltool itstool $(vopt_if gir 'gobject-introspection vala')"
|
||||
hostmakedepends="pkg-config intltool itstool $(vopt_if gir 'gobject-introspection vala')
|
||||
qt5-host-tools"
|
||||
makedepends="dbus-glib-devel libxklavier-devel libxml2-devel
|
||||
gtk+3-devel libxcb-devel libXdmcp-devel pam-devel vala-devel
|
||||
libgcrypt-devel accountsservice-devel"
|
||||
libgcrypt-devel accountsservice-devel qt5-devel"
|
||||
depends="dbus accountsservice"
|
||||
short_desc="Light Display Manager"
|
||||
maintainer="Orphaned <orphan@voidlinux.org>"
|
||||
|
@ -22,7 +23,6 @@ checksum=12f5ab432748f0387c7cf8b94430495a558a035a4f8465e5181af6faff133e4b
|
|||
conf_files="/etc/${pkgname}/*.conf /etc/pam.d/*"
|
||||
system_accounts="lightdm"
|
||||
lightdm_homedir="/var/lib/lightdm"
|
||||
subpackages="liblightdm-gobject lightdm-devel"
|
||||
make_dirs="
|
||||
/var/lib/lightdm 0755 lightdm lightdm
|
||||
/var/lib/lightdm-data 0755 lightdm lightdm"
|
||||
|
@ -30,12 +30,6 @@ make_dirs="
|
|||
build_options="gir"
|
||||
build_options_default="gir"
|
||||
|
||||
if [ -z "$CROSS_BUILD" ]; then
|
||||
configure_args+=" MOC5=/usr/lib/qt5/bin/moc"
|
||||
makedepends+=" qt5-devel"
|
||||
subpackages+=" liblightdm-qt5"
|
||||
fi
|
||||
|
||||
post_install() {
|
||||
# Remove provided init file and use our own.
|
||||
rm -rf ${DESTDIR}/etc/init
|
||||
|
@ -69,10 +63,8 @@ liblightdm-qt5_package() {
|
|||
}
|
||||
|
||||
lightdm-devel_package() {
|
||||
depends="libglib-devel liblightdm-gobject-${version}_${revision}"
|
||||
if [ -z "$CROSS_BUILD" ]; then
|
||||
depends+=" liblightdm-qt5-${version}_${revision}"
|
||||
fi
|
||||
depends="libglib-devel liblightdm-gobject-${version}_${revision}
|
||||
liblightdm-qt5-${version}_${revision}"
|
||||
short_desc+=" - development files"
|
||||
pkg_install() {
|
||||
vmove usr/include
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue