diff options
author | Alexey Shvetsov <alexxy@gentoo.org> | 2012-09-28 07:17:36 +0400 |
---|---|---|
committer | Alexey Shvetsov <alexxy@gentoo.org> | 2012-09-28 07:17:36 +0400 |
commit | ac29b57eef4dc8c410fde83a13e8c6c157eeeeb3 (patch) | |
tree | 89887e320800a0eac2efa4b53c3abf6ce95c2dd2 | |
parent | add mysql auth (diff) | |
download | alexxy-ac29b57eef4dc8c410fde83a13e8c6c157eeeeb3.tar.gz alexxy-ac29b57eef4dc8c410fde83a13e8c6c157eeeeb3.tar.bz2 alexxy-ac29b57eef4dc8c410fde83a13e8c6c157eeeeb3.zip |
Add kmscon
(Portage version: 2.2.0_alpha131/git/Linux x86_64, RepoMan options: --force, unsigned Manifest commit)
-rw-r--r-- | x11-terms/kmscon/Manifest | 1 | ||||
-rw-r--r-- | x11-terms/kmscon/files/kmscon-4-flags.patch | 26 | ||||
-rw-r--r-- | x11-terms/kmscon/kmscon-4.ebuild | 61 | ||||
-rw-r--r-- | x11-terms/kmscon/metadata.xml | 8 |
4 files changed, 96 insertions, 0 deletions
diff --git a/x11-terms/kmscon/Manifest b/x11-terms/kmscon/Manifest new file mode 100644 index 0000000..72f4c27 --- /dev/null +++ b/x11-terms/kmscon/Manifest @@ -0,0 +1 @@ +DIST kmscon-4.tar.gz 1136650 SHA256 e274bfabcf121b55a6e321986eaeeb0bf034c862ba9721aa44d35cb32ecb9468 SHA512 0cfea5ca15078499ea3160fd15c09803082f36db81f44db7dc0846c26d57be013bcb651459537a1b3757d366df063b47d14f0d2c47ded980439178aa3a080374 WHIRLPOOL 6f4fb9a18176d9c8a548161ba950391628319adffbf00d1eafec2024a76e5052246af1698f4e8601e92cc2828329204fc0f27b64bfdb2858073a79e0d5dcfa66 diff --git a/x11-terms/kmscon/files/kmscon-4-flags.patch b/x11-terms/kmscon/files/kmscon-4-flags.patch new file mode 100644 index 0000000..5e6fff4 --- /dev/null +++ b/x11-terms/kmscon/files/kmscon-4-flags.patch @@ -0,0 +1,26 @@ +From: Julian Ospald <hasufell@gentoo.org> +Date: Mon Aug 20 17:16:06 UTC 2012 +Subject: build system + +respect users flags + +--- kmscon/Makefile.am ++++ kmscon/Makefile.am +@@ -61,8 +61,6 @@ + -include $(top_builddir)/config.h \ + -I $(srcdir)/src \ + -I $(srcdir)/external +-AM_LDFLAGS = \ +- -Wl,--as-needed + + if DEBUG + AM_CFLAGS += -g +@@ -70,8 +68,6 @@ + + if OPTIMIZATIONS + AM_CFLAGS += -O2 +-else +-AM_CFLAGS += -O0 + endif + + # diff --git a/x11-terms/kmscon/kmscon-4.ebuild b/x11-terms/kmscon/kmscon-4.ebuild new file mode 100644 index 0000000..f194368 --- /dev/null +++ b/x11-terms/kmscon/kmscon-4.ebuild @@ -0,0 +1,61 @@ +# Copyright 1999-2012 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: $ + +EAPI=4 + +inherit eutils autotools vcs-snapshot + +DESCRIPTION="KMS/DRM based virtual Console Emulator" +HOMEPAGE="https://github.com/dvdhrm/kmscon" +SRC_URI="http://github.com/dvdhrm/${PN}/tarball/${P} -> ${P}.tar.gz" + +LICENSE="MIT LGPL-2.1 BSD-2 as-is" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="+bblit dbus doc drm +f8x16 +fbdev freetype2 gles2 gltex pango static-libs systemd +udev" + +RDEPEND=" + dev-libs/glib:2 + dbus? ( sys-apps/dbus ) + drm? ( x11-libs/libdrm + >=media-libs/mesa-8.0.3[egl,gbm] ) + freetype2? ( media-libs/freetype:2 ) + gles2? ( >=media-libs/mesa-8.0.3[gles2] ) + pango? ( x11-libs/pango ) + systemd? ( sys-apps/systemd ) + udev? ( sys-fs/udev )" +DEPEND="${RDEPEND} + virtual/pkgconfig + x11-proto/xproto + doc? ( dev-util/gtk-doc )" + +REQUIRED_USE="drm? ( gles2 ) + gltex? ( gles2 )" + +src_prepare() { + epatch "${FILESDIR}"/${P}-flags.patch + eautoreconf +} + +src_configure() { + # xkbcommon not in portage + econf \ + --disable-silent-rules \ + $(use_enable static-libs static) \ + $(use_enable doc gtk-doc) \ + $(use_enable systemd) \ + $(use_enable udev) \ + $(use_enable dbus) \ + $(use_enable fbdev) \ + $(use_enable drm) \ + $(use_enable gles2) \ + --disable-xkbcommon \ + $(use_enable f8x16) \ + $(use_enable freetype2) \ + $(use_enable pango) \ + $(use_enable bblit) \ + --disable-debug \ + --disable-optimizations \ + --with-html-dir=/usr/share/doc/${PF}/html +} diff --git a/x11-terms/kmscon/metadata.xml b/x11-terms/kmscon/metadata.xml new file mode 100644 index 0000000..247f458 --- /dev/null +++ b/x11-terms/kmscon/metadata.xml @@ -0,0 +1,8 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer> + <email>alexxy@gentoo.org</email> + <name>Alexey Shvetsov</name> + </maintainer> +</pkgmetadata> |