Permalink
Browse files

kmscon ebuild

  • Loading branch information...
1 parent a708785 commit db8c1c53fd9d140553a59cd683ec8c4fddcfc26c @alekseysidorov alekseysidorov committed Oct 6, 2012
Showing with 43 additions and 0 deletions.
  1. +43 −0 sys-apps/kmscon/kmscon-9999.ebuild
@@ -0,0 +1,43 @@
+# Copyright 1999-2011 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+EAPI=4
+
+if [[ ${PV} = 9999* ]]; then
+ GIT_ECLASS="git-2"
+ EXPERIMENTAL="true"
+fi
+
+inherit autotools toolchain-funcs $GIT_ECLASS
+
+DESCRIPTION="Kmscon is a userspace virtual console for Linux, using kernel mode-setting (KMS) for output."
+HOMEPAGE="https://github.com/dvdhrm/kmscon"
+EGIT_REPO_URI="git://github.com/dvdhrm/kmscon.git"
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS=""
+IUSE="wayland gles2 systemd pango"
+
+DEPEND="gles2? ( media-libs/mesa[gles2,gbm] ) \
+ wayland? ( dev-libs/wayland ) \
+ systemd? ( sys-apps/systemd ) \
+ pango? ( x11-libs/pango )
+ x11-libs/libdrm[libkms] \
+ x11-libs/libxkbcommon \
+ sys-fs/udev
+"
+RDEPEND="${DEPEND}"
+
+src_prepare() {
+ if [[ ${PV} = 9999* ]]; then
+ eautoreconf
+ fi
+}
+
+src_configure() {
+ econf $(use_enable gles2) \
+ $(use_enable wayland wlterm) \
+ $(use_enable systemd) \
+ $(use_enable pango)
+}

0 comments on commit db8c1c5

Please sign in to comment.