summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris White <chriswhite@gentoo.org>2005-02-06 17:23:53 +0000
committerChris White <chriswhite@gentoo.org>2005-02-06 17:23:53 +0000
commitc80a539fe041155e1be6d8e04526e0fbc7858534 (patch)
tree531f9e4d0b4f2130d7dc36274399924d278cd6bf
parentStable on ppc64 (diff)
downloadgentoo-2-c80a539fe041155e1be6d8e04526e0fbc7858534.tar.gz
gentoo-2-c80a539fe041155e1be6d8e04526e0fbc7858534.tar.bz2
gentoo-2-c80a539fe041155e1be6d8e04526e0fbc7858534.zip
Fixed bug #65914 (desktop file) bug #79207 (real libs logic) bug #78481 (avi USE flag for win32codecs).
(Portage version: 2.0.51-r15)
-rw-r--r--media-video/mplayer/ChangeLog7
-rw-r--r--media-video/mplayer/files/mplayer.desktop12
-rw-r--r--media-video/mplayer/mplayer-1.0_pre5-r5.ebuild7
-rw-r--r--media-video/mplayer/mplayer-1.0_pre6.ebuild45
4 files changed, 48 insertions, 23 deletions
diff --git a/media-video/mplayer/ChangeLog b/media-video/mplayer/ChangeLog
index c0885c0ba742..8dcf531c31ee 100644
--- a/media-video/mplayer/ChangeLog
+++ b/media-video/mplayer/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for media-video/mplayer
# Copyright 2002-2005 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/media-video/mplayer/ChangeLog,v 1.270 2005/02/06 15:28:08 chriswhite Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-video/mplayer/ChangeLog,v 1.271 2005/02/06 17:23:53 chriswhite Exp $
+
+ 07 Feb 2005; Chris White <chriswhite@gentoo.org> files/mplayer.desktop,
+ mplayer-1.0_pre5-r5.ebuild, mplayer-1.0_pre6.ebuild:
+ Fixed bug #65914 (desktop file) bug #79207 (real libs logic) bug #78481 (avi
+ USE flag for win32codecs).
07 Feb 2005; Chris White <chriswhite@gentoo.org> mplayer-1.0_pre5-r5.ebuild,
mplayer-1.0_pre6.ebuild:
diff --git a/media-video/mplayer/files/mplayer.desktop b/media-video/mplayer/files/mplayer.desktop
index 9552ad1ecd20..b5c2227c3455 100644
--- a/media-video/mplayer/files/mplayer.desktop
+++ b/media-video/mplayer/files/mplayer.desktop
@@ -1,7 +1,13 @@
[Desktop Entry]
+Type=Application
+Encoding=UTF-8
+StartupNotify=true
Name=MPlayer
-Comment=Media Player for Linux
+Comment=Media Player For Linux
+GenericName=Video Player
Exec=gmplayer
-Icon=mplayer.xpm
-Terminal=0
+Terminal=false
Type=Application
+Icon=mplayer.xpm
+Categories=Application;Multimedia;AudioVideo;Player;
+MimeType=video/quicktime;video/x-quicktime;image/x-quicktime;application/x-quicktimeplayer;video/x-ms-asf-plugin;video/x-msvideo;video/msvideo;application/x-mplayer2;video/x-ms-wm;video/x-ms-asf;video/x-ms-wmv;video/x-ms-wmp;video/x-ms-wvx;audio/x-ms-wax;audio/x-ms-wma;application/x-drm-v2;audio/wav;audio/x-wav;video/mpeg;audio/mpeg;video/x-mpeg;video/x-mpeg2;audio/mpeg;audio/x-mpeg;audio/mpeg2;audio/x-mpeg2;audio/mpeg3;audio/x-mpeg3;audio/x-mp3;audio/mp3;video/mp4;video/fli;video/x-fli;video/vnd.vivo;application/x-ogg;application/ogg
diff --git a/media-video/mplayer/mplayer-1.0_pre5-r5.ebuild b/media-video/mplayer/mplayer-1.0_pre5-r5.ebuild
index df0119ebe775..7ab6d51e779e 100644
--- a/media-video/mplayer/mplayer-1.0_pre5-r5.ebuild
+++ b/media-video/mplayer/mplayer-1.0_pre5-r5.ebuild
@@ -1,11 +1,11 @@
# Copyright 1999-2005 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/media-video/mplayer/mplayer-1.0_pre5-r5.ebuild,v 1.23 2005/02/06 15:28:08 chriswhite Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-video/mplayer/mplayer-1.0_pre5-r5.ebuild,v 1.24 2005/02/06 17:23:53 chriswhite Exp $
inherit eutils flag-o-matic kernel-mod
RESTRICT="nostrip"
-IUSE="3dfx 3dnow 3dnowex aalib alsa altivec arts bidi debug dga divx4linux doc dvb cdparanoia directfb dvd dvdread edl encode esd fbcon gif ggi gtk i8x0 ipv6 jack joystick jpeg libcaca lirc live lzo mad matroska matrox mpeg mmx mmx2 mythtv nas network nls nvidia oggvorbis opengl oss png real rtc samba sdl sse sse2 svga tga theora truetype v4l v4l2 X xanim xinerama xmms xv xvid xvmc"
+IUSE="3dfx 3dnow 3dnowex aalib alsa altivec arts avi bidi debug dga divx4linux doc dvb cdparanoia directfb dvd dvdread edl encode esd fbcon gif ggi gtk i8x0 ipv6 jack joystick jpeg libcaca lirc live lzo mad matroska matrox mpeg mmx mmx2 mythtv nas network nls nvidia oggvorbis opengl oss png real rtc samba sdl sse sse2 svga tga theora truetype v4l v4l2 X xanim xinerama xmms xv xvid xvmc"
BLUV=1.4
SVGV=1.9.17
@@ -30,7 +30,7 @@ HOMEPAGE="http://www.mplayerhq.hu/"
RDEPEND="xvid? ( >=media-libs/xvid-0.9.0 )
x86? (
divx4linux? ( >=media-libs/divx4linux-20030428 )
- >=media-libs/win32codecs-20040916
+ avi? ( >=media-libs/win32codecs-20040916 )
)
aalib? ( media-libs/aalib )
alsa? ( media-libs/alsa-lib )
@@ -320,6 +320,7 @@ src_compile() {
myconf="${myconf} $(use_enable xmms)"
myconf="${myconf} $(use_enable xvid)"
myconf="${myconf} $(use_enable real)"
+ myconf="${myconf} $(use_enable avi win32)"
#############
# Video Output #
diff --git a/media-video/mplayer/mplayer-1.0_pre6.ebuild b/media-video/mplayer/mplayer-1.0_pre6.ebuild
index b6bb6155733b..79bd12ca9183 100644
--- a/media-video/mplayer/mplayer-1.0_pre6.ebuild
+++ b/media-video/mplayer/mplayer-1.0_pre6.ebuild
@@ -1,11 +1,11 @@
# Copyright 1999-2005 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/media-video/mplayer/mplayer-1.0_pre6.ebuild,v 1.25 2005/02/06 15:28:08 chriswhite Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-video/mplayer/mplayer-1.0_pre6.ebuild,v 1.26 2005/02/06 17:23:53 chriswhite Exp $
inherit eutils flag-o-matic kernel-mod
RESTRICT="nostrip"
-IUSE="3dfx 3dnow 3dnowex aalib alsa altivec arts bidi debug dga divx4linux doc dts dvb cdparanoia directfb dvd dv dvdread edl encode esd fbcon gif ggi gtk i8x0 ipv6 jack joystick jpeg libcaca lirc live lzo mad matroska matrox mpeg mmx mmx2 mythtv nas nls nvidia oggvorbis opengl oss png real rtc samba sdl sse sse2 svga tga theora truetype v4l v4l2 X xanim xinerama xmms xv xvid xvmc"
+IUSE="3dfx 3dnow 3dnowex aalib alsa altivec arts avi bidi debug dga divx4linux doc dts dvb cdparanoia directfb dvd dv dvdread edl encode esd fbcon gif ggi gtk i8x0 ipv6 jack joystick jpeg libcaca lirc live lzo mad matroska matrox mpeg mmx mmx2 mythtv nas nls nvidia oggvorbis opengl oss png real rtc samba sdl sse sse2 svga tga theora truetype v4l v4l2 X xanim xinerama xmms xv xvid xvmc"
BLUV=1.4
SVGV=1.9.17
@@ -30,7 +30,7 @@ HOMEPAGE="http://www.mplayerhq.hu/"
RDEPEND="xvid? ( >=media-libs/xvid-0.9.0 )
x86? (
divx4linux? ( >=media-libs/divx4linux-20030428 )
- >=media-libs/win32codecs-20040916
+ avi? ( >=media-libs/win32codecs-20040916 )
)
aalib? ( media-libs/aalib )
alsa? ( media-libs/alsa-lib )
@@ -294,6 +294,7 @@ src_compile() {
myconf="${myconf} $(use_enable xmms)"
myconf="${myconf} $(use_enable xvid)"
myconf="${myconf} $(use_enable real)"
+ myconf="${myconf} $(use_enable avi win32)"
#############
# Video Output #
@@ -399,16 +400,31 @@ src_compile() {
if use real
then
- if [ -d /usr/$(get_libdir)/real ]
+ if use x86 || use amd64 && [ -d /usr/$(get_libdir)/real ]
then
- REALLIBDIR="/usr/$(get_libdir)/real"
+ REALLIBDIR="/usr/$(get_libdir)/real"
else
- eerror "Real libs not found! Install win32codecs"
- eerror "And ensure that real USE flag is enabled!"
- die "Real libs not found"
+ eerror "Real libs not found! Install win32codecs"
+ eerror "And ensure that real USE flag is enabled!"
+ die "Real libs not found"
+ fi
+ if use ppc || use sparc || use alpha
+ then
+ if [ -d /opt/RealPlayer9/Real/Codecs ]
+ then
+ einfo "Setting REALLIBDIR to /opt/RealPlayer9/Real/Codecs..."
+ REALLIBDIR="/opt/RealPlayer9/Real/Codecs"
+ elif [ -d /opt/RealPlayer8/Codecs ]
+ then
+ einfo "Setting REALLIBDIR to /opt/RealPlayer8/Codecs..."
+ REALLIBDIR="/opt/RealPlayer8/Codces"
+ else
+ eerror "Real libs not found! Install realplayer"
+ die "Real libs not found"
+ fi
fi
fi
-
+
if use xanim
then
myconf="${myconf} --with-xanimlibdir=/usr/lib/xanim/mods"
@@ -433,7 +449,6 @@ src_compile() {
--disable-runtime-cpudetection \
--enable-largefiles \
--enable-menu \
- --enable-real \
--enable-network --enable-ftp \
--with-reallibdir=${REALLIBDIR} \
--with-x11incdir=/usr/X11R6/include \
@@ -486,12 +501,10 @@ src_install() {
dosym mplayer /usr/bin/gmplayer
fi
- if use gnome; then
- insinto /usr/share/pixmaps
- newins ${S}/Gui/mplayer/pixmaps/logo.xpm mplayer.xpm
- insinto /usr/share/gnome/apps/Multimedia
- doins ${FILESDIR}/mplayer.desktop
- fi
+ insinto /usr/share/pixmaps
+ newins ${S}/Gui/mplayer/pixmaps/logo.xpm mplayer.xpm
+ insinto /usr/share/applications
+ doins ${FILESDIR}/mplayer.desktop
dodir /usr/share/mplayer/fonts
local x=