summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAnders Rune Jensen <arj@gentoo.org>2005-04-24 14:15:45 +0000
committerAnders Rune Jensen <arj@gentoo.org>2005-04-24 14:15:45 +0000
commitb9e155627d61341033609a51f3e4f30231540ec1 (patch)
tree2f19014de1d343a6ee14458b752c98cd021a23c1 /media-video/dxr3player/dxr3player-0.10.ebuild
parentcleaning homepage, mirror (diff)
downloadgentoo-2-b9e155627d61341033609a51f3e4f30231540ec1.tar.gz
gentoo-2-b9e155627d61341033609a51f3e4f30231540ec1.tar.bz2
gentoo-2-b9e155627d61341033609a51f3e4f30231540ec1.zip
new version
(Portage version: 2.0.51.19)
Diffstat (limited to 'media-video/dxr3player/dxr3player-0.10.ebuild')
-rw-r--r--media-video/dxr3player/dxr3player-0.10.ebuild65
1 files changed, 65 insertions, 0 deletions
diff --git a/media-video/dxr3player/dxr3player-0.10.ebuild b/media-video/dxr3player/dxr3player-0.10.ebuild
new file mode 100644
index 000000000000..e54e552ce4af
--- /dev/null
+++ b/media-video/dxr3player/dxr3player-0.10.ebuild
@@ -0,0 +1,65 @@
+# Copyright 1999-2005 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/media-video/dxr3player/dxr3player-0.10.ebuild,v 1.1 2005/04/24 14:15:45 arj Exp $
+
+DESCRIPTION="A DVD player for Linux, supports the DXR3 (aka Hollywood+) board."
+HOMEPAGE="http://dxr3player.sourceforge.net/"
+
+SRC_URI="mirror://sourceforge/dxr3player/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~x86 ~amd64"
+IUSE="lirc sdl mmx sse 3dnow"
+
+DEPEND=">=media-libs/libmad-0.15.1b
+ lirc? ( app-misc/lirc )
+ sdl? ( media-libs/libsdl media-libs/libmpeg2)"
+
+src_compile() {
+
+ myconf="--with-mad"
+
+ if use lirc; then
+ myconf="${myconf} --with-lirc=/usr"
+ fi
+
+ if use sdl; then
+ myconf="${myconf} --with-sdl=/usr"
+ fi
+
+ if [ -e /usr/include/linux/em8300.h ]
+ then
+ myconf="${myconf} --with-em8300=/usr"
+ fi
+
+ if use 3dnow; then
+ accel=" --with-mm-accel=3dnow"
+ fi
+ if use mmx; then
+ accel=" --with-mm-accel=mmx"
+ fi
+ if use sse; then
+ accel=" --with-mm-accel=sse"
+ fi
+
+ econf ${myconf} ${accel} || die
+ emake || die
+}
+
+src_install() {
+ dodoc AUTHORS COPYING ChangeLog INSTALL INSTALL.fr LISEZMOI NEWS README
+
+ mybin="src/dxr3player/dumpdvd"
+
+ if [ -e /usr/include/linux/em8300.h ]
+ then
+ mybin="${mybin} src/dxr3player/dxr3player"
+ fi
+
+ if use sdl; then
+ mybin="${mybin} src/dxr3player/dxr3player-sdl"
+ fi
+
+ dobin $mybin
+}