kmscon: remove systemd build option (#1736)
This commit is contained in:
parent
2fe521bec7
commit
d2ac8ceaa6
|
@ -1,10 +1,10 @@
|
||||||
# Template file for 'kmscon'
|
# Template file for 'kmscon'
|
||||||
pkgname=kmscon
|
pkgname=kmscon
|
||||||
version=8
|
version=8
|
||||||
revision=4
|
revision=5
|
||||||
lib32disabled=yes
|
lib32disabled=yes
|
||||||
build_style=gnu-configure
|
build_style=gnu-configure
|
||||||
configure_args="--disable-static"
|
configure_args="--disable-static --disable-multi-seat"
|
||||||
hostmakedepends="pkg-config docbook-xsl xkeyboard-config"
|
hostmakedepends="pkg-config docbook-xsl xkeyboard-config"
|
||||||
makedepends="MesaLib-devel pango-devel libtsm-devel libxkbcommon-devel
|
makedepends="MesaLib-devel pango-devel libtsm-devel libxkbcommon-devel
|
||||||
libpciaccess-devel libudev-devel dbus-devel fuse-devel"
|
libpciaccess-devel libudev-devel dbus-devel fuse-devel"
|
||||||
|
@ -16,20 +16,8 @@ homepage="http://www.freedesktop.org/wiki/Software/kmscon"
|
||||||
distfiles="http://freedesktop.org/software/kmscon/releases/kmscon-8.tar.xz"
|
distfiles="http://freedesktop.org/software/kmscon/releases/kmscon-8.tar.xz"
|
||||||
checksum=0ab01c1cdc4fbd692ce765e80478bc2d9663a7c55a5c75cc7ac421366ee6ae2b
|
checksum=0ab01c1cdc4fbd692ce765e80478bc2d9663a7c55a5c75cc7ac421366ee6ae2b
|
||||||
|
|
||||||
# Package build options
|
|
||||||
build_options="systemd"
|
|
||||||
|
|
||||||
if [ "$build_option_systemd" ]; then
|
|
||||||
configure_args+=" --enable-multi-seat"
|
|
||||||
makedepends+=" systemd-devel"
|
|
||||||
else
|
|
||||||
configure_args+=" --disable-multi-seat"
|
|
||||||
fi
|
|
||||||
|
|
||||||
post_install() {
|
post_install() {
|
||||||
vinstall COPYING 644 usr/share/licenses/${pkgname}
|
vinstall COPYING 644 usr/share/licenses/${pkgname}
|
||||||
vmkdir usr/lib/systemd/system
|
|
||||||
install -m644 docs/kmscon{,vt@}.service ${DESTDIR}/usr/lib/systemd/system
|
|
||||||
# Remove devel files.
|
# Remove devel files.
|
||||||
rm -rf ${DESTDIR}/usr/include
|
rm -rf ${DESTDIR}/usr/include
|
||||||
rm -rf ${DESTDIR}/usr/lib/pkgconfig
|
rm -rf ${DESTDIR}/usr/lib/pkgconfig
|
||||||
|
|
Loading…
Reference in New Issue