diff options
Diffstat (limited to 'media-tv')
-rw-r--r-- | media-tv/v4l-utils/ChangeLog | 9 | ||||
-rw-r--r-- | media-tv/v4l-utils/v4l-utils-0.8.6.ebuild | 48 |
2 files changed, 55 insertions, 2 deletions
diff --git a/media-tv/v4l-utils/ChangeLog b/media-tv/v4l-utils/ChangeLog index 10a2ff1bc6b5..cc54d4874b78 100644 --- a/media-tv/v4l-utils/ChangeLog +++ b/media-tv/v4l-utils/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for media-tv/v4l-utils -# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/media-tv/v4l-utils/ChangeLog,v 1.16 2011/12/30 13:16:34 ssuominen Exp $ +# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/media-tv/v4l-utils/ChangeLog,v 1.17 2012/02/19 14:14:32 aballier Exp $ + +*v4l-utils-0.8.6 (19 Feb 2012) + + 19 Feb 2012; Alexis Ballier <aballier@gentoo.org> +v4l-utils-0.8.6.ebuild: + version bump 30 Dec 2011; Samuli Suominen <ssuominen@gentoo.org> v4l-utils-0.8.5.ebuild: ppc stable wrt #382727 diff --git a/media-tv/v4l-utils/v4l-utils-0.8.6.ebuild b/media-tv/v4l-utils/v4l-utils-0.8.6.ebuild new file mode 100644 index 000000000000..361a45a21320 --- /dev/null +++ b/media-tv/v4l-utils/v4l-utils-0.8.6.ebuild @@ -0,0 +1,48 @@ +# Copyright 1999-2012 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.6.ebuild,v 1.1 2012/02/19 14:14:32 aballier Exp $ + +EAPI=4 +inherit 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 ~ppc ~x86" +IUSE="qt4" + +RDEPEND=">=media-libs/libv4l-${PV} + qt4? ( x11-libs/qt-gui:4 ) + !media-tv/v4l2-ctl + !<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}" +} + +src_install() { + emake DESTDIR="${D}" PREFIX="/usr" install + + dodoc ../README + newdoc libv4l2util/TODO TODO.libv4l2util + newdoc xc3028-firmware/README README.xc3028-firmware + newdoc libmedia_dev/README README.libmedia_dev +} |