summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDiego Elio Pettenò <flameeyes@gentoo.org>2006-11-16 19:24:59 +0000
committerDiego Elio Pettenò <flameeyes@gentoo.org>2006-11-16 19:24:59 +0000
commit972eb3cfba6c819704bdde26992b71dff68d3337 (patch)
tree2d4d7aab13e9dbf980bdf49203b1502c7a61512c /media-video/em8300-libraries
parentupdate brasero mask. (diff)
downloadhistorical-972eb3cfba6c819704bdde26992b71dff68d3337.tar.gz
historical-972eb3cfba6c819704bdde26992b71dff68d3337.tar.bz2
historical-972eb3cfba6c819704bdde26992b71dff68d3337.zip
Fix for building with newer kernels, thanks to Samuli Suominen in bug #155117, who's going to take care of this until arj come back at least.
Package-Manager: portage-2.1.2_rc1-r7
Diffstat (limited to 'media-video/em8300-libraries')
-rw-r--r--media-video/em8300-libraries/ChangeLog9
-rw-r--r--media-video/em8300-libraries/em8300-libraries-0.15.3-r1.ebuild67
-rw-r--r--media-video/em8300-libraries/files/digest-em8300-libraries-0.15.3-r13
-rw-r--r--media-video/em8300-libraries/metadata.xml12
4 files changed, 88 insertions, 3 deletions
diff --git a/media-video/em8300-libraries/ChangeLog b/media-video/em8300-libraries/ChangeLog
index a4cab0b2c5f7..57a380691c05 100644
--- a/media-video/em8300-libraries/ChangeLog
+++ b/media-video/em8300-libraries/ChangeLog
@@ -1,6 +1,13 @@
# ChangeLog for media-video/em8300-libraries
# Copyright 2002-2006 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/media-video/em8300-libraries/ChangeLog,v 1.24 2006/05/14 16:52:34 arj Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-video/em8300-libraries/ChangeLog,v 1.25 2006/11/16 19:24:26 flameeyes Exp $
+
+*em8300-libraries-0.15.3-r1 (16 Nov 2006)
+
+ 16 Nov 2006; Diego Pettenò <flameeyes@gentoo.org> metadata.xml,
+ +em8300-libraries-0.15.3-r1.ebuild:
+ Fix for building with newer kernels, thanks to Samuli Suominen in bug
+ #155117, who's going to take care of this until arj come back at least.
14 May 2006; Anders Rune Jensen <arj@gentoo.org>
em8300-libraries-0.15.3.ebuild, -em8300-libraries-0.15.2.ebuild:
diff --git a/media-video/em8300-libraries/em8300-libraries-0.15.3-r1.ebuild b/media-video/em8300-libraries/em8300-libraries-0.15.3-r1.ebuild
new file mode 100644
index 000000000000..6dec0fdb3485
--- /dev/null
+++ b/media-video/em8300-libraries/em8300-libraries-0.15.3-r1.ebuild
@@ -0,0 +1,67 @@
+# Copyright 1999-2006 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.3-r1.ebuild,v 1.1 2006/11/16 19:24:26 flameeyes Exp $
+
+WANT_AUTOMAKE=1.9
+WANT_AUTOCONF=2.5
+
+inherit flag-o-matic autotools
+
+MY_P="${P/_/-}" ; MY_P="${MY_P/-libraries/}"
+
+DESCRIPTION="em8300 (RealMagic Hollywood+/Creative DXR3) video decoder card libraries"
+HOMEPAGE="http://dxr3.sourceforge.net"
+SRC_URI="http://dxr3.sourceforge.net/download/${MY_P}.tar.gz"
+
+RDEPEND="media-video/em8300-modules
+ 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.15.3-r1 b/media-video/em8300-libraries/files/digest-em8300-libraries-0.15.3-r1
new file mode 100644
index 000000000000..f1e70c040a5f
--- /dev/null
+++ b/media-video/em8300-libraries/files/digest-em8300-libraries-0.15.3-r1
@@ -0,0 +1,3 @@
+MD5 58a6765d469cc507c1e0dff152ce3d30 em8300-0.15.3.tar.gz 327572
+RMD160 9beb731d24c02408879c64e4b9d0439033be3882 em8300-0.15.3.tar.gz 327572
+SHA256 84d952406c2596b9e5a81002017cf91006546d7c2b650dde0c4ba332e1585da2 em8300-0.15.3.tar.gz 327572
diff --git a/media-video/em8300-libraries/metadata.xml b/media-video/em8300-libraries/metadata.xml
index 0e3b862ed279..22e01182b470 100644
--- a/media-video/em8300-libraries/metadata.xml
+++ b/media-video/em8300-libraries/metadata.xml
@@ -2,8 +2,16 @@
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<herd>video</herd>
+
<maintainer>
-<email>arj@gentoo.org</email>
-<name>Anders Rune Jensen</name>
+ <email>sasuomin@uusikaupunki.fi</email>
+ <name>Samuli Suominen</name>
+ <description>Proxied maintainer</description>
+</maintainer>
+
+<maintainer>
+ <email>flameeyes@gentoo.org</email>
+ <name>Diego Pettenò</name>
+ <description>Proxying maintainer</description>
</maintainer>
</pkgmetadata>