summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAnders Rune Jensen <arj@gentoo.org>2006-01-14 15:39:27 +0000
committerAnders Rune Jensen <arj@gentoo.org>2006-01-14 15:39:27 +0000
commitff024f2385247160be2b229e5d4ef2a82ac1e856 (patch)
tree1484a751ab24433bc542069235068d0a3f072371 /media-video/em8300-modules
parentStable on ppc. bug 117426 (diff)
downloadgentoo-2-ff024f2385247160be2b229e5d4ef2a82ac1e856.tar.gz
gentoo-2-ff024f2385247160be2b229e5d4ef2a82ac1e856.tar.bz2
gentoo-2-ff024f2385247160be2b229e5d4ef2a82ac1e856.zip
new version with fix
(Portage version: 2.1_pre3-r1)
Diffstat (limited to 'media-video/em8300-modules')
-rw-r--r--media-video/em8300-modules/ChangeLog7
-rw-r--r--media-video/em8300-modules/Manifest4
-rw-r--r--media-video/em8300-modules/em8300-modules-0.15.2.ebuild91
-rw-r--r--media-video/em8300-modules/files/digest-em8300-modules-0.15.21
4 files changed, 101 insertions, 2 deletions
diff --git a/media-video/em8300-modules/ChangeLog b/media-video/em8300-modules/ChangeLog
index 0f32936d275e..9979e0831e05 100644
--- a/media-video/em8300-modules/ChangeLog
+++ b/media-video/em8300-modules/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for media-video/em8300-modules
# Copyright 2002-2005 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/media-video/em8300-modules/ChangeLog,v 1.20 2005/11/22 22:37:11 arj Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-video/em8300-modules/ChangeLog,v 1.21 2006/01/14 15:39:27 arj Exp $
+
+*em8300-modules-0.15.2 (14 Jan 2005)
+ 14 Jan 2005; Anders Rune Jensen <arj@gentoo.org>
+ +em8300-modules-0.15.2.ebuild:
+ new version which alsa fixes #118851
22 Nov 2005; Anders Rune Jensen <arj@gentoo.org> em8300-modules-0.15.1.ebuild:
Fix #113215 (build with kernel 2.6.14)
diff --git a/media-video/em8300-modules/Manifest b/media-video/em8300-modules/Manifest
index f43369f2284d..bb8598ee0b32 100644
--- a/media-video/em8300-modules/Manifest
+++ b/media-video/em8300-modules/Manifest
@@ -1,10 +1,12 @@
-MD5 8a04a4c7645df8a63dc0fcc98f00b2bb ChangeLog 3651
+MD5 17582e9014f504b305c2e5d4cf319b15 ChangeLog 3812
MD5 9557b4f8c9c17637a04a126438963dad em8300-modules-0.13.0.ebuild 2433
MD5 4c36f1e57f417946efba2a3b4290248f em8300-modules-0.15.0.ebuild 2312
MD5 0392bd47374c495b5fe12804e14d3c7e em8300-modules-0.15.1.ebuild 2334
+MD5 aa2ee4b942a84c1fa3f17990d959ae74 em8300-modules-0.15.2.ebuild 2364
MD5 29a6f23e30a4e4d57e5a0daf1d61f8c5 files/digest-em8300-modules-0.13.0 65
MD5 ee5ed479a61194274ece9b4d034bf598 files/digest-em8300-modules-0.15.0 65
MD5 f0b1bbd962955837a701644a03b32eed files/digest-em8300-modules-0.15.1 65
+MD5 6f479468d3de42a272181c79f6fd0f06 files/digest-em8300-modules-0.15.2 65
MD5 c0e9d9f1003317b0baf353e82a121468 files/em8300-modules-0.15.1-fix-isa.patch 1787
MD5 40448834cd5bc1bdc07ab84d8a3727cc files/modules.em8300 28
MD5 5bf3ce68ed1923dc3a3996a58987a360 metadata.xml 247
diff --git a/media-video/em8300-modules/em8300-modules-0.15.2.ebuild b/media-video/em8300-modules/em8300-modules-0.15.2.ebuild
new file mode 100644
index 000000000000..e7fded279435
--- /dev/null
+++ b/media-video/em8300-modules/em8300-modules-0.15.2.ebuild
@@ -0,0 +1,91 @@
+# Copyright 1999-2006 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/media-video/em8300-modules/em8300-modules-0.15.2.ebuild,v 1.1 2006/01/14 15:39:27 arj Exp $
+
+inherit eutils linux-info
+
+S="${WORKDIR}/${A/.tar.gz/}/modules"
+DESCRIPTION="em8300 (RealMagic Hollywood+/Creative DXR3) video decoder card kernel modules"
+HOMEPAGE="http://dxr3.sourceforge.net"
+SRC_URI="mirror://sourceforge/dxr3/${P/-modules/}.tar.gz"
+
+DEPEND="virtual/linux-sources"
+
+SLOT="0"
+LICENSE="GPL-2"
+KEYWORDS="~amd64 ~ppc ~x86"
+IUSE=""
+
+src_unpack () {
+
+ unpack ${A}
+ cd ${S}
+}
+
+src_compile () {
+
+ check_KV
+ set_arch_to_kernel
+ cd ..
+ for file in autotools/config.guess configure modules/ldm modules/Makefile modules/INSTALL; do
+ sed -i -e 's/uname[[:space:]]*-r/echo ${KV}/' $file
+ done
+ cd modules
+ make || die
+ set_arch_to_portage
+}
+
+src_install () {
+
+ insinto "/usr/include/linux"
+ doins ../include/linux/em8300.h
+
+ check_KV
+
+
+ # The driver goes into the standard modules location
+ insinto "/lib/modules/${KV}/kernel/drivers/video"
+
+ if [ "${KV:0:3}" == "2.6" ]
+ then
+ doins em8300.ko bt865.ko adv717x.ko
+ else
+ doins em8300.o bt865.o adv717x.o
+ fi
+
+ # Docs
+ dodoc README-modoptions \
+ README-modules.conf \
+ devfs_symlinks
+
+ insinto /etc/modules.d
+ newins ${FILESDIR}/modules.em8300 em8300
+
+ insinto /etc/udev/rules.d
+ newins em8300-udev.rules 15-em8300.rules
+}
+
+pkg_postinst () {
+
+ if [ "${ROOT}" = "/" ]
+ then
+ [ -x /usr/sbin/update-modules ] && /usr/sbin/update-modules
+ fi
+
+ einfo
+ einfo "The em8300 kernel modules have been installed into the modules"
+ einfo "directory of your currently running kernel. They haven't been"
+ einfo "loaded. Please read the documentation, and if you would like"
+ einfo "to have the modules load at startup, add em8300, bt865, adv717x"
+ einfo "to your /etc/modules.autoload they may need module options to "
+ einfo "work correctly on your system. You will also need to add"
+ einfo "the contents of /usr/share/doc/${P}/devfs_symlinks.gz"
+ einfo "to your devfsd.conf so that the em8300 devices will be linked"
+ einfo "correctly."
+ einfo
+ einfo "You will also need to have the i2c kernel modules compiled for"
+ einfo "this to be happy, no need to patch any kernel though just turn"
+ einfo "all the i2c stuff in kernel config to M and you'll be fine."
+ einfo
+
+}
diff --git a/media-video/em8300-modules/files/digest-em8300-modules-0.15.2 b/media-video/em8300-modules/files/digest-em8300-modules-0.15.2
new file mode 100644
index 000000000000..2bf647575cfb
--- /dev/null
+++ b/media-video/em8300-modules/files/digest-em8300-modules-0.15.2
@@ -0,0 +1 @@
+MD5 c203eade5e6002d279d50cae4a947964 em8300-0.15.2.tar.gz 325533