diff options
author | Alexis Ballier <aballier@gentoo.org> | 2011-02-18 14:43:14 +0000 |
---|---|---|
committer | Alexis Ballier <aballier@gentoo.org> | 2011-02-18 14:43:14 +0000 |
commit | f7fb5fd410cacc20f96a4ac573c37d005daa447f (patch) | |
tree | ec4196b07e766595fef8533b9d1749ada4f357a2 /media-tv/v4l-utils/v4l-utils-0.8.3.ebuild | |
parent | Version bump (diff) | |
download | gentoo-2-f7fb5fd410cacc20f96a4ac573c37d005daa447f.tar.gz gentoo-2-f7fb5fd410cacc20f96a4ac573c37d005daa447f.tar.bz2 gentoo-2-f7fb5fd410cacc20f96a4ac573c37d005daa447f.zip |
version bump, bug #355287
(Portage version: 2.2.0_alpha24/cvs/Linux x86_64)
Diffstat (limited to 'media-tv/v4l-utils/v4l-utils-0.8.3.ebuild')
-rw-r--r-- | media-tv/v4l-utils/v4l-utils-0.8.3.ebuild | 53 |
1 files changed, 53 insertions, 0 deletions
diff --git a/media-tv/v4l-utils/v4l-utils-0.8.3.ebuild b/media-tv/v4l-utils/v4l-utils-0.8.3.ebuild new file mode 100644 index 000000000000..f1d429ca08f7 --- /dev/null +++ b/media-tv/v4l-utils/v4l-utils-0.8.3.ebuild @@ -0,0 +1,53 @@ +# Copyright 1999-2011 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/media-tv/v4l-utils/v4l-utils-0.8.3.ebuild,v 1.1 2011/02/18 14:43:14 aballier Exp $ + +EAPI=2 +inherit eutils toolchain-funcs qt4-r2 + +DESCRIPTION="Separate utilities ebuild from upstream v4l-utils package" +HOMEPAGE="http://git.linuxtv.org/v4l-utils.git" +SRC_URI="http://linuxtv.org/downloads/v4l-utils/${P}.tar.bz2" + +LICENSE="GPL-2 LGPL-2.1" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="qt4" + +RDEPEND=">=media-libs/libv4l-${PV} + qt4? ( x11-libs/qt-gui:4 ) + !media-tv/v4l2-ctl + sys-fs/sysfsutils + !<media-tv/ivtv-utils-1.4.0-r2" +DEPEND="${RDEPEND}" + +S=${WORKDIR}/${P}/utils + +src_prepare() { + use qt4 || sed -i -e 's:which $$QMAKE:which dISaBlEd:' Makefile +} + +src_configure() { + tc-export CC CXX + if use qt4; then + cd qv4l2 + eqmake4 qv4l2.pro + fi +} + +src_compile() { + emake CFLAGS="${CFLAGS}" CXXFLAGS="${CXXFLAGS}" || die +} + +src_install() { + emake DESTDIR="${D}" PREFIX="/usr" install || die + + if use qt4; then + doicon qv4l2/qv4l2.png + make_desktop_entry qv4l2 "V42L Test Bench" qv4l2 + fi + + dodoc ../README + newdoc libv4l2util/TODO TODO.libv4l2util + newdoc xc3028-firmware/README README.xc3028-firmware +} |