summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIan Whyman <thev00d00@gentoo.org>2012-04-01 20:01:45 +0000
committerIan Whyman <thev00d00@gentoo.org>2012-04-01 20:01:45 +0000
commitaaf5f7c065d8414afd06977e5c30f794a9b7c02b (patch)
treec36b620c22d7f76ffc56a6227c23733815f98510 /dev-libs/libcec
parentVersion bump (diff)
downloadgentoo-2-aaf5f7c065d8414afd06977e5c30f794a9b7c02b.tar.gz
gentoo-2-aaf5f7c065d8414afd06977e5c30f794a9b7c02b.tar.bz2
gentoo-2-aaf5f7c065d8414afd06977e5c30f794a9b7c02b.zip
dev-libs/libcec new ebuild.
(Portage version: 2.2.0_alpha95/cvs/Linux x86_64)
Diffstat (limited to 'dev-libs/libcec')
-rw-r--r--dev-libs/libcec/ChangeLog10
-rw-r--r--dev-libs/libcec/libcec-1.5.2.ebuild38
-rw-r--r--dev-libs/libcec/metadata.xml8
3 files changed, 56 insertions, 0 deletions
diff --git a/dev-libs/libcec/ChangeLog b/dev-libs/libcec/ChangeLog
new file mode 100644
index 000000000000..033a5268d964
--- /dev/null
+++ b/dev-libs/libcec/ChangeLog
@@ -0,0 +1,10 @@
+# ChangeLog for dev-libs/libcec
+# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/dev-libs/libcec/ChangeLog,v 1.1 2012/04/01 20:01:45 thev00d00 Exp $
+
+*libcec-1.5.2 (01 Apr 2012)
+
+ 01 Apr 2012; Ian Whyman <thev00d00@gentoo.org> +libcec-1.5.2.ebuild,
+ +metadata.xml:
+ New ebuild for libcec
+
diff --git a/dev-libs/libcec/libcec-1.5.2.ebuild b/dev-libs/libcec/libcec-1.5.2.ebuild
new file mode 100644
index 000000000000..09b0d6a8302d
--- /dev/null
+++ b/dev-libs/libcec/libcec-1.5.2.ebuild
@@ -0,0 +1,38 @@
+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-libs/libcec/libcec-1.5.2.ebuild,v 1.1 2012/04/01 20:01:45 thev00d00 Exp $
+
+EAPI=4
+
+inherit autotools linux-info vcs-snapshot
+
+DESCRIPTION="Library for communicating with the Pulse-Eight USB HDMI-CEC Adaptor"
+HOMEPAGE="http://libcec.pulse-eight.com"
+SRC_URI="http://github.com/Pulse-Eight/${PN}/tarball/${P} -> ${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+DEPEND=">=sys-devel/autoconf-2.13
+ >=sys-devel/automake-1.11
+ sys-devel/libtool
+ "
+RDEPEND=">=sys-fs/udev-151"
+
+pkg_setup() {
+ if linux_config_exists; then
+ if ! linux_chkconfig_present USB_ACM; then
+ ewarn "You should enable the USB_ACM support in your kernel."
+ ewarn "Check the 'USB Modem (CDC ACM) support' under the"
+ ewarn "'Device Drivers' and 'USB support' option. It is"
+ ewarn "marked as CONFIG_USB_ACM in the config"
+ die 'missing CONFIG_USB_ACM'
+ fi
+ fi
+}
+
+src_prepare() {
+ eautoreconf
+}
diff --git a/dev-libs/libcec/metadata.xml b/dev-libs/libcec/metadata.xml
new file mode 100644
index 000000000000..8db32ac91dfe
--- /dev/null
+++ b/dev-libs/libcec/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>thev00d00@gentoo.org</email>
+ <name>Ian Whyman</name>
+ </maintainer>
+</pkgmetadata>