summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSteve Dibb <beandog@gentoo.org>2006-12-01 17:49:41 +0000
committerSteve Dibb <beandog@gentoo.org>2006-12-01 17:49:41 +0000
commitb2aa5781f7bbb31baa423db1f27015d3265c3bcf (patch)
tree81c4c4bf32d5e553c7322e0db18c09c2661d2e1b /media-tv/ivtv
parentStable on ppc64; bug #156718 (diff)
downloadhistorical-b2aa5781f7bbb31baa423db1f27015d3265c3bcf.tar.gz
historical-b2aa5781f7bbb31baa423db1f27015d3265c3bcf.tar.bz2
historical-b2aa5781f7bbb31baa423db1f27015d3265c3bcf.zip
Version bumps
Package-Manager: portage-2.1.1-r2
Diffstat (limited to 'media-tv/ivtv')
-rw-r--r--media-tv/ivtv/ChangeLog10
-rw-r--r--media-tv/ivtv/Manifest32
-rw-r--r--media-tv/ivtv/files/digest-ivtv-0.4.83
-rw-r--r--media-tv/ivtv/files/digest-ivtv-0.6.53
-rw-r--r--media-tv/ivtv/files/digest-ivtv-0.7.23
-rw-r--r--media-tv/ivtv/ivtv-0.4.8.ebuild133
-rw-r--r--media-tv/ivtv/ivtv-0.6.5.ebuild117
-rw-r--r--media-tv/ivtv/ivtv-0.7.2.ebuild86
8 files changed, 382 insertions, 5 deletions
diff --git a/media-tv/ivtv/ChangeLog b/media-tv/ivtv/ChangeLog
index 7b28c7fcb430..5d2e9422e87d 100644
--- a/media-tv/ivtv/ChangeLog
+++ b/media-tv/ivtv/ChangeLog
@@ -1,6 +1,14 @@
# ChangeLog for media-tv/ivtv
# Copyright 2000-2006 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/media-tv/ivtv/ChangeLog,v 1.62 2006/11/29 20:40:35 beandog Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-tv/ivtv/ChangeLog,v 1.63 2006/12/01 17:49:41 beandog Exp $
+
+*ivtv-0.7.2 (01 Dec 2006)
+*ivtv-0.6.5 (01 Dec 2006)
+*ivtv-0.4.8 (01 Dec 2006)
+
+ 01 Dec 2006; Steve Dibb <beandog@gentoo.org> +ivtv-0.4.8.ebuild,
+ +ivtv-0.6.5.ebuild, +ivtv-0.7.2.ebuild:
+ Version bumps
*ivtv-0.8.0-r1 (29 Nov 2006)
diff --git a/media-tv/ivtv/Manifest b/media-tv/ivtv/Manifest
index 62d04c955d6c..6942673edb8e 100644
--- a/media-tv/ivtv/Manifest
+++ b/media-tv/ivtv/Manifest
@@ -4,10 +4,13 @@ RMD160 0261d991ec2e1db04f4408e3ce30b7e2088057f7 files/ivtv 152
SHA256 828831443387297fbad1e21cbd979c378a0f16063cde8e0abcf86f4cf01e31d9 files/ivtv 152
DIST ivtv-0.4.5.tar.gz 502679 RMD160 8b6c1bf532797ec19ec148a26515fd38a0d983e7 SHA1 882277f2ef602156ba6c8bbfddde43ae51f7ea3f SHA256 a600339247f16f0b3028581f3f84154e6b352f166b238b0c5c282a11fc1a603d
DIST ivtv-0.4.7.tar.gz 503454 RMD160 667a8b548293b0d44e7bc2310824c8e431eb8ff9 SHA1 7488eccf0b1eff6f4c9009e5f6cb6de2e01aaf82 SHA256 263e788c52818685800920320a1d162f57ab5a5044a03de5e78005bdbf88bada
+DIST ivtv-0.4.8.tar.gz 503874 RMD160 57ab83093715260442ba242051c1d37f2bb334d5 SHA1 24d1041fb2313f0cda69eb70b8f65bbd32166bab SHA256 cbc13359c26b3436503b16f3463197e86712a998cf947961bce7d7c6a54903d0
DIST ivtv-0.6.3.tar.gz 433472 RMD160 57143da9b921b3da5d4ff7b9468130abf390c983 SHA1 599b22f88b53ae8bd9161ddfe7276a79f38c4da5 SHA256 b4a74a225b9947b52ab4dc5b0b3d67536f5d77acc6da3af39f7f3b16116c353f
DIST ivtv-0.6.4.tar.gz 434457 RMD160 5b7709899c5b3016aa4955bf66c904758599c08b SHA1 a060f7f5c6095b1f5f4407372d7a5d70ccbb0f25 SHA256 0b52a10f360b110d6b77a148399ada1c011885d7a2c714374b3620e02eedc3cf
+DIST ivtv-0.6.5.tar.gz 434707 RMD160 e09ae7fff4671dd2c376f907d66a6f6407933719 SHA1 dd8a1ae22295515e2af1fc4455256eae5d4d468a SHA256 7c00dc9d7aabf2bc4955558bcd3e42a6a50c0f1878e727cf6630f288490005d9
DIST ivtv-0.7.0.tar.gz 422347 RMD160 d9f3a698c5ba5796f33920e7372315ffca346ddc SHA1 b6988fb28e6ecc208939916fa53870117baa96fe SHA256 16a19bdc3ddd053800ae7ce41f119551469004c0d7e57d2b43e2f688da517978
DIST ivtv-0.7.1.tar.gz 423214 RMD160 f14d7abab7e054e205f324bfc6433163595328b8 SHA1 0bfc8dad7efefa66cb59bae33f00e5e79470b1a0 SHA256 0c5bd0f36c5905b1cf402d56d301d85d2871c531c96ddd5967ce6574735edaf3
+DIST ivtv-0.7.2.tar.gz 423685 RMD160 9afcc4c8320fb89bb5d39db484ce4524cf488466 SHA1 c405fe833bb5349fbec5c70b8021a50612c4b435 SHA256 0f38ecd911f960c214a85d52ce82aafc36420e7008006982838859e9b385d413
DIST ivtv-0.8.0.tar.gz 391165 RMD160 aff7a773bbd2656febf5f0d111479919cefebe5d SHA1 f35dd344c96553b9a841cf310f8b6b68219a1d3a SHA256 607c6262294c80e0bb437aebf122d30ccfa781255aec581a362271dd902333e2
DIST ivtv-0.8.1.tar.gz 403984 RMD160 5458bf7a29d399782c7a5cfb45f3ed148e010e73 SHA1 53634ae4501aface5e3b625635a087b5af117c50 SHA256 10e4ce21cd02493a99bf91f96371c295787c121116b0fe8d9d2bb18f5c1061ad
DIST pvr_1.18.21.22254_inf.zip 593441 RMD160 9549dddfddacf6bee3c73def508a2c347c5e25f2 SHA1 9eaceaca5341cb6771777281459f36b8450b922e SHA256 156c0cfaa2cb3f482b48f95b94a9247690e4ed2d0cb8962a52db8846c683bff1
@@ -21,6 +24,10 @@ EBUILD ivtv-0.4.7.ebuild 3911 RMD160 1e64dd007c4ba2a7819f1352d4c5bd1e5b1bb6c7 SH
MD5 7236066d418d08344225b4ed1476bfe3 ivtv-0.4.7.ebuild 3911
RMD160 1e64dd007c4ba2a7819f1352d4c5bd1e5b1bb6c7 ivtv-0.4.7.ebuild 3911
SHA256 5bc8402205d3d600d3f2cfff393bedb0466013cece9853ab7b05b7fc69946ca1 ivtv-0.4.7.ebuild 3911
+EBUILD ivtv-0.4.8.ebuild 3942 RMD160 49dfddcd16090b7a28c2ad13ee3bb82c05647c88 SHA1 bdeb2c91c8107b1953e27c596a33e76d9951a1d9 SHA256 07eef5c314129fc0c364191a19332fd7fd907f27c87ae87a6ca1369da63bc5be
+MD5 9232911f6857f90ce01fc2c9a33298eb ivtv-0.4.8.ebuild 3942
+RMD160 49dfddcd16090b7a28c2ad13ee3bb82c05647c88 ivtv-0.4.8.ebuild 3942
+SHA256 07eef5c314129fc0c364191a19332fd7fd907f27c87ae87a6ca1369da63bc5be ivtv-0.4.8.ebuild 3942
EBUILD ivtv-0.6.3.ebuild 4061 RMD160 eadc251c607679bd5d0a30cdc7bd46f7fff555fd SHA1 37d69038508650c7403682d0aed46fce986c5a38 SHA256 6ff54b700d99abe61a48e8c0c1e4fb1570aacd0c165370923fd60aabc3a26171
MD5 92e8df7f2de4476e9ba56ed25b4c763b ivtv-0.6.3.ebuild 4061
RMD160 eadc251c607679bd5d0a30cdc7bd46f7fff555fd ivtv-0.6.3.ebuild 4061
@@ -29,6 +36,10 @@ EBUILD ivtv-0.6.4.ebuild 3507 RMD160 5d8be9b6bebe0d807d2024c01372d302ea05e33d SH
MD5 43899c7c9ea27e7a75111f7d2511e070 ivtv-0.6.4.ebuild 3507
RMD160 5d8be9b6bebe0d807d2024c01372d302ea05e33d ivtv-0.6.4.ebuild 3507
SHA256 3cf9d1220c460c8365d9b725140d9966c18bff43b074111a89cceba691668209 ivtv-0.6.4.ebuild 3507
+EBUILD ivtv-0.6.5.ebuild 3538 RMD160 6f1795b119f15708f69802afdf81ec1077014427 SHA1 c40c0fa8a95c0fbe09571c4cbdff962fe21d0cba SHA256 47637b49dbf8c45c60b77cc1f2d3bd9eae7622613e2026d89a9c4d7d026a37ab
+MD5 0e037ea2440ba999062b5bfce5365aac ivtv-0.6.5.ebuild 3538
+RMD160 6f1795b119f15708f69802afdf81ec1077014427 ivtv-0.6.5.ebuild 3538
+SHA256 47637b49dbf8c45c60b77cc1f2d3bd9eae7622613e2026d89a9c4d7d026a37ab ivtv-0.6.5.ebuild 3538
EBUILD ivtv-0.7.0.ebuild 2803 RMD160 6f1bc9d76b27c902c29d1e57a299add9bb7e9924 SHA1 2d16244669072d13b312150ca64ebb26cbf58b1b SHA256 519b5ed7d370b902b9d426bc36d4eabc9a54a7d8fb0d8550783fcfe6dac63345
MD5 35e67c5510a54474930f3fa38bbf7956 ivtv-0.7.0.ebuild 2803
RMD160 6f1bc9d76b27c902c29d1e57a299add9bb7e9924 ivtv-0.7.0.ebuild 2803
@@ -37,6 +48,10 @@ EBUILD ivtv-0.7.1.ebuild 2241 RMD160 8542a454b7c9a8e8840b5bf3b42b5073dbfd4e7c SH
MD5 9a2241bf7f808967eaf1081f805a3a0a ivtv-0.7.1.ebuild 2241
RMD160 8542a454b7c9a8e8840b5bf3b42b5073dbfd4e7c ivtv-0.7.1.ebuild 2241
SHA256 1046714669491c8205d37ef45786e4dd788fc443398f14bcacc78e87b0b3908d ivtv-0.7.1.ebuild 2241
+EBUILD ivtv-0.7.2.ebuild 2274 RMD160 790abe9de16afb3b24b447ea9d463acd4730d2a1 SHA1 3df1e2322843fe04b90055f8b63e2333df13bae6 SHA256 93cfa2abeedf80bca2b96492be8e2c4461ac6a18e68e9e79afed377e640b5c7e
+MD5 30f8dc5eb61f7c1dfd52ef335108855f ivtv-0.7.2.ebuild 2274
+RMD160 790abe9de16afb3b24b447ea9d463acd4730d2a1 ivtv-0.7.2.ebuild 2274
+SHA256 93cfa2abeedf80bca2b96492be8e2c4461ac6a18e68e9e79afed377e640b5c7e ivtv-0.7.2.ebuild 2274
EBUILD ivtv-0.8.0-r1.ebuild 2083 RMD160 d57a95b397a1baf4be945c60d0a77eaba343decd SHA1 31b60c6b8319c919218ebceab3a10ebd5efb337c SHA256 e92d6e7b33ea5f940d822c28c2e32b771805c21c7229ec1e6aada2469207b76b
MD5 9be2b79fe9e8b676b623c5013e1680d4 ivtv-0.8.0-r1.ebuild 2083
RMD160 d57a95b397a1baf4be945c60d0a77eaba343decd ivtv-0.8.0-r1.ebuild 2083
@@ -53,10 +68,10 @@ EBUILD ivtv-0.8.1.ebuild 2149 RMD160 16c916726e596a97c9824b946027e60d162905c1 SH
MD5 285002d25873436daa14cf778d3041dc ivtv-0.8.1.ebuild 2149
RMD160 16c916726e596a97c9824b946027e60d162905c1 ivtv-0.8.1.ebuild 2149
SHA256 bd0636b65ac2af2c3cca92a49f7f987d2bf6e4ebbeb999999e4944edbd88fa63 ivtv-0.8.1.ebuild 2149
-MISC ChangeLog 10445 RMD160 f7dc437c7e97f75448e88f15817f766da5337f04 SHA1 78d4952950cec262301458bc48694c92e1009e0d SHA256 cf929deb2b593d0098540bcfc7ca8d560558847fdc5e38258b144e330985195f
-MD5 22b4ceb809de2b82d88c008688baa8e8 ChangeLog 10445
-RMD160 f7dc437c7e97f75448e88f15817f766da5337f04 ChangeLog 10445
-SHA256 cf929deb2b593d0098540bcfc7ca8d560558847fdc5e38258b144e330985195f ChangeLog 10445
+MISC ChangeLog 10650 RMD160 8c88478efab2704645a11c39712a5a547c1f2cfc SHA1 b788bc2d67688037f23ad023847582b7ff56b7fb SHA256 b726dc47ad4605abe624b03cebfaccd67037541f992c212e3a6eadd2be67c4e3
+MD5 cedb4db602af923513bab96c9933bb0c ChangeLog 10650
+RMD160 8c88478efab2704645a11c39712a5a547c1f2cfc ChangeLog 10650
+SHA256 b726dc47ad4605abe624b03cebfaccd67037541f992c212e3a6eadd2be67c4e3 ChangeLog 10650
MISC metadata.xml 495 RMD160 fce120b898530aef1984964ee4fe82552325e976 SHA1 fa493a7f5069abe278527eb46051adc04a0dfb32 SHA256 af459e1dca4aa34e999427a5aa2b3d8bf90986b2b8fbd98063f74eed35a9d1cb
MD5 cd7dcb9388e6d4cd6406a80b7b7c59a5 metadata.xml 495
RMD160 fce120b898530aef1984964ee4fe82552325e976 metadata.xml 495
@@ -67,18 +82,27 @@ SHA256 22e7eacf8b6b3f9e35d4417db91c399138946f9f86135825fba55c8a62b57248 files/di
MD5 9ea2698008feaa9015ba18b7a2efb705 files/digest-ivtv-0.4.7 232
RMD160 a437f11dd5f1e88be1072f1dc91c3f8ab2fa5e17 files/digest-ivtv-0.4.7 232
SHA256 7900586c7d3c99a5b0d460de93d9b988e33049efd694dbb19285567e347e5dc0 files/digest-ivtv-0.4.7 232
+MD5 cb99164a078ab9c9f96f6ea0c7483dc9 files/digest-ivtv-0.4.8 232
+RMD160 9ac6336a466d7742a2b4325867c6bc3c7aa53f00 files/digest-ivtv-0.4.8 232
+SHA256 f7f2a3598fc9dd97b0cdc1b1006f661bc6fc02c9469457516dea8911179713ca files/digest-ivtv-0.4.8 232
MD5 6b645b8a5438c8f194288c2365580af3 files/digest-ivtv-0.6.3 729
RMD160 90f50f0b5e53a0acdc232449ca0d7c626de52ed6 files/digest-ivtv-0.6.3 729
SHA256 60b09f4a3eeecb82fa0ddbe412517b25aa11ca99c56c6862750d18fd5d8caac7 files/digest-ivtv-0.6.3 729
MD5 8761280b7a02ef0922c0308d9eeb14fd files/digest-ivtv-0.6.4 232
RMD160 a7bb56cbf6250aad5fb4ef597c9c23237d3c1a2a files/digest-ivtv-0.6.4 232
SHA256 344849abfba728ef00f355b2a489fbc0fd073fcf1b2f74bb90fe172cb86fc04f files/digest-ivtv-0.6.4 232
+MD5 8f62df39f35b033de3f93f43f1c704f8 files/digest-ivtv-0.6.5 232
+RMD160 6db7b365e759986f813def219fd150b517a7753f files/digest-ivtv-0.6.5 232
+SHA256 d2977d63d5ab05307d0c36047dc15d6281408b08dad45adb7983ecf974bbdc05 files/digest-ivtv-0.6.5 232
MD5 4379c31fee7c3eadc919adcac76034b8 files/digest-ivtv-0.7.0 747
RMD160 9a638c304bb94458deab515df14af544d258a751 files/digest-ivtv-0.7.0 747
SHA256 de2b67e81ae0b9cb4055a6916d7088350e266e4cf86c21f092b897f3317b0789 files/digest-ivtv-0.7.0 747
MD5 711a2d7bbd979629790ddc0abbef317d files/digest-ivtv-0.7.1 232
RMD160 c5156fd982d8c100d7530307a3bbceeffb25c3b1 files/digest-ivtv-0.7.1 232
SHA256 1d2eb7cd93d066d4422096d682f7a9fad794abfd52418143c090350c7edc1590 files/digest-ivtv-0.7.1 232
+MD5 cf0e983e07f056fed47b30b2ce39c234 files/digest-ivtv-0.7.2 232
+RMD160 f8a9c970ab144de82f4dad643ea6000838ac8ab0 files/digest-ivtv-0.7.2 232
+SHA256 3deb2c7ad59d2d94dc56bf01f92cfea3f4b66722ca12f9e39c6ea65877265afb files/digest-ivtv-0.7.2 232
MD5 76173e27ba0be3f9c2415d20cdbe913f files/digest-ivtv-0.8.0 232
RMD160 28877d7115f84516542ab900db52d6f06a5a3fe6 files/digest-ivtv-0.8.0 232
SHA256 0829db1eb42c80d36c44dc32526c3b99f14594639d1a7b95cfec2585b43f199e files/digest-ivtv-0.8.0 232
diff --git a/media-tv/ivtv/files/digest-ivtv-0.4.8 b/media-tv/ivtv/files/digest-ivtv-0.4.8
new file mode 100644
index 000000000000..275b8f8908a8
--- /dev/null
+++ b/media-tv/ivtv/files/digest-ivtv-0.4.8
@@ -0,0 +1,3 @@
+MD5 e04d8c56ef0c5ee0dac6bed496360592 ivtv-0.4.8.tar.gz 503874
+RMD160 57ab83093715260442ba242051c1d37f2bb334d5 ivtv-0.4.8.tar.gz 503874
+SHA256 cbc13359c26b3436503b16f3463197e86712a998cf947961bce7d7c6a54903d0 ivtv-0.4.8.tar.gz 503874
diff --git a/media-tv/ivtv/files/digest-ivtv-0.6.5 b/media-tv/ivtv/files/digest-ivtv-0.6.5
new file mode 100644
index 000000000000..ba569f8a8b57
--- /dev/null
+++ b/media-tv/ivtv/files/digest-ivtv-0.6.5
@@ -0,0 +1,3 @@
+MD5 630f112e6ba01449380338b4426aae80 ivtv-0.6.5.tar.gz 434707
+RMD160 e09ae7fff4671dd2c376f907d66a6f6407933719 ivtv-0.6.5.tar.gz 434707
+SHA256 7c00dc9d7aabf2bc4955558bcd3e42a6a50c0f1878e727cf6630f288490005d9 ivtv-0.6.5.tar.gz 434707
diff --git a/media-tv/ivtv/files/digest-ivtv-0.7.2 b/media-tv/ivtv/files/digest-ivtv-0.7.2
new file mode 100644
index 000000000000..8e3531d86a54
--- /dev/null
+++ b/media-tv/ivtv/files/digest-ivtv-0.7.2
@@ -0,0 +1,3 @@
+MD5 757fbe59deb8bbc505d984a164f0f3e4 ivtv-0.7.2.tar.gz 423685
+RMD160 9afcc4c8320fb89bb5d39db484ce4524cf488466 ivtv-0.7.2.tar.gz 423685
+SHA256 0f38ecd911f960c214a85d52ce82aafc36420e7008006982838859e9b385d413 ivtv-0.7.2.tar.gz 423685
diff --git a/media-tv/ivtv/ivtv-0.4.8.ebuild b/media-tv/ivtv/ivtv-0.4.8.ebuild
new file mode 100644
index 000000000000..a793999165df
--- /dev/null
+++ b/media-tv/ivtv/ivtv-0.4.8.ebuild
@@ -0,0 +1,133 @@
+# Copyright 1999-2006 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/media-tv/ivtv/ivtv-0.4.8.ebuild,v 1.1 2006/12/01 17:49:41 beandog Exp $
+
+inherit eutils linux-mod
+
+DESCRIPTION="ivtv driver for Hauppauge PVR PCI cards"
+HOMEPAGE="http://www.ivtvdriver.org"
+SRC_URI="http://dl.ivtvdriver.org/ivtv/archive/0.4.x/${P}.tar.gz"
+SLOT="0"
+LICENSE="GPL-2"
+KEYWORDS="~amd64 ~ppc ~x86"
+IUSE=""
+
+BUILD_TARGETS="all"
+BUILD_PARAMS="KDIR=${KERNEL_DIR}"
+CONFIG_CHECK="I2C_ALGOBIT VIDEO_DEV I2C_CHARDEV I2C"
+
+RDEPEND="sys-apps/hotplug"
+DEPEND="app-arch/unzip"
+PDEPEND="media-tv/pvr-firmware"
+
+pkg_setup() {
+
+ if kernel_is gt 2 6 15; then
+ eerror "Each IVTV driver branch will only work with a specific"
+ eerror "linux kernel branch."
+ eerror ""
+ eerror "You will need to either:"
+ eerror "a) emerge a different kernel"
+ eerror "b) emerge a different driver"
+ eerror ""
+ eerror "ivtv branch <--> kernel branch"
+ eerror "0.9.x <--> 2.6.19.x"
+ eerror "0.8.x <--> 2.6.18.x"
+ eerror "0.7.x <--> 2.6.17.x"
+ eerror "0.6.x <--> 2.6.16.x"
+ eerror "0.4.x <--> 2.6.15.x"
+ eerror ""
+ eerror "See http://ivtvdriver.org/ for more information"
+ echo ""
+ ewarn "You must use 0.6.x with a 2.6.16 kernel."
+ die "This does not work with kernel versions higher then 2.6.15"
+ fi
+
+ MODULE_NAMES="ivtv(extra:${S}/driver)"
+
+ if kernel_is le 2 6 14; then
+ MODULE_NAMES="${MODULE_NAMES}
+ msp3400(extra:${S}/driver)
+ saa7115(extra:${S}/driver)
+ tveeprom(extra:${S}/driver)
+ saa7127(extra:${S}/driver)
+ cx25840(extra:${S}/driver)
+ tuner(extra:${S}/driver)
+ wm8775(extra:${S}/driver)
+ tda9887(extra:${S}/driver)
+ cs53l32a(extra:${S}/driver)"
+ else
+ CONFIG_CHECK="${CONFIG_CHECK} VIDEO_DECODER VIDEO_AUDIO_DECODER VIDEO_BT848"
+ fi
+
+ linux_chkconfig_present FB && \
+ MODULE_NAMES="${MODULE_NAMES} ivtv-fb(extra:${S}/driver)"
+
+ linux-mod_pkg_setup
+}
+
+src_unpack() {
+ unpack ${A}
+ cd "${S}"
+ sed -e "s:^VERS26=.*:VERS26=${KV_MAJOR}.${KV_MINOR}:g" \
+ -i ${S}/driver/Makefile || die "sed failed"
+}
+
+src_compile() {
+ cd ${S}/driver
+ linux-mod_src_compile || die "failed to build driver "
+
+ cd ${S}/utils
+ emake || die "failed to build utils "
+}
+
+src_install() {
+ cd ${S}/utils
+
+ make KERNELDIR="${KERNEL_DIR}" DESTDIR="${D}" PREFIX=/usr install \
+ || die "failed to install utils"
+
+ cd ${S}
+ dodoc README doc/* utils/README.X11
+
+ cd ${S}/driver
+ linux-mod_src_install || die "failed to install modules"
+
+ # Add the aliases
+ insinto /etc/modules.d
+ newins "${FILESDIR}"/ivtv ivtv
+}
+
+pkg_postinst() {
+ linux-mod_pkg_postinst
+
+ # The MCE versions of the PVR cards come without remote control because (I
+ # assume) a remote control is included in Windows Media Center Edition. It
+ # is probably a good idea to just say that if your package comes with a
+ # remote then emerge lirc. Lirc should build all drivers anyway.
+ #
+ # einfo "To get the ir remote working, you'll need to emerge lirc"
+ # einfo "with the following set:"
+ # einfo "LIRC_OPTS=\"--with-x --with-driver=hauppauge --with-major=61 "
+ # einfo " --with-port=none --with-irq=none\" emerge lirc"
+ # echo
+ # einfo "You can also add the above LIRC_OPTS line to /etc/make.conf for"
+ # einfo "it to remain there for future updates."
+ # echo
+ # einfo "To use vbi, you'll need a few other things, check README.vbi in the docs dir"
+ # echo
+
+ # Similar checks are performed by the make install in the drivers directory.
+ BADMODS="msp3400 tda9887 tuner tveeprom"
+
+ if [ ${KV_PATCH} -le 14 ]; then
+ for MODNAME in ${BADMODS}; do
+ if [ -f "${ROOT}/lib/modules/${KV_FULL}/kernel/drivers/media/video/${MODNAME}.ko" ] ; then
+ ewarn "You have the ${MODNAME} module that comes with the kernel. It isn't compatible"
+ ewarn "with ivtv. You need to back it up to somewhere else, then run 'modules-update'"
+ ewarn "The file to remove is ${ROOT}/lib/modules/${KV_FULL}/kernel/drivers/media/video/${MODNAME}.ko"
+ echo
+ fi
+ done
+ fi
+}
diff --git a/media-tv/ivtv/ivtv-0.6.5.ebuild b/media-tv/ivtv/ivtv-0.6.5.ebuild
new file mode 100644
index 000000000000..a89cb7bf4e13
--- /dev/null
+++ b/media-tv/ivtv/ivtv-0.6.5.ebuild
@@ -0,0 +1,117 @@
+# Copyright 1999-2006 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/media-tv/ivtv/ivtv-0.6.5.ebuild,v 1.1 2006/12/01 17:49:41 beandog Exp $
+
+inherit eutils linux-mod
+
+DESCRIPTION="ivtv driver for Hauppauge PVR PCI cards"
+HOMEPAGE="http://www.ivtvdriver.org"
+SRC_URI="http://dl.ivtvdriver.org/ivtv/archive/0.6.x/${P}.tar.gz"
+SLOT="0"
+LICENSE="GPL-2"
+KEYWORDS="~amd64 ~ppc ~x86"
+IUSE=""
+
+BUILD_TARGETS="all"
+BUILD_PARAMS="KDIR=${KERNEL_DIR}"
+CONFIG_CHECK="I2C_ALGOBIT VIDEO_DEV I2C_CHARDEV I2C"
+
+RDEPEND="sys-apps/hotplug"
+DEPEND="app-arch/unzip"
+PDEPEND="media-tv/pvr-firmware"
+
+pkg_setup() {
+
+ if ! kernel_is 2 6 16; then
+ eerror "Each IVTV driver branch will only work with a specific"
+ eerror "linux kernel branch."
+ eerror ""
+ eerror "You will need to either:"
+ eerror "a) emerge a different kernel"
+ eerror "b) emerge a different driver"
+ eerror ""
+ eerror "ivtv branch <--> kernel branch"
+ eerror "0.9.x <--> 2.6.19.x"
+ eerror "0.8.x <--> 2.6.18.x"
+ eerror "0.7.x <--> 2.6.17.x"
+ eerror "0.6.x <--> 2.6.16.x"
+ eerror "0.4.x <--> 2.6.15.x"
+ eerror ""
+ eerror "See http://ivtvdriver.org/ for more information"
+ die "This only works on 2.6.16 kernels"
+ fi
+
+ linux-mod_pkg_setup
+ MODULE_NAMES="ivtv(extra:${S}/driver)"
+ CONFIG_CHECK="${CONFIG_CHECK} VIDEO_DECODER VIDEO_AUDIO_DECODER VIDEO_BT848"
+
+ linux_chkconfig_present FB && \
+ MODULE_NAMES="${MODULE_NAMES} ivtv-fb(extra:${S}/driver)"
+
+ linux-mod_pkg_setup
+}
+
+src_unpack() {
+ unpack ${A}
+ cd ${S}
+ sed -e "s:^VERS26=.*:VERS26=${KV_MAJOR}.${KV_MINOR}:g" \
+ -i ${S}/driver/Makefile || die "sed failed"
+}
+
+src_compile() {
+ cd ${S}/driver
+ linux-mod_src_compile || die "failed to build driver "
+
+ cd ${S}/utils
+ emake || die "failed to build utils "
+}
+
+src_install() {
+ cd ${S}/utils
+ make KERNELDIR="${KERNEL_DIR}" DESTDIR="${D}" PREFIX=/usr install \
+ || die "failed to install utils"
+
+ cd ${S}
+ dodoc README doc/* utils/README.X11
+
+ cd ${S}/driver
+ linux-mod_src_install || die "failed to install modules"
+
+ # Add the aliases
+ insinto /etc/modules.d
+ newins "${FILESDIR}"/ivtv ivtv
+}
+
+pkg_postinst() {
+ linux-mod_pkg_postinst
+
+ # The MCE versions of the PVR cards come without remote control because (I
+ # assume) a remote control is included in Windows Media Center Edition. It
+ # is probably a good idea to just say that if your package comes with a
+ # remote then emerge lirc. Lirc should build all drivers anyway.
+ #
+ # einfo "To get the ir remote working, you'll need to emerge lirc"
+ # einfo "with the following set:"
+ # einfo "LIRC_OPTS=\"--with-x --with-driver=hauppauge --with-major=61 "
+ # einfo " --with-port=none --with-irq=none\" emerge lirc"
+ # echo
+ # einfo "You can also add the above LIRC_OPTS line to /etc/make.conf for"
+ # einfo "it to remain there for future updates."
+ # echo
+ # einfo "To use vbi, you'll need a few other things, check README.vbi in the docs dir"
+ # echo
+
+ # Similar checks are performed by the make install in the drivers directory.
+ BADMODS="msp3400 tda9887 tuner tveeprom"
+
+ if [ ${KV_PATCH} -le 14 ]; then
+ for MODNAME in ${BADMODS}; do
+ if [ -f "${ROOT}/lib/modules/${KV_FULL}/kernel/drivers/media/video/${MODNAME}.ko" ] ; then
+ ewarn "You have the ${MODNAME} module that comes with the kernel. It isn't compatible"
+ ewarn "with ivtv. You need to back it up to somewhere else, then run 'modules-update'"
+ ewarn "The file to remove is ${ROOT}/lib/modules/${KV_FULL}/kernel/drivers/media/video/${MODNAME}.ko"
+ echo
+ fi
+ done
+ fi
+}
diff --git a/media-tv/ivtv/ivtv-0.7.2.ebuild b/media-tv/ivtv/ivtv-0.7.2.ebuild
new file mode 100644
index 000000000000..91ca1347cd41
--- /dev/null
+++ b/media-tv/ivtv/ivtv-0.7.2.ebuild
@@ -0,0 +1,86 @@
+# Copyright 1999-2006 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/media-tv/ivtv/ivtv-0.7.2.ebuild,v 1.1 2006/12/01 17:49:41 beandog Exp $
+
+inherit eutils linux-mod
+
+DESCRIPTION="ivtv driver for Hauppauge PVR PCI cards"
+HOMEPAGE="http://www.ivtvdriver.org"
+SRC_URI="http://dl.ivtvdriver.org/ivtv/archive/0.7.x/${P}.tar.gz"
+SLOT="0"
+LICENSE="GPL-2"
+KEYWORDS="~amd64 ~x86 ~ppc"
+IUSE=""
+
+BUILD_TARGETS="all"
+BUILD_PARAMS="KDIR=${KERNEL_DIR}"
+
+RDEPEND="sys-apps/hotplug"
+DEPEND="app-arch/unzip"
+PDEPEND="media-tv/pvr-firmware"
+
+pkg_setup() {
+
+ if ! kernel_is 2 6 17; then
+ eerror "Each IVTV driver branch will only work with a specific"
+ eerror "linux kernel branch."
+ eerror ""
+ eerror "You will need to either:"
+ eerror "a) emerge a different kernel"
+ eerror "b) emerge a different driver"
+ eerror ""
+ eerror "ivtv branch <--> kernel branch"
+ eerror "0.9.x <--> 2.6.19.x"
+ eerror "0.8.x <--> 2.6.18.x"
+ eerror "0.7.x <--> 2.6.17.x"
+ eerror "0.6.x <--> 2.6.16.x"
+ eerror "0.4.x <--> 2.6.15.x"
+ eerror ""
+ eerror "See http://ivtvdriver.org/ for more information"
+ die "This only works on 2.6.17 kernels"
+ fi
+
+ linux-mod_pkg_setup
+ MODULE_NAMES="ivtv(extra:${S}/driver) \
+ saa717x(extra:${S}/i2c-drivers)"
+
+ CONFIG_CHECK="EXPERIMENTAL VIDEO_DEV I2C VIDEO_V4L1 VIDEO_V4L2 FW_LOADER"
+ CONFIG_CHECK="${CONFIG_CHECK} VIDEO_WM8775 VIDEO_MSP3400 VIDEO_CX25840 VIDEO_TUNER"
+ CONFIG_CHECK="${CONFIG_CHECK} VIDEO_SAA711X VIDEO_SAA7127 VIDEO_TVEEPROM"
+
+ linux_chkconfig_present FB && \
+ MODULE_NAMES="${MODULE_NAMES} ivtv-fb(extra:${S}/driver)"
+
+ linux-mod_pkg_setup
+}
+
+src_unpack() {
+ unpack ${A}
+ cd ${S}
+ sed -e "s:^VERS26=.*:VERS26=${KV_MAJOR}.${KV_MINOR}:g" \
+ -i ${S}/driver/Makefile || die "sed failed"
+}
+
+src_compile() {
+ cd ${S}/driver
+ linux-mod_src_compile || die "failed to build driver "
+
+ cd ${S}/utils
+ emake || die "failed to build utils "
+}
+
+src_install() {
+ cd ${S}/utils
+ make KERNELDIR="${KERNEL_DIR}" DESTDIR="${D}" PREFIX=/usr install \
+ || die "failed to install utils"
+
+ cd ${S}
+ dodoc README doc/* utils/README.X11
+
+ cd ${S}/driver
+ linux-mod_src_install || die "failed to install modules"
+
+ # Add the aliases
+ insinto /etc/modules.d
+ newins "${FILESDIR}"/ivtv ivtv
+}