/[gentoo-x86]/media-tv/v4l-utils/v4l-utils-0.8.8.ebuild
Gentoo

Contents of /media-tv/v4l-utils/v4l-utils-0.8.8.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.6 - (show annotations) (download)
Wed Dec 5 06:08:32 2012 UTC (5 months, 2 weeks ago) by tetromino
Branch: MAIN
CVS Tags: HEAD
Changes since 1.5: +1 -1 lines
FILE REMOVED
Drop old.

(Portage version: 2.2.0_alpha144/cvs/Linux x86_64, signed Manifest commit with key CF0ADD61)

1 # Copyright 1999-2012 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/media-tv/v4l-utils/v4l-utils-0.8.8.ebuild,v 1.5 2012/10/26 17:45:48 tetromino Exp $
4
5 EAPI=4
6 inherit toolchain-funcs qt4-r2
7
8 DESCRIPTION="Separate utilities ebuild from upstream v4l-utils package"
9 HOMEPAGE="http://git.linuxtv.org/v4l-utils.git"
10 SRC_URI="http://linuxtv.org/downloads/v4l-utils/${P}.tar.bz2"
11
12 LICENSE="GPL-2+ LGPL-2.1+"
13 SLOT="0"
14 KEYWORDS="amd64 ~ppc x86"
15 IUSE="qt4"
16
17 RDEPEND=">=media-libs/libv4l-${PV}
18 qt4? ( x11-libs/qt-gui:4 )
19 !media-tv/v4l2-ctl
20 !<media-tv/ivtv-utils-1.4.0-r2"
21 DEPEND="${RDEPEND}"
22
23 S=${WORKDIR}/${P}/utils
24
25 src_prepare() {
26 use qt4 || sed -i -e 's:which $$QMAKE:which dISaBlEd:' Makefile
27 }
28
29 src_configure() {
30 tc-export AR CC CXX
31 if use qt4; then
32 cd qv4l2
33 eqmake4 qv4l2.pro
34 fi
35 }
36
37 src_compile() {
38 emake CFLAGS="${CFLAGS}" CXXFLAGS="${CXXFLAGS}"
39 }
40
41 src_install() {
42 emake DESTDIR="${D}" PREFIX="/usr" install
43
44 dodoc ../README
45 newdoc libv4l2util/TODO TODO.libv4l2util
46 newdoc xc3028-firmware/README README.xc3028-firmware
47 newdoc libmedia_dev/README README.libmedia_dev
48 }

  ViewVC Help
Powered by ViewVC 1.1.13