From d912cc90319bd3658ed606ad56c9b063d7a93b43 Mon Sep 17 00:00:00 2001 From: Ian Stakenvicius Date: Fri, 22 Jun 2007 20:26:13 +0000 Subject: media-tv/ati-genericv4l: New ebuild for bug 182927 svn path=/sunrise/; revision=4013 --- media-tv/ati-genericv4l/ChangeLog | 8 +++ media-tv/ati-genericv4l/Manifest | 16 ++++++ media-tv/ati-genericv4l/ati-genericv4l-2.6.ebuild | 66 ++++++++++++++++++++++ .../ati-genericv4l/files/digest-ati-genericv4l-2.6 | 3 + media-tv/ati-genericv4l/metadata.xml | 5 ++ 5 files changed, 98 insertions(+) create mode 100644 media-tv/ati-genericv4l/ChangeLog create mode 100644 media-tv/ati-genericv4l/Manifest create mode 100644 media-tv/ati-genericv4l/ati-genericv4l-2.6.ebuild create mode 100644 media-tv/ati-genericv4l/files/digest-ati-genericv4l-2.6 create mode 100644 media-tv/ati-genericv4l/metadata.xml (limited to 'media-tv') diff --git a/media-tv/ati-genericv4l/ChangeLog b/media-tv/ati-genericv4l/ChangeLog new file mode 100644 index 000000000..05b23c361 --- /dev/null +++ b/media-tv/ati-genericv4l/ChangeLog @@ -0,0 +1,8 @@ +# ChangeLog for media-tv/ati-genericv4l +# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2 +# $Header: $ + + 22 Jun 2007; Ian Stakenvicius (_AxS_) + +ati-genericv4l-2.6.ebuild, +metadata.xml: + New ebuild for bug 182927 + diff --git a/media-tv/ati-genericv4l/Manifest b/media-tv/ati-genericv4l/Manifest new file mode 100644 index 000000000..429440c79 --- /dev/null +++ b/media-tv/ati-genericv4l/Manifest @@ -0,0 +1,16 @@ +DIST genericv4l-2.6.tbz2 45629 RMD160 f23e4b048c40720207ae834bf31eb62316918b9e SHA1 0dedaf54776d46d3086552a8b627728f3e59e6e9 SHA256 80bd081d2a07f810ab2c6b1ee4eb99d87222984c8f06ab17ed5968034c7e18ed +EBUILD ati-genericv4l-2.6.ebuild 1884 RMD160 2d8e066152a774252e45161f4d3a2be9e50ddad0 SHA1 e839d2d97e17a1993e8b598f2120db06fdd1b021 SHA256 d2caa6770e2661906bf3a134511e924187915bb0c728515da26c4a9444c17144 +MD5 aac1f0132c3c3d7255a96a7f134e106b ati-genericv4l-2.6.ebuild 1884 +RMD160 2d8e066152a774252e45161f4d3a2be9e50ddad0 ati-genericv4l-2.6.ebuild 1884 +SHA256 d2caa6770e2661906bf3a134511e924187915bb0c728515da26c4a9444c17144 ati-genericv4l-2.6.ebuild 1884 +MISC ChangeLog 271 RMD160 5ec63e715b3a3aaf16bdb7587f3af8100757f4ff SHA1 3c797a750c194179d3d3b4b06a12a87eb33fd9d2 SHA256 d2ed4486e140a878543f42bacb9a0824f4b5867ee910d0e19ac83cb0140449a6 +MD5 abc9d9a5bdcf13ea61c6845073daf982 ChangeLog 271 +RMD160 5ec63e715b3a3aaf16bdb7587f3af8100757f4ff ChangeLog 271 +SHA256 d2ed4486e140a878543f42bacb9a0824f4b5867ee910d0e19ac83cb0140449a6 ChangeLog 271 +MISC metadata.xml 170 RMD160 645927a396fdc21cdeb089fe42c5397332420ea6 SHA1 ac7f48a14fec325926f9ce1be8fbf1f311b4f2e4 SHA256 d797a2ec6f9dc516c9f9c1a758ee87ad3e8c43101b5dc76c2f872d5bd4639b42 +MD5 1e678929a9fec6632e227bdf2262e9a1 metadata.xml 170 +RMD160 645927a396fdc21cdeb089fe42c5397332420ea6 metadata.xml 170 +SHA256 d797a2ec6f9dc516c9f9c1a758ee87ad3e8c43101b5dc76c2f872d5bd4639b42 metadata.xml 170 +MD5 a255d9fc2bd647fee6bfcc2d9b5dd57b files/digest-ati-genericv4l-2.6 235 +RMD160 ee92717adfd639ad905103b2cd5d6516b8f28396 files/digest-ati-genericv4l-2.6 235 +SHA256 0ccda053a9933b261d4affd50d52a480b251734ded2b43c1c9decd3088a73b5f files/digest-ati-genericv4l-2.6 235 diff --git a/media-tv/ati-genericv4l/ati-genericv4l-2.6.ebuild b/media-tv/ati-genericv4l/ati-genericv4l-2.6.ebuild new file mode 100644 index 000000000..8b1482bad --- /dev/null +++ b/media-tv/ati-genericv4l/ati-genericv4l-2.6.ebuild @@ -0,0 +1,66 @@ +# Copyright 1999-2007 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/net-wireless/madwifi-ng/madwifi-ng-0.9.2.1.ebuild,v 1.8 2007/02/20 12:12:40 genstef Exp $ + +inherit linux-mod + +MY_P=${PN/ati-/}-${PV} +S=${WORKDIR} + +DESCRIPTION="Generic V4L2 driver for ATI Mach64-based tv cards (All-in-Wonder, etc)" +HOMEPAGE="http://www.rulerofearth.com/" +SRC_URI="http://www.rulerofearth.com/${MY_P}.tbz2" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~x86" + +IUSE="" +DEPEND="" +RDEPEND="" + +CONFIG_CHECK="VIDEO_DEV VIDEO_V4L1_COMPAT VIDEO_V4L2" +ERROR_VIDEO_DEV="${P} requires Video For Linux support (CONFIG_VIDEO_DEV)." +ERROR_VIDEO_V4L1_COMPAT="${P} requires Video For Linux API 1 compatible Layer (CONFIG_VIDEO_V4L1_COMPAT)." +ERROR_VIDEO_V4L2="${P} requires Video For Linux API 2 support (CONFIG_VIDEO_V4L2)." +BUILD_TARGETS="default" + +pkg_setup() { + linux-mod_pkg_setup + + MODULE_NAMES="genericv4l(v4l:${S}/v4l2)" + + BUILD_PARAMS="KDIR=${KV_OUT_DIR}" +} + +src_compile() { + # assists in debugging +# emake KERNELPATH=${KV_OUT_DIR} info || die "emake info failed" + + linux-mod_src_compile +} + +src_install() { + linux-mod_src_install + + dodoc v4l2/README_ENG.TXT v4l2/README_FR.TXT +} + +pkg_postinst() { + local moddir="${ROOT}/lib/modules/${KV_FULL}/v4l/" + + einfo "Removing old modules (just in case)" + [[ -f "${moddir}/genericv4l.${KV_OBJ}" ]] && rm "${moddir}/genericv4l.${KV_OBJ}" + + linux-mod_pkg_postinst + + einfo + einfo "NOTE: if you load the module and Tuner is not found" + einfo "(look in dmesg) you can try to specify the tuner with the tunertype parameter" + einfo "If you have a SECAM tuner you MUST specify tunertype=2" + einfo + ewarn "If you are using GATOS as well, keep in mind that you cannot use" + ewarn "both at the same time (you CANNOT watch tv in overlay mode and use" + ewarn "my driver to capture video at the same time)" + einfo +} diff --git a/media-tv/ati-genericv4l/files/digest-ati-genericv4l-2.6 b/media-tv/ati-genericv4l/files/digest-ati-genericv4l-2.6 new file mode 100644 index 000000000..b6348e71e --- /dev/null +++ b/media-tv/ati-genericv4l/files/digest-ati-genericv4l-2.6 @@ -0,0 +1,3 @@ +MD5 b9c3c6475f36a1430fe92a10c03d3d54 genericv4l-2.6.tbz2 45629 +RMD160 f23e4b048c40720207ae834bf31eb62316918b9e genericv4l-2.6.tbz2 45629 +SHA256 80bd081d2a07f810ab2c6b1ee4eb99d87222984c8f06ab17ed5968034c7e18ed genericv4l-2.6.tbz2 45629 diff --git a/media-tv/ati-genericv4l/metadata.xml b/media-tv/ati-genericv4l/metadata.xml new file mode 100644 index 000000000..7e3286984 --- /dev/null +++ b/media-tv/ati-genericv4l/metadata.xml @@ -0,0 +1,5 @@ + + + +maintainer-wanted + -- cgit v1.2.3-65-gdbad