summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSamuli Suominen <ssuominen@gentoo.org>2010-07-10 20:07:49 +0000
committerSamuli Suominen <ssuominen@gentoo.org>2010-07-10 20:07:49 +0000
commitb61255e78322a27d34b92901c85d24de45fae55a (patch)
tree5e0f909d778d0588173a467296410cc799a19f51 /media-tv
parentremove app-arch/zip dependency (diff)
downloadhistorical-b61255e78322a27d34b92901c85d24de45fae55a.tar.gz
historical-b61255e78322a27d34b92901c85d24de45fae55a.tar.bz2
historical-b61255e78322a27d34b92901c85d24de45fae55a.zip
Initial commit of tools from media-libs/libv4l package.
Package-Manager: portage-2.2_rc67/cvs/Linux x86_64
Diffstat (limited to 'media-tv')
-rw-r--r--media-tv/v4l-utils/ChangeLog10
-rw-r--r--media-tv/v4l-utils/Manifest5
-rw-r--r--media-tv/v4l-utils/files/v4l-utils-0.7.91-respect_make.patch39
-rw-r--r--media-tv/v4l-utils/metadata.xml13
-rw-r--r--media-tv/v4l-utils/v4l-utils-0.7.91.ebuild41
5 files changed, 108 insertions, 0 deletions
diff --git a/media-tv/v4l-utils/ChangeLog b/media-tv/v4l-utils/ChangeLog
new file mode 100644
index 000000000000..8c1569e57992
--- /dev/null
+++ b/media-tv/v4l-utils/ChangeLog
@@ -0,0 +1,10 @@
+# ChangeLog for media-tv/v4l-utils
+# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/media-tv/v4l-utils/ChangeLog,v 1.1 2010/07/10 20:07:46 ssuominen Exp $
+
+*v4l-utils-0.7.91 (10 Jul 2010)
+
+ 10 Jul 2010; Samuli Suominen <ssuominen@gentoo.org>
+ +v4l-utils-0.7.91.ebuild, +files/v4l-utils-0.7.91-respect_make.patch:
+ Initial commit of tools from media-libs/libv4l package.
+
diff --git a/media-tv/v4l-utils/Manifest b/media-tv/v4l-utils/Manifest
new file mode 100644
index 000000000000..a6833d90f1b8
--- /dev/null
+++ b/media-tv/v4l-utils/Manifest
@@ -0,0 +1,5 @@
+AUX v4l-utils-0.7.91-respect_make.patch 1119 RMD160 9ee27dd1ac47d7e2e3a64c66910bf2752714c8cf SHA1 000e975be27d4050ad200af99088ffe883565809 SHA256 63b6a3e7ef49e73587379de3630c5ffd30439c5630f41bcef595737a33dde203
+DIST v4l-utils-0.7.91.tar.bz2 269686 RMD160 018cd65d7a4b381331a78abeb8355834499fa155 SHA1 93e3330659f6683858fff64012061414acd9a659 SHA256 f9c4ea0174b5b9f48178e2a47e449ef9374c3c793844b0f90ce821ce9b6b8e9e
+EBUILD v4l-utils-0.7.91.ebuild 1019 RMD160 7d1bcac7c22652adcb405da85d473747bba6debe SHA1 ec76920c1d60111c8548e6b4850ed5fd2d595a49 SHA256 035a66e8c9fde8f3877300fd16362481f51a4939bc165f82ed951dc5cfabab92
+MISC ChangeLog 430 RMD160 a88376a7b0d1113473a0065c1eae0c0596c507fd SHA1 bd3093e7670bb58287888aaf34a5e10d1ba3bd67 SHA256 a1812862be8e4a93fbc752f3123081bc2492c3254910f47d5b81857f7b17439a
+MISC metadata.xml 360 RMD160 fa3501f183813ea6cc44b10ce4cb06018d9b97ed SHA1 67fe58dd3abe7f528c99c72ad8d33ca4fc6cee24 SHA256 ed09c3963ff7dcdc94c80722a083df866812415ad59bb2561f62830c4f943482
diff --git a/media-tv/v4l-utils/files/v4l-utils-0.7.91-respect_make.patch b/media-tv/v4l-utils/files/v4l-utils-0.7.91-respect_make.patch
new file mode 100644
index 000000000000..e0a434824f4e
--- /dev/null
+++ b/media-tv/v4l-utils/files/v4l-utils-0.7.91-respect_make.patch
@@ -0,0 +1,39 @@
+diff -ur v4l-utils-0.7.91/utils/Makefile v4l-utils-0.7.91.orig/utils/Makefile
+--- v4l-utils-0.7.91/utils/Makefile 2010-03-12 12:32:09.000000000 +0200
++++ v4l-utils-0.7.91.orig/utils/Makefile 2010-07-10 22:47:39.000000000 +0300
+@@ -2,12 +2,12 @@
+
+ all install:
+ @for i in $(SUBDIRS); do \
+- make -C $$i $@; \
++ $(MAKE) -C $$i $@; \
+ done
+
+ # Test if libsysfs is installed
+ @-if [ -f /usr/include/sysfs/libsysfs.h ]; then \
+- make -C v4l2-sysfs-path $@; \
++ $(MAKE) -C v4l2-sysfs-path $@; \
+ fi
+
+ # Test whether qmake is installed, and whether it is for qt3.
+@@ -27,15 +27,15 @@
+ fi
+
+ sync-with-kernel:
+- make -C keytable $@
+- make -C v4l2-dbg $@
+- make -C xc3028-firmware $@
++ $(MAKE) -C keytable $@
++ $(MAKE) -C v4l2-dbg $@
++ $(MAKE) -C xc3028-firmware $@
+
+ clean::
+ @for i in $(SUBDIRS); do \
+ make -C $$i $@; \
+ done
+- make -C v4l2-sysfs-path $@
++ $(MAKE) -C v4l2-sysfs-path $@
+ if [ -f qv4l2-qt3/Makefile ]; then make -C qv4l2-qt3 $@; fi
+ if [ -f qv4l2-qt4/Makefile ]; then make -C qv4l2-qt4 $@; fi
+ rm -f qv4l2-qt?/Makefile qv4l2-qt?/qv4l2
+Only in v4l-utils-0.7.91.orig/utils: Makefile.orig
diff --git a/media-tv/v4l-utils/metadata.xml b/media-tv/v4l-utils/metadata.xml
new file mode 100644
index 000000000000..7eb86e034f9e
--- /dev/null
+++ b/media-tv/v4l-utils/metadata.xml
@@ -0,0 +1,13 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <herd>media-tv</herd>
+ <maintainer>
+ <email>aballier@gentoo.org</email>
+ <name>Alexis Ballier</name>
+ </maintainer>
+ <maintainer>
+ <email>tetromino@gmail.com</email>
+ <name>Alexandre Rostovtsev</name>
+ </maintainer>
+</pkgmetadata>
diff --git a/media-tv/v4l-utils/v4l-utils-0.7.91.ebuild b/media-tv/v4l-utils/v4l-utils-0.7.91.ebuild
new file mode 100644
index 000000000000..530721c8854e
--- /dev/null
+++ b/media-tv/v4l-utils/v4l-utils-0.7.91.ebuild
@@ -0,0 +1,41 @@
+# Copyright 1999-2010 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.7.91.ebuild,v 1.1 2010/07/10 20:07:46 ssuominen Exp $
+
+EAPI=2
+inherit eutils toolchain-funcs qt4-r2
+
+DESCRIPTION="Separate libraries ebuild from upstream v4l-utils package"
+HOMEPAGE="http://people.fedoraproject.org/~jwrdegoede/"
+SRC_URI="http://people.fedoraproject.org/~jwrdegoede/${P}.tar.bz2"
+
+LICENSE="GPL-2 LGPL-2.1"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+DEPEND=">=media-libs/libv4l-${PV}
+ x11-libs/qt-gui:4"
+
+S=${WORKDIR}/${P}/utils
+
+src_prepare() {
+ epatch "${FILESDIR}"/${P}-respect_make.patch
+ rm -rf qv4l2-qt3 || die
+}
+
+src_configure() {
+ tc-export CC CXX
+ cd qv4l2-qt4
+ eqmake4 qv4l2.pro
+}
+
+src_install() {
+ emake DESTDIR="${D}" PREFIX="/usr" install || die
+
+ doicon qv4l2-qt4/qv4l2.png
+ make_desktop_entry qv4l2 qv4l2
+
+ newdoc libv4l2util/TODO TODO.libv4l2util || die
+ newdoc xc3028-firmware/README README.xc3028-firmware || die
+}