* [gentoo-commits] proj/betagarden:master commit in: media-video/fswebcam/
@ 2016-08-15 22:23 Sebastian Pipping
0 siblings, 0 replies; only message in thread
From: Sebastian Pipping @ 2016-08-15 22:23 UTC (permalink / raw
To: gentoo-commits
commit: 097a0c0672d3c2b69e5985dc7ab28f54c70d027e
Author: Sebastian Pipping <sping <AT> gentoo <DOT> org>
AuthorDate: Mon Aug 15 21:47:17 2016 +0000
Commit: Sebastian Pipping <sping <AT> gentoo <DOT> org>
CommitDate: Mon Aug 15 21:52:13 2016 +0000
URL: https://gitweb.gentoo.org/proj/betagarden.git/commit/?id=097a0c06
media-video/fswebcam: 20160111
media-video/fswebcam/fswebcam-20160111.ebuild | 35 +++++++++++++++++++++++++++
media-video/fswebcam/metadata.xml | 7 ++++++
2 files changed, 42 insertions(+)
diff --git a/media-video/fswebcam/fswebcam-20160111.ebuild b/media-video/fswebcam/fswebcam-20160111.ebuild
new file mode 100644
index 0000000..1f3b7ab
--- /dev/null
+++ b/media-video/fswebcam/fswebcam-20160111.ebuild
@@ -0,0 +1,35 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+inherit linux-info
+
+MY_PV=03ca8d60df7afc07db5adb91ec2457c23f4d9d59
+DESCRIPTION="Simple command-line webcam application"
+HOMEPAGE="https://github.com/fsphil/fswebcam"
+SRC_URI="https://github.com/fsphil/${PN}/archive/${MY_PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+DEPEND="media-libs/gd[jpeg,png,truetype]"
+RDEPEND="${DEPEND}"
+
+S="${WORKDIR}"/${PN}-${MY_PV}
+
+pkg_setup() {
+ if linux_config_exists ; then
+ einfo "Checking kernel configuration at $(linux_config_path)..."
+ if ! linux_chkconfig_present VIDEO_DEV ; then
+ ewarn 'Kernel option VIDEO_DEV=[ym] needed but missing'
+ fi
+ fi
+}
+
+src_configure() {
+ econf --enable-32bit-buffer
+}
diff --git a/media-video/fswebcam/metadata.xml b/media-video/fswebcam/metadata.xml
new file mode 100644
index 0000000..82b7b79
--- /dev/null
+++ b/media-video/fswebcam/metadata.xml
@@ -0,0 +1,7 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="person">
+ <email>sping@gentoo.org</email>
+ </maintainer>
+</pkgmetadata>
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2016-08-15 22:23 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-08-15 22:23 [gentoo-commits] proj/betagarden:master commit in: media-video/fswebcam/ Sebastian Pipping
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox