kmscon: add systemd build option (on by default).
This commit is contained in:
parent
e394c36317
commit
9511235c81
|
@ -1,13 +1,13 @@
|
|||
# Template file for 'kmscon'
|
||||
pkgname=kmscon
|
||||
version=8
|
||||
revision=2
|
||||
revision=3
|
||||
lib32disabled=yes
|
||||
build_style=gnu-configure
|
||||
configure_args="--enable-multi-seat --disable-static"
|
||||
configure_args="--disable-static"
|
||||
hostmakedepends="pkg-config docbook-xsl xkeyboard-config"
|
||||
makedepends="MesaLib-devel pango-devel libtsm-devel libxkbcommon-devel
|
||||
libpciaccess-devel libudev-devel systemd-devel dbus-devel fuse-devel"
|
||||
libpciaccess-devel libudev-devel dbus-devel fuse-devel"
|
||||
depends="xkeyboard-config"
|
||||
short_desc="Terminal emulator based on Kernel Mode Setting (KMS)"
|
||||
maintainer="Juan RP <xtraeme@gmail.com>"
|
||||
|
@ -16,6 +16,18 @@ homepage="http://www.freedesktop.org/wiki/Software/kmscon"
|
|||
distfiles="http://freedesktop.org/software/kmscon/releases/kmscon-8.tar.xz"
|
||||
checksum=0ab01c1cdc4fbd692ce765e80478bc2d9663a7c55a5c75cc7ac421366ee6ae2b
|
||||
|
||||
# Package build options
|
||||
build_options="systemd"
|
||||
build_options_default="systemd"
|
||||
desc_option_systemd="Enable support for systemd"
|
||||
|
||||
if [ "$build_option_systemd" ]; then
|
||||
configure_args+=" --enable-multi-seat"
|
||||
makedepends+=" systemd-devel"
|
||||
else
|
||||
configure_args+=" --disable-multi-seat"
|
||||
fi
|
||||
|
||||
post_install() {
|
||||
vinstall COPYING 644 usr/share/licenses/${pkgname}
|
||||
vmkdir usr/lib/systemd/system
|
||||
|
|
Loading…
Reference in New Issue