summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
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>