diff options
author | Alexey Shvetsov <alexxy@gentoo.org> | 2013-03-27 04:08:28 +0000 |
---|---|---|
committer | Alexey Shvetsov <alexxy@gentoo.org> | 2013-03-27 04:08:28 +0000 |
commit | 876bc7204aa0191d55edb1dc1808f5a116957b53 (patch) | |
tree | ccaf12297222b399c81a354755edae7a77ce8261 /sys-apps/kmscon | |
parent | Import to tree bug #439578 (diff) | |
download | historical-876bc7204aa0191d55edb1dc1808f5a116957b53.tar.gz historical-876bc7204aa0191d55edb1dc1808f5a116957b53.tar.bz2 historical-876bc7204aa0191d55edb1dc1808f5a116957b53.zip |
Import to tree bug #431872
Package-Manager: portage-2.2.0_alpha169/cvs/Linux x86_64
Manifest-Sign-Key: 0xF82F92E6
Diffstat (limited to 'sys-apps/kmscon')
-rw-r--r-- | sys-apps/kmscon/ChangeLog | 9 | ||||
-rw-r--r-- | sys-apps/kmscon/Manifest | 24 | ||||
-rw-r--r-- | sys-apps/kmscon/kmscon-7.ebuild | 164 | ||||
-rw-r--r-- | sys-apps/kmscon/metadata.xml | 14 |
4 files changed, 211 insertions, 0 deletions
diff --git a/sys-apps/kmscon/ChangeLog b/sys-apps/kmscon/ChangeLog new file mode 100644 index 000000000000..ec9b41eaa289 --- /dev/null +++ b/sys-apps/kmscon/ChangeLog @@ -0,0 +1,9 @@ +# ChangeLog for sys-apps/kmscon +# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/sys-apps/kmscon/ChangeLog,v 1.1 2013/03/27 04:08:22 alexxy Exp $ + +*kmscon-7 (27 Mar 2013) + + 27 Mar 2013; Alexey Shvetsov <alexxy@gentoo.org> +kmscon-7.ebuild, + +metadata.xml: + Import to tree bug #431872 diff --git a/sys-apps/kmscon/Manifest b/sys-apps/kmscon/Manifest new file mode 100644 index 000000000000..81f5544e8555 --- /dev/null +++ b/sys-apps/kmscon/Manifest @@ -0,0 +1,24 @@ +-----BEGIN PGP SIGNED MESSAGE----- +Hash: SHA256 + +DIST kmscon-7.tar.bz2 1341429 SHA256 577d977f66247cfc0e30bb5971fb796bc78a81d8008076ed21b9e6a142dcbed4 SHA512 492b90258cc00bc913daf3e512efcb5c1eab060addac23fe0996b3b117ab2024ecdf6f6401cad0bd70de9849cc1221c833eda686c92d2afb9605b22cb1a5c438 WHIRLPOOL da3c87d6bbb0a8b66b4762344d045bf8c23ee7701c1e9cfad8edee35f6bffb5c6a6ebf77f882f2f9588d53480dd72359a90c9adda5d2862943f7e3a5b4f3984f +EBUILD kmscon-7.ebuild 3183 SHA256 e68590871a63b1b1228aa5bac9d6eacf5ddebe965ce36217caafcb4aba72c750 SHA512 1c8bf2460b8a5b8537a185b63a8ba1516991c9b285fe9c886386f9af964a775c3e8158c56c39b903f6a006edee4eb32cd68c24f5e502d894f74e0b65775d4195 WHIRLPOOL f0c8a23a8a72889528e9165de054ea806dc7ec90a5ee9709b3d4ee606f5af145ada6efc197df398da63ab3f501a49d1b646ef3bc591ebf491dc6b9151874cfe5 +MISC ChangeLog 343 SHA256 2c8eed8484c5d805ed5aa5a2f0aaf43335c7a0e4bdbf2f3a4dcdddf1b07fca13 SHA512 94c5a890c1987f6841d8ff601e51839946fca8f886e90f8e43e485081e64cf3ab5a19c3fcdf3747ad2075e1c9181c0ae4ec36f5db4b36ba6d1365e406d4542eb WHIRLPOOL fe278fd926d731ad98b9ae59c04c6939da26227a2f61302ece264d37bb0e9ee7a1130c3638bbd2add4d558128ac8817b5b8c4041610a9a4335a884d6e23f2201 +MISC metadata.xml 579 SHA256 0aa56faf070213e279febd156c3718996b724ebc2561554a457a1502f75a303c SHA512 fc93c917df16f3a1be7a1d28ff1f4ac4e21ecea7e8438e804d50c66900e068b07a5f22bc423693dbc6acbd5220e286dc4a04178d9edd3bdb4a20cbec5a81288e WHIRLPOOL 7c7527caa9f1de01c5efb4757ac459f56445e72f8403d04fba6b242f35051acd0ba77bdfd27e113b099fb985e540d38777c6412f90fe5e801044bd3f966ce3b3 +-----BEGIN PGP SIGNATURE----- +Version: GnuPG v2.0.19 (GNU/Linux) + +iQIcBAEBCAAGBQJRUnC2AAoJEOf+E+/4L5LmOdQP/A0B0R2Ha2Pr3c3dAWo/cwcF +T1gOL7sqCa12ONMCWwtvuxMyvYeCtGT7y4yPJJVX3L25XQV7r6xUK4ZhCWYvbbZW +4MhPY+8Gs2Hm8rDT1SrDDry7ffzyDsS+6P4RzFlOV9NnS0bgF3BSqQGB8eD79OJX +9Ja4PFHJ0dI1VzV1gWZ3VmQtlD2iKmW1ntU4WGM1XYFzj0RcpqRZf+mW2zOmKBtg +zueGiiJABsW1vAtTJUwO1ChV8sVwGX97h9zMNrzV7EDH4ppyWkDn2XlVxs6yAitd +3mQkHQKH+uqcsEdLnozzqwuVeQ+rF4w4RgSXHEuiMeIt0aztlySUsdSSXuiY5Hxk +U940o5IYbo9QuJI794wkgabhg1mZ0/u0F4j3TjSkdD5d1n7H69seLvfVh5s5yFsI +0uGVBeMdvW1aQJOQMNZJqblQYPuSC7CLrAXoXRQif2KHu3g0YjafbuUTEoi0xPDf +kUV33aoljh1HTlVZD/sQY/+qgRlvtOD7Ie3yYWRO0W3T+dAg+iyMww/mAthvT/D/ +24XYUr0F0a2Ihlw9vYHTcMH4DzEsuxP+IKVWNBRCDlOONhepQ+WgcsCXOG7IH2ug +Pq6Z+66/1KcjpAHYdGwQ8wHMbs+j5OFVOLBQM5R2lmxwyz+ciSZejKhgVYmL/jyP +lF4cITMipjgMgH6tJBxv +=L3AB +-----END PGP SIGNATURE----- diff --git a/sys-apps/kmscon/kmscon-7.ebuild b/sys-apps/kmscon/kmscon-7.ebuild new file mode 100644 index 000000000000..ee71011fbc6b --- /dev/null +++ b/sys-apps/kmscon/kmscon-7.ebuild @@ -0,0 +1,164 @@ +# Copyright 1999-2013 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/sys-apps/kmscon/kmscon-7.ebuild,v 1.1 2013/03/27 04:08:22 alexxy Exp $ + +EAPI=5 + +if [[ $PV = *9999* ]]; then + scm_eclass=git-2 + EGIT_REPO_URI=" + git://people.freedesktop.org/~dvdhrm/${PN} + git://github.com/dvdhrm/${PN}.git + git://github.com/dvdhrm/${PN}.git" + SRC_URI="" + KEYWORDS="" +else + SRC_URI="http://www.freedesktop.org/software/${PN}/releases/${P}.tar.bz2" + KEYWORDS="~amd64 ~x86" +fi + +inherit eutils autotools systemd flag-o-matic ${scm_eclass} + +DESCRIPTION="KMS/DRM based virtual Console Emulator" +HOMEPAGE="http://www.freedesktop.org/wiki/Software/kmscon" + +LICENSE="MIT LGPL-2.1 BSD-2" +SLOT="0" +IUSE="cairo dbus debug doc +drm +fbdev +gles2 multiseat +optimizations +pango pixman +static-libs systemd truetype udev +unicode wayland" + +RDEPEND=" + dev-libs/glib:2 + >=virtual/udev-172 + x11-libs/libxkbcommon + dbus? ( sys-apps/dbus ) + drm? ( x11-libs/libdrm + >=media-libs/mesa-8.0.3[egl,gbm] ) + truetype? ( media-libs/freetype:2 ) + gles2? ( >=media-libs/mesa-8.0.3[gles2] ) + pango? ( x11-libs/pango ) + systemd? ( sys-apps/systemd ) + udev? ( virtual/udev ) + cairo? ( x11-libs/cairo ) + pixman? ( x11-libs/pixman ) + wayland? ( dev-libs/wayland )" +DEPEND="${RDEPEND} + virtual/pkgconfig + x11-proto/xproto + doc? ( dev-util/gtk-doc )" + +REQUIRED_USE="gles2? ( drm ) + multiseat? ( systemd )" + +# args - names of renderers to enable +renderers_enable() { + if [[ "x${RENDER}" == "x" ]]; then + RENDER="$1" + shift + else + for i in $@; do + RENDER+=",${i}" + done + fi +} + +# args - names of font renderer backends to enable +fonts_enable() { + if [[ "x${FONTS}" == "x" ]]; then + FONTS="$1" + shift + else + for i in $@; do + FONTS+=",${i}" + done + fi +} + +# args - names of video backends to enable +video_enable() { + if [[ "x${VIDEO}" == "x" ]]; then + VIDEO="$1" + shift + else + for i in $@; do + VIDEO+=",${i}" + done + fi +} + +src_prepare() { + eautoreconf +} + +src_configure() { + # Video backends + + if use fbdev; then + video_enable fbdev + fi + + if use drm; then + video_enable drm2d + fi + + if use gles2; then + video_enable drm3d + fi + + # Font rendering backends + + if use unicode; then + fonts_enable unifont + fi + + if use truetype; then + fonts_enable freetype2 + fi + + if use pango; then + fonts_enable pango + fi + + # Console rendering backends + + renderers_enable bbulk + + if use gles2; then + renderers_enable gltex + fi + + if use cairo; then + renderers_enable cairo + fi + + if use pixman; then + renderers_enable pixman + fi + + # kmscon sets -ffast-math unconditionally + strip-flags + + # xkbcommon not in portage + econf \ + $(use_enable static-libs static) \ + $(use_enable udev hotplug) \ + $(use_enable dbus eloop-dbus) \ + $(use_enable debug) \ + $(use_enable optimizations) \ + $(use_enable multiseat multi-seat) \ + $(use_enable wayland wlterm) \ + --htmldir=/usr/share/doc/${PF}/html \ + --with-video=${VIDEO} \ + --with-fonts=${FONTS} \ + --with-renderers=${RENDER} \ + --with-sessions=dummy,terminal \ + --enable-kmscon +} + +src_install() { + emake DESTDIR="${D}" install + + if use systemd; then + systemd_dounit "${S}/docs"/kmscon{,vt@}.service + fi +} diff --git a/sys-apps/kmscon/metadata.xml b/sys-apps/kmscon/metadata.xml new file mode 100644 index 000000000000..12d1b8a0c1bf --- /dev/null +++ b/sys-apps/kmscon/metadata.xml @@ -0,0 +1,14 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <herd>x11</herd> + <use> + <flag name='drm'>Enable Linux DRM for backend</flag> + <flag name='fbdev'>Enable Linux FBDev for backend</flag> + <flag name='gles2'>Enable GLES2 for backend</flag> + <flag name='pango'>Enable pango font rendering</flag> + <flag name='pixman'>Enable pixman font rendering</flag> + <flag name='multiseat'>Enable multiseat support via systemd</flag> + <flag name='optimizations'>Enable optimizations</flag> + </use> +</pkgmetadata> |