summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDoug Goldstein <cardoe@gentoo.org>2006-06-13 07:10:25 +0000
committerDoug Goldstein <cardoe@gentoo.org>2006-06-13 07:10:25 +0000
commitbd87521f53f5bc0cda0d1eae0e342f66fa86f22d (patch)
treef9ca6fb32ed7af734e7db62c7210da32009aa749 /media-tv
parentAdded message about kernel versions in 0.4.2 and marked stable on ppc. (diff)
downloadhistorical-bd87521f53f5bc0cda0d1eae0e342f66fa86f22d.tar.gz
historical-bd87521f53f5bc0cda0d1eae0e342f66fa86f22d.tar.bz2
historical-bd87521f53f5bc0cda0d1eae0e342f66fa86f22d.zip
Adding 0.4.4 version for people having issueth 0.4.5 & MythTV
Package-Manager: portage-2.1
Diffstat (limited to 'media-tv')
-rw-r--r--media-tv/ivtv/ChangeLog7
-rw-r--r--media-tv/ivtv/Manifest22
-rw-r--r--media-tv/ivtv/files/digest-ivtv-0.4.49
-rw-r--r--media-tv/ivtv/ivtv-0.4.4.ebuild135
4 files changed, 165 insertions, 8 deletions
diff --git a/media-tv/ivtv/ChangeLog b/media-tv/ivtv/ChangeLog
index 2cdf1c36249e..8889efe70113 100644
--- a/media-tv/ivtv/ChangeLog
+++ b/media-tv/ivtv/ChangeLog
@@ -1,6 +1,11 @@
# 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.45 2006/06/13 07:07:27 cardoe Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-tv/ivtv/ChangeLog,v 1.46 2006/06/13 07:10:25 cardoe Exp $
+
+*ivtv-0.4.4 (13 Jun 2006)
+
+ 13 Jun 2006; Doug Goldstein <cardoe@gentoo.org> +ivtv-0.4.4.ebuild:
+ Adding 0.4.4 version for people having issues with 0.4.5 & MythTV
13 Jun 2006; Doug Goldstein <cardoe@gentoo.org> ivtv-0.4.2.ebuild:
Added message about kernel versions in 0.4.2 and marked stable on ppc.
diff --git a/media-tv/ivtv/Manifest b/media-tv/ivtv/Manifest
index 79068b57f64b..3763127f473c 100644
--- a/media-tv/ivtv/Manifest
+++ b/media-tv/ivtv/Manifest
@@ -19,6 +19,7 @@ RMD160 d5d352ff296b39fb750779e59d0c903725a3ec01 files/ivtv-0.6.2-ppc-fix.patch 1
SHA256 7327bf9a37ca269e898492074bcc819a1e59cfd2f43e22433522698383c10faa files/ivtv-0.6.2-ppc-fix.patch 1592
DIST ivtv-0.4.0.tar.gz 475881
DIST ivtv-0.4.2.tar.gz 500961
+DIST ivtv-0.4.4.tar.gz 502468 RMD160 89ebc5cdcefd339e18c6e24575a6dc0eb3cd1af3 SHA1 9a37071cb9066810e7865493799cfce9307ae30d SHA256 b311fc7131f748df048e4672c024fe32b544aff08745f4ac2efe723ab9c0da61
DIST ivtv-0.4.5.tar.gz 502679 RMD160 8b6c1bf532797ec19ec148a26515fd38a0d983e7 SHA1 882277f2ef602156ba6c8bbfddde43ae51f7ea3f SHA256 a600339247f16f0b3028581f3f84154e6b352f166b238b0c5c282a11fc1a603d
DIST ivtv-0.6.2.tar.gz 432308 RMD160 69d64a40bd861902aab982c2e047372ebbcf217c SHA1 40bb68a73eede8340a24f0c5d00ff1da7f1b8ff5 SHA256 3cdae3e8f7d2e67e2c8be3474130e4d6fea2f7576ac62823d7e47eb7475c6756
DIST pvr_1.18.21.22254_inf.zip 593441 RMD160 9549dddfddacf6bee3c73def508a2c347c5e25f2 SHA1 9eaceaca5341cb6771777281459f36b8450b922e SHA256 156c0cfaa2cb3f482b48f95b94a9247690e4ed2d0cb8962a52db8846c683bff1
@@ -31,6 +32,10 @@ EBUILD ivtv-0.4.2.ebuild 4130 RMD160 59e96b9834bddfe7456ef74f47ea9da4f13455c7 SH
MD5 9331f25235f4f7a15b583202bb72f64b ivtv-0.4.2.ebuild 4130
RMD160 59e96b9834bddfe7456ef74f47ea9da4f13455c7 ivtv-0.4.2.ebuild 4130
SHA256 63ca06997918a3f9d16ee09a5cf504ad1514e8d3e5bfe9924c3631d0fb9f85a2 ivtv-0.4.2.ebuild 4130
+EBUILD ivtv-0.4.4.ebuild 4131 RMD160 7c152d539b78a6abf67ebcce50d6e406c85bd244 SHA1 e3b5fce2e7299d797e0b56f4ecbe84ca8543fdb7 SHA256 011a9a03a91269f686aaf957e7ef12ab96a20a1629c4dae3c8473595d3f23bbc
+MD5 04c8713ab12318aa752011b080e5dfdf ivtv-0.4.4.ebuild 4131
+RMD160 7c152d539b78a6abf67ebcce50d6e406c85bd244 ivtv-0.4.4.ebuild 4131
+SHA256 011a9a03a91269f686aaf957e7ef12ab96a20a1629c4dae3c8473595d3f23bbc ivtv-0.4.4.ebuild 4131
EBUILD ivtv-0.4.5.ebuild 4131 RMD160 64d88b8578dac162f7360b804c1a104b65bd59af SHA1 5f927d888095ab38746317ccf1ef7f797b3e91a2 SHA256 cc07b8814dfb058b9674767e6f3b78521d0c8d339fb58c5cace4e28ccf54ce72
MD5 bb76f7f8bdf6214ef19742e53718a7d4 ivtv-0.4.5.ebuild 4131
RMD160 64d88b8578dac162f7360b804c1a104b65bd59af ivtv-0.4.5.ebuild 4131
@@ -39,10 +44,10 @@ EBUILD ivtv-0.6.2.ebuild 3621 RMD160 2ba7782b0e91fb077ef34f2af50c6fd649c0f4d7 SH
MD5 9b104d95c48000a1f9744fc8c9f137bc ivtv-0.6.2.ebuild 3621
RMD160 2ba7782b0e91fb077ef34f2af50c6fd649c0f4d7 ivtv-0.6.2.ebuild 3621
SHA256 5b23c6d21b99d9f76086c0f5d07f305c30fcc21e490965d5ca4c764d3ccca571 ivtv-0.6.2.ebuild 3621
-MISC ChangeLog 7596 RMD160 34c1e1761c9818a9f0f118de2ca38736d1c57f1a SHA1 3e0922b97fe16b1f856e78cf1dcead5339c40ad7 SHA256 be7e8df236e3107b12bc24e742b83eb9585b050a30464e3f5640667aacc4e131
-MD5 a12303c57fa31ae1c15e4c00bb4e0164 ChangeLog 7596
-RMD160 34c1e1761c9818a9f0f118de2ca38736d1c57f1a ChangeLog 7596
-SHA256 be7e8df236e3107b12bc24e742b83eb9585b050a30464e3f5640667aacc4e131 ChangeLog 7596
+MISC ChangeLog 7762 RMD160 b92d56d235cc327498611a3c3fe9c567f39f9aca SHA1 150d2dc3fa6a183930d0004933aa30a41429f476 SHA256 2ce3c72cbb78af58d0c6b70ef2573c4621c000cc88452f74f606b3957a534109
+MD5 976dd59e2b91fa55a4d802317952139b ChangeLog 7762
+RMD160 b92d56d235cc327498611a3c3fe9c567f39f9aca ChangeLog 7762
+SHA256 2ce3c72cbb78af58d0c6b70ef2573c4621c000cc88452f74f606b3957a534109 ChangeLog 7762
MISC metadata.xml 465 RMD160 968deaeb110cec9b925349e9057f64a7c78b3cb1 SHA1 87dd7591c4be3e0d2b697636a3fd327d00b4e2cf SHA256 7fdf7857ba65e74299881f392155fa800167db2ed15b924d344524c3ada74bbb
MD5 71007461e2e10f367a6a8f7a0b0d7d6a metadata.xml 465
RMD160 968deaeb110cec9b925349e9057f64a7c78b3cb1 metadata.xml 465
@@ -53,6 +58,9 @@ SHA256 b4ff084f7e428b5499d033bffe7e93d025182cc5cefd905308e4946f49f4f499 files/di
MD5 517000624cfa0ae43bfbdda64330a0f5 files/digest-ivtv-0.4.2 559
RMD160 cd2de61033102bb31a3fddec2ed59e405f27eb73 files/digest-ivtv-0.4.2 559
SHA256 5ce7690d590caf461009f5e1af55e583d1f21845086a511219d8ba7a51387c85 files/digest-ivtv-0.4.2 559
+MD5 dee70f1be839b884433fd069dcf1dcf0 files/digest-ivtv-0.4.4 729
+RMD160 8d095a4d62c6b135b6606b204d7eebf9f4552559 files/digest-ivtv-0.4.4 729
+SHA256 de1c013a94e11f56029e4cf6e2429cc4c35369a705e22631313a91fe52539ef1 files/digest-ivtv-0.4.4 729
MD5 cdf0129db1f0a6850b86dc30cf1ca61c files/digest-ivtv-0.4.5 729
RMD160 a2d83774abe96f159b83f1f5b109f87776d80f36 files/digest-ivtv-0.4.5 729
SHA256 22e7eacf8b6b3f9e35d4417db91c399138946f9f86135825fba55c8a62b57248 files/digest-ivtv-0.4.5 729
@@ -62,7 +70,7 @@ SHA256 e76ebab35f082ae91db6d47aff3f01fc17bb697690f222bfa17eecb585892f84 files/di
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.3 (GNU/Linux)
-iD8DBQFEjmQ4oeSe8B0zEfwRAh+FAJ4mV55mUopdDGEFg/rN333wQLNfXACfaVZN
-X/bRfvw5KGq1OoB1nlfnN54=
-=PWYj
+iD8DBQFEjmT8oeSe8B0zEfwRAnxOAJ9F6XCFBPsifWOeKd5BsWPLOr7TogCfRVvS
+YUva5qMPlqPp5gqwmg7a01M=
+=63We
-----END PGP SIGNATURE-----
diff --git a/media-tv/ivtv/files/digest-ivtv-0.4.4 b/media-tv/ivtv/files/digest-ivtv-0.4.4
new file mode 100644
index 000000000000..85bd8abfa6ce
--- /dev/null
+++ b/media-tv/ivtv/files/digest-ivtv-0.4.4
@@ -0,0 +1,9 @@
+MD5 ec30256b8dae4ee76b2c2c699621b68b ivtv-0.4.4.tar.gz 502468
+RMD160 89ebc5cdcefd339e18c6e24575a6dc0eb3cd1af3 ivtv-0.4.4.tar.gz 502468
+SHA256 b311fc7131f748df048e4672c024fe32b544aff08745f4ac2efe723ab9c0da61 ivtv-0.4.4.tar.gz 502468
+MD5 f48ad2cda962879bc093cc6867dc86d2 pvr_1.18.21.22254_inf.zip 593441
+RMD160 9549dddfddacf6bee3c73def508a2c347c5e25f2 pvr_1.18.21.22254_inf.zip 593441
+SHA256 156c0cfaa2cb3f482b48f95b94a9247690e4ed2d0cb8962a52db8846c683bff1 pvr_1.18.21.22254_inf.zip 593441
+MD5 dc84a41b3b296b856da3d0f9edbb7a08 pvr_2.0.24.23035.zip 281620
+RMD160 fbd439efa5793e9a65fd6fac2093c523cd458027 pvr_2.0.24.23035.zip 281620
+SHA256 2387e7a042342f7b401222aac7f99a19b733fded8118339edd402a58279e5f95 pvr_2.0.24.23035.zip 281620
diff --git a/media-tv/ivtv/ivtv-0.4.4.ebuild b/media-tv/ivtv/ivtv-0.4.4.ebuild
new file mode 100644
index 000000000000..899688e318c5
--- /dev/null
+++ b/media-tv/ivtv/ivtv-0.4.4.ebuild
@@ -0,0 +1,135 @@
+# 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.4.ebuild,v 1.1 2006/06/13 07:10:25 cardoe Exp $
+
+inherit eutils linux-mod
+
+DESCRIPTION="ivtv driver for Hauppauge PVR PCI cards"
+HOMEPAGE="http://www.ivtvdriver.org"
+
+FW_VER_DEC="pvr_1.18.21.22254_inf.zip"
+FW_VER_ENC="pvr_2.0.24.23035.zip"
+#Switched to recommended firmware by driver
+
+SRC_URI="http://dl.ivtvdriver.org/ivtv/archive/0.4.x/${P}.tar.gz
+ ftp://ftp.shspvr.com/download/wintv-pvr_150-500/inf/${FW_VER_ENC}
+ ftp://ftp.shspvr.com/download/wintv-pvr_250-350/inf/${FW_VER_DEC}"
+
+RESTRICT="nomirror"
+SLOT="0"
+LICENSE="GPL-2"
+KEYWORDS="~amd64 ~x86 ~ppc"
+
+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"
+
+pkg_setup() {
+ MODULE_NAMES="ivtv(extra:${S}/driver)"
+
+ if kernel_is gt 2 6 15; then
+ ewarn "You must use 0.6.x with a 2.6.16 kernel. However the kernel is broken"
+ ewarn "with IVTV for a great number of people. Including the maintainer of"
+ ewarn "IVTV in Gentoo. Your best bet is to use a 2.6.15 kernel"
+ die "This does not work with kernel versions higher then 2.6.15"
+ fi
+
+ 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 ${P}.tar.gz
+ unpack ${FW_VER_ENC}
+
+ 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
+ dodir /lib/firmware
+ ./ivtvfwextract.pl "${DISTDIR}"/${FW_VER_DEC} \
+ "${D}"/lib/firmware/v4l-cx2341x-enc.fw \
+ "${D}"/lib/firmware/v4l-cx2341x-dec.fw
+
+ make KERNELDIR="${KERNEL_DIR}" DESTDIR="${D}" PREFIX=/usr install || die "failed to install"
+
+ insinto /lib/firmware
+ newins "${WORKDIR}"/HcwMakoA.ROM v4l-cx25840.fw
+ newins ${S}/v4l-cx2341x-init.mpg v4l-cx2341x-init.mpg
+
+ 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 'update-modules'"
+ ewarn "The file to remove is ${ROOT}/lib/modules/${KV_FULL}/kernel/drivers/media/video/${MODNAME}.ko"
+ echo
+ fi
+ done
+ fi
+}