diff options
author | Anders Rune Jensen <arj@gentoo.org> | 2005-06-03 11:34:33 +0000 |
---|---|---|
committer | Anders Rune Jensen <arj@gentoo.org> | 2005-06-03 11:34:33 +0000 |
commit | 2eb87bb780a1cbb079febf207a168dfc21a5962b (patch) | |
tree | f62a7c5cf2c43e27363d05747bfe3899abfd12ad /media-video/em8300-libraries | |
parent | new version (diff) | |
download | gentoo-2-2eb87bb780a1cbb079febf207a168dfc21a5962b.tar.gz gentoo-2-2eb87bb780a1cbb079febf207a168dfc21a5962b.tar.bz2 gentoo-2-2eb87bb780a1cbb079febf207a168dfc21a5962b.zip |
new version
(Portage version: 2.0.51.22-r1)
Diffstat (limited to 'media-video/em8300-libraries')
4 files changed, 101 insertions, 2 deletions
diff --git a/media-video/em8300-libraries/ChangeLog b/media-video/em8300-libraries/ChangeLog index 7be801ef8bbe..b9a74eacd943 100644 --- a/media-video/em8300-libraries/ChangeLog +++ b/media-video/em8300-libraries/ChangeLog @@ -1,7 +1,12 @@ # 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.16 2005/03/10 22:40:07 arj Exp $ +# $Header: /var/cvsroot/gentoo-x86/media-video/em8300-libraries/ChangeLog,v 1.17 2005/06/03 11:30:58 arj Exp $ +*em8300-libraries-0.15.0 (03 Jun 2005) + 03 Jun 2005; Anders Rune Jensen <arj@gentoo.org> + +em8300-libraries-0.15.0.ebuild: + new version + *em8300-libraries-0.15.0_pre20050310 (10 Mar 2005) 10 Mar 2005; Anders Rune Jensen <arj@gentoo.org> +em8300-libraries-0.15.0_pre20050310: diff --git a/media-video/em8300-libraries/Manifest b/media-video/em8300-libraries/Manifest index 904f281a7255..d66ec3191fc4 100644 --- a/media-video/em8300-libraries/Manifest +++ b/media-video/em8300-libraries/Manifest @@ -2,13 +2,15 @@ MD5 9e1a5759d84f16edc7cc0d40abfb0780 em8300-libraries-0.14.0.ebuild 2131 MD5 5bf3ce68ed1923dc3a3996a58987a360 metadata.xml 247 MD5 4b6c22017c3668e1256f623dcfcf9e2a em8300-libraries-0.15.0_pre20050310.ebuild 2266 MD5 46f79ce7b807fc2dc4f5295469bcd2c2 em8300-libraries-0.15.0_pre20040906.ebuild 2266 +MD5 6e9713cd714c8661edcb9dad8c171d3c em8300-libraries-0.15.0.ebuild 2201 MD5 d0d0416fb578d3b1a107ac0f29d49a80 em8300-libraries-0.13.0.ebuild 1866 MD5 f44ec5185e2800bd9ed7c758693fefcf em8300-libraries-0.13.0-r1.ebuild 2138 MD5 57131a38064b254b8326a4d2e1894be2 em8300-libraries-0.15.0_pre20040525.ebuild 2201 -MD5 aa606aabc22f9de165cc202247f36d58 ChangeLog 2566 +MD5 2f9a80f5eec88cc17d319aa5715e64d4 ChangeLog 2707 MD5 91dee0a4a1e7a3e4d8bdf2f55cf7092f em8300-libraries-0.12.0-r1.ebuild 2032 MD5 29a6f23e30a4e4d57e5a0daf1d61f8c5 files/digest-em8300-libraries-0.13.0-r1 65 MD5 38f1942f48db9d544a9ccbea3806943a files/digest-em8300-libraries-0.15.0_pre20050310 68 +MD5 ee5ed479a61194274ece9b4d034bf598 files/digest-em8300-libraries-0.15.0 65 MD5 29a6f23e30a4e4d57e5a0daf1d61f8c5 files/digest-em8300-libraries-0.13.0 65 MD5 c6636e3bede214480f9eb0d32d916dd1 files/digest-em8300-libraries-0.14.0 65 MD5 bb9480fd315f95a144fae1a463983499 files/digest-em8300-libraries-0.15.0_pre20040525 68 diff --git a/media-video/em8300-libraries/em8300-libraries-0.15.0.ebuild b/media-video/em8300-libraries/em8300-libraries-0.15.0.ebuild new file mode 100644 index 000000000000..e14648f33350 --- /dev/null +++ b/media-video/em8300-libraries/em8300-libraries-0.15.0.ebuild @@ -0,0 +1,91 @@ +# Copyright 1999-2005 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.ebuild,v 1.1 2005/06/03 11:30:59 arj Exp $ + +inherit flag-o-matic + +DESCRIPTION="em8300 (RealMagic Hollywood+/Creative DXR3) video decoder card libraries" +HOMEPAGE="http://dxr3.sourceforge.net" +SRC_URI="mirror://sourceforge/dxr3/${P/-libraries/}.tar.gz" + +DEPEND="media-video/em8300-modules + gtk? ( x11-libs/gtk+ )" + +SLOT="0" +LICENSE="GPL-2" +KEYWORDS="~x86 ~amd64" +IUSE="gtk" + +src_unpack () { + + unpack ${A} + + cd ${WORKDIR} + mv ${A/.tar.gz/} ${P} + + 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 () { + + use amd64 && append-flags -fPIC + + 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 b/media-video/em8300-libraries/files/digest-em8300-libraries-0.15.0 new file mode 100644 index 000000000000..7d2215fa7bcc --- /dev/null +++ b/media-video/em8300-libraries/files/digest-em8300-libraries-0.15.0 @@ -0,0 +1 @@ +MD5 a5d6e1f319bb9d2652027329015ea050 em8300-0.15.0.tar.gz 446349 |