summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAnders Rune Jensen <arj@gentoo.org>2006-01-27 01:47:12 +0000
committerAnders Rune Jensen <arj@gentoo.org>2006-01-27 01:47:12 +0000
commit9996c9d954c9ba91021d67978e9ddb244f5e6e67 (patch)
treebdd684fca86cb49c91eb1c96b5494cb430a8f33f /media-video
parentAdjust description to indicate that this package only provides the userspace ... (diff)
downloadgentoo-2-9996c9d954c9ba91021d67978e9ddb244f5e6e67.tar.gz
gentoo-2-9996c9d954c9ba91021d67978e9ddb244f5e6e67.tar.bz2
gentoo-2-9996c9d954c9ba91021d67978e9ddb244f5e6e67.zip
fix installation
(Portage version: 2.1_pre3-r1)
Diffstat (limited to 'media-video')
-rw-r--r--media-video/em8300-libraries/ChangeLog7
-rw-r--r--media-video/em8300-libraries/Manifest4
-rw-r--r--media-video/em8300-libraries/em8300-libraries-0.15.2-r1.ebuild79
-rw-r--r--media-video/em8300-libraries/files/digest-em8300-libraries-0.15.2-r11
4 files changed, 89 insertions, 2 deletions
diff --git a/media-video/em8300-libraries/ChangeLog b/media-video/em8300-libraries/ChangeLog
index 5296ce8970d7..c351fbdbf7b1 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-2005 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/media-video/em8300-libraries/ChangeLog,v 1.20 2005/11/24 23:48:55 arj Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-video/em8300-libraries/ChangeLog,v 1.21 2006/01/27 01:47:12 arj Exp $
+*em8300-libraries-0.15.2-r1 (26 Jan 2006)
+ 26 Jan 2006; Anders Rune Jensen <arj@gentoo.org>
+ +em8300-libraries-0.15.2-r1.ebuild:
+ Patch from Karol Ostrovsky to fix installations issues
+
*em8300-libraries-0.15.2 (24 Nov 2005)
24 Nov 2005; Anders Rune Jensen <arj@gentoo.org>
+em8300-libraries-0.15.2.ebuild:
diff --git a/media-video/em8300-libraries/Manifest b/media-video/em8300-libraries/Manifest
index 3b1823d89f8a..87a773cad6e7 100644
--- a/media-video/em8300-libraries/Manifest
+++ b/media-video/em8300-libraries/Manifest
@@ -1,10 +1,12 @@
-MD5 b76b27a7f9f269fa1e7a477a487a8816 ChangeLog 3468
+MD5 63611106405a805ca9b5364c3b60ceb9 ChangeLog 3658
MD5 f44ec5185e2800bd9ed7c758693fefcf em8300-libraries-0.13.0-r1.ebuild 2138
MD5 768d3285097481a24279b42e72ec5573 em8300-libraries-0.15.0.ebuild 2196
MD5 18a9dd2a04a4b0d9b91bf24347b4d30f em8300-libraries-0.15.1.ebuild 2194
+MD5 67a5d52023ce1ef9aef2da6493b4b7af em8300-libraries-0.15.2-r1.ebuild 1897
MD5 1af07bdbd7d4aae825e7f9979b27a717 em8300-libraries-0.15.2.ebuild 1913
MD5 29a6f23e30a4e4d57e5a0daf1d61f8c5 files/digest-em8300-libraries-0.13.0-r1 65
MD5 ee5ed479a61194274ece9b4d034bf598 files/digest-em8300-libraries-0.15.0 65
MD5 f0b1bbd962955837a701644a03b32eed files/digest-em8300-libraries-0.15.1 65
MD5 6f479468d3de42a272181c79f6fd0f06 files/digest-em8300-libraries-0.15.2 65
+MD5 6f479468d3de42a272181c79f6fd0f06 files/digest-em8300-libraries-0.15.2-r1 65
MD5 5bf3ce68ed1923dc3a3996a58987a360 metadata.xml 247
diff --git a/media-video/em8300-libraries/em8300-libraries-0.15.2-r1.ebuild b/media-video/em8300-libraries/em8300-libraries-0.15.2-r1.ebuild
new file mode 100644
index 000000000000..bd09f073696b
--- /dev/null
+++ b/media-video/em8300-libraries/em8300-libraries-0.15.2-r1.ebuild
@@ -0,0 +1,79 @@
+# 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.2-r1.ebuild,v 1.1 2006/01/27 01:47:12 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="~amd64 ~ppc ~x86"
+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
+
+ # fix bug in Makefile
+ sed -e "s:test -z \"\$(firmwaredir)\":test -z \"\$(DESTDIR)(firmwaredir)\":g" Makefile.am > Makefile.am.hacked
+ mv Makefile.am.hacked Makefile.am
+
+}
+
+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 () {
+
+ make DESTDIR=${D} em8300incdir=/usr/include/linux/ \
+ prefix=/usr \
+ datadir=/usr/share \
+ sysconfdir=/etc \
+ oldincludedir=/usr/include \
+ install || die
+
+ 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.2-r1 b/media-video/em8300-libraries/files/digest-em8300-libraries-0.15.2-r1
new file mode 100644
index 000000000000..2bf647575cfb
--- /dev/null
+++ b/media-video/em8300-libraries/files/digest-em8300-libraries-0.15.2-r1
@@ -0,0 +1 @@
+MD5 c203eade5e6002d279d50cae4a947964 em8300-0.15.2.tar.gz 325533