2013-01-16 08:46:12 +00:00
|
|
|
# Template file for 'kmscon'
|
|
|
|
pkgname=kmscon
|
2013-11-14 16:29:35 +00:00
|
|
|
version=8
|
2014-05-20 12:11:47 +00:00
|
|
|
revision=3
|
2014-04-04 16:12:30 +00:00
|
|
|
lib32disabled=yes
|
2013-01-16 08:46:12 +00:00
|
|
|
build_style=gnu-configure
|
2014-05-20 12:11:47 +00:00
|
|
|
configure_args="--disable-static"
|
2013-04-27 02:36:13 +00:00
|
|
|
hostmakedepends="pkg-config docbook-xsl xkeyboard-config"
|
2013-11-14 16:29:35 +00:00
|
|
|
makedepends="MesaLib-devel pango-devel libtsm-devel libxkbcommon-devel
|
2014-05-20 12:11:47 +00:00
|
|
|
libpciaccess-devel libudev-devel dbus-devel fuse-devel"
|
2014-01-01 15:10:11 +00:00
|
|
|
depends="xkeyboard-config"
|
2013-01-16 08:46:12 +00:00
|
|
|
short_desc="Terminal emulator based on Kernel Mode Setting (KMS)"
|
|
|
|
maintainer="Juan RP <xtraeme@gmail.com>"
|
|
|
|
license="MIT"
|
2013-04-27 02:36:13 +00:00
|
|
|
homepage="http://www.freedesktop.org/wiki/Software/kmscon"
|
2013-11-14 16:29:35 +00:00
|
|
|
distfiles="http://freedesktop.org/software/kmscon/releases/kmscon-8.tar.xz"
|
|
|
|
checksum=0ab01c1cdc4fbd692ce765e80478bc2d9663a7c55a5c75cc7ac421366ee6ae2b
|
2013-01-16 08:46:12 +00:00
|
|
|
|
2014-05-20 12:11:47 +00:00
|
|
|
# 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
|
|
|
|
|
2013-01-16 08:46:12 +00:00
|
|
|
post_install() {
|
|
|
|
vinstall COPYING 644 usr/share/licenses/${pkgname}
|
|
|
|
vmkdir usr/lib/systemd/system
|
2013-04-27 02:36:13 +00:00
|
|
|
install -m644 docs/kmscon{,vt@}.service ${DESTDIR}/usr/lib/systemd/system
|
2013-01-16 08:46:12 +00:00
|
|
|
# Remove devel files.
|
|
|
|
rm -rf ${DESTDIR}/usr/include
|
|
|
|
rm -rf ${DESTDIR}/usr/lib/pkgconfig
|
|
|
|
}
|