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>[email protected]</email> + </maintainer> +</pkgmetadata>
