diff options
author | Marc Hildebrand <zypher@gentoo.org> | 2007-07-01 19:27:58 +0000 |
---|---|---|
committer | Marc Hildebrand <zypher@gentoo.org> | 2007-07-01 19:27:58 +0000 |
commit | b821e5dc0e25f3e3eeef327a287b979630b41dfb (patch) | |
tree | e04c0fd7059c8cd159d25aed0a50e94c70d6b946 /media-video | |
parent | Version bump. closes bug #183602 (diff) | |
download | gentoo-2-b821e5dc0e25f3e3eeef327a287b979630b41dfb.tar.gz gentoo-2-b821e5dc0e25f3e3eeef327a287b979630b41dfb.tar.bz2 gentoo-2-b821e5dc0e25f3e3eeef327a287b979630b41dfb.zip |
Version bump. closes bug #183602
(Portage version: 2.1.2.7)
Diffstat (limited to 'media-video')
-rw-r--r-- | media-video/em8300-libraries/ChangeLog | 7 | ||||
-rw-r--r-- | media-video/em8300-libraries/em8300-libraries-0.16.2.ebuild | 67 | ||||
-rw-r--r-- | media-video/em8300-libraries/files/digest-em8300-libraries-0.16.2 | 3 |
3 files changed, 76 insertions, 1 deletions
diff --git a/media-video/em8300-libraries/ChangeLog b/media-video/em8300-libraries/ChangeLog index 607cd0b8ada8..0009c7ee3c54 100644 --- a/media-video/em8300-libraries/ChangeLog +++ b/media-video/em8300-libraries/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for media-video/em8300-libraries # Copyright 2002-2007 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/media-video/em8300-libraries/ChangeLog,v 1.34 2007/06/30 08:12:24 drac Exp $ +# $Header: /var/cvsroot/gentoo-x86/media-video/em8300-libraries/ChangeLog,v 1.35 2007/07/01 19:27:58 zypher Exp $ + +*em8300-libraries-0.16.2 (06 May 2007) + + 01 Jul 2007; Marc Hildebrand <zypher@gentoo.org> em8300-libraries-0.16.2.ebuild: + Version bump. 30 Jun 2007; Samuli Suominen <drac@gentoo.org> Manifest: Remove myself from metadata.xml as I don't have this hardware anymore. diff --git a/media-video/em8300-libraries/em8300-libraries-0.16.2.ebuild b/media-video/em8300-libraries/em8300-libraries-0.16.2.ebuild new file mode 100644 index 000000000000..af76ba5bd473 --- /dev/null +++ b/media-video/em8300-libraries/em8300-libraries-0.16.2.ebuild @@ -0,0 +1,67 @@ +# Copyright 1999-2007 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.16.2.ebuild,v 1.1 2007/07/01 19:27:58 zypher Exp $ + +WANT_AUTOMAKE=1.9 +WANT_AUTOCONF=2.5 + +inherit flag-o-matic autotools + +MY_P="${P/-libraries/}" + +DESCRIPTION="em8300 (RealMagic Hollywood+/Creative DXR3) video decoder card libraries" +HOMEPAGE="http://dxr3.sourceforge.net" +SRC_URI="mirror://sourceforge/dxr3/${MY_P}.tar.gz" + +RDEPEND="~media-video/em8300-modules-${PV} + gtk? ( >=x11-libs/gtk+-2.0 )" + +DEPEND="dev-util/pkgconfig + gtk? ( >=x11-libs/gtk+-2.0 )" + +SLOT="0" +LICENSE="GPL-2" +KEYWORDS="~amd64 ~ppc ~x86" +IUSE="gtk" + +S="${WORKDIR}/${MY_P}" + +src_unpack() { + unpack "${A}" + cd "${S}" + + # Separate kernel modules. + sed -i -e 's:modules/\ ::g' Makefile.am + + # Fix Makefile bug. + sed -i -e "s:test -z \"\$(firmwaredir)\":test -z\"\$(DESTDIR)(firmwaredir)\":g" Makefile.am + + eautomake +} + +src_compile () { + use amd64 && append-flags -fPIC + + econf \ + $(use_enable gtk gtktest) || die "econf failed." + + emake || die "emake failed." +} + +src_install () { + dodir /lib/firmware + emake DESTDIR="${D}" em8300incdir=/usr/include/linux install \ + || die "emake install failed." + + dodoc AUTHORS ChangeLog NEWS README +} + +pkg_postinst() { + elog "The em8300 libraries and modules have now been installed," + elog "you will probably want to add /usr/bin/em8300setup to your" + elog "/etc/conf.d/local.start so that your em8300 card is " + elog "properly initialized on boot." + elog + elog "If you still need a microcode other than the one included" + elog "with the package, you can simply use em8300setup <microcode.ux>" +} diff --git a/media-video/em8300-libraries/files/digest-em8300-libraries-0.16.2 b/media-video/em8300-libraries/files/digest-em8300-libraries-0.16.2 new file mode 100644 index 000000000000..cae1c717cfd0 --- /dev/null +++ b/media-video/em8300-libraries/files/digest-em8300-libraries-0.16.2 @@ -0,0 +1,3 @@ +MD5 139bd3aee7ba7a2aac903e311bb14b03 em8300-0.16.2.tar.gz 343468 +RMD160 0d07f0808fa98f7d650273f5004ba6316a8ab294 em8300-0.16.2.tar.gz 343468 +SHA256 a21fdad6e9098d862ce7674bdf1856012f89fd71be3d26b02b83920c2b26d410 em8300-0.16.2.tar.gz 343468 |