diff options
author | Anders Rune Jensen <arj@gentoo.org> | 2004-09-06 19:40:10 +0000 |
---|---|---|
committer | Anders Rune Jensen <arj@gentoo.org> | 2004-09-06 19:40:10 +0000 |
commit | 2d264a1005082ad023e1fb5ab317dbfb7dd7c446 (patch) | |
tree | fa11a533c851e02bd86f1051e016c63a6b16784b /media-video | |
parent | Added gcc34 patch. (diff) | |
download | historical-2d264a1005082ad023e1fb5ab317dbfb7dd7c446.tar.gz historical-2d264a1005082ad023e1fb5ab317dbfb7dd7c446.tar.bz2 historical-2d264a1005082ad023e1fb5ab317dbfb7dd7c446.zip |
new snapshot release
Diffstat (limited to 'media-video')
8 files changed, 188 insertions, 2 deletions
diff --git a/media-video/em8300-libraries/ChangeLog b/media-video/em8300-libraries/ChangeLog index f1a68c3c380c..25b67992477d 100644 --- a/media-video/em8300-libraries/ChangeLog +++ b/media-video/em8300-libraries/ChangeLog @@ -1,6 +1,9 @@ # ChangeLog for media-video/em8300-libraries # Copyright 2002-2004 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/media-video/em8300-libraries/ChangeLog,v 1.12 2004/09/01 23:58:34 arj Exp $ +# $Header: /var/cvsroot/gentoo-x86/media-video/em8300-libraries/ChangeLog,v 1.13 2004/09/06 19:39:23 arj Exp $ + +*em8300-libraries-0.15.0_pre20040609 (06 Sep 2004) + 06 Sep 2004; Anders Rune Jensen <arj@gentoo.org> +em8300-libraries-0.15.0_pre20040906: 01 Sep 2004; Anders Rune Jensen <arj@gentoo.org> em8300-libraries-0.15.0_pre20040525.ebuild: diff --git a/media-video/em8300-libraries/Manifest b/media-video/em8300-libraries/Manifest index 7382aa8da2f3..c7c703883781 100644 --- a/media-video/em8300-libraries/Manifest +++ b/media-video/em8300-libraries/Manifest @@ -4,9 +4,11 @@ MD5 f44ec5185e2800bd9ed7c758693fefcf em8300-libraries-0.13.0-r1.ebuild 2138 MD5 d0d0416fb578d3b1a107ac0f29d49a80 em8300-libraries-0.13.0.ebuild 1866 MD5 9e1a5759d84f16edc7cc0d40abfb0780 em8300-libraries-0.14.0.ebuild 2131 MD5 16988ac949cb63432166c321258197a9 metadata.xml 253 +MD5 7fdcf2e285738d55a94ecf970830fe27 em8300-libraries-0.15.0_pre20040906.ebuild 2201 MD5 57131a38064b254b8326a4d2e1894be2 em8300-libraries-0.15.0_pre20040525.ebuild 2201 MD5 8acb1fa133b6be82b4ec6a12350690c0 files/digest-em8300-libraries-0.12.0-r1 65 MD5 29a6f23e30a4e4d57e5a0daf1d61f8c5 files/digest-em8300-libraries-0.13.0 65 MD5 29a6f23e30a4e4d57e5a0daf1d61f8c5 files/digest-em8300-libraries-0.13.0-r1 65 MD5 c6636e3bede214480f9eb0d32d916dd1 files/digest-em8300-libraries-0.14.0 65 MD5 bb9480fd315f95a144fae1a463983499 files/digest-em8300-libraries-0.15.0_pre20040525 68 +MD5 0cd48035d3a64290c86b2d0d6a749a84 files/digest-em8300-libraries-0.15.0_pre20040906 68 diff --git a/media-video/em8300-libraries/em8300-libraries-0.15.0_pre20040906.ebuild b/media-video/em8300-libraries/em8300-libraries-0.15.0_pre20040906.ebuild new file mode 100644 index 000000000000..9e7420abed6a --- /dev/null +++ b/media-video/em8300-libraries/em8300-libraries-0.15.0_pre20040906.ebuild @@ -0,0 +1,88 @@ +# Copyright 1999-2004 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/media-video/em8300-libraries/em8300-libraries-0.15.0_pre20040906.ebuild,v 1.1 2004/09/06 19:39:23 arj Exp $ + +DESCRIPTION="em8300 (RealMagic Hollywood+/Creative DXR3) video decoder card libraries" +HOMEPAGE="http://dxr3.sourceforge.net" +PDATE="20040906" +SRC_URI="mirror://gentoo/em8300-${PDATE}.tar.bz2 + http://dev.gentoo.org/~arj/files/em8300-${PDATE}.tar.bz2" + +DEPEND="media-video/em8300-modules + gtk? ( x11-libs/gtk+ )" + +SLOT="0" +LICENSE="GPL-2" +KEYWORDS="~x86" +IUSE="gtk" + +S="${WORKDIR}/em8300-${PDATE}" + +src_unpack () { + + unpack ${A} + + cd ${S} + #Eliminate extra compiling and prune out some disk space usage + sed -e "s:modules/\ ::g" \ + -e "s:\ modules.tar.gz::g" \ + Makefile.in > Makefile.in.hacked + mv Makefile.in.hacked Makefile.in + + cd em8300setup + mv em8300setup.c em8300setup.c.old + sed -e "s:/usr/share/misc/em8300.uc:/usr/share/em8300/em8300.uc:g" \ + < em8300setup.c.old > em8300setup.c + rm em8300setup.c.old + +} + +src_compile () { + + local myconf + use gtk || myconf="${myconf} --disable-gtktest" + + ./configure \ + --prefix=/usr \ + --sysconfdir=/etc \ + --datadir=/usr/share || die + make all || die + +} + +src_install () { + + cd ${S}/scripts + mv microcode_upload.pl microcode_upload.pl.old + sed -e "s:/usr/share/misc/em8300.uc:/usr/share/em8300/em8300.uc:g" \ + < microcode_upload.pl.old > microcode_upload.pl + rm microcode_upload.pl.old + cd ${S} + + make em8300incdir=${D}/usr/include/linux/ \ + prefix=${D}/usr \ + datadir=${D}/usr/share \ + sysconfdir=/etc \ + oldincludedir=${D}/usr/include \ + install || die + + insinto /usr/share/em8300 + doins modules/em8300.uc + + dodoc AUTHORS COPYING ChangeLog NEWS README + +} + +pkg_postinst() { + + einfo + einfo "The em8300 libraries and modules have now beein installed," + einfo "you will probably want to add /usr/bin/em8300setup to your" + einfo "/etc/conf.d/local.start so that your em8300 card is " + einfo "properly initialized on boot." + einfo + einfo "If you still need a microcode other than the one included" + einfo "with the package, you can simply use em8300setup <microcode.ux>" + einfo + +} diff --git a/media-video/em8300-libraries/files/digest-em8300-libraries-0.15.0_pre20040906 b/media-video/em8300-libraries/files/digest-em8300-libraries-0.15.0_pre20040906 new file mode 100644 index 000000000000..296fef5aa2b8 --- /dev/null +++ b/media-video/em8300-libraries/files/digest-em8300-libraries-0.15.0_pre20040906 @@ -0,0 +1 @@ +MD5 b71e9dcdfd67132d49de46cfd9b6a921 em8300-20040906.tar.bz2 453961 diff --git a/media-video/em8300-modules/ChangeLog b/media-video/em8300-modules/ChangeLog index b14c363fbd1a..2bbbc64cdf9a 100644 --- a/media-video/em8300-modules/ChangeLog +++ b/media-video/em8300-modules/ChangeLog @@ -1,7 +1,12 @@ # ChangeLog for media-video/em8300-modules # Copyright 2002-2004 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/media-video/em8300-modules/ChangeLog,v 1.11 2004/09/02 00:00:20 arj Exp $ +# $Header: /var/cvsroot/gentoo-x86/media-video/em8300-modules/ChangeLog,v 1.12 2004/09/06 19:40:10 arj Exp $ +*em8300-modules-0.15.0_pre20040906 (06 Sep 2004) + + 06 Sep 2004; Anders Rune Jensen <arj@gentoo.org> +em8300-modules-0.15.0_pre20040906 : + New snapshot release which fixes two bugs. + 01 Sep 2004; Anders Rune Jensen <arj@gentoo.org> em8300-modules-0.15.0_pre20040525.ebuild: Move the tarball to the mirrors also. diff --git a/media-video/em8300-modules/Manifest b/media-video/em8300-modules/Manifest index de9906f59bee..f342eef3461f 100644 --- a/media-video/em8300-modules/Manifest +++ b/media-video/em8300-modules/Manifest @@ -3,9 +3,11 @@ MD5 10f07db2bcca72c2d9fd2b13148f6894 em8300-modules-0.12.0.ebuild 2434 MD5 9557b4f8c9c17637a04a126438963dad em8300-modules-0.13.0.ebuild 2433 MD5 5828ff39d73ab92b6ec6262e6a1d8d58 em8300-modules-0.14.0.ebuild 1940 MD5 16988ac949cb63432166c321258197a9 metadata.xml 253 +MD5 f3b790a6c92102a4527c1265da5d34e3 em8300-modules-0.15.0_pre20040906.ebuild 2278 MD5 cf886c75e7579b244188cef56bd3b5c6 em8300-modules-0.15.0_pre20040525.ebuild 2278 MD5 8acb1fa133b6be82b4ec6a12350690c0 files/digest-em8300-modules-0.12.0 65 MD5 29a6f23e30a4e4d57e5a0daf1d61f8c5 files/digest-em8300-modules-0.13.0 65 MD5 40448834cd5bc1bdc07ab84d8a3727cc files/modules.em8300 28 MD5 c6636e3bede214480f9eb0d32d916dd1 files/digest-em8300-modules-0.14.0 65 MD5 bb9480fd315f95a144fae1a463983499 files/digest-em8300-modules-0.15.0_pre20040525 68 +MD5 0cd48035d3a64290c86b2d0d6a749a84 files/digest-em8300-modules-0.15.0_pre20040906 68 diff --git a/media-video/em8300-modules/em8300-modules-0.15.0_pre20040906.ebuild b/media-video/em8300-modules/em8300-modules-0.15.0_pre20040906.ebuild new file mode 100644 index 000000000000..9bd6056c0a43 --- /dev/null +++ b/media-video/em8300-modules/em8300-modules-0.15.0_pre20040906.ebuild @@ -0,0 +1,84 @@ +# Copyright 1999-2004 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.0_pre20040906.ebuild,v 1.1 2004/09/06 19:40:10 arj Exp $ + +DESCRIPTION="em8300 (RealMagic Hollywood+/Creative DXR3) video decoder card kernel modules" +HOMEPAGE="http://dxr3.sourceforge.net" +PDATE="20040906" +SRC_URI="mirror://gentoo/em8300-${PDATE}.tar.bz2 + http://dev.gentoo.org/~arj/files/em8300-${PDATE}.tar.bz2" + +DEPEND="virtual/linux-sources" + +SLOT="0" +LICENSE="GPL-2" +KEYWORDS="~x86" +IUSE="" + +S="${WORKDIR}/em8300-${PDATE}/modules" + +src_unpack () { + + unpack ${A} + cd ${S} +} + +src_compile () { + + make ARCH="`uname -m | sed -e s/i.86/i386/ -e s/sun4u/sparc64/ \ + -e s/arm.*/arm/ -e s/sa110/arm/ \ + -e s/s390x/s390/ -e s/parisc64/parisc/`" || die + +} + +src_install () { + + insinto "/usr/include/linux" + doins ../include/linux/em8300.h + + KERNEL=`uname -r` + + # The driver goes into the standard modules location + insinto "/lib/modules/${KERNEL}/kernel/drivers/video" + + if [ "${KERNEL: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 + +} + +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.0_pre20040906 b/media-video/em8300-modules/files/digest-em8300-modules-0.15.0_pre20040906 new file mode 100644 index 000000000000..296fef5aa2b8 --- /dev/null +++ b/media-video/em8300-modules/files/digest-em8300-modules-0.15.0_pre20040906 @@ -0,0 +1 @@ +MD5 b71e9dcdfd67132d49de46cfd9b6a921 em8300-20040906.tar.bz2 453961 |