Verified Commit 5590bb7f by flussence

Remove long-obsolete kmscon

parent 25c769ed
DIST libtsm-3.tar.xz 293264 BLAKE2B 51044f5e7be2269e1b3f40b04aa486f30a3a496d57d3aa64f25b148edb04d8e039dafbe0df32d0557f4c3a21da52bb53be146fe57d84d4e8201289c3bd347d95 SHA512 119834fd6a84489cc7904bf01905c29004901ddf73d6dc4a1f47f6b402ad76f65cb4226eaa718a73dc06694b1524647eff6046894fd9526a8588eed97f6f68b6
# Copyright 1999-2017 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI=5
DESCRIPTION="TSM is a state machine for DEC VT100-VT520 compatible terminal emulators."
HOMEPAGE="https://www.freedesktop.org/wiki/Software/kmscon/libtsm/"
SRC_URI="https://freedesktop.org/software/kmscon/releases/${P}.tar.xz"
LICENSE="MIT LGPL-2.1 BSD-2"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE=""
DEPEND="x11-libs/libxkbcommon"
RDEPEND="${DEPEND}"
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<longdescription lang="en">
libtsm is a headless state machine for terminal emulators and other applications. It's used
as the backend for <pkg>sys-apps/kmscon</pkg>.
</longdescription>
<maintainer type="person">
<email>flussence@gmail.com</email>
<name>Anthony Parsons</name>
</maintainer>
<upstream>
<bugs-to>https://bugs.freedesktop.org/enter_bug.cgi?product=kmscon</bugs-to>
</upstream>
</pkgmetadata>
# These numbers are snapshot versions; unmask manually if wanted.
>games-server/minecraft-server-10
# Anthony Parsons <flussence@gmail.com> (6 Oct 2016)
# Upstream's been dead for 30 months; I haven't used this for a long time, and
# most of the useflags have never actually been compile-tested.
# Masked for removal at end of 2016.
=dev-libs/libtsm-3
=sys-apps/kmscon-8
# Anthony Parsons <flussence@gmail.com> (30 May 2017)
# Miscompiles when portage builds it; no idea how to fix.
dev-perl/CSS-Sass
......
DIST kmscon-8.tar.xz 950068 BLAKE2B 7c4bbcc6eb0967d8e38e05a3e6fac60109a0ce468bc8967364b621274a9af4dd12a31af692be2efe0cc234af36f760836ec421b6567460efd4b7b1c3d913f44b SHA512 ac1581c2520a9c30406848dafc27231b38d392b2176e3ed4dd95b03cd54e256dd22f09e04057fc089effbbe08eb25546164bb885e0e5cbdbd752d4c27d07a41d
# Copyright 1999-2017 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI=5
inherit eutils systemd
DESCRIPTION="KMS/DRM based virtual Console Emulator"
HOMEPAGE="https://www.freedesktop.org/wiki/Software/kmscon"
SRC_URI="https://www.freedesktop.org/software/${PN}/releases/${P}.tar.xz"
LICENSE="MIT LGPL-2.1 BSD-2"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="debug doc drm fbdev +gles2 multiseat +pango pixman static-libs systemd udev unifont wayland"
COMMON_DEPEND="
dev-libs/libtsm
virtual/libudev
x11-libs/libxkbcommon
x11-libs/libdrm
gles2? ( >=media-libs/mesa-8.0.3[egl,gbm,gles2] )
pango? ( x11-libs/pango )
pixman? ( x11-libs/pixman )
systemd? ( sys-apps/systemd )"
RDEPEND="${COMMON_DEPEND}
x11-misc/xkeyboard-config"
DEPEND="${COMMON_DEPEND}
virtual/pkgconfig
x11-proto/xproto
doc? ( dev-util/gtk-doc )"
REQUIRED_USE="
|| ( drm fbdev gles2 )
multiseat? ( systemd )"
src_configure() {
declare -a VIDEO FONTS RENDER=(bbulk)
# Video backends
use fbdev && VIDEO+=(fbdev)
use drm && VIDEO+=(drm2d)
use gles2 && VIDEO+=(drm3d)
# Font rendering backends
use pango && FONTS+=(pango)
use unifont && FONTS+=(unifont)
# Console rendering backends
use gles2 && RENDER+=(gltex)
use pixman && RENDER+=(pixman)
# Squash those into comma-separated strings
OLDIFS=$IFS
IFS=","
USE_VIDEO="${VIDEO[*]}"
USE_FONTS="${FONTS[*]}"
USE_RENDER="${RENDER[*]}"
IFS=$OLDIFS
econf \
$(use_enable static-libs static) \
$(use_enable udev hotplug) \
$(use_enable debug) \
$(use_enable multiseat multi-seat) \
--htmldir=/usr/share/doc/${PF}/html \
--with-video=$USE_VIDEO \
--with-fonts=$USE_FONTS \
--with-renderers=$USE_RENDER \
--with-sessions=dummy,terminal \
--enable-kmscon
}
src_install() {
default
systemd_dounit "${S}/docs"/kmscon{,vt@}.service
prune_libtool_files
}
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<longdescription lang="en">
kmscon is a DRM-based system console. It can run alongside (or without) the built-in Linux
console or graphical environments such as X11, and has many modern features, including
internationalization, anti-aliased and runtime-scalable text, multi-seat operation, and
OpenGL ES rendering.
</longdescription>
<maintainer type="person">
<email>flussence@gmail.com</email>
<name>Anthony Parsons</name>
</maintainer>
<upstream>
<bugs-to>https://bugs.freedesktop.org/enter_bug.cgi?product=kmscon</bugs-to>
</upstream>
<use>
<flag name="drm">Enable the software-only DRM output backend.</flag>
<flag name="fbdev">
Enable the software-only fbdev output backend. Only needed if you have a legacy driver
that doesn't support KMS.
</flag>
<flag name="gles2">
Enable hardware-accelerated rendering and output using OpenGL ES 2.0.
</flag>
<flag name="multiseat">Enables multi-seat support. Requires systemd-logind.</flag>
<flag name="pango">Use <pkg>x11-libs/pango</pkg> for font rendering.</flag>
<flag name="pixman">
Use <pkg>x11-libs/pixman</pkg> as an alternative to the built-in software renderer.
</flag>
<flag name="unifont">
Use a bundled, compiled-in copy of GNU Unifont for Unicode-capable output.
</flag>
</use>
</pkgmetadata>
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment