ChangeLog

# ChangeLog for media-video/mplayer
# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
# $Header: /var/cvsroot/gentoo-x86/media-video/mplayer/ChangeLog,v 1.849 2012/05/05 08:58:52 jdhore Exp $

05 May 2012; Jeff Horelick
mplayer-1.0_rc4_p20110322-r1.ebuild, mplayer-1.0_rc4_p20120213.ebuild,
mplayer-1.0_rc4_p20120405.ebuild, mplayer-9999.ebuild:
dev-util/pkgconfig -> virtual/pkgconfig

08 Apr 2012; Raúl Porcel
mplayer-1.0_rc4_p20120213.ebuild, mplayer-1.0_rc4_p20120405.ebuild:
Add ~alpha/~arm/~ia64/~sparc wrt #394805

05 Apr 2012; Mike Frysinger
mplayer-1.0_rc4_p20120405.ebuild, +files/mplayer-1.0_rc4-pkg-config.patch:
Fix pkg-config handling with libdvd{nav,read} #410189.

05 Apr 2012; Alexis Ballier
mplayer-1.0_rc4_p20120405.ebuild, mplayer-9999.ebuild:
bump ffmpeg deps: 9999 requires 9999 and ~arch requires 0.10.2

*mplayer-1.0_rc4_p20120405 (05 Apr 2012)

05 Apr 2012; Alexis Ballier +files/ffmpeg2.patch,
+mplayer-1.0_rc4_p20120405.ebuild:
bump a new snapshot

18 Mar 2012; Samuli Suominen
mplayer-1.0_rc4_p20110322-r1.ebuild, mplayer-1.0_rc4_p20120213.ebuild,
mplayer-9999.ebuild:
Remove USE="esd" because media-sound/esound isn't in tree anymore.

19 Feb 2012; Alexis Ballier
-mplayer-1.0_rc4_p20111215.ebuild, -mplayer-1.0_rc4_p20120105.ebuild,
-mplayer-1.0_rc4_p20120109.ebuild, -mplayer-1.0_rc4_p20120128.ebuild,
-files/swedish.patch:
remove old

15 Feb 2012; Joerg Bornkessel
mplayer-1.0_rc4_p20110322-r1.ebuild, mplayer-1.0_rc4_p20111215.ebuild,
mplayer-1.0_rc4_p20120105.ebuild, mplayer-1.0_rc4_p20120109.ebuild,
mplayer-1.0_rc4_p20120128.ebuild, mplayer-1.0_rc4_p20120213.ebuild,
mplayer-9999.ebuild:
fix media-tv to virtual/linuxtv-dvb-headers, bug #403929

13 Feb 2012; Alexis Ballier mplayer-9999.ebuild:
trunk does not build with ffmpeg 0.10, bump dep

13 Feb 2012; Alexis Ballier metadata.xml:
typos in real use flag description, bug #400963

*mplayer-1.0_rc4_p20120213 (13 Feb 2012)

13 Feb 2012; Alexis Ballier
+mplayer-1.0_rc4_p20120213.ebuild, +files/ffmpeg.patch:
bump a new snapshot, should fix bugs #402235 and #401315

05 Feb 2012; Thomas Kahle
mplayer-1.0_rc4_p20120128.ebuild:
marked ~x86 per bug 394805

*mplayer-1.0_rc4_p20120128 (28 Jan 2012)

28 Jan 2012; Alexis Ballier
+mplayer-1.0_rc4_p20120128.ebuild, mplayer-9999.ebuild:
bump a new snapshot for ffmpeg 0.10

*mplayer-1.0_rc4_p20120109 (09 Jan 2012)

09 Jan 2012; Alexis Ballier
+mplayer-1.0_rc4_p20120109.ebuild:
bump a new snapshot that should fix bug #397789

*mplayer-1.0_rc4_p20120105 (05 Jan 2012)

05 Jan 2012; Alexis Ballier
+mplayer-1.0_rc4_p20120105.ebuild:
bump a new snapshot with accumulated fixes from 9999, working with ffmpeg
0.9.1 release

02 Jan 2012; Andreas K. Huettel +ChangeLog-2008:
Split ChangeLog.

22 Dec 2011; Alexis Ballier files/swedish.patch:
add a note that patch has been applied upstream

22 Dec 2011; Alexis Ballier
mplayer-1.0_rc4_p20111215.ebuild, +files/swedish.patch:
fix build of swedish help, by larkang@gmail.com, bug #395677

19 Dec 2011; Alexis Ballier mplayer-9999.ebuild:
improve a warning

19 Dec 2011; Alexis Ballier mplayer-9999.ebuild:
dvdnav requires dvd, no need to protect the deps

19 Dec 2011; Alexis Ballier mplayer-9999.ebuild:
Simplify X checks in ebuild: use REQUIRED_USE instead of silently disabling
features, people enabling X related features should know they will require X.
Remove video_cards_vesa useflag that does nothing.

19 Dec 2011; Alexis Ballier mplayer-9999.ebuild:
some new formats have been added after ffmpeg 0.9 which mplayer trunk now
requires, bump ffmpeg dep

18 Dec 2011; Alexis Ballier mplayer-9999.ebuild:
mp3lib failed to build on x86 with -O0 and frame-pointer, since we dropped
internal mp3lib we can also avoid messing with CFLAGS and let people build
with the -O flag they wish.

18 Dec 2011; Alexis Ballier files/dump_ffmpeg.sh:
allfilters.c is also checked, inlude it too

17 Dec 2011; Alexis Ballier mplayer-9999.ebuild:
cosmetics

17 Dec 2011; Alexis Ballier mplayer-9999.ebuild:
dvdnav requires dvd, simplifying ebuild

17 Dec 2011; Alexis Ballier mplayer-9999.ebuild:
reflect some inter use flag dependencies by REQUIRED_USE

17 Dec 2011; Alexis Ballier mplayer-9999.ebuild:
cosmetics

17 Dec 2011; Alexis Ballier mplayer-9999.ebuild:
remove custom-cpuopts option: if anything breaks the build we can disallow it
with REQUIRED_USE

17 Dec 2011; Alexis Ballier mplayer-9999.ebuild:
remove dead code: faac + bindist is disallowed by REQUIRED_USE

17 Dec 2011; Alexis Ballier
mplayer-1.0_rc4_p20111215.ebuild, mplayer-9999.ebuild:
fix build with USE=doc, by Martin von Gagern in bug #394907

16 Dec 2011; Alexis Ballier mplayer-9999.ebuild:
use libmpg123 for mp3 decoding and remove internal mp3lib, bug #384849 by
Samuli Suominen

16 Dec 2011; Alexis Ballier mplayer-9999.ebuild:
generate on the fly a snapshot version for live ebuilds and use that file for
generating a VERSION file that advertises it is a Gentoo build as suggested
by Reimar Döffinger in bug #328817

16 Dec 2011; Alexis Ballier files/prepare_mplayer.sh:
generate snapshot_version the same way as upstream version.sh and use printf
which should be more portable

16 Dec 2011; Alexis Ballier files/prepare_mplayer.sh:
create a snapshot_version file in snapshots to get svn revision

16 Dec 2011; Alexis Ballier
mplayer-1.0_rc4_p20111215.ebuild, mplayer-9999.ebuild:
bump libbluray dep, bug #387935

15 Dec 2011; Alexis Ballier mplayer-9999.ebuild:
sync with snapshot

*mplayer-1.0_rc4_p20111215 (15 Dec 2011)

15 Dec 2011; Alexis Ballier
+mplayer-1.0_rc4_p20111215.ebuild:
bump a new snapshot using system ffmpeg

15 Dec 2011; Alexis Ballier mplayer-9999.ebuild:
depend on ffmpeg 0.9, bug #392405

15 Dec 2011; Alexis Ballier files/prepare_mplayer.sh:
update the prepare_mplayer script to use ffmpeg instead of libav and use
dump_ffmpeg.sh for dumping unused files

02 Nov 2011; Alexis Ballier files/dump_ffmpeg.sh:
riff.h isnt needed anymore

31 Oct 2011; Samuli Suominen
mplayer-1.0_rc4_p20110322-r1.ebuild, mplayer-9999.ebuild:
Rename USE="v4l2" to USE="v4l" while removing support for video4linux 1.x wrt
#385241

15 Oct 2011; Tim Harder
-mplayer-1.0_rc4_p20101114.ebuild, -mplayer-1.0_rc4_p20110322.ebuild:
Remove old, insecure versions.

12 Oct 2011; Raúl Porcel
mplayer-1.0_rc4_p20110322-r1.ebuild:
alpha/ia64/sparc stable wrt #379297

09 Oct 2011; Kacper Kowalik
mplayer-1.0_rc4_p20110322-r1.ebuild:
ppc/ppc64 stable wrt #379297

09 Oct 2011; Jeroen Roovers
mplayer-1.0_rc4_p20110322-r1.ebuild:
Stable for HPPA (bug #379297).

09 Oct 2011; Markus Meier
mplayer-1.0_rc4_p20110322-r1.ebuild:
arm stable, bug #379297

08 Oct 2011; Pawel Hajdan jr
mplayer-1.0_rc4_p20110322-r1.ebuild:
x86 stable wrt security bug #379297

06 Oct 2011; Steve Dibb
mplayer-1.0_rc4_p20110322-r1.ebuild:
amd64 stable, security bug 379297

*mplayer-1.0_rc4_p20110322-r1 (06 Oct 2011)

06 Oct 2011; Samuli Suominen
+mplayer-1.0_rc4_p20110322-r1.ebuild,
+files/mplayer-1.0_rc4_p20110322-sami_subtitle_parsing.patch:
Fix security bug (SAMI Subtitle Parsing Buffer Overflow) #379297 by Agostino
Sarubbo

24 Sep 2011; Matt Turner
mplayer-1.0_rc4_p20110322.ebuild,
+files/mplayer-1.0_rc4_p20110322-gcc46.patch:
Add patch to work-around high pitched sounds produced when compiled with
gcc-4.6, bug 377837

15 Jul 2011; Matt Turner
mplayer-1.0_rc4_p20110322.ebuild:
Added ~mips, bug 304931

08 Jul 2011; Samuli Suominen
mplayer-1.0_rc4_p20101114.ebuild, mplayer-1.0_rc4_p20110322.ebuild,
mplayer-9999.ebuild:
Convert from "hasq" to "has".

23 Jun 2011; Alexis Ballier
-mplayer-1.0_rc4_p20091026-r1.ebuild,
-files/mplayer-1.0_rc4_p20091026-arm_neon.patch:
remove old

23 Jun 2011; Alexis Ballier mplayer-9999.ebuild:
use git-2.eclass for ffmpeg

23 Jun 2011; Alexis Ballier mplayer-9999.ebuild:
do not default enable faac, its non free, not compatible with binary
distribution, and ffmpeg has an encoder now

08 Jun 2011; Alexis Ballier mplayer-9999.ebuild:
fix variable quoting

08 Jun 2011; Alexis Ballier mplayer-9999.ebuild:
remove useless CFLAGS variable assignment

08 Jun 2011; Alexis Ballier mplayer-9999.ebuild,
+files/dump_ffmpeg.sh, metadata.xml:
Always use system ffmpeg, use only the required internal headers from ffmpeg,
bug #361731

22 May 2011; Joseph Jezak
mplayer-1.0_rc4_p20101114.ebuild:
Marked ppc stable for bug #343977.

03 Apr 2011; Tomáš Chvátal mplayer-9999.ebuild:
Set egit project properly.

03 Apr 2011; Tomáš Chvátal mplayer-9999.ebuild:
Drop useless egit_project definition

26 Mar 2011; Tomáš Chvátal mplayer-9999.ebuild:
Depend on virtual/ffmpeg

22 Mar 2011; Tomáš Chvátal
mplayer-1.0_rc4_p20110322.ebuild, mplayer-9999.ebuild:
Revert required use usage.

*mplayer-1.0_rc4_p20110322 (22 Mar 2011)

22 Mar 2011; Tomáš Chvátal
-mplayer-1.0_rc4_p20101219.ebuild, -mplayer-1.0_rc4_p20110302.ebuild,
+mplayer-1.0_rc4_p20110322.ebuild, mplayer-9999.ebuild,
files/prepare_mplayer.sh:
Add new snapshot (update snapshot creator to use libav).

20 Mar 2011; Tomáš Chvátal mplayer-9999.ebuild,
files/prepare_mplayer.sh:
Move to use libav in live mplayer ebuild and snapshot preparator.

20 Mar 2011; Raúl Porcel
mplayer-1.0_rc4_p20101114.ebuild:
arm/ia64/sparc stable wrt #343977

06 Mar 2011; Kacper Kowalik
mplayer-1.0_rc4_p20101114.ebuild:
ppc64 stable wrt #343977

*mplayer-1.0_rc4_p20110302 (02 Mar 2011)

02 Mar 2011; Tomáš Chvátal
+mplayer-1.0_rc4_p20110302.ebuild, mplayer-9999.ebuild,
files/prepare_mplayer.sh:
Add new snapshot so we have something matching to latest release. Cleanup
src_install a bit.

01 Mar 2011; Tomáš Chvátal mplayer-9999.ebuild:
Update ebuild per bug #354023 and #354625. Thanks to reporters for patches.

30 Jan 2011; Tomáš Chvátal mplayer-9999.ebuild:
Clone the ffmpeg from git as svn external was removed.

30 Jan 2011; Tomáš Chvátal mplayer-9999.ebuild:
Update live verison to eapi4 and use_required syntax. Fix default
configuration section, some settings were eaten for me otherwise.

30 Jan 2011; Tomáš Chvátal mplayer-9999.ebuild:
Fix dependency on vdpau (it specificaly check for headers in libvdpau). Per
bug #352422.

26 Jan 2011; Jeroen Roovers
mplayer-1.0_rc4_p20101114.ebuild:
Stable for HPPA (bug #343977).

22 Jan 2011; Markos Chandras
mplayer-1.0_rc4_p20101114.ebuild:
Stable on amd64 wrt bug #343977

22 Jan 2011; Christian Faulhammer
mplayer-1.0_rc4_p20101114.ebuild:
stable x86, bug 343977

14 Jan 2011; Fabian Groffen mplayer-9999.ebuild:
Simplify and generalise too few registers logic for all x86 hosts, bug
#351588

02 Jan 2011; Tobias Klausmann
mplayer-1.0_rc4_p20101114.ebuild:
Stable on alpha, bug #343977

02 Jan 2011; Alexis Ballier mplayer-9999.ebuild:
The internal copy of faad2 is gone, bug #350316

*mplayer-1.0_rc4_p20101219 (19 Dec 2010)

19 Dec 2010; Tomáš Chvátal
-mplayer-1.0_rc4_p20100506.ebuild, -mplayer-1.0_rc4_p20100612.ebuild,
-mplayer-1.0_rc4_p20101107.ebuild, +mplayer-1.0_rc4_p20101219.ebuild,
mplayer-9999.ebuild:
Version bump (add new snapshot that should fix vorbis failiture). Drop old.
Sort keywords in live ebuild.

*mplayer-1.0_rc4_p20101114 (14 Nov 2010)

14 Nov 2010; Lars Wendler
+mplayer-1.0_rc4_p20101114.ebuild:
non-maintainer commit: New snapshot to fix bug #345155. Permission kindly
granted by scarabeus.

07 Nov 2010; Alexis Ballier metadata.xml:
update description of the vpx useflag, bug #337690

07 Nov 2010; Jory A. Pratt
mplayer-1.0_rc4_p20091026-r1.ebuild, mplayer-1.0_rc4_p20100506.ebuild,
mplayer-1.0_rc4_p20100612.ebuild, mplayer-1.0_rc4_p20101107.ebuild,
mplayer-9999.ebuild:
Convert media-libs/jpeg to virtual/jpeg

*mplayer-1.0_rc4_p20101107 (07 Nov 2010)

07 Nov 2010; Tomáš Chvátal
+mplayer-1.0_rc4_p20101107.ebuild, mplayer-9999.ebuild,
+files/prepare_mplayer.sh:
Add new snapshot and add tool that create them to files/

01 Nov 2010; Tomáš Chvátal mplayer-9999.ebuild,
metadata.xml:
Fix mga videocard check per bug #341171. Add missing options per bug #334793.

10 Oct 2010; Tomáš Chvátal mplayer-9999.ebuild,
metadata.xml:
Replace rtmpdump with rtmp useflag. As is done in ffmpeg and xbmc.

10 Oct 2010; Tomáš Chvátal mplayer-9999.ebuild:
EAPI3fy for prefix support.

10 Oct 2010; Tomáš Chvátal mplayer-9999.ebuild:
Introduce gsm useflag. Adds support for the gsm lossy speech compression
codec.

10 Oct 2010; Tomáš Chvátal mplayer-9999.ebuild:
Always disable internal libmpeg2.

10 Oct 2010; Tomáš Chvátal mplayer-9999.ebuild,
metadata.xml:
Ebuild cleanup. Drop gmplayer useflag. Introduce rtmpdump useflag. Thanks
to Andrew Savchenko. Fixes bug #336021 and bug #337284.

01 Oct 2010; Alexis Ballier mplayer-9999.ebuild:
fix configure options for external ffmpeg

18 Jul 2010; Alexis Ballier mplayer-9999.ebuild:
network configure option has been renamed to networking

17 Jul 2010; Steve Dibb mplayer-9999.ebuild:
Revert libass change; Always use external versions where possible

17 Jul 2010; Steve Dibb mplayer-9999.ebuild,
metadata.xml:
Add support for external libass libraries, bug 327733

17 Jul 2010; Steve Dibb mplayer-9999.ebuild:
Add bluray use flag for playback through libbluray

30 Jun 2010; Tomáš Chvátal mplayer-9999.ebuild:
Drop svga useflag.

30 Jun 2010; Fabio Erculiani
mplayer-1.0_rc4_p20091026-r1.ebuild, mplayer-1.0_rc4_p20100506.ebuild,
mplayer-1.0_rc4_p20100612.ebuild, mplayer-9999.ebuild:
fix automagic dependency against svgalib, add --disable-svgalib
--disable-svgalib_helper

27 Jun 2010; Raúl Porcel
mplayer-1.0_rc4_p20100612.ebuild:
Re-add ~alpha/~arm/~ia64/~sparc

25 Jun 2010; Samuli Suominen
mplayer-1.0_rc4_p20100612.ebuild, mplayer-9999.ebuild:
Missing gcc-specs-pie check wrt #325517 by Toralf Förster and Magnus
Granberg.

25 Jun 2010; Alexis Ballier mplayer-9999.ebuild:
propagate enca useflag to libass, by Alexey Shildyakov
, bug #321863

25 Jun 2010; Alexis Ballier mplayer-9999.ebuild:
disable faac with use bindist, by Nikoli , bug #323353

13 Jun 2010; Dror Levin
mplayer-1.0_rc4_p20100612.ebuild:
Dropping keywords pending keywording of media-libs/libvpx, bug 323727.

*mplayer-1.0_rc4_p20100612 (12 Jun 2010)

12 Jun 2010; Dror Levin
+mplayer-1.0_rc4_p20100612.ebuild:
Roll new snapshot with VP8 support.

12 Jun 2010; Dror Levin mplayer-9999.ebuild,
metadata.xml:
Add vpx support via media-libs/libvpx.

11 Jun 2010; Alexis Ballier mplayer-9999.ebuild:
fix the configure options building with mencoder disabled, bug #323097

02 Jun 2010; Luca Barbato mplayer-9999.ebuild:
Ebuild improvements from Nikoli see bug #322377

01 Jun 2010; Luca Barbato mplayer-9999.ebuild:
Change doc deps as reported in bug #317559

31 May 2010; Luca Barbato mplayer-9999.ebuild:
make sure sed line is safe as suggested by Nikoli on #gentoo-media

20 May 2010; Jeroen Roovers
mplayer-1.0_rc4_p20100506.ebuild:
Marked ~hppa (bug #317459).

19 May 2010; Raúl Porcel
mplayer-1.0_rc4_p20100506.ebuild:
Readd ~ia64 wrt #317459

09 May 2010; Alexis Ballier mplayer-9999.ebuild:
internal a52dec support has been dropped, use external one

*mplayer-1.0_rc4_p20100506 (06 May 2010)

06 May 2010; Tomáš Chvátal
-files/mplayer-1.0_rc2_p20090322-fix-undeclared-spudec.patch,
-files/mplayer-1.0_rc2_p20090530-fix-mp3lib-use-local-labels-2.patch,
-files/mplayer-1.0_rc2_p20090731-linguas.patch,
-mplayer-1.0_rc4_p20100213-r1.ebuild, -mplayer-1.0_rc4_p20100427.ebuild,
+mplayer-1.0_rc4_p20100506.ebuild,
-files/mplayer-1.0_rc4_p20091124-r1-libtheora.patch:
Rollup new snapshot. Drop old. This should be stable candidate.

05 May 2010; Tomáš Chvátal mplayer-9999.ebuild:
Remove emake call from src_compile, is already run by base eclass.

01 May 2010; Alexis Ballier mplayer-9999.ebuild:
iconv should be in RDEPEND too

01 May 2010; Alexis Ballier mplayer-9999.ebuild:
Add missing dep on app-text/docbook-xml-dtd by Scott Burgess
, bug #317559

29 Apr 2010; Samuli Suominen
mplayer-1.0_rc4_p20100427.ebuild, mplayer-9999.ebuild:
Fix liba52 handling wrt #317797 by Simone Scanzoni.

28 Apr 2010; Samuli Suominen
mplayer-1.0_rc4_p20100427.ebuild, mplayer-9999.ebuild:
Revert SRC_URI change for svgalib_helper; mirrors still ship the broken
copy.

*mplayer-1.0_rc4_p20100427 (27 Apr 2010)

27 Apr 2010; Samuli Suominen
+mplayer-1.0_rc4_p20100427.ebuild:
Version (snapshot) bump.

24 Apr 2010; Alexis Ballier mplayer-9999.ebuild:
fix x264 deps

24 Apr 2010; Alexis Ballier mplayer-9999.ebuild:
drop now unneeded append-flags

24 Apr 2010; Alexis Ballier mplayer-9999.ebuild:
Build and install html documentation into the correct location, based on
the LINGUAS variable, from on a patch by Andrew Savchenko in bug #299405

24 Apr 2010; Alexis Ballier mplayer-9999.ebuild:
dont depend on cdparanoia if cdio is enabled, we wont use it; patch by
Andrew Savchenko, bug #299405

24 Apr 2010; Alexis Ballier mplayer-9999.ebuild:
remove aac useflag: let faad and faac useflags handle it; otherwise there
is support in ffmpeg; always use system libfaad

24 Apr 2010; Alexis Ballier mplayer-9999.ebuild:
Disable opencore-amr support with bindist, Apache-2.0 vs GPL-2 issues,
https://bugs.gentoo.org/show_bug.cgi?id=299405#c6

24 Apr 2010; Alexis Ballier mplayer-9999.ebuild:
allow ass and truetype without X, by Andrew Savchenko, bug #299405

24 Apr 2010; Alexis Ballier mplayer-9999.ebuild:
use system libass, require freetype 2.2.1 at least

24 Apr 2010; Alexis Ballier mplayer-9999.ebuild:
fix opencore-amr automagic dep

24 Apr 2010; Alexis Ballier mplayer-9999.ebuild:
Fix codecsdir handling; default to real ones, the default can be overriden
with codecpath=somewhere in cli or config file, bug #310389 and bug
#309931

23 Apr 2010; Samuli Suominen
mplayer-1.0_rc4_p20091026-r1.ebuild, mplayer-1.0_rc4_p20100213-r1.ebuild,
mplayer-9999.ebuild, metadata.xml:
Rename USE opencore-amr to amr.

07 Apr 2010; Tomáš Chvátal
mplayer-1.0_rc4_p20091026-r1.ebuild, mplayer-1.0_rc4_p20100213-r1.ebuild,
mplayer-9999.ebuild:
Drop unrar-gpl dep. Since it is useless.

26 Mar 2010; Dror Levin
mplayer-1.0_rc4_p20091026-r1.ebuild, mplayer-1.0_rc4_p20100213-r1.ebuild,
mplayer-9999.ebuild:
Convert font deps to virtual/ttf-fonts wrt bug 282754.

26 Mar 2010; Dror Levin mplayer-9999.ebuild:
Remove dvbhead configure argument, bug 307951.

15 Mar 2010; Fabio Erculiani
mplayer-1.0_rc4_p20100213-r1.ebuild, mplayer-9999.ebuild:
fine tune USE="vdpau" dependencies

15 Mar 2010; Fabio Erculiani
mplayer-1.0_rc4_p20100213-r1.ebuild, mplayer-9999.ebuild:
there is no need to depend against x11-drivers/nvidia-drivers for
USE="vdpau", x11-libs/libvdpau is enough

09 Mar 2010; Steve Dibb mplayer-9999.ebuild:
Drop dvbhead argument, bug 307951

02 Mar 2010; Samuli Suominen
mplayer-1.0_rc4_p20100213-r1.ebuild, mplayer-9999.ebuild:
Append -nopie to LDFLAGS wrt #93862 and only filter -fPIC -fPIE on x86.

*mplayer-1.0_rc4_p20100213-r1 (27 Feb 2010)

27 Feb 2010; Sebastian Pipping
-mplayer-1.0_rc4_p20100213.ebuild, +mplayer-1.0_rc4_p20100213-r1.ebuild,
mplayer-9999.ebuild:
Fix bug #307039:
- Add missing build dep dev-util/pkgconfig
- Fix "for i in uses; do" (should be ${uses})

26 Feb 2010; Sebastian Pipping
mplayer-1.0_rc4_p20100213.ebuild, mplayer-9999.ebuild:
Restore lost dependencies (bug #287993)
- opencore-amr? ( media-libs/opencore-amr )
- bs2b? ( media-libs/libbs2b )

26 Feb 2010; Sebastian Pipping mplayer-9999.ebuild:
Copy latest to 9999 before proceeding

13 Feb 2010; Samuli Suominen
mplayer-1.0_rc4_p20100213.ebuild, metadata.xml:
Rename local USE flag openjpeg to global USE flag jpeg2k.

*mplayer-1.0_rc4_p20100213 (13 Feb 2010)

13 Feb 2010; Steve Dibb
+mplayer-1.0_rc4_p20100213.ebuild, metadata.xml:
Snapshot bump; Add OpenJPEG support; Drop ~mips due to openjpeg lib, bug
304931

11 Feb 2010; Samuli Suominen
mplayer-1.0_rc2_p20090731.ebuild:
Remove mips keyword wrt #280281.

02 Feb 2010; Tomáš Chvátal mplayer-9999.ebuild:
Add arm to 9999 ebuild too.

01 Feb 2010; Raúl Porcel
mplayer-1.0_rc4_p20091026-r1.ebuild, mplayer-1.0_rc4_p20091124-r1.ebuild:
Add ~arm

31 Jan 2010; Samuli Suominen
mplayer-1.0_rc4_p20091026-r1.ebuild,
+files/mplayer-1.0_rc4_p20091026-arm_neon.patch:
Fix building with ARM NEON wrt #302073 by Raúl Porcel.

31 Jan 2010; Raúl Porcel
mplayer-1.0_rc4_p20091026-r1.ebuild:
alpha/ia64/sparc stable

24 Jan 2010; Tobias Klausmann
mplayer-1.0_rc4_p20091026-r1.ebuild:
Stable on alpha, bug #297846

09 Jan 2010; Christian Faulhammer
mplayer-1.0_rc4_p20091026-r1.ebuild:
stable x86, bug 297846

07 Jan 2010; Brent Baude
mplayer-1.0_rc4_p20091026-r1.ebuild:
Marking mplayer-1.0_rc4_p20091026-r1 ppc for bug 297846

06 Jan 2010; Brent Baude
mplayer-1.0_rc4_p20091026-r1.ebuild:
Marking mplayer-1.0_rc4_p20091026-r1 ppc64 for bug 297846

03 Jan 2010; Tomáš Chvátal
mplayer-1.0_rc4_p20091124-r1.ebuild, mplayer-9999.ebuild:
Drop epatch_user call, will be handled by new base eclass.

25 Dec 2009; Tomáš Chvátal
mplayer-1.0_rc4_p20091124-r1.ebuild, mplayer-9999.ebuild:
Add support for epatch_user.

24 Dec 2009; Tomáš Chvátal
mplayer-1.0_rc4_p20091124-r1.ebuild, mplayer-9999.ebuild:
Fix variable usage (${x} -> ${i})

24 Dec 2009; Tomáš Chvátal
mplayer-1.0_rc4_p20091124-r1.ebuild, mplayer-9999.ebuild:
Try to simplify the ebuild even bit more.

23 Dec 2009; Jeroen Roovers
mplayer-1.0_rc4_p20091026-r1.ebuild:
Stable for HPPA (bug #297846).

23 Dec 2009; Tomáš Chvátal
mplayer-1.0_rc4_p20091124-r1.ebuild, mplayer-9999.ebuild:
Update live ebuild, sync with latest snapshot.
Now latest snapshot and 9999 are 1:1, try to keep it up
by changing both ebuilds at once. More prefferably the live
ebuild to have the change as first one.

22 Dec 2009; Samuli Suominen
mplayer-1.0_rc4_p20091026-r1.ebuild:
amd64 stable wrt #297846

*mplayer-1.0_rc4_p20091124-r1 (26 Nov 2009)

26 Nov 2009; Steve Dibb
-mplayer-1.0_rc4_p20091124.ebuild, +mplayer-1.0_rc4_p20091124-r1.ebuild,
+files/mplayer-1.0_rc4_p20091124-r1-libtheora.patch:
Fix x264 dep; add patch to build against libtheora-1.0; bug 294496

*mplayer-1.0_rc4_p20091124 (24 Nov 2009)

24 Nov 2009; Steve Dibb
+mplayer-1.0_rc4_p20091124.ebuild:
Snapshot bump

19 Nov 2009; Steve Dibb mplayer-9999.ebuild:
Remove teletext support, bug 292792

18 Nov 2009; Raúl Porcel
mplayer-1.0_rc4_p20091026.ebuild, mplayer-1.0_rc4_p20091026-r1.ebuild:
Re-add ~ia64/~sparc wrt #280281

18 Nov 2009; Jeroen Roovers
mplayer-1.0_rc4_p20091026-r1.ebuild:
Marked ~hppa (bug #280281).

08 Nov 2009; Tobias Klausmann
mplayer-1.0_rc4_p20091026-r1.ebuild:
Keyworded on alpha, bug #280281

27 Oct 2009; Samuli Suominen
mplayer-1.0_rc4_p20091026-r1.ebuild:
If no -O flag is specified, append-flags -O2 (to gain -fomit-frame-pointer
by gcc) wrt #288918

*mplayer-1.0_rc4_p20091026-r1 (27 Oct 2009)

27 Oct 2009; Samuli Suominen
+mplayer-1.0_rc4_p20091026-r1.ebuild, metadata.xml:
Fix missing media-libs/libbs2b depend wrt #287993, thanks to Sebastian
Pipping for reporting. Also, missing media-sound/toolame handling.

*mplayer-1.0_rc4_p20091026 (26 Oct 2009)

26 Oct 2009; Samuli Suominen
+mplayer-1.0_rc4_p20091026.ebuild:
Version bump.

11 Oct 2009; Samuli Suominen
mplayer-1.0_rc2_p20090322.ebuild:
Remove amrnb, amrwb support wrt #252140. Remove arts support wrt #270575.
Remove libmpcdec support wrt #279069.

25 Sep 2009; Mounir Lamouri
mplayer-1.0_rc4_p20090919-r2.ebuild:
Keywording for ppc. Bug 280281

*mplayer-1.0_rc4_p20090919-r2 (25 Sep 2009)

25 Sep 2009; Steve Dibb
+mplayer-1.0_rc4_p20090919-r2.ebuild:
Only use replace-flags on gcc-4.4+; fix svn revision; less strict on sdl
use flag

24 Sep 2009; Raúl Porcel
mplayer-1.0_rc2_p20090731-r1.ebuild, mplayer-1.0_rc4_p20090919-r1.ebuild:
Re-add ~ia64 wrt #280281

22 Sep 2009; Jeremy Olexa
mplayer-1.0_rc4_p20090919-r1.ebuild:
Fix configure call, just a typo in the ebuild. bug 285894

*mplayer-1.0_rc4_p20090919-r1 (19 Sep 2009)

19 Sep 2009; Steve Dibb
+mplayer-1.0_rc4_p20090919-r1.ebuild:
Snapshot version bump; Wrap all X dependencies under X use flag, bug
222627 (thanks to William Hubbs for major patch); Drop vesa support, bug
283246; Drop custom-cflags due to gcc-4 bug, filter flags, bug 269975

31 Aug 2009; Brent Baude
mplayer-1.0_rc2_p20090731-r1.ebuild:
Marking mplayer-1.0_rc2_p20090731-r1 ~ppc64 for bug 280281

28 Aug 2009; Tobias Klausmann
mplayer-1.0_rc2_p20090731-r1.ebuild:
Keyworded on alpha, bug #280281

19 Aug 2009; Christian Faulhammer
mplayer-1.0_rc2_p20090731-r1.ebuild:
add ~x86, bug 280281

09 Aug 2009; nixnut mplayer-1.0_rc2_p20090731.ebuild:
ppc stable #279342

08 Aug 2009; Brent Baude
mplayer-1.0_rc2_p20090731.ebuild:
Marking mplayer-1.0_rc2_p20090731 ppc64 for bug 279342

04 Aug 2009; Jeroen Roovers
mplayer-1.0_rc2_p20090731-r1.ebuild:
Marked ~hppa (bug #280281).

*mplayer-1.0_rc2_p20090731-r1 (04 Aug 2009)

04 Aug 2009; Samuli Suominen
+mplayer-1.0_rc2_p20090731-r1.ebuild, metadata.xml:
Raise x264 depend wrt #240347. Fix automagic opencore-amr depend wrt
#279995.

03 Aug 2009; Samuli Suominen
mplayer-1.0_rc2_p20090731.ebuild:
Pull in dejavu or ttf-bitstream-vera with USE ass wrt #263185.

03 Aug 2009; Markus Meier
mplayer-1.0_rc2_p20090731.ebuild:
x86 stable, bug #279342

03 Aug 2009; Samuli Suominen
mplayer-1.0_rc2_p20090731.ebuild:
Remove USE nemesi since it's not in tree anymore wrt #274807.

03 Aug 2009; Samuli Suominen
mplayer-1.0_rc2_p20090322.ebuild, mplayer-1.0_rc2_p20090530.ebuild,
mplayer-1.0_rc2_p20090731.ebuild:
Upload svgalib_helper again to mirrors wrt #279883.

03 Aug 2009; Samuli Suominen
mplayer-1.0_rc2_p20090731.ebuild,
+files/mplayer-1.0_rc2_p20090731-linguas.patch:
Fix LINGUAS handling wrt #280129.

03 Aug 2009; Alexis Ballier mplayer-9999.ebuild:
Use tr instead of sed for creating the linguas list, this fixes a build
issue when LINGUAS contains more than two languages.

03 Aug 2009; Jeroen Roovers
mplayer-1.0_rc2_p20090731.ebuild:
Stable for HPPA (bug #279342).

02 Aug 2009; mplayer-1.0_rc2_p20090731.ebuild:
Marked stable on AMD64 for security bug #279342 filed by Alex Legler
. Tested with fullscreen XV playback of XviD content on a
Radeon X600, dual hex-core Opteron system with USE="3dnow 3dnowext X a52
aac aalib alsa ass cddb cdio cdparanoia dirac dts dv dvd dvdnav enca
encode faac faad fbcon ftp gif iconv ipv6 jpeg libcaca live lzo mad md5sum
mmx mmxext mng mp2 mp3 nemesi network opengl osdmenu png pnm pulseaudio
quicktime rar real rtc schroedinger sdl shm speex sse sse2 ssse3 theora
tremor truetype unicode v4l2 vorbis x264 xinerama xv xvid xvmc (-altivec)
-bidi -bindist -bl -cpudetection -custom-cflags -custom-cpuopts -debug
-dga -directfb -doc -dvb -dxr3 -esd -ggi -gmplayer -jack -joystick -ladspa
-lirc -nas -nut -openal -oss -pvr -radio -samba (-svga) -teletext -tga
-v4l -vdpau (-vidix) (-win32codecs) -xanim -xscreensaver -zoran".

01 Aug 2009; Diego E. Pettenò
mplayer-1.0_rc2_p20090731.ebuild:
Restore the local labels patch. Sigh.

31 Jul 2009; mplayer-1.0_rc2_p20090530.ebuild:
Marked stable on AMD64 as requested by Samuli Suominen
in bug #279826. Tested using full-screen XV
playback of XViD content on a Radeon X600; USE="3dnow 3dnowext X a52 aac
aalib alsa amrnb amrwb ass cddb cdio cdparanoia dirac dts dv dvd dvdnav
enca encode faac faad fbcon ftp gif iconv ipv6 jpeg libcaca live lzo mad
md5sum mmx mmxext mng mp2 mp3 nemesi network opengl osdmenu png pnm
pulseaudio quicktime rar rtc schroedinger sdl shm speex sse sse2 ssse3
theora tremor truetype unicode v4l2 vorbis x264 xinerama xv xvid xvmc
(-altivec) -bidi -bindist -bl -cpudetection -custom-cflags -custom-cpuopts
-debug -dga -directfb -doc -dvb -dxr3 -esd -ggi -gmplayer -jack -joystick
-ladspa -lirc -nas -nut -openal -oss -pvr -radio (-real) -samba (-svga)
-teletext -tga -v4l -vdpau (-vidix) (-win32codecs) -xanim -xscreensaver
-zoran".

*mplayer-1.0_rc2_p20090731 (31 Jul 2009)

31 Jul 2009; Steve Dibb
+mplayer-1.0_rc2_p20090731.ebuild, mplayer-9999.ebuild:
Snapshot bump, add --language* options to check for correct LINGUAS
variable to use for messages, documentation

27 Jul 2009; Alexis Ballier mplayer-9999.ebuild,
metadata.xml:
Add an option to link against system shared ffmpeg instead of building its
own copy and statically linking to it. Saves around 40Mb here but is
discouraged by upstream.

26 Jul 2009; Samuli Suominen
mplayer-1.0_rc2_p20090530.ebuild, mplayer-9999.ebuild:
Remove USE musepack since ffmpeg offers internal codecs for SV7 and SV8
support.

24 Jul 2009; Steve Dibb mplayer-9999.ebuild:
Drop support for old AMR libs

04 Jul 2009; Brent Baude
mplayer-1.0_rc2_p20090322.ebuild:
stable ppc64, bug 272646

30 Jun 2009; Raúl Porcel
mplayer-1.0_rc2_p20090322.ebuild:
ia64/sparc stable wrt #272646

21 Jun 2009; Steve Dibb
mplayer-1.0_rc2_p20090530.ebuild, mplayer-9999.ebuild:
Fix osdmenu configuration, bug 274438

08 Jun 2009; Jeroen Roovers
mplayer-1.0_rc2_p20090322.ebuild:
Stable for HPPA (bug #272646).

07 Jun 2009; Tobias Klausmann
mplayer-1.0_rc2_p20090322.ebuild:
Stable on alpha, bug #272646

07 Jun 2009; Markus Meier
mplayer-1.0_rc2_p20090322.ebuild:
amd64/x86 stable, bug #272646

06 Jun 2009; nixnut mplayer-1.0_rc2_p20090322.ebuild:
ppc stable #272646

04 Jun 2009; Steve Dibb metadata.xml:
Remove old realcodecs use flag

04 Jun 2009; Steve Dibb
mplayer-1.0_rc2_p28450.ebuild, mplayer-1.0_rc2_p20090226.ebuild,
mplayer-1.0_rc2_p20090322.ebuild, mplayer-1.0_rc2_p20090530.ebuild,
mplayer-9999.ebuild:
Install input.conf and menu.conf in the correct location

03 Jun 2009; Samuli Suominen
mplayer-1.0_rc2_p20090322.ebuild, mplayer-1.0_rc2_p20090530.ebuild,
-files/mplayer-1.0_rc2_p20090322-fix-mp3lib-use-local-labels.patch,
+files/mplayer-1.0_rc2_p20090530-fix-mp3lib-use-local-labels-2.patch:
Modify fix-mp3lib-use-local-labels to use jump 0b and 1b instead of 0 and
1 wrt #271906, thanks to Luca Barbato. Remove the broken patch from old
version.

02 Jun 2009; Steve Dibb mplayer-9999.ebuild:
Fix skin SRC_URI; Display live ebuild einfo only on live ebuild

02 Jun 2009; Steve Dibb
mplayer-1.0_rc2_p28058-r1.ebuild, mplayer-1.0_rc2_p28288.ebuild,
mplayer-1.0_rc2_p28450.ebuild, mplayer-1.0_rc2_p20090226.ebuild,
mplayer-1.0_rc2_p20090322.ebuild, mplayer-1.0_rc2_p20090530.ebuild:
Update SRC_URI for Blue skin, bug 272249

01 Jun 2009; Ben de Groot
mplayer-1.0_rc2_p20090530.ebuild:
Fix versioning (bug 263720) and drop false message about being an
unsupported live ebuild

31 May 2009; Samuli Suominen
mplayer-1.0_rc2_p20090530.ebuild:
Samuli is not an happy developer when broken patches are introduced. Fix
MP3 playing, again.

31 May 2009; Diego E. Pettenò
mplayer-1.0_rc2_p20090530.ebuild:
Diego is not an happy developer when his patches are dropped. Fix build,
once again.

30 May 2009; Tomáš Chvátal mplayer-9999.ebuild:
Update live ebuild. Reorder the DEPS to be alphabetic and more logicaly
separated. Update ebuild to work as snapshot version if properly renamed.
Minor whitespace updates. Use src_prepare function.

*mplayer-1.0_rc2_p20090530 (30 May 2009)

30 May 2009; Steve Dibb
+mplayer-1.0_rc2_p20090530.ebuild:
Snapshot bump; Backport ebuild changes from live ebuild; drop arts

30 May 2009; Steve Dibb mplayer-9999.ebuild,
metadata.xml:
Fix skin install, bug 271904; change gtk use flag to gmplayer

29 May 2009; Steve Dibb
mplayer-1.0_rc2_p28450.ebuild, mplayer-9999.ebuild, metadata.xml:
Ebuild cleanup, see bug 267124. Change to EAPI2; fix faad deps; fix jack
deps; add libnut dep, use flag; fix rar dep; fix displaying svn version;
remove hppa hack; add osdmenu use flag; disable apple-ir on no lirc; add
shm use flag; unset more flags on custom-cflags use. Thanks to Andrew
Savchenko for lots of hard work.

27 May 2009; Diego E. Pettenò
mplayer-1.0_rc2_p20090322.ebuild,
+files/mplayer-1.0_rc2_p20090322-fix-mp3lib-use-local-labels.patch,
+files/mplayer-1.0_rc2_p20090322-fix-undeclared-spudec.patch:
Add two patches: 1) fix spudec to be declared even without dvd support
enabled, patch from upstream; 2) fix mp3lib to use local labels and not
fail with -ftracer in CFLAGS, patch by Luca Barbato.

24 Mar 2009; Ben de Groot mplayer-1.0_rc2_p28058-r1,
mplayer-1.0_rc2_p28288, mplayer-1.0_rc2_p28450, mplayer-1.0_rc2_p20090226,
mplayer-1.0_rc2_p20090322, mplayer-9999:
Fix mangled unicode

*mplayer-9999 (24 Mar 2009)

24 Mar 2009; Steve Dibb +mplayer-9999.ebuild:
Add live ebuild

24 Mar 2009; Steve Dibb
mplayer-1.0_rc2_p20090226.ebuild, mplayer-1.0_rc2_p20090322.ebuild:
Don't enable xvmc USE flag by default

23 Mar 2009; Steve Dibb
mplayer-1.0_rc2_p20090226.ebuild, mplayer-1.0_rc2_p20090322.ebuild:
Don't enable vdpau, mad USE flags by default

*mplayer-1.0_rc2_p20090322 (23 Mar 2009)

23 Mar 2009; Steve Dibb
+mplayer-1.0_rc2_p20090322.ebuild:
Snapshot bump; Remove strip-flags when using custom-cflags use flag, bug
260064; Scale back default USE flags, bug 260588; Drop realplayer binary
support

*mplayer-1.0_rc2_p20090226 (23 Mar 2009)

23 Mar 2009; Steve Dibb
+mplayer-1.0_rc2_p20090226.ebuild, -mplayer-20090226.28734.ebuild,
-mplayer-20090226.28734-r1.ebuild:
Migrate to new naming scheme

*mplayer-20090226.28734-r1 (14 Mar 2009)

14 Mar 2009; Ben de Groot
+mplayer-20090226.28734-r1.ebuild:
Up the dependency on x264 to latest stable, so we can drop the patch. Some
cosmetic changes (slot deps). Fix MPLAYER_REVISION handling. Fix mangled
unicode for Polish spelling.

28 Feb 2009; Markus Meier metadata.xml:
custom-cflags is a global USE-flag

26 Feb 2009; Steve Dibb
mplayer-20090226.28734.ebuild:
Don't enable cpudetection for bindist

26 Feb 2009; Steve Dibb
mplayer-20090226.28734.ebuild:
Fix vorbis dep

26 Feb 2009; Steve Dibb
mplayer-20090226.28734.ebuild:
Add nvidia card to use flags

*mplayer-20090226.28734 (26 Feb 2009)

26 Feb 2009; Steve Dibb metadata.xml,
+mplayer-20090226.28734.ebuild:
Split real use flag into two: real for internal, realcodecs for binary;
Add faad, faac use flags for external AAC support; Add vdpau use flag; Add
more use flags to be enabled by default for that fresh just-works feeling;
Add tremor use flag for internal Vorbis support; Cleanup use flags, bug
254661; Install more docs by default, bug 254671; Check for mng use flag,
bug 256054; Use unrar, add to mplayer.conf, bug 256203; Remove deprecated
DEPEND, bug 256146; New naming scheme DATE.SVN_REVISION; Add more
documentation to ebuild

12 Feb 2009; Steve Dibb
mplayer-1.0_rc2_p28450.ebuild:
Enable more use flag options by default

11 Feb 2009; Tobias Scherbaum
mplayer-1.0_rc2_p28450.ebuild:
ppc stable, bug #257381

09 Feb 2009; Raúl Porcel
mplayer-1.0_rc2_p28450.ebuild:
ia64/sparc stable wrt #257381

07 Feb 2009; Tobias Klausmann
mplayer-1.0_rc2_p28450.ebuild:
Stable on alpha, bug #257381

05 Feb 2009; Jeroen Roovers
mplayer-1.0_rc2_p28450.ebuild:
Stable for HPPA (bug #257381).

04 Feb 2009; Markus Meier
mplayer-1.0_rc2_p28450.ebuild:
amd64/x86 stable, bug #257381

04 Feb 2009; Brent Baude
mplayer-1.0_rc2_p28450.ebuild:
Marking mplayer-1.0_rc2_p28450 ppc64 for bug 257381

*mplayer-1.0_rc2_p28450 (03 Feb 2009)

03 Feb 2009; Steve Dibb
+mplayer-1.0_rc2_p28450.ebuild:
Snapshot bump, security bug 257381

*mplayer-1.0_rc2_p28288 (10 Jan 2009)

10 Jan 2009; Steve Dibb
+mplayer-1.0_rc2_p28288.ebuild:
Snapshot bump

For previous entries, please see ChangeLog-2008.

ChangeLog-2008

# ChangeLog for media-video/mplayer
# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
# $Header: /var/cvsroot/gentoo-x86/media-video/mplayer/ChangeLog-2008,v 1.1 2012/01/02 15:53:34 dilfridge Exp $

22 Dec 2008; Raúl Porcel
mplayer-1.0_rc2_p28058-r1.ebuild:
ia64/sparc stable wrt #251017

20 Dec 2008; Tobias Klausmann
mplayer-1.0_rc2_p28058-r1.ebuild:
Stable on alpha, bug #251017

18 Dec 2008; Tobias Scherbaum
mplayer-1.0_rc2_p28058-r1.ebuild:
ppc stable, bug #251017

18 Dec 2008; Brent Baude
mplayer-1.0_rc2_p28058-r1.ebuild:
Marking mplayer-1.0_rc2_p28058-r1 ppc64 for bug 251017

18 Dec 2008; Joshua Kinard
mplayer-1.0_rc2_p28058-r1.ebuild:
Added ~mips to KEYWORDS, per #205570.

17 Dec 2008; Markus Meier
mplayer-1.0_rc2_p28058-r1.ebuild:
amd64/x86 stable, bug #251017

17 Dec 2008; Jeroen Roovers
mplayer-1.0_rc2_p28058-r1.ebuild:
Stable for HPPA (bug #251017).

*mplayer-1.0_rc2_p28058-r1 (17 Dec 2008)

17 Dec 2008; Steve Dibb
+files/mplayer-1.0_rc2_p28058-demux_vqf.patch,
+mplayer-1.0_rc2_p28058-r1.ebuild:
Add patch for security bug 251017; Change realplayer dep to realcodecs,
bug 249572

13 Dec 2008; Friedrich Oslage
+files/mplayer-libmpeg2.patch, +files/mplayer-libavcodec.patch,
-files/mplayer-libmpeg2-libavcodec.patch,
mplayer-1.0_rc2_p27725-r1.ebuild, mplayer-1.0_rc2_p28058.ebuild:
Split sparc compile patch into two files as the old mplayer needs both,
the new one only the one for libavcodec

*mplayer-1.0_rc2_p28058 (02 Dec 2008)

02 Dec 2008; Steve Dibb metadata.xml,
+mplayer-1.0_rc2_p28058.ebuild:
Snapshot bump; add libdvdnav, mng support; drop unnecessary docbook deps,
bug 174521; move srt use flag to ass, bug 241686

24 Nov 2008; Friedrich Oslage
mplayer-1.0_rc2_p27725-r1.ebuild:
Stable on sparc, security bug #239130 and bug #241110

24 Nov 2008; Steve Dibb
+files/mplayer-libmpeg2-libavcodec.patch,
mplayer-1.0_rc2_p27725-r1.ebuild:
Fix sparc compilation, bug 241110; Thanks to Friedrich Oslage for patch

10 Nov 2008; Raúl Porcel
mplayer-1.0_rc2_p27725-r1.ebuild:
ia64 stable wrt #239130

08 Nov 2008; Tobias Klausmann
mplayer-1.0_rc2_p27725-r1.ebuild:
Stable on alpha, bug #239130

30 Oct 2008; Tobias Scherbaum
mplayer-1.0_rc2_p27725-r1.ebuild:
ppc stable, bug #239130

21 Oct 2008; Markus Rothe
mplayer-1.0_rc2_p27725-r1.ebuild:
Stable on ppc64; bug #239130

20 Oct 2008; Guy Martin
mplayer-1.0_rc2_p27725-r1.ebuild:
hppa stable, #239130

19 Oct 2008; Markus Meier
mplayer-1.0_rc2_p27725-r1.ebuild:
amd64/x86 stable, bug #239130

15 Oct 2008; Alexis Ballier
mplayer-1.0_rc2_p27725-r1.ebuild:
keyword ~x86-fbsd

*mplayer-1.0_rc2_p27725-r1 (07 Oct 2008)

07 Oct 2008; Steve Dibb
+files/mplayer-1.0_rc2_p27725-libx264.patch,
-mplayer-1.0_rc2_p27725.ebuild, +mplayer-1.0_rc2_p27725-r1.ebuild:
Patch to build with x264, thanks to Alex Rostovtsev, bug 240347

*mplayer-1.0_rc2_p27725 (07 Oct 2008)

07 Oct 2008; Steve Dibb
+mplayer-1.0_rc2_p27725.ebuild:
Version bump, security bugs 239130 and 231836

16 Sep 2008; Jeroen Roovers
mplayer-1.0_rc2_p27458.ebuild:
Marked ~hppa (bug #234629).

24 Aug 2008; Markus Rothe
mplayer-1.0_rc2_p27458.ebuild:
Added ~ppc64; bug #234629

20 Aug 2008; Steve Dibb
mplayer-1.0_rc2_p27458.ebuild:
Install midentify.sh to midentify

17 Aug 2008; Alexis Ballier metadata.xml,
mplayer-1.0_rc2_p27458.ebuild:
Add dirac and schroedinger useflags that were automagic, thanks to Hanno
Boeck for reporting in bug #234775.

17 Aug 2008; Alexis Ballier
mplayer-1.0_rc2_p27458.ebuild:
dont prestrip binaries

17 Aug 2008; Alexis Ballier
mplayer-1.0_rc2_p27458.ebuild:
fix midentify install (was renamed to .sh) and add a die so that it'll be
spotted easily later

*mplayer-1.0_rc2_p27120-r1 (13 Aug 2008)

13 Aug 2008; Steve Dibb
-mplayer-1.0_rc2_p27120.ebuild, +mplayer-1.0_rc2_p27120-r1.ebuild:
Update x264 deps, bug 234287

*mplayer-1.0_rc2_p27458 (13 Aug 2008)

13 Aug 2008; Steve Dibb metadata.xml,
+mplayer-1.0_rc2_p27458.ebuild:
Snapshot bump; Re-enable pvr support, bug 230820; Fix dxr3 deps, bug
233542; Fix x264 deps, bug 234287

*mplayer-1.0_rc2_p27120 (21 Jun 2008)

21 Jun 2008; Steve Dibb
+mplayer-1.0_rc2_p27120.ebuild:
Snapshot bump; Add new notices about LINGUAS, gmplayer and cpudetection

04 Jun 2008; Jeroen Roovers
mplayer-1.0_rc2_p26753-r1.ebuild:
Stable for HPPA too.

*mplayer-1.0_rc2_p26914 (28 May 2008)

28 May 2008; Steve Dibb
+mplayer-1.0_rc2_p26914.ebuild:
Snapshot bump

*mplayer-1.0_rc2_p26753-r2 (26 May 2008)

26 May 2008; Steve Dibb
+mplayer-1.0_rc2_p26753-r2.ebuild:
Add custom-cpuopts use flag; add dxr2, dxr3 use flag, bug 223587

22 May 2008; Raúl Porcel
mplayer-1.0_rc2_p26753-r1.ebuild:
ia64/x86 stable

21 May 2008; Markus Rothe
mplayer-1.0_rc2_p26753-r1.ebuild:
Stable on ppc; bug #215006

21 May 2008; Ferris McCormick
mplayer-1.0_rc2_p26753-r1.ebuild:
Sparc stable, Security Bug #215006. All works well.

21 May 2008; Markus Rothe
mplayer-1.0_rc2_p26753-r1.ebuild:
Stable on ppc64; bug #215006

*mplayer-1.0_rc2_p26753-r1 (21 May 2008)

21 May 2008; Steve Dibb
+files/configure-altivec.patch, +files/libswscale-sparc.patch,
+mplayer-1.0_rc2_p26753-r1.ebuild:
Fix compilation on ppc, sparc, bugs 217773, 222447 and 215006

Fix installing mplayer.desktop and mplayer.xpm, bug 219133

Remove strip restriction, bug 164492

Move CPU optimization checks out of custom-cflags use flag check, bug
212318

17 May 2008; Tobias Klausmann
mplayer-1.0_rc2_p26753.ebuild:
Stable on alpha, bug #215006

17 May 2008; Markus Meier
mplayer-1.0_rc2_p26753.ebuild:
amd64/x86 stable, bug #215006

16 May 2008; Jeroen Roovers
mplayer-1.0_rc2_p26753.ebuild:
Stable for HPPA (bug #215006).

*mplayer-1.0_rc2_p26753 (13 May 2008)

13 May 2008; Steve Dibb
+mplayer-1.0_rc2_p26753.ebuild:
Snapshot bump, security bug 215006; Display SVN version #, bug 218150;
Drop tivo use flag (no vstream client in tree); Fix v4l2, faac, faad,
xvid, x264, mp3lame disable flags

*mplayer-1.0_rc2_p26454-r2 (17 Apr 2008)

17 Apr 2008; Steve Dibb
+files/configure-unsetauto-v2.patch, -mplayer-1.0_rc2_p26454-r1.ebuild,
+mplayer-1.0_rc2_p26454-r2.ebuild:
Add patch to build on non-x86 arches

*mplayer-1.0_rc2_p26454-r1 (16 Apr 2008)

16 Apr 2008; Steve Dibb
+files/mplayer-1.0_rc2_p26454-makefile.patch,
-mplayer-1.0_rc2_p26454.ebuild, +mplayer-1.0_rc2_p26454-r1.ebuild:
Fix installing man pages, bug 217769, thanks to Daniel Pielmeier for patch

*mplayer-1.0_rc2_p26454 (16 Apr 2008)

16 Apr 2008; Steve Dibb
+mplayer-1.0_rc2_p26454.ebuild:
Snapshot bump

*mplayer-1.0_rc2_p24929-r4 (15 Apr 2008)

15 Apr 2008; Steve Dibb
+files/mplayer-1.0_rc2_p24929-pulse.patch,
+mplayer-1.0_rc2_p24929-r4.ebuild:
Restore an old snapshot to provide some now lost functionality

*mplayer-1.0_rc2_p26450 (15 Apr 2008)

15 Apr 2008; Ben de Groot
+mplayer-1.0_rc2_p26450.ebuild:
Snapshot bump. Removed color-console useflag, as it's no longer an
available option. Removed libdvdnav block on beandog's advice.

07 Apr 2008; Ben de Groot
mplayer-1.0_rc2_p25993.ebuild, mplayer-1.0_rc2_p26258.ebuild,
mplayer-1.0_rc2_p26300-r1.ebuild:
Pkgmove x264-svn to x264

30 Mar 2008; Matthias Schwarzott
mplayer-1.0_rc2_p26300-r1.ebuild:
Fix the hack for USE="-quicktime win32codecs", Bug #213836.

*mplayer-1.0_rc2_p26300-r1 (30 Mar 2008)

30 Mar 2008; Steve Dibb
-mplayer-1.0_rc2_p26300.ebuild, +mplayer-1.0_rc2_p26300-r1.ebuild:
Build breaks on newer libdvdnav, add blocker to depend

*mplayer-1.0_rc2_p26300 (29 Mar 2008)

29 Mar 2008; Steve Dibb
+mplayer-1.0_rc2_p26300.ebuild:
Snapshot bump, security bug 215006, compile with x86 and quicktime, bug
213836

*mplayer-1.0_rc2_p26258 (17 Mar 2008)

17 Mar 2008; Steve Dibb
+mplayer-1.0_rc2_p26258.ebuild:
Snapshot bump, add dga X11 dep, bug 213390, fix ssa subtitle memory leak,
bug 213638, move cpu optimization flags inside custom-cflags check

*mplayer-1.0_rc2_p25993-r1 (23 Feb 2008)

23 Feb 2008; Steve Dibb
+mplayer-1.0_rc2_p25993-r1.ebuild:
Drop livecd use flag, bug 210066
Re-enable support for debug use flag
Add color-console use flag

19 Feb 2008; Tobias Scherbaum
mplayer-1.0_rc2_p25993.ebuild:
ppc stable, bug #208566

17 Feb 2008; Samuli Suominen
mplayer-1.0_rc2_p25993.ebuild:
Fix unicode characters inside ebuild, someone edited it with notepad.exe or
such.

17 Feb 2008; Samuli Suominen
mplayer-1.0_rc2_p25993.ebuild:
Fixed automagic libXss depend, revealed by asneeded and depclean.

17 Feb 2008; Christoph Mende
mplayer-1.0_rc2_p25993.ebuild:
Stable on amd64, security bug #208566

15 Feb 2008; Raúl Porcel
mplayer-1.0_rc2_p25993.ebuild:
alpha/ia64 stable wrt security #208566

15 Feb 2008; Samuli Suominen -files/mplayer-dpms.patch,
-files/mplayer-xshape.patch, -mplayer-1.0_rc1_p20070824.ebuild,
mplayer-1.0_rc2_p24929-r1.ebuild, mplayer-1.0_rc2_p24929-r2.ebuild,
-mplayer-1.0_rc2_p24929-r3.ebuild, mplayer-1.0_rc2_p25993.ebuild:
Remove libdts references, unused ebuilds and patches.

15 Feb 2008; Jeroen Roovers
mplayer-1.0_rc2_p25993.ebuild:
Stable for HPPA (bug #208566).

15 Feb 2008; Brent Baude
mplayer-1.0_rc2_p25993.ebuild:
Marking mplayer-1.0_rc2_p25993 ppc64 for bug 208566

14 Feb 2008; Ferris McCormick
mplayer-1.0_rc2_p25993.ebuild:
Sparc stable --- security Bug #208566.

14 Feb 2008; Christian Faulhammer
mplayer-1.0_rc2_p25993.ebuild:
stable x86, security bug 208566

*mplayer-1.0_rc2_p25993 (14 Feb 2008)

14 Feb 2008; Steve Dibb
+mplayer-1.0_rc2_p25993.ebuild:
Version snapshot bump, bug 208566

26 Jan 2008; Alexis Ballier
mplayer-1.0_rc2_p24929-r3.ebuild:
Do the cflags mess on fbsd too, x86 doesnt have more registers there...

*mplayer-1.0_rc2_p24929-r3 (24 Jan 2008)

24 Jan 2008; Samuli Suominen
+mplayer-1.0_rc2_p24929-r3.ebuild:
Revision bump for new dep., media-libs/libggiwmh used by USE ggi. Unkeyword
mips and ppc wrt #205570.

17 Jan 2008; Raúl Porcel
mplayer-1.0_rc2_p24929-r1.ebuild:
alpha/ia64/sparc stable wrt #201859

13 Jan 2008; nixnut mplayer-1.0_rc2_p24929-r1.ebuild:
Stable on ppc wrt bug 201859

10 Jan 2008; Jeroen Roovers
mplayer-1.0_rc2_p24929-r1.ebuild:
Stable for HPPA (bug #201859).

07 Jan 2008; Samuli Suominen
-mplayer-1.0_rc1_p20070622-r1.ebuild,
-mplayer-1.0_rc1_p20070622-r4.ebuild:
Remove unused versions still depending only libdts because it's getting
removed in favour of libdca.

05 Jan 2008; Brent Baude
mplayer-1.0_rc2_p24929-r1.ebuild:
Marking mplayer-1.0_rc2_p24929-r1 ppc64 for bug 201859

05 Jan 2008; Markus Meier
mplayer-1.0_rc2_p24929-r1.ebuild:
x86 stable, bug #201859

05 Jan 2008; Samuli Suominen
mplayer-1.0_rc2_p24929-r1.ebuild:
amd64 stable wrt #201859

*mplayer-1.0_rc2_p24929-r2 (05 Jan 2008)

05 Jan 2008; Steve Dibb
+files/mplayer-1.0_rc2_p24929-pulse.patch,
+mplayer-1.0_rc2_p24929-r2.ebuild:
pulseaudio patch, bug 203430

*mplayer-1.0_rc2_p24929-r1 (03 Jan 2008)

03 Jan 2008; Steve Dibb
+mplayer-1.0_rc2_p24929-r1.ebuild:
Fix x264 encode dep, bug 203594
Drop support for IVTV, PVR

28 Dec 2007; Raúl Porcel mplayer-1.0_rc2.ebuild:
alpha/ia64/x86 stable

05 Dec 2007; Dawid Węgliński mplayer-1.0_rc2.ebuild,
mplayer-1.0_rc1_p20070824.ebuild, mplayer-1.0_rc1_p20070927-r1.ebuild,
mplayer-1.0_rc2_p24929.ebuild:
Fix polish locales plus some quotes

01 Dec 2007; Markus Rothe mplayer-1.0_rc2.ebuild:
Stable on ppc64

02 Nov 2007; Raúl Porcel mplayer-1.0_rc2.ebuild:
sparc stable wrt #192601, thanks to Alex Maclean for testing

*mplayer-1.0_rc2_p24929 (02 Nov 2007)

02 Nov 2007; Steve Dibb
+mplayer-1.0_rc2_p24929.ebuild:
Version bump
Rename patch versioning scheme to SVN release
Add pulseaudio use flag
Add ladspa use flag, bug 197753
Remove lame use flag, use lame as mp3 encoding

*mplayer-1.0_rc2 (10 Oct 2007)

10 Oct 2007; Steve Dibb +mplayer-1.0_rc2.ebuild:
Version bump, bug 195154

08 Oct 2007; Markus Rothe
mplayer-1.0_rc1_p20070824.ebuild:
Stable on ppc64; bug #192601

*mplayer-1.0_rc1_p20070927-r1 (28 Sep 2007)

28 Sep 2007; Steve Dibb
-mplayer-1.0_rc1_p20070927.ebuild, +mplayer-1.0_rc1_p20070927-r1.ebuild:
Fix a52 typo, bug 194079

*mplayer-1.0_rc1_p20070927 (27 Sep 2007)

27 Sep 2007; Steve Dibb
+mplayer-1.0_rc1_p20070927.ebuild:
Subversion bump, install a52 by default with dvd use flag, switch xvmc
linking back to generic lib

24 Sep 2007; Samuli Suominen
mplayer-1.0_rc1_p20070824.ebuild:
Trivial fix for video_cards mga installation wrt #192752.

24 Sep 2007; Raúl Porcel
mplayer-1.0_rc1_p20070824.ebuild:
alpha/ia64 stable wrt #192601

16 Sep 2007; Lars Weiler
mplayer-1.0_rc1_p20070824.ebuild:
Stable on ppc; bug #192601.

16 Sep 2007; Jeroen Roovers
mplayer-1.0_rc1_p20070824.ebuild:
Stable for HPPA (bug #192601).

16 Sep 2007; Jurek Bartuszek
mplayer-1.0_rc1_p20070824.ebuild:
x86 stable (bug #192601)

15 Sep 2007; Christoph Mende
mplayer-1.0_rc1_p20070824.ebuild:
Stable on amd64 wrt bug #192601

08 Sep 2007; Joseph Jezak
mplayer-1.0_rc1_p20070622-r4.ebuild:
Marked ppc/ppc64 stable for bug #190531.

07 Sep 2007; Stuart Longland
mplayer-1.0_rc1_p20070824.ebuild:
Tested and working on MIPS. Keyworded ~mips

02 Sep 2007; Raúl Porcel
mplayer-1.0_rc1_p20070622-r4.ebuild:
alpha/ia64 stable wrt #190531

30 Aug 2007; Jeroen Roovers
mplayer-1.0_rc1_p20070622-r4.ebuild:
Stable for HPPA (bug #190531).

28 Aug 2007; Jurek Bartuszek
mplayer-1.0_rc1_p20070622-r4.ebuild:
x86 stable (bug #190531)

28 Aug 2007; Steve Dibb -files/mplayer.desktop:
Remove unused mplayer.desktop

*mplayer-1.0_rc1_p20070824 (28 Aug 2007)
*mplayer-1.0_rc1_p20070622-r4 (28 Aug 2007)
*mplayer-1.0_rc1_p20070622-r1 (28 Aug 2007)

28 Aug 2007; Steve Dibb
+mplayer-1.0_rc1_p20070622-r1.ebuild,
+mplayer-1.0_rc1_p20070622-r4.ebuild, +mplayer-1.0_rc1_p20070824.ebuild:
Fix versioning scheme of ebuilds, bug 175688

28 Aug 2007; Steve Dibb
-files/mplayer-1.0_rc1-asmrules.patch,
-files/mplayer-undefined-reference-fix.patch, -mplayer-1.0_rc1-r2.ebuild,
-mplayer-1.0.20070321.ebuild, -mplayer-1.0.20070321-r1.ebuild,
-mplayer-1.0.20070427.ebuild, -mplayer-1.0.20070622-r3.ebuild,
-mplayer-1.0.20070814.ebuild:
Remove old (some with security bugs) versions of mplayer w/patches, in
anticipation of naming scheme reboot

28 Aug 2007; Steve Dibb
mplayer-1.0.20070622-r4.ebuild:
amd64 stable, bug 190531

*mplayer-1.0.20070622-r4 (28 Aug 2007)

28 Aug 2007; Steve Dibb
+files/mplayer-libdvdcss.patch, +mplayer-1.0.20070622-r4.ebuild:
Backport libdvdcss patch from upstream, bug 189665

*mplayer-1.0.20070824 (25 Aug 2007)

25 Aug 2007; Steve Dibb +mplayer-1.0.20070824.ebuild:
SVN snapshot version bump

16 Aug 2007; Steve Dibb mplayer-1.0.20070814.ebuild:
Fix ivtv linux-headers dep, re-add PVR use flag

15 Aug 2007; Samuli Suominen
mplayer-1.0.20070814.ebuild:
Flip libdts and libdca deps around, so libdca gets installed over libdts
primarily.

*mplayer-1.0.20070814 (14 Aug 2007)

14 Aug 2007; Steve Dibb +mplayer-1.0.20070814.ebuild:
SVN snapshot version bump
Fix xinerama scaling, bug 187382
Enable libcdio support, bug 184783
Fix broken symlink for mplayer.conf, bug 183099
Remove app-arch/unzip from DEPEND
Add video card + xvmc support for nvidia, i810, bug 184186
Remove dvdnav support
Restore original a52 use flag check, add ewarn if using dvd use flag
Add teletext use flag
Fix DTS dependencies, bug 186854

12 Aug 2007; Samuli Suominen +files/mplayer-dpms.patch,
mplayer-1.0.20070622-r3.ebuild:
Fix DPMS detection at configure time with -Wl,--as-needed.

*mplayer-1.0.20070622-r3 (28 Jul 2007)

28 Jul 2007; Steve Dibb
mplayer-1.0.20070622-r2.ebuild, +mplayer-1.0.20070622-r3.ebuild:
Remove pulseaudio patch, being developed upstream, add warning on old version

*mplayer-1.0.20070622-r2 (26 Jul 2007)

26 Jul 2007; Steve Dibb
+mplayer-1.0.20070622-r2.ebuild:
Remove debug option, since it is broken in this release, add pulseaudio
support, bug 183230 (thanks to drizzt for patch)

05 Jul 2007; Markus Rothe
mplayer-1.0.20070622-r1.ebuild:
Stable on ppc64; bug #181097

05 Jul 2007; Raúl Porcel
mplayer-1.0.20070622-r1.ebuild:
alpha/ia64 stable

04 Jul 2007; Gustavo Zacarias
mplayer-1.0.20070622-r1.ebuild:
Stable on sparc

04 Jul 2007; René Nussbaumer
mplayer-1.0.20070622-r1.ebuild:
Stable on hppa. See bug #181097.

02 Jul 2007; Piotr Jaroszyński
mplayer-1.0_rc1-r2.ebuild, mplayer-1.0.20070321.ebuild,
mplayer-1.0.20070321-r1.ebuild, mplayer-1.0.20070427.ebuild,
mplayer-1.0.20070622.ebuild, mplayer-1.0.20070622-r1.ebuild:
(QA) RESTRICT clean up.

28 Jun 2007; Tobias Scherbaum
mplayer-1.0.20070622-r1.ebuild:
ppc stable, bug #181097

25 Jun 2007; Gustavo Zacarias
mplayer-1.0.20070622.ebuild:
Stable on sparc wrt security #181097

25 Jun 2007; Raúl Porcel
mplayer-1.0.20070622-r1.ebuild:
x86 stable wrt security #181097

25 Jun 2007; Steve Dibb
mplayer-1.0.20070622-r1.ebuild:
Add support for SSSE3

*mplayer-1.0.20070622-r1 (24 Jun 2007)

24 Jun 2007; Steve Dibb
+mplayer-1.0.20070622-r1.ebuild:
Cleanup dvd use flags, bug 174721; don't disable a52 internal support unless
-dvd is used, bug 181082

24 Jun 2007; Raúl Porcel
mplayer-1.0.20070622.ebuild:
alpha/ia64 stable wrt security #181097

24 Jun 2007; Samuli Suominen
mplayer-1.0.20070622.ebuild:
Makefile allready installs both pixmap and desktop file so stop doing that
inside ebuild.

23 Jun 2007; Christoph Mende
mplayer-1.0.20070622.ebuild:
Stable on amd64 wrt security bug 181097

23 Jun 2007; Jeroen Roovers mplayer-1.0.20070622.ebuild:
Stable for HPPA (bug #181097).

23 Jun 2007; Markus Rothe
mplayer-1.0.20070622.ebuild:
Stable on ppc64; bug #181097

22 Jun 2007; Steve Dibb mplayer-1.0.20070622.ebuild:
Fix dts configuration, bug 182914

*mplayer-1.0.20070622 (22 Jun 2007)

22 Jun 2007; Steve Dibb +mplayer-1.0.20070622.ebuild:
Version bump, security bug 181097

10 Jun 2007; Luca Barbato
mplayer-1.0.20070427.ebuild:
Altivec works on ppc...

20 May 2007; Steve Dibb mplayer-1.0.20070321.ebuild,
mplayer-1.0.20070427.ebuild:
Fix install location of desktop xpm, bug 179257

03 May 2007; Tobias Scherbaum
mplayer-1.0.20070321.ebuild:
ppc stable, bug #168917

02 May 2007; Jeroen Roovers mplayer-1.0.20070321.ebuild:
Stable for HPPA (bug #168917).

02 May 2007; Bryan Østergaard
mplayer-1.0.20070321.ebuild:
Stable on Alpha, bug 168917.

*mplayer-1.0.20070321-r1 (01 May 2007)

01 May 2007; Steve Dibb
+mplayer-1.0.20070321-r1.ebuild:
Remove .svn directories, bug 172198

01 May 2007; Markus Rothe
mplayer-1.0.20070321.ebuild:
Stable on ppc64; bug #168917

30 Apr 2007; Gustavo Zacarias
mplayer-1.0.20070321.ebuild:
Stable on sparc wrt security #168917

30 Apr 2007; Raúl Porcel
mplayer-1.0.20070321.ebuild:
ia64 + x86 stable wrt security bug 168917

*mplayer-1.0.20070427 (27 Apr 2007)

27 Apr 2007; Steve Dibb +mplayer-1.0.20070427.ebuild:
Version bump, fix bug 172198

26 Apr 2007; Steve Dibb mplayer-1.0.20070321.ebuild:
amd64 stable

26 Apr 2007; Steve Dibb -mplayer-1.0_rc1.ebuild,
-mplayer-1.0_rc1-r1.ebuild:
Removing old version with security issue, bug 159727

26 Apr 2007; Steve Dibb -mplayer-1.0_pre8-r1.ebuild:
Removing old version with security issue, bug 159727

*mplayer-1.0.20070321 (26 Apr 2007)

26 Apr 2007; Steve Dibb +mplayer-1.0.20070321.ebuild,
-mplayer-1.0_rc2_pre20070321-r4.ebuild:
Fix naming scheme

09 Apr 2007; Luca Barbato
mplayer-1.0_rc2_pre20070321-r4.ebuild:
missing places...

09 Apr 2007; Luca Barbato
mplayer-1.0_rc2_pre20070321-r4.ebuild:
MPlayer now installs the default config in /etc/mplayer/mplayer.conf

02 Apr 2007; Luca Barbato
mplayer-1.0_rc2_pre20070321-r4.ebuild:
Remove wrong deps

28 Mar 2007; Steve Dibb
-mplayer-1.0_rc2_pre20070321-r3.ebuild,
mplayer-1.0_rc2_pre20070321-r4.ebuild:
- Fix tga use flag, bug 172372
- Make mp2 use flag dependent on encode, make dv and x264 use flags
independent, bug 172232

25 Mar 2007; Steve Dibb
mplayer-1.0_rc2_pre20070321-r3.ebuild:
Fix tdfx use flag (bug 172170)

*mplayer-1.0_rc2_pre20070321-r4 (25 Mar 2007)

25 Mar 2007; Steve Dibb
+mplayer-1.0_rc2_pre20070321-r4.ebuild:
- Remove dependency on media-libs/a52dec
- Fix tdfx use flag (bug 172170)
- Remove LINGUAS use flags, rely on variable from make.conf to set languages,
add notice of special ordering
- Fix CPU optimization use flags ( bug 155232 )
- Remove -j1 from MAKEOPTS ( bug 86245 )

*mplayer-1.0_rc2_pre20070321-r3 (23 Mar 2007)

23 Mar 2007; Steve Dibb
+mplayer-1.0_rc2_pre20070321-r3.ebuild:
- Add vidix use flag
- Fix lzo use flag dependency
- Fix speex use flag dependency
- Fix srt+truetype+iconv cascading dependencies
- Re-add fontconfig and subfont options to mplayer.conf for truetype
- Force win32codecs dep on real use flag for x86
- Fix HPPA compilation, disable cpudetection on certain arches ( bug 171879 )
- Force OSS audio dep on radio use flag ( bug 171850 )
- Fix mp2 dependency ( toolame -> twolame )
- Cleanup RDEPEND tree
- Drop libdvdread dependency
- Add libdvdnav dependency
- Optional mp3 dependency on lame
- Dont disable vidix on -svga
- Cleanup DVB/V4L/Radio checks
- dodoc Changelog

*mplayer-1.0_rc2_pre20070321-r2 (22 Mar 2007)

22 Mar 2007; Steve Dibb +files/mplayer-xshape.patch,
+mplayer-1.0_rc2_pre20070321-r2.ebuild:
Add XShape detection patch, thanks to anarchy

*mplayer-1.0_rc2_pre20070321-r1 (22 Mar 2007)

22 Mar 2007; Steve Dibb
+mplayer-1.0_rc2_pre20070321-r1.ebuild:
Remove some configuration changes, remove changing font options on mplayer.conf

*mplayer-1.0_rc2_pre20070321 (22 Mar 2007)

22 Mar 2007; Steve Dibb
+mplayer-1.0_rc2_pre20070321.ebuild:
Version bump

17 Feb 2007; Simon Stelling mplayer-1.0_rc1-r2.ebuild:
only use amd64codecs if we're not distributing the build

16 Feb 2007; Simon Stelling mplayer-1.0_rc1-r2.ebuild:
depend on >=portage-2.1.2 to make sure the assembler USE flags are unmasked
on amd64

13 Feb 2007; Markus Rothe mplayer-1.0_rc1-r2.ebuild:
Stable on ppc64; bug #159727

12 Feb 2007; Bryan Østergaard
mplayer-1.0_rc1-r2.ebuild:
Stable on Alpha, bug 159727.

12 Feb 2007; Bryan Østergaard
mplayer-1.0_rc1-r2.ebuild:
Stable on IA64, bug 159727.

12 Feb 2007; Gustavo Zacarias
mplayer-1.0_rc1-r2.ebuild:
Stable on sparc wrt security #159727

11 Feb 2007; Simon Stelling mplayer-1.0_rc1-r2.ebuild:
stable on amd64; security bug 159727

11 Feb 2007; René Nussbaumer
mplayer-1.0_rc1-r2.ebuild:
Stable on hppa. See bug #159727.

11 Feb 2007; Tobias Scherbaum
mplayer-1.0_rc1-r2.ebuild:
Stable on ppc wrt bug #159727.

11 Feb 2007; Christian Faulhammer
mplayer-1.0_rc1-r2.ebuild:
stable x86; security bug #159727

01 Feb 2007; Steve Dibb mplayer-1.0_rc1.ebuild,
mplayer-1.0_rc1-r1.ebuild, mplayer-1.0_rc1-r2.ebuild:
Disable ivtv video output support, bug 164748

*mplayer-1.0_rc1-r2 (30 Jan 2007)

30 Jan 2007; Steve Dibb
+files/mplayer-1.0_rc1-asmrules.patch, +mplayer-1.0_rc1-r2.ebuild:
Add asmrules security patch from upstream, bug 159727

30 Jan 2007; Steve Dibb mplayer-1.0_rc1.ebuild,
mplayer-1.0_rc1-r1.ebuild:
Upgrade main Blue skin to 1.7

17 Jan 2007; Christian Faulhammer
mplayer-1.0_rc1.ebuild:
filter -fomit-frame-pointer when USE=debug is set

09 Jan 2007; Olivier Crête mplayer-1.0_rc1.ebuild:
Stable on amd64 for bugs #157814 and #161053

*mplayer-1.0_rc1-r1 (06 Jan 2007)

06 Jan 2007; Steve Dibb +mplayer-1.0_rc1-r1.ebuild:
Add amd64codecs support for real libs on amd64

04 Jan 2007; Christian Faulhammer
mplayer-1.0_rc1.ebuild:
stable x86, bug #157814

03 Jan 2007; Luca Barbato mplayer-1.0_rc1.ebuild:
disable dvdnav for now

31 Dec 2006; Luca Barbato mplayer-1.0_rc1.ebuild:
fix mplayer to build against the latest live555.com

23 Dec 2006; Tobias Scherbaum
mplayer-1.0_rc1.ebuild:
Stable on ppc wrt bug #157814.

21 Dec 2006; Gustavo Zacarias
mplayer-1.0_pre8.ebuild, mplayer-1.0_pre8-r1.ebuild,
mplayer-1.0_rc1.ebuild:
Stable on sparc wrt #157814

21 Dec 2006; Markus Rothe mplayer-1.0_rc1.ebuild:
Stable on ppc64; bug #157814

10 Dec 2006; Luca Barbato mplayer-1.0_rc1.ebuild:
Fix faac dep

11 Dec 2006; Diego Pettenò mplayer-1.0_rc1.ebuild:
Tell the configure script to sue the correct CC/BUILD_CC compiler, close bug
#155515, thanks to Timothy Redaelli for reporting.

01 Dec 2006; Steve Dibb mplayer-1.0_rc1.ebuild:
Disable pvr support

21 Nov 2006; Luca Barbato mplayer-1.0_rc1.ebuild:
fix the iconv-truetype logic, thanks to hansmi for pointing the issue

14 Nov 2006; Luca Barbato mplayer-1.0_rc1.ebuild:
Typo, fixed thanks to baru reddy and zzam, see
bug #154504

07 Nov 2006; Luca Barbato mplayer-1.0_rc1.ebuild:
Improve default config

06 Nov 2006; Steve Dibb
files/digest-mplayer-1.0_pre8, files/digest-mplayer-1.0_pre8-r1,
files/digest-mplayer-1.0_rc1, Manifest:
Fix Blue skin digest, again, bug #152694

03 Nov 2006; Patrick McLean mplayer-1.0_rc1.ebuild:
Clean up custom-cflags a bit, add -fomit-frame-pointer as it seems to be
required to compile some of the inline asm.

31 Oct 2006; Luca Barbato mplayer-1.0_rc1.ebuild:
Fix some packaging issue part II

31 Oct 2006; Luca Barbato
-mplayer-1.0_pre20060810.ebuild, -mplayer-1.0_pre20061019.ebuild:
Cleanup

31 Oct 2006; Luca Barbato mplayer-1.0_pre8.ebuild,
mplayer-1.0_pre8-r1.ebuild, mplayer-1.0_pre20060810.ebuild,
mplayer-1.0_pre20061019.ebuild, mplayer-1.0_rc1.ebuild:
Fix packaging, do not install codecs.conf anymore

30 Oct 2006; Diego Pettenò
mplayer-1.0_pre8.ebuild, mplayer-1.0_pre8-r1.ebuild,
mplayer-1.0_pre20060810.ebuild, mplayer-1.0_pre20061019.ebuild,
mplayer-1.0_rc1.ebuild:
Add ~x86-fbsd keyword.

27 Oct 2006; Steve Dibb mplayer-1.0_rc1.ebuild:
Add subtitles USE flag, notes about freetype, iconv

26 Oct 2006; Vlastimil Babka mplayer-1.0_rc1.ebuild:
Apply the previous patch in $S. Fixes bug #152842.

25 Oct 2006; Steve Dibb mplayer-1.0_pre8.ebuild,
mplayer-1.0_pre8-r1.ebuild, mplayer-1.0_pre20060810.ebuild,
mplayer-1.0_pre20061019.ebuild, mplayer-1.0_rc1.ebuild:
Remove XMMS support

25 Oct 2006; Luca Barbato
+files/mplayer-undefined-reference-fix.patch, mplayer-1.0_rc1.ebuild:
fix ppc64

25 Oct 2006; Steve Dibb
files/digest-mplayer-1.0_pre8, files/digest-mplayer-1.0_pre8-r1,
files/digest-mplayer-1.0_pre20060810,
files/digest-mplayer-1.0_pre20061019, files/digest-mplayer-1.0_rc1,
Manifest:
Fix digest for blue skin, bug #152694

25 Oct 2006; Simon Stelling mplayer-1.0_pre8.ebuild,
mplayer-1.0_pre8-r1.ebuild, mplayer-1.0_rc1.ebuild:
backport the asm fixes and don't hard-enable mmxext either

25 Oct 2006; Luca Barbato
files/digest-mplayer-1.0_pre8, files/digest-mplayer-1.0_pre8-r1,
files/digest-mplayer-1.0_pre20060810,
files/digest-mplayer-1.0_pre20061019, files/digest-mplayer-1.0_rc1,
Manifest:
Redigest

24 Oct 2006; Simon Stelling mplayer-1.0_rc1.ebuild:
don't hard-enable 3dnow(ext) on amd64 as EM64T doesn't have it

*mplayer-1.0_rc1 (23 Oct 2006)

23 Oct 2006; Luca Barbato +mplayer-1.0_rc1.ebuild:
New version

20 Oct 2006; Luca Barbato
mplayer-1.0_pre20061019.ebuild:
change the src_uri to something valid

*mplayer-1.0_pre20061019 (19 Oct 2006)

19 Oct 2006; Luca Barbato
+mplayer-1.0_pre20061019.ebuild:
New snapshot

19 Oct 2006; Luca Barbato
files/digest-mplayer-1.0_pre8, files/digest-mplayer-1.0_pre8-r1,
files/digest-mplayer-1.0_pre20060810, Manifest:
Redigesting Blue-1.6 skin

06 Oct 2006; Simon Stelling
+files/mplayer-1.0_pre8-amr-64bit.patch, mplayer-1.0_pre8-r1.ebuild:
fix AMR support on amd64; bug 140753; thanks to Maxxer for providing a patch

22 Sep 2006; Luca Barbato mplayer-1.0_pre8.ebuild,
mplayer-1.0_pre8-r1.ebuild, mplayer-1.0_pre20060810.ebuild:
LINGUAS support updated, thanks to Damien THEBAULT
for providing the initial patch in bug #143782

21 Sep 2006; Patrick McLean mplayer-1.0_pre8.ebuild,
mplayer-1.0_pre8-r1.ebuild, mplayer-1.0_pre20060810.ebuild:
Bump Blue skin to version 1.6.

12 Aug 2006; Luca Barbato mplayer-1.0_pre8.ebuild,
mplayer-1.0_pre8-r1.ebuild:
Pin x264 version to avoid build issue with snapshots too new

10 Aug 2006; Luca Barbato
mplayer-1.0_pre20060810.ebuild:
Everything ready for wider usage

10 Aug 2006; Luca Barbato
mplayer-1.0_pre20060810.ebuild:
hickup during the snapshot, temp masked

10 Aug 2006; Luca Barbato
mplayer-1.0_pre20060810.ebuild:
don't try to specify dvb include path

10 Aug 2006; Luca Barbato
mplayer-1.0_pre20060810.ebuild:
x264 dep updated

*mplayer-1.0_pre20060810 (10 Aug 2006)

10 Aug 2006; Luca Barbato
+mplayer-1.0_pre20060810.ebuild:
Early snapshot

10 Aug 2006; Luca Barbato
-files/mplayer-1.0_pre7-gcc4-amd64.patch,
-files/mplayer-1.0_pre7-gcc4.patch,
-files/mplayer-1.0_pre7-gcc_detection.patch,
-files/mplayer-1.0_pre7-ppc64.patch,
-files/gcc-3-register_allocation.patch, -files/mplayer-mythtv.patch,
-mplayer-1.0_pre7-r1.ebuild, -mplayer-1.0.20060102.ebuild,
-mplayer-1.0.20060217.ebuild, -mplayer-1.0.20060302.ebuild,
-mplayer-1.0.20060408.ebuild, -mplayer-1.0.20060415.ebuild:
Cleanup

28 Jul 2006; Chris Bainbridge mplayer-1.0_pre8.ebuild,
mplayer-1.0_pre8-r1.ebuild:
Fix "line 338: !use: command not found"

18 Jul 2006; Chris Gianelloni
mplayer-1.0_pre8.ebuild, mplayer-1.0_pre8-r1.ebuild:
Made sure the win32codecs code is not used when USE has either livecd or
bindist in it. This allows us to redistribute mplayer for GRP, though it
does reduce its functionality.

15 Jul 2006; Luca Barbato mplayer-1.0_pre8-r1.ebuild:
split unicode from iconv

13 Jul 2006; Aron Griffis mplayer-1.0_pre8.ebuild,
mplayer-1.0_pre8-r1.ebuild, mplayer-1.0.20060102.ebuild,
mplayer-1.0.20060217.ebuild, mplayer-1.0.20060302.ebuild,
mplayer-1.0.20060408.ebuild, mplayer-1.0.20060415.ebuild:
Mark 1.0_pre8 stable on ia64, mark 1.0_pre8-r1 ~ia64, arch-mask 1.0.20060415
1.0.20060408 1.0.20060302 1.0.20060217 1.0.20060102 on ia64. #136520 #139955

12 Jul 2006; Gustavo Zacarias
mplayer-1.0_pre8-r1.ebuild:
Keyworded ~sparc wrt #139955

12 Jul 2006; Danny van Dyk
mplayer-1.0_pre8-r1.ebuild, mplayer-1.0.20060408.ebuild,
mplayer-1.0.20060415.ebuild:
QA: Added nls, enca to IUSE.

11 Jul 2006; Luca Barbato mplayer-1.0_pre8-r1.ebuild:
Cleanup and modular X only now

09 Jul 2006; Diego Pettenò
mplayer-1.0_pre7-r1.ebuild, mplayer-1.0_pre8.ebuild,
mplayer-1.0.20060102.ebuild, mplayer-1.0.20060217.ebuild,
mplayer-1.0.20060302.ebuild, mplayer-1.0.20060408.ebuild,
mplayer-1.0.20060415.ebuild:
Pinpoint virtual/x11 version to less than 7.

*mplayer-1.0_pre8-r1 (11 Jul 2006)

11 Jul 2006; Luca Barbato
+mplayer-1.0_pre8-r1.ebuild:
New ebuild, adds amr, enca and xvmc wrappers support

03 Jul 2006; Thomas Cort mplayer-1.0.20060102.ebuild,
mplayer-1.0.20060217.ebuild, mplayer-1.0.20060302.ebuild,
mplayer-1.0.20060408.ebuild, mplayer-1.0.20060415.ebuild:
-alpha and -amd64 all snapshots wrt Bug #136520.

28 Jun 2006; Thomas Cort mplayer-1.0_pre8.ebuild:
Stable on alpha wrt Bug #136520.

27 Jun 2006; Guy Martin mplayer-1.0_pre8.ebuild,
mplayer-1.0.20060217.ebuild, mplayer-1.0.20060408.ebuild,
mplayer-1.0.20060415.ebuild:
Stable on hppa.

25 Jun 2006; Luca Barbato mplayer-1.0_pre8.ebuild:
phase out nls, unicode triggers iconv dep

25 Jun 2006; Luca Barbato mplayer-1.0_pre8.ebuild:
set charset to noconv if you disable unicode

25 Jun 2006; Luca Barbato mplayer-1.0_pre8.ebuild:
make debug more useful

22 Jun 2006; Fabian Groffen mplayer-1.0_pre8.ebuild:
Marked ~ppc-macos, I'm stunned (bug #107795)

19 Jun 2006; Gustavo Zacarias
mplayer-1.0.20060102.ebuild, mplayer-1.0.20060217.ebuild,
mplayer-1.0.20060302.ebuild, mplayer-1.0.20060408.ebuild,
mplayer-1.0.20060415.ebuild:
-sparc snapshot versions to let pre8 win

16 Jun 2006; Jason Wever mplayer-1.0_pre8.ebuild:
Stable on SPARC wrt bug #136520.

16 Jun 2006; Patrick McLean mplayer-1.0_pre8.ebuild:
Stable on amd64 (bug #136520).

14 Jun 2006; Luca Barbato mplayer-1.0_pre8.ebuild,
mplayer-1.0.20060102.ebuild, mplayer-1.0.20060217.ebuild,
mplayer-1.0.20060302.ebuild, mplayer-1.0.20060408.ebuild,
mplayer-1.0.20060415.ebuild:
pre8 stable for ppc and ppc64

14 Jun 2006; Luca Barbato
mplayer-1.0.20060102.ebuild, mplayer-1.0.20060217.ebuild,
mplayer-1.0.20060302.ebuild, mplayer-1.0.20060408.ebuild,
mplayer-1.0.20060415.ebuild:
-x86 on the snapshots to leave the new release available for public
consumption, enjoy

13 Jun 2006; Markus Rothe mplayer-1.0_pre8.ebuild:
Stable on ppc64; bug #136520

12 Jun 2006; Chris Gianelloni
mplayer-1.0_pre8.ebuild:
Stable on x86 wrt bug #136520.

12 Jun 2006; Luca Barbato mplayer-1.0_pre8.ebuild:
x264 dep updated

*mplayer-1.0_pre8 (11 Jun 2006)

11 Jun 2006; Luca Barbato +mplayer-1.0_pre8.ebuild:
New release

10 Jun 2006; Luca Barbato
mplayer-1.0.20060415.ebuild:
typo for the speex support fixed, see bug #136287, thanks to Adam Jones
for spotting it

10 May 2006; Luca Barbato
mplayer-1.0.20060415.ebuild:
Added speex useflag, thanks to Roman Polach for spotting
it.

03 May 2006; Diego Pettenò metadata.xml:
Update metadata to list media-video@gentoo.org as maintainer.

30 Apr 2006; Luca Barbato
mplayer-1.0.20060415.ebuild:
Blue skin updated

29 Apr 2006; Luis Medinas
mplayer-1.0.20060415.ebuild:
Stable on amd64. For security bug #127969.

27 Apr 2006; Marien Zwart
files/digest-mplayer-1.0_pre7-r1, files/digest-mplayer-1.0.20060102,
files/digest-mplayer-1.0.20060217, files/digest-mplayer-1.0.20060302,
Manifest:
Fixing SHA256 digest, pass four

22 Apr 2006; Luca Barbato
mplayer-1.0.20060415.ebuild:
Overall fixes, spotted on NetBSD

20 Apr 2006; Luca Barbato
mplayer-1.0.20060415.ebuild:
LINGUAS disabled

17 Apr 2006; Markus Rothe
mplayer-1.0.20060415.ebuild:
Stable on ppc64; bug #127969

17 Apr 2006; Rene Nussbaumer
mplayer-1.0.20060415.ebuild:
Stable on hppa. See bug #127969.

17 Apr 2006; Tobias Scherbaum
mplayer-1.0.20060415.ebuild:
ppc stable, bug #127969

17 Apr 2006; Joshua Jackson
mplayer-1.0.20060408.ebuild, mplayer-1.0.20060415.ebuild:
Stable on x86; security bug #127969

16 Apr 2006; Luca Barbato
mplayer-1.0.20060415.ebuild:
Fixed SRC_URI, as pointed in bug #130071

16 Apr 2006; Luca Barbato
files/gcc-3-register_allocation.patch:
Patch updated

16 Apr 2006; Luca Barbato
+files/gcc-3-register_allocation.patch, mplayer-1.0.20060415.ebuild:
Fixed a typo in the gcc workarounds triggering an ICE on gcc-3.

16 Apr 2006; Jason Wever mplayer-1.0.20060415.ebuild:
Stable on SPARC wrt security bug #127969.

15 Apr 2006; Thomas Cort ChangeLog:
Stable on alpha wrt security Bug #127969.

15 Apr 2006; Joshua Jackson
mplayer-1.0.20060408.ebuild, mplayer-1.0.20060415.ebuild:
Stable on x86; bug #127969

*mplayer-1.0.20060415 (14 Apr 2006)

14 Apr 2006; Luca Barbato
+mplayer-1.0.20060415.ebuild:
New snapshot LANG related issue corrected

11 Apr 2006; Joshua Jackson
mplayer-1.0.20060408.ebuild:
Stable for security bug #127969

09 Apr 2006; Rene Nussbaumer
mplayer-1.0.20060408.ebuild:
Stable on hppa. See bug #127969.

09 Apr 2006; Luca Barbato
mplayer-1.0.20060408.ebuild:
Deps update

08 Apr 2006; Luca Barbato
mplayer-1.0.20060408.ebuild:
Lots of fixed related to the new unicode support and vidix support

*mplayer-1.0.20060408 (08 Apr 2006)

08 Apr 2006; Luca Barbato
+mplayer-1.0.20060408.ebuild:
New snapshot

02 Apr 2006; Luca Barbato
mplayer-1.0.20060302.ebuild:
Proper fix for bug #127901, solves bug #128410

31 Mar 2006; Luca Barbato
mplayer-1.0.20060302.ebuild:
Workaround for the new dvdnav, fixes bug #127901 thanks to Ed Catmur
for pointing out

24 Mar 2006; Aron Griffis
mplayer-1.0.20060302.ebuild:
Mark 1.0.20060302 stable on ia64

19 Mar 2006; Fernando J. Pereda
mplayer-1.0.20060302.ebuild:
Stable on alpha wrt bug #126627. Thanks to both Mike Hlavac
and Thomas Cort

18 Mar 2006; Luca Barbato
mplayer-1.0.20060302.ebuild:
bsd related changes

03 Mar 2006; Rene Nussbaumer
mplayer-1.0.20060217.ebuild:
Stable on hppa. See bug #115760.

03 Mar 2006; Fernando J. Pereda
mplayer-1.0.20060302.ebuild:
Re-add ~alpha keyword wrt bug #124776. Tested by Thomas Cort


26 Feb 2006; Bryan Østergaard mplayer-1.0.20060217.ebuild:
Stable on alpha, bug 115760.

*mplayer-1.0.20060302 (02 Mar 2006)

02 Mar 2006; Luca Barbato
mplayer-1.0.20060217.ebuild, +mplayer-1.0.20060302.ebuild:
openal removed again from 20060217, since could not work for everybody, new
snapshot with fixes and x264 support

22 Feb 2006; Aron Griffis
mplayer-1.0.20060217.ebuild:
Mark 1.0.20060217 stable on ia64. #115760

22 Feb 2006; Tobias Scherbaum
mplayer-1.0.20060217.ebuild:
ppc stable, bug #115760

22 Feb 2006; Markus Rothe
mplayer-1.0.20060217.ebuild:
Stable on ppc64; bug #115760

22 Feb 2006; Herbie Hopkins
mplayer-1.0.20060217.ebuild:
Stable on amd64 wrt bug #115760.

22 Feb 2006; Joshua Jackson
mplayer-1.0.20060217.ebuild:
Stable on x86; Security bug #115760

20 Feb 2006; Gustavo Zacarias
mplayer-1.0.20060217.ebuild:
Stable on sparc wrt security #115760

21 Feb 2006; Luca Barbato
mplayer-1.0.20060217.ebuild:
Fixed some of the logic, openal should work now, thanks to Reimar for
helping, as usual

20 Feb 2006; Luca Barbato
-files/mmst_fix_20050415.diff, -files/rtsp_fix_20050415.diff,
mplayer-1.0.20060217.ebuild:
fixed faad autodetection

17 Feb 2006; Luca Barbato
mplayer-1.0.20060217.ebuild:
openal disabled, pending update

*mplayer-1.0.20060217 (17 Feb 2006)

17 Feb 2006; Luca Barbato
+mplayer-1.0.20060217.ebuild:
New snapshot

15 Feb 2006; Diego Pettenò
mplayer-1.0_pre7-r1.ebuild, mplayer-1.0.20060102.ebuild:
Put gettext as a build-time dependency, and use virtual/libintl as RDEPEND
instead.

13 Feb 2006; Patrick McLean
mplayer-1.0.20060102.ebuild:
Add "musepack" USE flag to support the musepack audio codec (bug #122081).

03 Feb 2006; Luca Barbato
mplayer-1.0.20060102.ebuild:
dvb changes

26 Jan 2006; Luca Barbato
mplayer-1.0.20060102.ebuild:
gtk2 support as default

06 Jan 2006; Luca Barbato
mplayer-1.0.20060102.ebuild:
mythtv useflag removed since the patch got incorporated as stated in bug
#117725

03 Jan 2006; Daniel Black
mplayer-1.0_pre7-r1.ebuild, mplayer-1.0.20060102.ebuild:
dependency changed to =dev-libs/lzo-1* so that unmasking lzo-2 will not
break this package as per bug #112374

*mplayer-1.0.20060102 (03 Jan 2006)

03 Jan 2006; Luca Barbato
+mplayer-1.0.20060102.ebuild:
Snapshot version

12 Dec 2005; Donnie Berkholz ;
mplayer-1.0_pre7-r1.ebuild:
(#110990) Add modular X dependencies.

03 Dec 2005; Luca Barbato mplayer-1.0_pre7-r1.ebuild:
Typo fixed, thanks Oldrich Jedlicka for reporting

03 Dec 2005; Luca Barbato mplayer-1.0_pre7-r1.ebuild:
livecd and bindist support, minor changes overall

01 Nov 2005; Luca Barbato
-files/mplayer-1.0_pre6-codecs.patch,
-files/mplayer-1.0_pre6-configure.patch,
-files/mplayer-1.0_pre6-pic.patch, -files/mplayer-1.0_pre6-ppc64.patch,
+files/mplayer-1.0_pre7-ppc64.patch, -files/mplayer-avi_crash.patch,
-files/mplayer-gcc_detection.patch, -files/mplayer-jack.patch,
-files/mplayer-nl.patch, -mplayer-1.0_pre6-r4.ebuild,
-mplayer-1.0_pre6-r5.ebuild, -mplayer-1.0_pre6-r6.ebuild,
-mplayer-1.0_pre7.ebuild, mplayer-1.0_pre7-r1.ebuild:
Complete cleanup

01 Nov 2005; Luca Barbato
-mplayer-1.0_pre6-r4.ebuild, -mplayer-1.0_pre6-r5.ebuild,
-mplayer-1.0_pre6-r6.ebuild:
Pruning mplayer-1.0_pre6 ebuilds

31 Oct 2005; Diego Pettenò
mplayer-1.0_pre6-r4.ebuild, mplayer-1.0_pre6-r5.ebuild,
mplayer-1.0_pre6-r6.ebuild, mplayer-1.0_pre7.ebuild:
Disable divx4linux in every version, not just the last one, to avoid
breakage now that the package is gone.

30 Oct 2005; Luca Barbato mplayer-1.0_pre7-r1.ebuild:
Removed ancient divx4linux support, internal support if far better anyway.

06 Nov 2005; Luca Barbato mplayer-1.0_pre7-r1.ebuild:
disable x264 for now

10 Oct 2005; Luca Barbato
+files/mplayer-1.0_pre7-gcc4-amd64.patch, mplayer-1.0_pre7-r1.ebuild:
Fix for gcc-4.0.1 and amd64

31 Aug 2005; Aron Griffis
mplayer-1.0_pre7-r1.ebuild:
stable on alpha #103555

31 Aug 2005; Luca Barbato mplayer-1.0_pre7-r1.ebuild:
Cleanup

30 Aug 2005; Ian Leitch mplayer-1.0_pre7-r1.ebuild:
Stable on x86, bug #103555

30 Aug 2005; Gustavo Zacarias
mplayer-1.0_pre7-r1.ebuild:
Stable on sparc wrt #103555

28 Aug 2005; Marcus D. Hanwell
mplayer-1.0_pre7-r1.ebuild:
Stable on amd64 wrt bug 103555.

27 Aug 2005; Markus Rothe mplayer-1.0_pre7-r1.ebuild:
Stable on ppc64 (bug #103555)

27 Aug 2005; Luca Barbato mplayer-1.0_pre7-r1.ebuild:
Marked ppc

*mplayer-1.0_pre7-r1 (27 Aug 2005)

27 Aug 2005; Luca Barbato
+mplayer-1.0_pre7-r1.ebuild:
Hotfix release for a recently discovered buffer overflow, bug #103555

25 Aug 2005; Aron Griffis mplayer-1.0_pre7.ebuild:
stable on ia64

04 Aug 2005; Luca Barbato mplayer-1.0_pre7.ebuild:
Removed the libmatroska dep, fixes bug #99024, thanks to Giacomo Perale
for pointing out

04 Aug 2005; Luca Barbato files/mplayer.desktop:
Fix for the .desktop file, bug #98268

25 May 2005; Herbie Hopkins mplayer-1.0_pre7.ebuild:
Multilib fix, bad path to libxmms.

16 May 2005; Luca Barbato mplayer-1.0_pre6-r6.ebuild,
mplayer-1.0_pre7.ebuild:
Fix bug #92751

10 May 2005; Luca Barbato mplayer-1.0_pre7.ebuild:
aalib support fixed

09 May 2005; Luca Barbato mplayer-1.0_pre6-r6.ebuild,
mplayer-1.0_pre7.ebuild:
3dfx requires dga. Fix for bug #91351

09 May 2005; Luca Barbato mplayer-1.0_pre6-r6.ebuild,
mplayer-1.0_pre7.ebuild:
Purge problematic cflag

09 May 2005; Luca Barbato
files/mplayer-gcc_detection.patch:
Simpler gcc_detection patch, update from Diego Biurrun

09 May 2005; Luca Barbato mplayer-1.0_pre6-r6.ebuild,
mplayer-1.0_pre7.ebuild:
Minor updates

06 May 2005; Luca Barbato mplayer-1.0_pre6-r6.ebuild,
mplayer-1.0_pre7.ebuild:
Fix the ebuilds to enable cpudetection correctly, thanks to Emanuele
Giaquinta

05 May 2005; Aron Griffis mplayer-1.0_pre6-r5.ebuild,
mplayer-1.0_pre6-r6.ebuild, mplayer-1.0_pre7.ebuild:
add ~ia64

05 May 2005; Jan Brinkmann
-files/mplayer-0.90-coreutils-fixup.patch, -files/mplayer-1.0-gtk2.patch,
-files/mplayer-1.0_pre5-alsa-gcc34.patch,
-files/mplayer-1.0_pre5-bio2jack.patch,
-files/mplayer-1.0_pre5-configure.patch,
-files/mplayer-1.0_pre5-gcc_detection.patch,
-files/mplayer-1.0_pre5-help_mp-ro.h.patch,
-files/mplayer-1.0_pre5-live.patch,
-files/mplayer-1.0_pre5-mga-kernel-2.6.patch,
-files/mplayer-1.0_pre5-mips64.patch,
-files/mplayer-1.0_pre5-r1-conf_locale.patch,
-files/mplayer-1.0_pre5-r4-ppc64.patch,
-files/mplayer-1.0_pre5-r5-configure.patch,
-files/mplayer-1.0_pre5-yuv2rgb_fix.patch, -files/cachefill.patch,
-files/gui_vuln_code.patch, -files/mplayer-gif.patch,
-files/mplayer-odml.patch, -files/mplayer-x11.patch,
-files/real_demux.patch, -files/str_undefined.patch, -files/strl.c,
-files/vuln02-fix.diff, -mplayer-1.0_pre5-r5.ebuild:
removed old vulnerable version and unneeded patches.

25 Apr 2005; Martin Schlemmer
+files/mplayer-1.0_pre7-gcc4.patch,
+files/mplayer-1.0_pre7-gcc_detection.patch, mplayer-1.0_pre7.ebuild:
Fix building with gcc4. Patch from Genady Okrain (Mafteah) 's overlay (plus
some added fixes to libvo/aclib_template.c that whoever seemed to have
missed).

21 Apr 2005; Herbie Hopkins mplayer-1.0_pre7.ebuild:
Same amd64 cleanup, new version.

21 Apr 2005; Simon Stelling mplayer-1.0_pre6-r6.ebuild:
minor amd64-specific cleanup

19 Apr 2005; Bryan Østergaard
mplayer-1.0_pre6-r4.ebuild:
Stable on alpha, bug 89277.

17 Apr 2005; Jason Wever mplayer-1.0_pre6-r4.ebuild:
Stable on SPARC wrt security bug #89277.

18 Apr 2005; Luca Barbato mplayer-1.0_pre6-r6.ebuild,
mplayer-1.0_pre7.ebuild:
Minor polishing, thanks to Gurgh for the suggestions

17 Apr 2005; Luca Barbato
+files/mplayer-1.0_pre5-alsa-gcc34.patch,
+files/mplayer-1.0_pre5-help_mp-ro.h.patch, mplayer-1.0_pre5-r5.ebuild,
mplayer-1.0_pre7.ebuild:
Fixed pre5 patchset

17 Apr 2005; Markus Rothe mplayer-1.0_pre6-r4.ebuild:
Stable on ppc64; bug #89277

*mplayer-1.0_pre7 (17 Apr 2005)

17 Apr 2005; Luca Barbato mplayer-1.0_pre6-r6.ebuild,
+mplayer-1.0_pre7.ebuild:
New experimental ebuild and minor fix

16 Apr 2005; Michael Hanselmann
mplayer-1.0_pre6-r4.ebuild:
Stable on ppc.

16 Apr 2005; Jan Brinkmann
mplayer-1.0_pre6-r4.ebuild:
stable on amd64 and x86 wrt #89277

*mplayer-1.0_pre6-r4 (16 Apr 2005)

16 Apr 2005; Jan Brinkmann
-mplayer-1.0_pre6-r1.ebuild, -mplayer-1.0_pre6-r2.ebuild,
-mplayer-1.0_pre6-r3.ebuild, +mplayer-1.0_pre6-r4.ebuild,
+mplayer-1.0_pre6-r5.ebuild, +mplayer-1.0_pre6-r6.ebuild:
updated revisions for security bug #89277

16 Apr 2005; Jan Brinkmann metadata.xml,
+files/mmst_fix_20050415.diff, +files/rtsp_fix_20050415.diff,
mplayer-1.0_pre6-r1.ebuild, mplayer-1.0_pre6-r2.ebuild,
mplayer-1.0_pre6-r3.ebuild:
added 2 security related patches to the _pre6 ebuilds. see #89277. also
updated metadata.xml, chriswhite is retired.

16 Apr 2005; Luca Barbato
-files/mplayer-1.0_pre4-alsa-gcc34.patch,
-files/mplayer-1.0_pre4-altivec-gcc34.patch,
-files/mplayer-1.0_pre4-help_mp-ro.h.patch,
-files/mplayer-1.0_pre4-mpst.patch, -mplayer-1.0_pre4-r7.ebuild,
-mplayer-1.0_pre5-r2.ebuild, -mplayer-1.0_pre5-r3.ebuild,
-mplayer-1.0_pre5-r4.ebuild, mplayer-1.0_pre5-r5.ebuild,
mplayer-1.0_pre6-r1.ebuild, mplayer-1.0_pre6-r2.ebuild,
mplayer-1.0_pre6-r3.ebuild:
useflag move 3dnowex -> 3dnowext, global cleanup

*mplayer-1.0_pre6-r3 (12 Apr 2005)

12 Apr 2005; Luca Barbato
+mplayer-1.0_pre6-r3.ebuild:
New p.masked ebuild, cpudetection and custom-cflags added.

11 Apr 2005; Jan Brinkmann
mplayer-1.0_pre6-r1.ebuild, mplayer-1.0_pre6-r2.ebuild:
added support for blinkenlights, fixes #86776. we also dont install useless
menu entries any longer if use -gtk, fixes bug #86399

07 Apr 2005; Jan Brinkmann
mplayer-1.0_pre6-r1.ebuild, mplayer-1.0_pre6-r2.ebuild:
MAKEOPTS -jN has to be -j1 for successful compilation. fixes #86245

02 Apr 2005; Chris White
mplayer-1.0_pre6-r2.ebuild:
Removed april fools segment.

01 Apr 2005; Chris White
files/mplayer-gcc_detection.patch, mplayer-1.0_pre5-r5.ebuild,
mplayer-1.0_pre6-r2.ebuild:
Fixed gcc detection patch. Converted avi USE flag to win32codecs USE flag to
get rid of ugly arch conditional nestings.

22 Mar 2005; Chris White
mplayer-1.0_pre6-r2.ebuild:
Fixing bug #85861 as well as changing over to 3dnowext to match the cpu flag
in mplayer-1.0_pre6-r2.

22 Mar 2005; Chris White
files/mplayer-1.0_pre6-pic.patch:
Fixing the pic patch for reals this time.

21 Mar 2005; Chris White
files/mplayer-1.0_pre6-pic.patch:
Fix 3dnow conditional for idcmt 3dnow unresolved errors.

*mplayer-1.0_pre6-r2 (21 Mar 2005)

21 Mar 2005; Chris White
+files/mplayer-1.0_pre6-pic.patch, +mplayer-1.0_pre6-r2.ebuild:
The big closer. Bug #51853 goes bye bye. MPlayer will now compile with pic
and x86 without filtration.

20 Mar 2005; Chris White
mplayer-1.0_pre6-r1.ebuild:
Fix bug #85945 (no longer need the alsa-gui patch for pre6).

20 Mar 2005; Chris White
mplayer-1.0_pre5-r5.ebuild:
Fixed bad if logic (must be getting good at this :|) for real codecs.

19 Mar 2005; Guy Martin mplayer-1.0_pre6-r1.ebuild:
Stable on hppa.

19 Mar 2005; Chris White
mplayer-1.0_pre6-r1.ebuild:
Forgot the mmxext params in ecpu_check for pre6-r1.

*mplayer-1.0_pre6-r1 (19 Mar 2005)

19 Mar 2005; Chris White
+files/mplayer-1.0_pre6-codecs.patch, mplayer-1.0_pre4-r7.ebuild,
mplayer-1.0_pre5-r3.ebuild, mplayer-1.0_pre5-r4.ebuild,
mplayer-1.0_pre5-r5.ebuild, +mplayer-1.0_pre6-r1.ebuild,
-mplayer-1.0_pre6.ebuild:
Fixed bugs #85642 #85534 #83609 #83546. Pre6 gets a revbump because it uses
RealPlayer's codecs instead of win32codecs and because of new 3gp codec
support. Old pre6 goes bye bye. mmx2->mmxext.

16 Mar 2005; Chris White
+files/mplayer-1.0_pre5-gcc_detection.patch, mplayer-1.0_pre5-r3.ebuild:
Fixed optimization logics for mips, hopefully solving bug #83633. Added gcc
detection patch to make mplayer actually compile.

16 Mar 2005; Chris White
mplayer-1.0_pre5-r3.ebuild:
Fixed mplayer-1.0_pre5-r3's message about not using custom CFLAGS. Put in
the strip-flags which is supposed to be in there.

24 Feb 2005; Chris White mplayer-1.0_pre6.ebuild:
Re-added x86 only USE flag logic for win32codecs. Fixes #82535.

19 Feb 2005; Chris White
+files/mplayer-gcc_detection.patch, +files/mplayer-jack.patch,
mplayer-1.0_pre6.ebuild:
Fixed endianess issues with jack output. Fixed gcc being detected improperly.

07 Feb 2005; Jan Brinkmann
mplayer-1.0_pre5-r5.ebuild:
use_enable avi should only be possible on x86. fixed #81149

07 Feb 2005; Chris White mplayer-1.0_pre6.ebuild:
Repoman fix trailing white space.

07 Feb 2005; Chris White 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 mplayer-1.0_pre5-r5.ebuild,
mplayer-1.0_pre6.ebuild:
Added dga logic to fix bug #80861.

06 Feb 2005; Chris White files/mplayer-x11.patch:
Fixing the patch to work with 71478's issue as well.

06 Feb 2005; Chris White +files/mplayer-x11.patch,
mplayer-1.0_pre5-r5.ebuild, mplayer-1.0_pre6.ebuild:
Fixed bug #80564 with a patch by nickc and removed uneeded deps on portage and
nasm.

06 Feb 2005; Chris White mplayer-1.0_pre5-r5.ebuild,
mplayer-1.0_pre6.ebuild:
Apparently mmx2 shows up in /proc/cpuinfo as mmxext, so disabling mmx2 cpu
checking until I can rework ecpu_check to handle this properly.

05 Feb 2005; Chris White +files/mplayer-gif.patch,
mplayer-1.0_pre5-r5.ebuild:
Fixed giflib support by backing mplayer pre6 giflib detection.

04 Feb 2005; Chris White mplayer-1.0_pre5-r5.ebuild,
mplayer-1.0_pre6.ebuild:
Re-enabled sse2 as people with x86's say it works ok. Enabled new
ecpu_check-ing functionality.

30 Jan 2005; Chris White
+files/mplayer-avi_crash.patch, mplayer-1.0_pre5-r5.ebuild,
mplayer-1.0_pre6.ebuild:
Fixed bugs #79243 and 78337.

30 Jan 2005; Chris White
mplayer-1.0_pre5-r5.ebuild, mplayer-1.0_pre6.ebuild:
altivec fix for #76559.

30 Jan 2005; Chris White
mplayer-1.0_pre5-r5.ebuild, mplayer-1.0_pre6.ebuild:
Fixed real being force enabled (instead of USE flag configured..) and
RESTRICT=nostrip to hopefully fix bug #71672.

24 Jan 2005; Jan Brinkmann mplayer-1.0_pre6.ebuild:
added dv to IUSE, it was already used by the ebuild. fixes bug #79319

23 Jan 2005; Jan Brinkmann
mplayer-1.0_pre5-r5.ebuild, mplayer-1.0_pre6.ebuild:
applied patch to make distcc compiling possible. fixes bug #77235

23 Jan 2005; Chris White
mplayer-1.0_pre5-r5.ebuild, mplayer-1.0_pre6.ebuild:
Fixed bug #78209. Also removed the gif lib logic in pre6 as it's no longer
required (fixed upstream) and now gif is a true enable/disable style flag.

23 Jan 2005; Chris White +files/mplayer-nl.patch,
mplayer-1.0_pre6.ebuild:
Fixed bug #76429. Added mplayer-nl.patch to solve.

23 Jan 2005; Chris White mplayer-1.0_pre5-r4.ebuild,
mplayer-1.0_pre5-r5.ebuild, mplayer-1.0_pre6.ebuild:
Fixed dk from Swedish to Danish.

14 Jan 2005; Sven Wegener
mplayer-1.0_pre5-r5.ebuild, mplayer-1.0_pre6.ebuild:
Added missing ? in *DEPEND.

14 Jan 2005; Chris White mplayer-1.0_pre5-r5.ebuild,
mplayer-1.0_pre6.ebuild:
Re-fixing gif logic (someone messed with it :|) to fix #77463.

11 Jan 2005; Danny van Dyk mplayer-1.0_pre6.ebuild:
mplayer now contains SIMD assembler code for AMD64. The AMD64 Team decided
to hard-enable SIMD assembler for all users.

11 Jan 2005; Chris White mplayer-1.0_pre6.ebuild:
Adding anti-sse2 until someone tells me it doesn't create strange code.

09 Jan 2005; Jan Brinkmann
mplayer-1.0_pre5-r4.ebuild, mplayer-1.0_pre5-r5.ebuild,
mplayer-1.0_pre6.ebuild:
made some trivial changes to the alsa related warning in pkg_postinst. fixes
bug #76469.

07 Jan 2005; Chris White mplayer-1.0_pre5-r5.ebuild,
mplayer-1.0_pre6.ebuild:
Re-adding pic logic in (bad chris) and also getting strip-flags added to
pre5-r5.

06 Jan 2005; Patrick Kursawe mplayer-1.0_pre6.ebuild:
Fixed unpack problem (bug #76854)

06 Jan 2005; Chris White mplayer-1.0_pre6.ebuild:
MPlayer pre6 was missing docs upstream, adding an 'a' prefix to get the latest
alpha version that contains the docs. Note that none of the actual code was
changed.

29 Dec 2004; Ciaran McCreesh :
Change encoding to UTF-8 for GLEP 31 compliance

27 Dec 2004; Chris White mplayer-1.0_pre6.ebuild:
Fixed dts -> libdts configure option as per bug #75762.

27 Dec 2004; Chris White mplayer-1.0_pre6.ebuild:
Added dts support back per bug #75669. Also fixed libdv being forced
required as per bug #72146.

27 Dec 2004; Chris White mplayer-1.0_pre6.ebuild:
Fixed bio2jack dep issues as per bug #75720. Also force enabled networking
support as it causes more issues then solves them.

27 Dec 2004; Chris White mplayer-1.0_pre6.ebuild:
tossing in -frename-registers as per bug #75690. Tested it to make sure it
wouldn't make hardened gcc cry with BREG errors.

*mplayer-1.0_pre6 (26 Dec 2004)

26 Dec 2004; Chris White
+files/mplayer-1.0_pre6-configure.patch,
+files/mplayer-1.0_pre6-ppc64.patch, +mplayer-1.0_pre6.ebuild:
Infamous 1.0_pre6 bump.

19 Dec 2004; Bryan Østergaard
mplayer-1.0_pre5-r5.ebuild:
Stable on alpha, bug 74473.

18 Dec 2004; Jason Wever mplayer-1.0_pre5-r5.ebuild:
Stable on sparc wrt security bug #74473.

19 Dec 2004; Michael Hanselmann
mplayer-1.0_pre5-r5.ebuild:
Stable on ppc.

18 Dec 2004; Dylan Carlson
mplayer-1.0_pre5-r5.ebuild:
Stable on amd64.

18 Dec 2004; Markus Rothe mplayer-1.0_pre5-r5.ebuild:
Stable on ppc64; bug #74473

19 Dec 2004; Chris White mplayer-1.0_pre5-r5.ebuild:
Arrg, forgot to bump down ppc64 keywords :|.

*mplayer-1.0_pre5-r5 (19 Dec 2004)

19 Dec 2004; Chris White
+files/mplayer-1.0_pre5-r5-configure.patch, mplayer-1.0_pre4-r7.ebuild,
mplayer-1.0_pre5-r2.ebuild, mplayer-1.0_pre5-r3.ebuild,
+mplayer-1.0_pre5-r5.ebuild:
Bumping to pre5-r5 as per bug #74473. Tested on 20 randomly encoded .avis,
mp3s, and even streaming video/audio. Marked x86 stable.

17 Dec 2004; Markus Rothe mplayer-1.0_pre5-r4.ebuild:
Stable on ppc64

02 Dec 2004; Chris White mplayer-1.0_pre5-r4.ebuild:
vo -> ao in alsa warning.

14 Nov 2004; Markus Rothe
+files/mplayer-1.0_pre5-r4-ppc64.patch, mplayer-1.0_pre5-r4.ebuild:
Marked ~ppc64 (bug #68112) and added ppc64 patch.

11 Nov 2004; Chris White mplayer-1.0_pre5-r4.ebuild:
Copied midentify to /usr/bin for emovix for bug #58580.

11 Nov 2004; Chris White mplayer-1.0_pre4-r7.ebuild,
mplayer-1.0_pre5-r4.ebuild:
Removed mga buiding in MPlayer due to reasons in bug #28846.

10 Nov 2004; Chris White mplayer-1.0_pre5-r4.ebuild:
Lots of fancy bash scripting to make MPlayer deal with the normal (and proper)
LINGUAS format. Closes bug #49710.

10 Nov 2004; Chris White mplayer-1.0_pre5-r4.ebuild:
Added a message about the alsa -ao format to postinstall. Closes bug #57256.

10 Nov 2004; Chris White mplayer-1.0_pre4-r7.ebuild,
mplayer-1.0_pre5-r2.ebuild, mplayer-1.0_pre5-r3.ebuild,
mplayer-1.0_pre5-r4.ebuild:
Fixed tdfxvid output logic as per bug #64218.

06 Nov 2004; Chris White mplayer-1.0_pre5-r4.ebuild:
Added a real USE flag warning to -pre5-r4.

06 Nov 2004; Chris White mplayer-1.0_pre4-r7.ebuild,
mplayer-1.0_pre5-r4.ebuild:
Fixed optimization filtering per bug #70175.

31 Oct 2004; Chris White mplayer-1.0_pre4-r7.ebuild,
mplayer-1.0_pre5-r2.ebuild, mplayer-1.0_pre5-r4.ebuild:
Added filtering for -falign-functions. Thanks to jstubbs for pointing that
out.

24 Oct 2004; Luca Barbato mplayer-1.0_pre5-r3.ebuild,
mplayer-1.0_pre5-r4.ebuild:
Minor cleanup

24 Oct 2004; Chris White mplayer-1.0_pre4-r7.ebuild,
mplayer-1.0_pre5-r4.ebuild:
Converted to kernel-mod eclass. Thanks to Stefan Schweizer
for helping out with that in bug #68444.

24 Oct 2004; Chris White mplayer-1.0_pre4-r7.ebuild:
Bad bash logic... [ v. ).

24 Oct 2004; Chris White mplayer-1.0_pre5-r4.ebuild:
Added some minor font functionality as per bug #48440.

24 Oct 2004; Chris White mplayer-1.0_pre5-r4.ebuild:
Finished off Bug #61451 and closed bug #68552.

24 Oct 2004; Chris White mplayer-1.0_pre4-r7.ebuild:
Alpha stable marked live, so changing the dep/patch logic for it. Only amd64
left and this ebuild will look ok again.

24 Oct 2004; Chris White mplayer-1.0_pre4-r7.ebuild:
Fixed Live issues in Bug #68649 and half solved configure issues in Bug #61451
regarding real directories.

23 Oct 2004; Chris White mplayer-1.0_pre5-r2.ebuild:
Fixed epatch issues.

22 Oct 2004; Chris White mplayer-1.0_pre4-r7.ebuild:
Fixed some more filtering that needed to be done for pic stuff to work.

20 Oct 2004; Chris White mplayer-1.0_pre4-r7.ebuild,
mplayer-1.0_pre5-r4.ebuild:
Fixed some xvidix logic as per bug #28865.

19 Oct 2004; Chris White :
Did filter flags on a few problematic flags as per Bug #67903.

17 Oct 2004; Bryan Østergaard
mplayer-1.0_pre5-r3.ebuild:
alpha happiness, bug 66571.

17 Oct 2004; Chris White :
Fixed digest issues :|. Removed ia64 keyword per Bug #67836.

16 Oct 2004; Chris White mplayer-1.0_pre4-r7.ebuild,
mplayer-1.0_pre5-r2.ebuild, mplayer-1.0_pre5-r3.ebuild,
mplayer-1.0_pre5-r4.ebuild:
Removed sse2 as it's broken. Custom CFLAGS now holds. Ncurses as default
terminal lib as per bug #64212.

15 Oct 2004; Seemant Kulleen
files/mplayer-1.0_pre5-yuv2rgb_fix.patch:
fix the yuv2rgb patch to work properly on altivec enabled ppc's

06 Oct 2004; Jeremy Huddleston
mplayer-1.0_pre5-r3.ebuild, mplayer-1.0_pre5-r4.ebuild:
get_libdir fixes.

07 Oct 2004; Luca Barbato mplayer-1.0_pre5-r3.ebuild:
Backport yuv2rgb_fix

05 Oct 2004; Luca Barbato
-files/mplayer-1.0_pre5-yuv2rbg_fix.patch,
-files/mplayer-1.0_pre5-yuv2rbg_kludge.patch,
+files/mplayer-1.0_pre5-yuv2rgb_fix.patch, mplayer-1.0_pre5-r4.ebuild:
Hopefully the latest fix to that part

04 Oct 2004; Luca Barbato
+files/mplayer-1.0_pre5-yuv2rbg_fix.patch, mplayer-1.0_pre5-r4.ebuild:
Eventually I fixed the yuv2rgb_altivec for vo_x11, the other scalers could
have wrong colours

05 Oct 2004; Luca Barbato
-files/mplayer-1.0_pre5-yuv2rbg_kludge.patch,
+files/mplayer-1.0_pre5-yuv2rgb_fix.patch, mplayer-1.0_pre5-r4.ebuild:
Hopefully the latest fix to that part

03 Oct 2004; Luca Barbato mplayer-1.0_pre5-r4.ebuild:
Eventually I fixed the yuv2rgb_altivec for vo_x11, the other scalers could
have wrong colours

27 Sep 2004; Jeremy Huddleston
mplayer-1.0_pre5-r3.ebuild:
Moved jack support back to -r3 to fix compilation on systems with jack
installed.

22 Sep 2004; Michael Sterrett
mplayer-1.0_pre5-r4.ebuild:
dev-libs/bio2jack -> media-libs/bio2jack

06 Sep 2004; Ciaran McCreesh
mplayer-1.0_pre4-r7.ebuild, mplayer-1.0_pre5-r2.ebuild,
mplayer-1.0_pre5-r3.ebuild:
Switch to use epause and ebeep, bug #62950

29 Aug 2004; Luca Barbato
+files/mplayer-1.0_pre5-bio2jack.patch, mplayer-1.0_pre5-r4.ebuild:
Jack support

25 Aug 2004; Hardave Riar mplayer-1.0_pre5-r3.ebuild:
Added ~mips keyword.

25 Aug 2004; Chris White
+files/mplayer-1.0_pre5-mips64.patch, mplayer-1.0_pre5-r3.ebuild:
Added mips64 patch. Closes bug #61466.

*mplayer-1.0_pre5-r4 (22 Aug 2004)

22 Aug 2004; Chris White
+files/mplayer-1.0_pre5-configure.patch, +mplayer-1.0_pre5-r4.ebuild:
Added MPlayer ebuild with custom CFLAGS.

*mplayer-1.0_pre5-r3 (20 Aug 2004)

20 Aug 2004; Chris White mplayer-1.0_pre5-r2.ebuild,
mplayer-1.0_pre5-r3.ebuild:
Fixed 3dnowex logic in -r3. Fixed some bad patch logic as well.

18 Aug 2004; Chris White :
I added some xvmc related USE flags. Fixed matroska and live versions. Added a
doc USE flag in -r3. Fixed an mspt issue in pre4-r7. Anything else I can't
remember too.

14 Aug 2004; Chris White mplayer-1.0_pre4-r7.ebuild,
mplayer-1.0_pre5-r2.ebuild:
Fixed some live version issues. Thanks to Merlin for reporting.

13 Aug 2004; Chris White
-files/amd64_fix_the_blue_love.patch, -files/default-skin.diff,
-files/mencoder-segfault.patch, -files/mplayer-0.90-divx.patch,
-files/mplayer-0.90-ppc-benh-2.patch, -files/mplayer-0.90_rc4-gtk2.patch,
-files/mplayer-1.0_pre3-alsa-gcc34.patch,
-files/mplayer-1.0_pre3-libavcodec-gcc34.patch,
-files/mplayer-1.0_pre3-libmatroska063.diff,
-files/mplayer-1.0_pre3-xmms.patch,
-files/mplayer-1.0_pre4-gcc34-mtune.patch, -files/noenca.patch,
-files/ppc750FX-fix.patch, -files/vuln01-fix.diff, -mplayer-0.92-r1.ebuild,
-mplayer-1.0_pre2-r1.ebuild, -mplayer-1.0_pre3-r3.ebuild,
-mplayer-1.0_pre3-r4.ebuild, -mplayer-1.0_pre3-r5.ebuild,
-mplayer-1.0_pre4-r1.ebuild, -mplayer-1.0_pre4-r2.ebuild,
-mplayer-1.0_pre4-r3.ebuild, -mplayer-1.0_pre4-r4.ebuild,
-mplayer-1.0_pre4.ebuild:
Cleaned out old unsupported mplayers and old patches.

12 Aug 2004; Brian Harring mplayer-1.0_pre4-r7.ebuild:
Corrected an issue with USE="gtk -png". bug #60136.

13 Aug 2004; Chris White mplayer-1.0_pre5-r2.ebuild:
Added tdfxfb support.

11 Aug 2004; Anders Rune Jensen mplayer-1.0_pre5-r2.ebuild,
files/mplayer-1.0_pre5-alsa-gui.patch:
Make the alsa patch work with dxr3. Fixes #59200. Caused by #58619.

03 Aug 2004; Chris White :
Fixed digest issues.

01 Aug 2004; Chris White mplayer-1.0_pre4-r7.ebuild,
mplayer-1.0_pre5-r2.ebuild:
Should have been marked stable.

31 Jul 2004; Chris White mplayer-1.0_pre5-r2.ebuild:
Ensure proper LIVE version for live fix patch.

31 Jul 2004; Chris White mplayer-1.0_pre4-r7.ebuild,
mplayer-1.0_pre5-r2.ebuild:
Fixed some use logic with live and network.

31 Jul 2004; Chris White mplayer-1.0_pre5-r2.ebuild:
Took pre5-r2 down to unstable. See Bug #55456 for more information.

30 Jul 2004; Bryan Østergaard
mplayer-1.0_pre4-r7.ebuild:
Stable on alpha, see bug #55456.

30 Jul 2004; Gustavo Zacarias
mplayer-1.0_pre5-r2.ebuild:
Stable on sparc wrt #55456

31 Jul 2004; Chris White mplayer-1.0_pre5-r2.ebuild:
Took pre5-r2 down to unstable. See Bug #55456 for more information.

30 Jul 2004; Chris White mplayer-1.0_pre5-r2.ebuild:
Added einfo about the network USE flag. This enables/disables streaming and is
not set by default in most users' make.conf/package.use. After recieving
duplicate issues on this, I've decided to add the einfo in.

30 Jul 2004; Chris White
+files/mplayer-1.0_pre5-live.patch, mplayer-1.0_pre5-r2.ebuild:
Added fix for latest live-2004-07* for live USE flag. Fixes Bug #58807.

29 Jul 2004; Chris White mplayer-1.0_pre4-r7.ebuild,
mplayer-1.0_pre5-r2.ebuild:
Fixed live dependancy issue that was causing world update downgrades.

29 Jul 2004; Chris White :
Re-added(?) myself as maintainer. Fixed alsa gui bug in #58619.

27 Jul 2004; Chris White mplayer-1.0_pre4-r7.ebuild,
mplayer-1.0_pre5-r2.ebuild:
Added -fPIC to kill register clobbering.

27 Jul 2004; Daniel Ostrow mplayer-1.0_pre4-r7.ebuild:
Stable on ppc.

27 Jul 2004; Brian Harring mplayer-1.0_pre4-r7.ebuild,
mplayer-1.0_pre5-r2.ebuild:
Corrected USE="v4l2" configuring.

25 Jul 2004; Jeremy Huddleston
mplayer-1.0_pre4-r7.ebuild, mplayer-1.0_pre5-r2.ebuild:
Changed amd64 stable to pre4 because of some problems in gmplayer. A patch to
pre5 will be put in soon.

24 Jul 2004; Jeremy Huddleston
mplayer-1.0_pre5-r2.ebuild:
Tested and marked stable for amd64 and x86.

*mplayer-1.0_pre5-r2 mplayer-1.0_pre4-r7 (24 Jul 2004)

24 Jul 2004; Brian Harring mplayer-1.0_pre4-r6.ebuild,
mplayer-1.0_pre4-r7.ebuild, mplayer-1.0_pre5-r2.ebuild:
As it stands, these ebuilds should now be the targets for stabling. Mplayer
1.0_pre4-r7 and 1.0_pre5-r2 are *not* to be fooled with, compilation fixes
are the only thing that should be added to these ebuilds- anything else
belongs in another unstable revbump. This fixes compilation issues w/
USE="-gtk png", USE="-gtk" and any of xv X xinerama,
USE="gif" (compilation failure), USE="-gif" (unconditionally linking in
libgif broken in previous fix for #58086), DOCS/TOOLS not being installed,
removed dep on X for gif (it was caused by said fix), USE="dvdread -dvd"
bring in dvdread and not using it, etc. Pretty large amount of fixes.
Versions 1.0_pre4-r6 and 1.0_pre5-r1 are removed from the tree, no user
should be using them (borked badly).
These ebuilds ought to end up as the targets for stabling for the gui
vulnerablity issues, thus they shouldn't be fooled w/ for anything but
needed fixes.

24 Jul 2004; Jeremy Huddleston
files/cachefill.patch:
Typo in the patch was in the conf file, not the source... fixing.

24 Jul 2004; Chris White files/cachefill.patch,
+files/mplayer-1.0_pre5-r1-conf_locale.patch, mplayer-1.0_pre4-r6.ebuild,
mplayer-1.0_pre5-r1.ebuild:
Moved x11 support/xv driver to X USE flag. Fixed gif needing deps on X11.
Fixed small typo in the cachefill patch. Address issues mentioned in Bug
#58086. Also adds locale fix patch for Bug #58082.

23 Jul 2004; Jeremy Huddleston
mplayer-1.0_pre5-r1.ebuild:
Added kernel-2.6 fix on sparc (removes old workaround).

23 Jul 2004; Chris White mplayer-1.0_pre4-r6.ebuild,
mplayer-1.0_pre5-r1.ebuild:
Fixes some strange issue with the .20 live plugins being pulled in, despite
.27 being coded in. Re-Removed dvdread stuff.

23 Jul 2004; Jeremy Huddleston
mplayer-1.0_pre5-r1.ebuild:
Making USE=xvid work on all archs.

23 Jul 2004; Brian Harring mplayer-1.0_pre4-r6.ebuild,
mplayer-1.0_pre5-r1.ebuild:
Fixed broken deps for media-plugins/live and media-libs/libtheora for ia64

23 Jul 2004; Brian Harring mplayer-1.0_pre4-r6.ebuild,
mplayer-1.0_pre5-r1.ebuild, files/cachefill.patch:
Slipping eradicators cachefill patch in, bug #55936

23 Jul 2004; Chris White mplayer-1.0_pre4-r6.ebuild,
mplayer-1.0_pre5-r1.ebuild:
Fixed an ia64 dependancy error.

*mplayer-1.0_pre5-r1 (23 Jul 2004)

23 Jul 2004; Chris White
+files/mplayer-mythtv.patch, +files/mplayer-odml.patch,
-mplayer-1.0_pre4-r5.ebuild, +mplayer-1.0_pre4-r6.ebuild,
+mplayer-1.0_pre5-r1.ebuild, -mplayer-1.0_pre5.ebuild:
Cleaned up with the help of Mr_Bones_, solar, and ferringb. Added in mythtv
patch to fix bug #23544. Stable version for Bug #55456.

23 Jul 2004; Chris White mplayer-1.0_pre4-r5.ebuild:
Helps if you commit the gui vulnerability patch when you're fixing a
vulnerability bug.

23 Jul 2004; Chris White mplayer-1.0_pre5.ebuild:
Fixed live dependancies. Fixes Bug #57963.

23 Jul 2004; Chris White
-files/mga-kernel-2.6.patch, +files/mplayer-1.0_pre4-mga-kernel2.6.patch,
mplayer-1.0_pre4-r5.ebuild, mplayer-1.0_pre5.ebuild:
Cleaned up the ebuilds for pre4-r5 and pre5.

19 Jul 2004; Travis Tilley mplayer-1.0_pre4-r5.ebuild:
stable on amd64

19 Jul 2004; Chris White +files/gui_vuln_code.patch,
+files/str_undefined.patch, +files/strl.c, mplayer-1.0_pre4-r5.ebuild:
Fixed mplayer pre4-r5 compiling issues with undefined str* references and
re-stabilized for gui vuln bug for amd64. Added fullscreen patch as well.

16 Jul 2004; Bryan Østergaard mplayer-1.0_pre5.ebuild:
Stable on alpha, see bug #55456.

*mplayer-1.0_pre4-r5 (18 Jul 2004)

18 Jul 2004; Chris White
+files/amd64_fix_the_blue_love.patch, +files/real_demux.patch,
mplayer-1.0_pre4-r4.ebuild, +mplayer-1.0_pre4-r5.ebuild:
Fixes Bug #53634 and Bug #55456 for amd64.

15 Jul 2004; Jason Wever mplayer-1.0_pre5.ebuild:
Stable on sparc wrt bug #55456.

16 Jul 2004; Chris White mplayer-1.0_pre5.ebuild:
Weeve gave the heads up to mark this stable on sparc. Doing so.

16 Jul 2004; Daniel Ostrow mplayer-1.0_pre5.ebuild:
Stable on ppc.

15 Jul 2004; Luca Barbato
+files/mplayer-1.0_pre5-yuv2rbg_kludge.patch, mplayer-1.0_pre5.ebuild:
Fixed the altivec scaler

15 Jul 2004; Chris White
+files/mplayer-1.0_pre5-mga-kernel-2.6.patch, mplayer-1.0_pre5.ebuild:
Re-added the mga_vid.c patch to pre5. Thanks to Norman Yarvin for the heads
up. This fixes Bug #57138

15 Jul 2004; Chris White mplayer-1.0_pre5.ebuild:
Yay, more fun, they replaced the test ebuild which needed the noenca patch
with the final release.. (finally) so now I have to remove the patch :|

15 Jul 2004; Chris White mplayer-1.0_pre5.ebuild:
Fixed the weird md5-ness with the tarballs

*mplayer-1.0_pre5 (15 Jul 2004)

15 Jul 2004; Chris White +files/noenca.patch,
+mplayer-1.0_pre5.ebuild:
Adding to the tree for stable marking on Bug #55456

10 Jul 2004; Jason Wever mplayer-1.0_pre4.ebuild:
Stable on sparc.

29 Jun 2004; Brian Harring mplayer-1.0_pre4-r1.ebuild,
mplayer-1.0_pre4-r2.ebuild, mplayer-1.0_pre4-r3.ebuild,
mplayer-1.0_pre4-r4.ebuild, files/mplayer-1.0_pre4-gcc34-mtune.patch,
files/mplayer-1.0_pre4-help_mp-ro.h:
Closing out bugs #49669 (help/help_mp-ro.h having completely broken syntax),
gcc3.4 s:-mcpu:-mtune: (bug #49488).

17 Jun 2004; Seemant Kulleen
mplayer-1.0_pre4-r4.ebuild:
added two variables: BLUV and SVGV to hold the version numbers of the tarballs
for BLUE and svga_helper, respectively. Now, version bumping those two things
shouldn't break mplayer's emerge processes.

17 Jun 2004; Seemant Kulleen
mplayer-1.0_pre4-r4.ebuild:
change the occurrence of Blue-1.0 to Blue-1.4 to correspond to the recent
version bump

17 Jun 2004; Luca Barbato
+files/mplayer-1.0_pre4-altivec-gcc34.patch, mplayer-1.0_pre4-r4.ebuild:
gcc-3.4 altivec fix

16 Jun 2004; Martin Schlemmer
mplayer-1.0_pre4-r4.ebuild:
Update Blue skin to version 1.4

09 Jun 2004; Aron Griffis mplayer-0.92-r1.ebuild,
mplayer-1.0_pre2-r1.ebuild, mplayer-1.0_pre3-r3.ebuild,
mplayer-1.0_pre3-r4.ebuild, mplayer-1.0_pre3-r5.ebuild,
mplayer-1.0_pre4-r1.ebuild, mplayer-1.0_pre4-r2.ebuild,
mplayer-1.0_pre4-r3.ebuild, mplayer-1.0_pre4-r4.ebuild,
mplayer-1.0_pre4.ebuild:
Fix use invocation

08 Jun 2004; Patrick Kursawe
mplayer-1.0_pre4-r3.ebuild, mplayer-1.0_pre4-r4.ebuild:
Doing matrox related stuff only when matrox is in USE, see bug #53222

02 Jun 2004; Brian Harring mplayer-1.0_pre4-r1.ebuild,
mplayer-1.0_pre4-r2.ebuild, mplayer-1.0_pre4-r3.ebuild,
mplayer-1.0_pre4-r4.ebuild, mplayer-1.0_pre4.ebuild:
Missing IUSE for nas, nls. Added live use flag to pre4, removed the inline
autodetect of live, making it a use flag controlled dep. moved all IUSE
statements below inherit, where they should stay. Closed bugs #49481 and
#36815.

01 Jun 2004; Travis Tilley mplayer-1.0_pre4-r4.ebuild:
stable on amd64

01 Jun 2004; Brian Harring mplayer-1.0_pre4-r1.ebuild,
mplayer-1.0_pre4-r2.ebuild, mplayer-1.0_pre4-r3.ebuild,
mplayer-1.0_pre4-r4.ebuild, mplayer-1.0_pre4.ebuild:
Added necessary --internal-(matroska|faad) for matroska (bug #50533) and mpeg.
MPlayer uses external libs when those flags are specified, otherwise,
internal. Also fixed missing IUSE flags. Fixed use dvb syntax error in pre4-r2.

01 Jun 2004; Brian Harring mplayer-1.0_pre4-r4.ebuild,
mplayer-1.0_pre4.ebuild:
Added use flags for libcaca since mplayer autodetects it already (bug #49369),
and missing xinerama IUSE (bug #51509)

28 May 2004; Guy Martin mplayer-1.0_pre4-r4.ebuild:
Added ~hppa to KEYWORDS. Little build fix.

*mplayer-1.0_pre4-r4 (28 May 2004)

28 May 2004; Luca Barbato +mplayer-1.0_pre4-r4.ebuild:
Upstream requested change to the ebuild

28 May 2004; Patrick Kursawe
mplayer-1.0_pre4-r3.ebuild:
The sandbox fixes were fine for 2.6.6, but failed with 2.6.5. Fixed that, see
bug #40616 again.

27 May 2004; Daniel Ostrow mplayer-1.0_pre4-r3.ebuild:
Stable on ppc.

27 May 2004; Jon Portnoy mplayer-1.0_pre4-r3.ebuild :
Stable on AMD64

27 May 2004; Brian Harring mplayer-1.0_pre4-r1.ebuild,
mplayer-1.0_pre4-r2.ebuild, mplayer-1.0_pre4-r3.ebuild,
mplayer-1.0_pre4.ebuild:
Adding xvid, divx4linux use flags (bug #30242), bidi (bug #41482), and mad
(bug #32606). Bit of cleanup of myconf, moved IUSE after inherit for
1.0_pre4-r3 (portage 2.0.51_pre9 doesn't play nice w/ IUSE above inherit, see
bug #52160).

*mplayer-1.0_pre4-r3 (26 May 2004)

26 May 2004; Patrick Kursawe
mplayer-1.0_pre4-r3.ebuild:
Sandbox problems (like bug #52058) should be history now.
Using kmod.eclass instead of check-kernel now (bug #51903)

*mplayer-1.0_pre4-r2 (19 May 2004)

19 May 2004; Patrick Kursawe
mplayer-1.0_pre4-r2.ebuild, files/mga-kernel-2.6.patch:
Fixing bug #40616 (mga driver), little cleanups for the patch section.

12 May 2004; Alexander Gabert mplayer-1.0_pre3-r5.ebuild,
mplayer-1.0_pre4-r1.ebuild, mplayer-1.0_pre4.ebuild:
added new hardened PIE SSP switches

12 May 2004; Alexander Gabert mplayer-0.92-r1.ebuild,
mplayer-1.0_pre2-r1.ebuild, mplayer-1.0_pre3-r3.ebuild,
mplayer-1.0_pre3-r4.ebuild:
removed hardened-gcc logic, added filter-flags fPIC logic

02 May 2004; Jason Wever mplayer-1.0_pre4-r1.ebuild:
Changed -sparc keyword back to ~sparc.

30 Apr 2004; Bryan Østergaard
mplayer-1.0_pre4-r1.ebuild:
Stable on alpha.

*mplayer-1.0_pre4-r1 (30 Apr 2004)

30 Apr 2004; Martin Holzer mplayer-1.0_pre4-r1.ebuild:
live is now a local use flag.

30 Apr 2004; Martin Holzer mplayer-1.0_pre4.ebuild:
fixing live depend. closes 49481

29 Apr 2004; Brandon Hale mplayer-1.0_pre4.ebuild:
Stable on x86 for multiple vulnerabilities, bug #49387.

*mplayer-1.0_pre4 (28 Apr 2004)

28 Apr 2004; Martin Holzer mplayer-1.0_pre4.ebuild:
Version bumped.

28 Apr 2004; Travis Tilley
+files/mplayer-1.0_pre3-alsa-gcc34.patch,
+files/mplayer-1.0_pre3-libavcodec-gcc34.patch, mplayer-1.0_pre3-r5.ebuild:
added a fix for compiling with gcc 3.4. yaaay! =)

19 Apr 2004; Chris Gianelloni mplayer-0.92-r1.ebuild,
mplayer-1.0_pre2-r1.ebuild, mplayer-1.0_pre3-r3.ebuild,
mplayer-1.0_pre3-r4.ebuild, mplayer-1.0_pre3-r5.ebuild:
Removed broken gtk2 patch from all versions still in portage and closing bug
#15786.

13 Apr 2004; Scott W Taylor
mplayer-1.0_pre3-r5.ebuild:
update -fPIC handling for post-hardened-gcc

08 Apr 2004; Luca Barbato mplayer-1.0_pre3-r5.ebuild:
Added useflags for v4l and v4l2

06 Apr 2004; Brandon Hale mplayer-1.0_pre3-r5.ebuild:
Update -fPIC filtering magic for post hardened-gcc.

04 Apr 2004; Luca Barbato mplayer-1.0_pre3-r5.ebuild,
files/ppc750FX-fix.patch:
Minor fix to extend the G3 cpu supported, thanks to Simon Strandman
, bug #44276

31 Mar 2004; Martin Holzer mplayer-1.0_pre3-r5.ebuild:
adding ipv6 configure. closes 42940

*mplayer-1.0_pre3-r3 (31 Mar 2004)
*mplayer-1.0_pre3-r5 (31 Mar 2004)
*mplayer-1.0_pre3-r4 (31 Mar 2004)
*mplayer-1.0_pre2-r1 (31 Mar 2004)
*mplayer-0.92-r1 (31 Mar 2004)

31 Mar 2004; Patrick Kursawe mplayer-0.92-r1.ebuild,
mplayer-0.92.ebuild, mplayer-1.0_pre2-r1.ebuild, mplayer-1.0_pre2.ebuild,
mplayer-1.0_pre3-r1.ebuild, mplayer-1.0_pre3-r2.ebuild,
mplayer-1.0_pre3-r3.ebuild, mplayer-1.0_pre3-r4.ebuild,
mplayer-1.0_pre3-r5.ebuild, mplayer-1.0_pre3.ebuild, files/vuln02-fix.diff:
Revision bumped all currently available ebuilds and added a patch for a
security problem, see bug #46246.
Because of different keywordings for 1.0_pre3 they were bumped like follows:
1.0_pre3 -> 1.0_pre3-r3
1.0_pre3-r1 -> 1.0_pre3-r4
1.0_pre3-r2 -> 1.0_pre3-r5

29 Mar 2004; Donnie Berkholz ; mplayer-0.92.ebuild,
mplayer-1.0_pre2.ebuild, mplayer-1.0_pre3-r1.ebuild,
mplayer-1.0_pre3-r2.ebuild, mplayer-1.0_pre3.ebuild:
Change x11-base/xfree dependency to virtual/x11.

23 Mar 2004; Martin Holzer mplayer-1.0_pre3-r2.ebuild,
files/mplayer-1.0_pre3-xmms.patch:
added patch to disable xmms. closes 45356

21 Mar 2004; Jason Wever mplayer-1.0_pre3-r2.ebuild:
Added ~sparc keyword.

21 Mar 2004; Jason Wever mplayer-1.0_pre3-r2.ebuild:
Marked -sparc until libtheora builds on sparc.

*mplayer-1.0_pre3-r2 (21 Mar 2004)

21 Mar 2004; Martin Holzer mplayer-1.0_pre3-r2.ebuild:
adding libtheora support.

18 Mar 2004; Martin Holzer mplayer-1.0_pre3-r1.ebuild,
files/mplayer-1.0_pre3-libmatroska063.diff:
adding patch to compile with latest libmatroska

16 Mar 2004; Stephen P. Becker mplayer-1.0_pre3.ebuild:
Added ~mips keyword.

15 Mar 2004; Jason Wever mplayer-0.92.ebuild:
Marked stable on sparc.

*mplayer-1.0_pre3-r1 (11 Mar 2004)

11 Mar 2004; mplayer-1.0_pre3-r1.ebuild:
Updated to NOT install libpostproc libraries (bug 43640). Now provided by
>=ffmpeg-0.4.8.20040222.

27 Feb 2004; Jason Wever mplayer-1.0_pre3.ebuild:
Nothing but ~sparc.

26 Feb 2004; Guy Martin :
Keyworded ~hppa.

16 Jan 2004; Bartosch Pixa mplayer-1.0_pre3.ebuild:
set ppc in keywords

25 Dec 2003; Seemant Kulleen mplayer-0.92.ebuild,
mplayer-1.0_pre1-r1.ebuild, mplayer-1.0_pre2.ebuild,
mplayer-1.0_pre3.ebuild:
changed SRC_URI to use mirror://mplayer instead

14 Dec 2003; Martin Holzer mplayer-1.0_pre3.ebuild:
Changing matroska version. Closes #35787

12 Dec 2003; Seemant Kulleen mplayer-1.0_pre3.ebuild:
--disable-css is a deprecated configure option now. Closes bug #35644 by
butters@opengames.net and its duplicates

*mplayer-1.0_pre3 (11 Dec 2003)

20 Dec 2003; Guy Martin mplayer-1.0_pre3.ebuild :
Fixed detection of hppa boxes.

11 Dec 2003; Seemant Kulleen mplayer-1.0_pre3.ebuild,
files/mplayer-1.0-gtk2.patch:
version bump to newest release -- includes updated gtk2 patch

04 Dec 2003; Seemant Kulleen mplayer-0.92.ebuild,
mplayer-1.0_pre1-r1.ebuild, mplayer-1.0_pre2.ebuild:
fix the gtk/gtk2 USE flag syntax, closing bug #34567 by Spider


16 Nov 2003; Brad House mplayer-1.0_pre2.ebuild:
mark stable on amd64

30 Oct 2003; Martin Holzer mplayer-1.0_pre2.ebuild:
Adding joystick support. Closes #31470.

26 Oct 2003; Luca Barbato mplayer-1.0_pre2.ebuild:
Added debug useflag, minor fixes. Closes #31978 and #31996.
thanks to Andrew Kirilenko and Juri Haberland
.

20 Oct 2003; Martin Holzer mplayer-1.0_pre1-r1.ebuild,
mplayer-1.0_pre2.ebuild:
added matroska support. Closes #28636.

14 Oct 2003; Martin Holzer mplayer-0.92.ebuild,
mplayer-1.0_pre1-r1.ebuild, mplayer-1.0_pre2.ebuild:
RDEPEND error fixed. Closes #30624.

14 Oct 2003; Martin Holzer mplayer-0.92.ebuild,
mplayer-1.0_pre1-r1.ebuild, mplayer-1.0_pre2.ebuild:
adding lirc IUSE flag. Closes #31031.

11 Oct 2003; Martin Holzer mplayer-0.92.ebuild,
mplayer-1.0_pre1-r1.ebuild, mplayer-1.0_pre2.ebuild:
fixed Doc permissions. Closes #30724.

09 Oct 2003; Martin Schlemmer mplayer-0.92.ebuild,
mplayer-1.0_pre1-r1.ebuild, mplayer-1.0_pre2.ebuild:
Add a note about us using MPlayer set C[XX]FLAGS to avoid confusion.

09 Oct 2003; Martin Schlemmer mplayer-0.92.ebuild,
mplayer-1.0_pre1-r1.ebuild, mplayer-1.0_pre2.ebuild:
Get fonts to install properly again, fixing bug #30213.

08 Oct 2003; Luca Barbato mplayer-1.0_pre2.ebuild:
ppc related fix.

*mplayer-1.0_pre2 (07 Oct 2003)

07 Oct 2003; Martin Holzer mplayer-1.0_pre2.ebuild:
Version bumped. Closes #30415.

06 Oct 2003; Martin Holzer mplayer-0.92.ebuild,
mplayer-1.0_pre1-r1.ebuild:
Adding aalib configure strings. Closes #21984.

29 Sep 2003; Martin Holzer :
Fixing digest.

*mplayer-1.0_pre1-r1 (27 Sep 2003)

27 Sep 2003; mplayer-1.0_pre1-r1.ebuild,
files/vuln01-fix.diff:
security fix for devel branch

*mplayer-0.92 (28 Sep 2003)

28 Sep 2003; Martin Holzer mplayer-0.92.ebuild:
Version bumped. Closes a security Problem.

23 Sep 2003; Martin Holzer :
digest update. closes #29363

12 Sep 2003; heinrich Wendel mplayer-1.0_pre1.ebuild,
mplayer-0.91.ebuild:
fixed samba dep to version 2.2.8a

07 Sep 2003; Alexander Gabert mplayer-0.91.ebuild:
added hardened-gcc excludes

06 Sep 2003; Martin Schlemmer mplayer-1.0_pre1.ebuild:
Cleanup libpostproc stuff a bit. Last time I checked, we should not need to
install the static version of the library.

04 Sep 2003; Heinrich Wendel mplayer-0.90-r2.ebuild,
mplayer-0.90-r5.ebuild, mplayer-0.90_rc4.ebuild, mplayer-0.91.ebuild,
mplayer-1.0_pre1.ebuild, files/mplayer-0.90-fix-version.patch:
- removed old ebuilds
- fixed samba bug #25912
- fixed fs bug #12751
- marked 0.91 stable on x86 and ppc

*mplayer-1.0_pre1 (04 Sep 2003)

04 Sep 2003; Martin Holzer mplayer-1.0_pre1.ebuild:
Version bumped.

24 Aug 2003; Martin Schlemmer mplayer-0.90-r2.ebuild,
mplayer-0.90-r5.ebuild, mplayer-0.90_rc4.ebuild, mplayer-0.91.ebuild,
files/mencoder-segfault.patch:
Fix mencoder segfault when used improperly, bug #23611

*mplayer-0.91 (20 Aug 2003)

20 Aug 2003; Martin Schlemmer mplayer-0.91.ebuild:
New version.

*mplayer-0.90-r5 (10 Aug 2003)

10 Aug 2003; Martin Schlemmer mplayer-0.90-r5.ebuild:
Some cleanups - do not try to autodetect video/audio settings, as MPlayer does
it by itself these days. Change a few things as suggested by Gabucino
(--enable-3dfx is broken, and --enable-dynamic-plugins could have issues).
Eventually add the new default Skin of MPlayer (Blue).

04 Aug 2003; Martin Schlemmer mplayer-0.90-r4.ebuild,
files/mplayer-0.90-ppc-benh-2.patch:
Fix ppc-benh.patch to play nicely with coreutils-fixup.patch, bug #25833

*mplayer-0.90-r4 (03 Aug 2003)

03 Aug 2003; Martin Schlemmer mplayer-0.90-r4.ebuild,
files/mplayer-0.90-coreutils-fixup.patch:
Remove building of svgalib kernel module. Should fix bug #25062.

18 Jul 2003; Martin Holzer mplayer-0.90-r3.ebuild:
Final fix.

16 Jul 2003; Luca Barbato mplayer-0.90-r2.ebuild,
mplayer-0.90-r3.ebuild:
Make it install every documentation file. Closes #20662.

16 Jul 2003; Martin Holzer mplayer-0.90-r2.ebuild,
mplayer-0.90-r3.ebuild, mplayer-0.90_rc4.ebuild, mplayer-0.90_rc5.ebuild:
Added IUSE flag for xmms. Closes #20090.

16 Jul 2003; Martin Holzer mplayer-0.90-r2.ebuild:
Marked x86 stable.

*mplayer-0.90-r3 (16 Jul 2003)

16 Jul 2003; Martin Holzer mplayer-0.90-r3.ebuild:
Added vidix support. Submitted by phoen][x in #20114.

*mplayer-0.90-r2 (01 Jul 2003)

01 Jul 2003; Martin Holzer mplayer-0.90-r2.ebuild,
files/mplayer-0.90-divx.patch:
Adding logic to detect newer DivX Api and patching. Closes #23795.

11 Jun 2003; Jason Wever mplayer-0.90-r1.ebuild:
Added ~sparc to keywords.

*mplayer-0.90-r1 (27 Apr 2003)

27 Apr 2003; Martin Schlemmer mplayer-0.90-r1.ebulid,
mplayer-0.90-fix-version.patch :
- Fix version (still displayed as rc5), bug #19691.
- Change DEPEND to only depend and enable faad2 support if 'mpeg' in USE,
closing bug #19119.
- Add SMB (Samba) support, closing bug #16395.

*mplayer-0.90 (09 Apr 2003)

20 Apr 2003; Seemant Kulleen mplayer-0.90.ebuild :
Added faad2 and enabling faad in econf -- satisies many requests to be able to
play the Matrix trailers.

16 Apr 2003; Lars Weiler mplayer-0.90.ebuild,
files/mplayer-0.90-ppc-benh.patch:
No big change.
Added the mentioned patch in bug #18511 for the right order of the
ppc-processor-switch and some more ppc-related einfo-lines about the altivec
issue with DivX.

09 Mar 2003; Martin Schlemmer mplayer-0.90.ebuild :
New version:
- Add 'dvb' use flag (bug #13809), thanks to Juri Haberland
- Fix MPlayer to detect/use altivec on benh kernels (bug #18511), thanks to
Stephan van Maris and Lars Weiler .
- Remove dvdnav support as its broken anyhow. According to lists, no effort
will be made soon to get it fixed.
This should also close bug #18879.

30 Mar 2003; Martin Schlemmer mplayer-0.90_rc5.ebuild :
Mark stable for x86. Fix bug #18211, thanks to Philippe Lafoucri?re
.

*mplayer-0.90_rc5 (18 Mar 2003)

16 Apr 2003; Martin Holzer mplayer-0.90_rc5.ebuild:
Forcing to use old libdvdnav.

18 Mar 2003; Martin Schlemmer mplayer-0.90_rc5.ebuild :
New version.

13 mar 2003; Olivier Reisch mplayer-0.90_rc4.ebuild :
Marked ppc stable

*mplayer-0.90_rc4 (16 Feb 2003)

16 Apr 2003; Martin Holzer mplayer-0.90_rc4.ebuild:
Forcing to use old libdvdnav.

06 March 2003; Martin Schlemmer mplayer-0.90_rc4.ebuild :

- Fix esound not disabled if 'esd' not in USE, bug #16758.
- Remove --enable-shared-pp from ./configure, as it breaks mplayer with
gcc-2.95.3,bug #14479.
- Mark stable for x86.

16 Feb 2003; Martin Schlemmer mplayer-0.90_rc4.ebuild :

Update version.
Add LIVE.COM support, thanks to J Robert Ray , bug #14766.

02 Feb 2003; Martin Schlemmer mplayer-0.90_*.ebuild :

Fix SRC_URI for fonts, closing bug #14770.

21 Jan 2003; Martin Schlemmer mplayer-0.90_rc3.ebuild :

Add --with-x11incdir=/usr/X11R6/include as a temporary fix for bug #14311.

*mplayer-0.90_rc3 (20 Jan 2003)

20 Jan 2003; Martin Schlemmer mplayer-0.90_rc3.ebuild :

New version.

19 Jan 2003; Martin Schlemmer mplayer-0.90_rc2.ebuild :

Only enable devfs support if /dev/.devfsd exists, bug #13613.

07 Dec 2002; Martin Schlemmer mplayer-0.90_rc2.ebuild :

Add lirc support, thanks to Jarkko Haapalainen ,
bug #12244. Mark stable for x86, and fix to depend on xfree-4.2.1-r2, fixing
problems with gtk2 support and freetype.

*mplayer-0.90_rc2 (26 Dec 2002)

26 Dec 2002; Martin Schlemmer mplayer-0.90_rc2.ebuild :

New version.

*mplayer-0.90_rc1-r1 (13 Dec 2002)

13 Dec 2002; Martin Schlemmer mplayer-0.90_rc1-r1.ebuild :

Fix the xvid bork. Add gtk2 support :D

*mplayer-0.90_rc1 (8 Dec 2002)

08 Dec 2002; Martin Schlemmer mplayer-0.90_rc1.ebuild :

New version, closing bug #11775.

01 Dec 2002; Martin Schlemmer mplayer-0.90_pre10.ebuild :

Mark as stable.

24 Nov 2002; Martin Schlemmer mplayer-0.90_pre10.ebuild :

Add arts support, closing bug #11122.

*mplayer-0.90_pre10 (11 Nov 2002)

11 Nov 2002; Martin Schlemmer :

Nev version.

5 Nov 2002; Martin Schlemmer mplayer-0.90_pre9.ebuild :

Add realplayer support, closing bug #6286.

*mplayer-0.90_pre9 (27 Oct 2002)

27 Oct 2002; Martin Schlemmer :

New version.

*mplayer-0.90_pre8-r1 (12 Oct 2002)

12 Oct 2002; Martin Schlemmer :

Add patch for build failure without oss if "TV" is enabled by
configure. Thanks goes to Chad Netzer .
This closes bug #8604.

*mplayer-0.90_pre8 (26 Sep 2002)

26 Sep 2002; Kevyn Shortell mplayer-0.90_pre8.ebuild :
PPC keyword added, tested on ibook 300mhz, worked well.

*mplayer-0.90_pre8 (19 Sep 2002)

19 Sep 2002; Martin Schlemmer mplayer-0.90_pre8.ebuild :
New bugfix release.

*mplayer-0.90_pre7 (16 Sep 2002)

16 Sep 2002; Olivier Reisch mplayer-0.90_pre7.ebuild :
Removed ppc keyword. Audio does not work at all on PPC.

15 Sep 2002; Martin Schlemmer mplayer-0.90_pre7.ebuild :
Update version.

*mplayer-0.90_pre6-r3 (12 Aug 2002)

16 Sep 2002; Olivier Reisch mplayer-0.90_pre6-r3.ebuild :
Removed ppc keyword. Audio does not work at all on PPC.

Sep 11 2002; Mark Guertin mplayer-0.90_pre6-63.ebuild :
Adjusted divx4linux as x86 only dep (it supplies x86 binary libs), goes along
with bug #7796

Sep 10 2002, Mark Guertin :
adjusted nasm and win32codes to use x86 USE flags (they don't work on
anything except x86)

12 Aug 2002; Martin Schlemmer mplayer-0.90_pre6-r3.ebuild :

Add patch to support libdvdnav-0.1.3.

Fix screwup with new patch.

*mplayer-0.90_pre6-r2 (07 Aug 2002)

07 Aug 2002; Martin Schlemmer mplayer-0.90_pre6-r2.ebuild :

Update DEPEND to block libdvdnav-0.1.3. Change "emake" to "make", as
'make -j' fails in some cases.

*mplayer-0.90_pre6-r1 (07 Aug 2002)

07 Aug 2002; Martin Schlemmer mplayer-0.90_pre6-r1.ebuild :

Fix compile problems if "dvd" not in USE. Added two patches for this:

mplayer-0.90_pre6-no-dvd.patch
mplayer-0.90_pre6-stream-include.patch

*mplayer-0.90_pre6 (06 Aug 2002)

06 Aug 2002; Martin Schlemmer mplayer-0.90_pre6.ebuild :

New version. Patch vidix's Makefile not to fail if it cannot install
any drivers. This should resolve bug #5246.

*mplayer-0.90_pre5-r1 (13 Jun 2002)

13 Jun 2002; Martin Schlemmer mplayer-0.90_pre5-r1.ebuild :

Fix missing subtitles for region 4 DVD's, bug #3679, thanks to report
from Bernardo S. A. Silva.

*mplayer-0.90_pre5 (10 Jun 2002)

10 Jun 2002; Martin Schlemmer mplayer-0.90_pre5.ebuild :

Version update with a few fixes (vidix install location, #include errors,
etc).

*mplayer-0.90_pre4 (21 May 2002)

21 May 2002; Martin Schlemmer mplayer-0.90_pre4.ebuild :

Add new version. Resolves bug #2891. This version seems to fix many
of the bugs with previous 0.90_pre versions.

*mplayer-0.90_pre3-r1 (5 May 2002)

8 May 2002; Jon Nelson mplayer-0.90_pre3-r1.ebuild :

Use new check_KV from portage 1.9.10

5 May 2002; Martin Schlemmer mplayer-0.90_pre3-r1.ebuild :

Fix some compile problems for Gui, thanks to Gwenn Gueguen.

*mplayer-0.90_pre3 (5 May 2002)

*mplayer-0.90_pre2-r2 (5 May 2002)

5 May 2002; Martin Schlemmer mplayer-0.90_pre2-r2.ebuild :

Resolve bug #2386 (hopefully); also fix a vidix problem I and other users
on gentoo-user experienced.

*mplayer-0.90_pre2-r1 (1 May 2002)

1 May 2002; Martin Schlemmer mplayer-0.90_pre2-r1.ebuild :

Resolve bug #2284.

*mplayer-0.90_pre2 (30 Apr 2002)

26 Apr 2002; William McArthur mplayer-0.90_pre1.ebuild :

Commented out a matrox specific patch that seems to be aready in the upstream
package.

*mplayer-0.90_pre1 (23 Apr 2002)

*mplayer-0.60-r6 (22 Apr 2002)

22 Apr 2002; Seemant Kulleen mplayer-0.60-r6.ebuild :

Removed directfb flag for now, until next mplayer release. Also, added
--disable-runtime-cpudetection for increased performance. First one thanks
to naz in #gentoo, second one thanks to
dwright@beached.dyndns.org (Darrell Wright) in bug #1967


18 Apr 2002; Seemant Kulleen
fixed a small typo I made in the matrox section

17 Apr 2002; Seemant Kulleen mplayer-0.60-r6.ebuild
files/digest-mplayer-0.60-r6 :

Removed -- the old source tarball will be mirrored on ibilio instead.

*mplayer-0.60-r6 (17 Apr 2002)

17 Apr 2002; Seemant Kulleen mplayer-0.60-r6.ebuild
files/digest-mplayer-0.60-r6 :

This is an upgrade in a way, because it is now fetching the cvs snapshot
from the site. The actual 0.60 sources have been removed from the
SRC_URI, and they are replaced with a weekly snapshot. This is fine
because it offers much better performance than the old "stable" version.

*mplayer-0.60-r5 (14 Apr 2002)

14 Apr 2002; Seemant Kulleen mplayer-0.60-r5.ebuild :

Cleaned up some of the USE flag checking, and made it more consistent, so
that there are no if then fi constructs for USE flags.

*mplayer-0.60-r5 (12 Apr 2002)

14 Apr 2002; M.Schlemmer mplayer-0.60-r5 :

Remove the png USE flag, as the gui depends on libpng. Take --enable-dvdread
out of the main ./configure part, as its now done with the dvd use flag.
Clean the mmx and X USE flag selection parts up.

*mplayer-0.60-r4 (12 Apr 2002)

12 Apr 2002; Seemant Kulleen mplayer-0.60-r4.ebuild :

Added png USE flag and removed css USE flag for dvd flag instead. And,
compile against newest libpng

*mplayer-0.60-r3 (28 Mar 2002)

28 Mar 2002; Seemant Kulleen mplayer-0.60-r3.ebuild :

ogg and vorbis USE flags combined to have oggvorbis USE flag instead.

*mplayer-0.60-r3 (3 March 2002)

3 March 2002; M.Schlemmer mplayer-0.60-r3.ebuild :

Add the DXR3 patch. Update the DEPEND to include libpng if gtk is in USE.

25 Feb 2002; M.Schlemmer mplayer-0.60-r2.ebuild :

Fix the 'fbcon' USE to actually enable fbdev support.

17 Feb 2002; M.Schlemmer mplayer-0.60-r2.ebuild :

Make DVD support default. Changed the USE flag for DVD decription from
'decss' to 'css'. Added 3DFX support with the '3dfx' use variable. Fixed
a problem where if 'sse' or '3dnow' was in USE, but now MMX, sound would be
distorted .. this should resolve bug #536.

*mplayer-0.60-r1 (1 Feb 2002)

1 Feb 2002; G.Bevin ChangeLog :

Added initial ChangeLog which should be updated whenever the package is
updated in any way. This changelog is targetted to users. This means that the
comments should well explained and written in clean English. The details about
writing correct changelogs are explained in the skel.ChangeLog file which you
can find in the root directory of the portage repository.

Manifest

AUX dump_ffmpeg.sh 2494 RMD160 49af8d85dd18122496f32035864e0d87d6446140 SHA1 ca108f8ef69ff16e42faadaa0a6c64deed445d3e SHA256 1f29ad94e1910baba6183a40b8066df2c989f63cbd48f78dc4c6f3e3ccbde8e4
AUX ffmpeg.patch 650 RMD160 1eff7d1cb9b39a3add2754cadba9441853ee7219 SHA1 280a253b707c4da5b1e3055c0502530a995160de SHA256 70170f747f6f26700394a7646c8258aab5dcd9b96c17cb797d9d6e7d7bb02f52
AUX ffmpeg2.patch 805 RMD160 e9517f235640729eb88d68167bc1d6c5df3e2121 SHA1 302a8a6b158cd590e7b607b0ac2f1e148be5a9ef SHA256 41a7602b579bdfc8ea3078e1023fcb73de017354dd40148255411ad55bdbc3fa
AUX mplayer-1.0_rc4-pkg-config.patch 2751 RMD160 1c7ca44ebd71fd22be44961e8a47769c6f4c57d1 SHA1 69c9bc5ac6964d5c1c375bfccd963d38412b67b4 SHA256 9c0e5654ef05d64ae8bb91e3204433559a1f576b663217c6119bd61cec2ae51c
AUX mplayer-1.0_rc4_p20110322-gcc46.patch 657 RMD160 a327aa565f55102be2d6f73f12e08862418023e9 SHA1 560e41e7c5c147e8656ec0216f4272e1421e887c SHA256 4c57d5c4c79db87796b6b1b4a485f4d0a8ed95f3ae71040592a0bd5f3dc070b2
AUX mplayer-1.0_rc4_p20110322-sami_subtitle_parsing.patch 417 RMD160 d72bf30164ed6acfac7113ac4c78ff36ebce884e SHA1 4bb165cf52e176201dad512dd4a50cd04a08b228 SHA256 413876d32509c5e09df58b6f833036cb16d1073fcfecb17e0be9dc355d0e7160
AUX prepare_mplayer.sh 758 RMD160 008741cb14819858a7f08ba752d722ee44907666 SHA1 d60af28ae9025b1cd2f468701ab9732329a9ed38 SHA256 d8a92d83db920a3e47b864b24e78407c1ef5b2c523e91dceae2d96f5bcce435e
DIST font-arial-cp1250.tar.bz2 249705 RMD160 a2fc7ae07b0d80936ea58e168e1047efccb9eb91 SHA1 ccf11dce5d0fb72fd3af97f788b7471cd0cd0b68 SHA256 423a07e780bb130cd8e4730715545c5d919c248dda595aab7a0a01de3c83fd12
DIST font-arial-iso-8859-1.tar.bz2 234242 RMD160 666697cd5efd9387057a898c714175e7c2aacbcd SHA1 152c40bf20de34aa8802d7f80d34d673b0b67212 SHA256 9730f481764f367c9089d0166fb6ccf9148808ffbbfeca635cf0e6db75765d29
DIST font-arial-iso-8859-2.tar.bz2 222208 RMD160 562d4d92c4f5f3d537340fde3ad8d1495ac41acb SHA1 7b99bbe0e9ba89a57eccbea8f93c453c4f268181 SHA256 71debfc960007c2f6242dfc91e8b1c005b30a99e129aeb00ab8c03f4371b41c1
DIST mplayer-1.0_rc4_p20110322.tar.xz 8323532 RMD160 7082c95fa20cb7e3d491546ae08a4dfafdc17d09 SHA1 3f60cf0ce8c910e3628e425167cb6a46bb4a29a3 SHA256 addaae78cfd7f8cb950370b3b43d82c2f8170830ccc1046b98726d34f3958bf5
DIST mplayer-1.0_rc4_p20120213.tar.xz 5451168 RMD160 ebfa2e7f4ab5bc180eea0b2206e6194d678befa5 SHA1 846ab4a7624987d30d64a546a78952fe6f36203d SHA256 28080ae63b282d717ad85a30ab8f481c1d965c8400621528ee87c7bc7d6bc890
DIST mplayer-1.0_rc4_p20120405.tar.xz 5449560 RMD160 e1286c02bda77d7e771cc36d043e1af993a99b6b SHA1 111d3e5e1a89bd9b9143e050bd0ee19e18f8f0ea SHA256 8da4ad1daa5c9b70884f775406c071c508b1bf5227084c895d840d08a115cc86
EBUILD mplayer-1.0_rc4_p20110322-r1.ebuild 20366 RMD160 8965a722285c50f92c921916ec15c7e1db04e490 SHA1 46954bb8cee51c069c4b89b006c2cc5b909cc470 SHA256 b0aaf526c95590585cd07aa17b99774997b0af2a0c5ec89140c56bf62881cfb3
EBUILD mplayer-1.0_rc4_p20120213.ebuild 17764 RMD160 534ea5a2120539d3232d81103ad4b8a2de6f7af5 SHA1 cae5cd6a2a328542f624ed91d6e11d2e34b15256 SHA256 7e1c630fab520fb3c5a9571e15615b51a3e2040014f91679b1c67400d9a20b87
EBUILD mplayer-1.0_rc4_p20120405.ebuild 17864 RMD160 c6125f166b75f628d04eb17bcedb388916d88234 SHA1 2c2792d6045548286171af4e4a8b733bf3c74af6 SHA256 6b2749ad061d3797a3ea5a0106423de07d50c9d5b50a76cda3c73b15371cfe04
EBUILD mplayer-9999.ebuild 17726 RMD160 53d1ec9d75935e6d6592510a7f68308f7733eeca SHA1 0d3b515e722d1d1f4529ff4a8b4de181fcc0ca1b SHA256 4f8231f65fcb2459a6c8f98ead9db25b6c660b7e71cb7c4b3d61cf5e7538868b
MISC ChangeLog 41649 RMD160 2305cd94739fc3b40cbbfbc5c310069280e7f516 SHA1 84ed2ba39134d67f899b9374094dcc4e9a007e0d SHA256 a33aeae8530265172135bd589b68d3a132b68bfd52d076b48cafb5e82922e5f0
MISC ChangeLog-2008 107064 RMD160 146604862227a837d1f463a96af6fe94d17421bf SHA1 5a18c910edcf540877f3b803fc85a9b74b503dd2 SHA256 d9949e0e21fd6fd00f1417201455ee399240ef1010dcf56611ac0fc1f6f9505b
MISC metadata.xml 3738 RMD160 774f4bbf001584d46c477c241c0bddf72340283b SHA1 ba7e1be9dbdcd38403059b9d29f8a710d3d68663 SHA256 78acd6956eee0def16d1953c52ce6f5bbb101a4a66caa0d3c7846f85ac7915e4

files

metadata.xml




video

media-video@gentoo.org


Enable 3dnowext cpu instructions
Enables Adaptive Multi-Rate format support
SRT/SSA/ASS (SubRip / SubStation Alpha) subtitle support
Blinkenlights video output
Enable playback of Blu-ray filesystems
Enable Bauer stereophonic-to-binaural headphone filter
Use libcdio for CD support (instead of cdparanoia)
Enables runtime CPU detection (useful for bindist, compatibility on other CPUs)
Fine-tune custom CPU optimizations (UNSUPPORTED)
Enable Dirac video support (an advanced royalty-free video compression format) via the reference library: dirac.
Use forked libdvdnav, navigate menus in GUIs
Enable DXR3/H+ video output
Enables support for charset discovery and conversion
Use external faac library for AAC encoding
Use external faad library for AAC decoding
Build support for mpeg2 over media-libs/libmpeg2 rather than using ffmpeg.
Enables live.com streaming media support
Enables md5sum video output
Enables mmx2 support
MNG input support
Enable support for mp3 decoding over media-sound/mpg123.
Enables network streaming support
Enables support for the NUT container format
Enables support for on-screen display (OSD) menus
Add PNM video output option, to create PPM/PGM/PGMYUV images
Enable Video4Linux2 MPEG PVR
Enable V4L2 radio interface and support
Enable Unique RAR File Library
Adds Real audio/video support
Enables usage of the linux real time clock. The alternative is software emulation of rtc
Enables RTMPDump Streaming Media support
Enable Dirac video support (an advanced royalty-free video compression format) via libschroedinger (high-speed implementation in C of the Dirac codec).
Enable support for shm
faster floating point optimization for SSSE3 capable chips (Intel Core 2 and later chips)
Enables Targa video output
Enable toolame MPEG-2 encoding
Enable internal support for Vorbis
Enable twolame MPEG-2 encoding
Enables experimental VDPAU support (requires nVidia video cards) to offload MPEG2/MPEG4/VC1/WMV CPU processing to video card
Enables vp8 codec support using libvpx: Decoding vp8 does not require this to be enabled but libvpx can also be used for decoding; encoding vp8 requires this useflag to be enabled though.
Support for vidix video output
Enables support for xanim based codecs
Enables X-Video Motion Compensation support
Enables ZR360[56]7/ZR36060 video output

mplayer-1.0_rc4_p20110322-r1.ebuild

# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/media-video/mplayer/mplayer-1.0_rc4_p20110322-r1.ebuild,v 1.11 2012/05/05 08:58:52 jdhore Exp $

EAPI=4

EGIT_REPO_URI="git://git.libav.org/libav.git"
EGIT_PROJECT="ffmpeg"
ESVN_REPO_URI="svn://svn.mplayerhq.hu/mplayer/trunk"
[[ ${PV} = *9999* ]] && SVN_ECLASS="subversion git" || SVN_ECLASS=""

inherit toolchain-funcs eutils flag-o-matic multilib base ${SVN_ECLASS}

# BUMP ME PLZ, NO COOKIES OTHERWISE
[[ ${PV} != *9999* ]] && MPLAYER_REVISION=SVN-r33094

IUSE="3dnow 3dnowext +a52 aalib +alsa altivec aqua +ass bidi bindist bl bluray
bs2b cddb +cdio cdparanoia cpudetection custom-cpuopts debug dga +dirac
directfb doc +dts +dv dvb +dvd +dvdnav dxr3 +enca +encode +faac +faad fbcon
ftp gif ggi gsm +iconv ipv6 jack joystick jpeg jpeg2k kernel_linux ladspa
libcaca libmpeg2 lirc +live lzo mad md5sum +mmx mmxext mng +mp3 mpg123 nas
+network nut openal amr +opengl +osdmenu oss png pnm pulseaudio pvr +quicktime
radio +rar +real +rtc rtmp samba +shm +schroedinger sdl +speex sse sse2 ssse3
tga +theora +tremor +truetype +toolame +twolame +unicode v4l vdpau vidix
+vorbis vpx win32codecs +X +x264 xanim xinerama +xscreensaver +xv +xvid xvmc
zoran"
[[ ${PV} == *9999* ]] && IUSE+=" external-ffmpeg"

VIDEO_CARDS="s3virge mga tdfx vesa"
for x in ${VIDEO_CARDS}; do
IUSE+=" video_cards_${x}"
done

FONT_URI="
mirror://mplayer/releases/fonts/font-arial-iso-8859-1.tar.bz2
mirror://mplayer/releases/fonts/font-arial-iso-8859-2.tar.bz2
mirror://mplayer/releases/fonts/font-arial-cp1250.tar.bz2
"
if [[ ${PV} == *9999* ]]; then
RELEASE_URI=""
else
RELEASE_URI="http://dev.gentoo.org/~scarabeus/${P}.tar.xz
mirror://gentoo/${P}.tar.xz"
fi
SRC_URI="${RELEASE_URI}
!truetype? ( ${FONT_URI} )"

DESCRIPTION="Media Player for Linux"
HOMEPAGE="http://www.mplayerhq.hu/"

FONT_RDEPS="
virtual/ttf-fonts
media-libs/fontconfig
>=media-libs/freetype-2.2.1:2
"
X_RDEPS="
x11-libs/libXext
x11-libs/libXxf86vm
"
[[ ${PV} == *9999* ]] && RDEPEND+=" external-ffmpeg? ( media-video/ffmpeg )"
# Rar: althrought -gpl version is nice, it cant do most functions normal rars can
# nemesi? ( net-libs/libnemesi )
RDEPEND+="
sys-libs/ncurses
app-arch/bzip2
sys-libs/zlib
!bindist? (
x86? (
win32codecs? ( media-libs/win32codecs )
)
)
X? (
${X_RDEPS}
dga? ( x11-libs/libXxf86dga )
ggi? (
media-libs/libggi
media-libs/libggiwmh
)
opengl? ( virtual/opengl )
vdpau? ( x11-libs/libvdpau )
xinerama? ( x11-libs/libXinerama )
xscreensaver? ( x11-libs/libXScrnSaver )
xv? (
x11-libs/libXv
xvmc? ( x11-libs/libXvMC )
)
)
a52? ( media-libs/a52dec )
aalib? ( media-libs/aalib )
alsa? ( media-libs/alsa-lib )
amr? ( !bindist? ( media-libs/opencore-amr ) )
ass? ( ${FONT_RDEPS} >=media-libs/libass-0.9.10[enca?] )
bidi? ( dev-libs/fribidi )
bluray? ( media-libs/libbluray )
bs2b? ( media-libs/libbs2b )
cdio? ( dev-libs/libcdio )
cdparanoia? ( !cdio? ( media-sound/cdparanoia ) )
dirac? ( media-video/dirac )
directfb? ( dev-libs/DirectFB )
dts? ( media-libs/libdca )
dv? ( media-libs/libdv )
dvb? ( virtual/linuxtv-dvb-headers )
dvd? (
>=media-libs/libdvdread-4.1.3
dvdnav? ( >=media-libs/libdvdnav-4.1.3 )
)
encode? (
!twolame? ( toolame? ( media-sound/toolame ) )
twolame? ( media-sound/twolame )
faac? ( !bindist? ( media-libs/faac ) )
mp3? ( media-sound/lame )
x264? ( >=media-libs/x264-0.0.20100423 )
xvid? ( media-libs/xvid )
)
enca? ( app-i18n/enca )
faad? ( media-libs/faad2 )
gif? ( media-libs/giflib )
gsm? ( media-sound/gsm )
iconv? ( virtual/libiconv )
jack? ( media-sound/jack-audio-connection-kit )
jpeg? ( virtual/jpeg )
jpeg2k? ( media-libs/openjpeg )
ladspa? ( media-libs/ladspa-sdk )
libcaca? ( media-libs/libcaca )
libmpeg2? ( media-libs/libmpeg2 )
lirc? ( app-misc/lirc )
live? ( media-plugins/live )
lzo? ( >=dev-libs/lzo-2 )
mad? ( media-libs/libmad )
mng? ( media-libs/libmng )
mpg123? ( media-sound/mpg123 )
nas? ( media-libs/nas )
nut? ( >=media-libs/libnut-661 )
openal? ( media-libs/openal )
png? ( media-libs/libpng )
pnm? ( media-libs/netpbm )
pulseaudio? ( media-sound/pulseaudio )
rar? (
|| (
app-arch/unrar
app-arch/rar
)
)
rtmp? ( media-video/rtmpdump )
samba? ( net-fs/samba )
schroedinger? ( media-libs/schroedinger )
sdl? ( media-libs/libsdl )
speex? ( media-libs/speex )
theora? ( media-libs/libtheora[encode?] )
truetype? ( ${FONT_RDEPS} )
vorbis? ( media-libs/libvorbis )
vpx? ( media-libs/libvpx )
xanim? ( media-video/xanim )
"

X_DEPS="
x11-proto/videoproto
x11-proto/xf86vidmodeproto
"
ASM_DEP="dev-lang/yasm"
DEPEND="${RDEPEND}
virtual/pkgconfig
X? (
${X_DEPS}
dga? ( x11-proto/xf86dgaproto )
dxr3? ( media-video/em8300-libraries )
xinerama? ( x11-proto/xineramaproto )
xscreensaver? ( x11-proto/scrnsaverproto )
)
amd64? ( ${ASM_DEP} )
doc? (
dev-libs/libxslt app-text/docbook-xml-dtd
app-text/docbook-xsl-stylesheets
)
x86? ( ${ASM_DEP} )
x86-fbsd? ( ${ASM_DEP} )
"

SLOT="0"
LICENSE="GPL-2"
if [[ ${PV} != *9999* ]]; then
KEYWORDS="alpha amd64 arm hppa ia64 ~mips ppc ppc64 sparc x86 ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~x86-solaris"
else
KEYWORDS=""
fi

# bindist does not cope with amr codecs (#299405#c6), faac codecs are nonfree, win32codecs are nonfree
# libcdio support: prefer libcdio over cdparanoia and don't check for cddb w/cdio
# dvd navigation requires dvd read support
# ass and freetype font require iconv and ass requires freetype fonts
# unicode transformations are usefull only with iconv
# libvorbis require external tremor to work
# radio requires oss or alsa backend
# xvmc requires xvideo support
REQUIRED_USE="bindist? ( !amr !faac !win32codecs )"

PATCHES=(
"${FILESDIR}"/${P}-gcc46.patch
"${FILESDIR}"/${P}-sami_subtitle_parsing.patch
)

pkg_setup() {
if [[ ${PV} == *9999* ]]; then
elog
elog "This is a live ebuild which installs the latest from upstream's"
elog "subversion repository, and is unsupported by Gentoo."
elog "Everything but bugs in the ebuild itself will be ignored."
elog
fi

if use cpudetection; then
ewarn
ewarn "You've enabled the cpudetection flag. This feature is"
ewarn "included mainly for people who want to use the same"
ewarn "binary on another system with a different CPU architecture."
ewarn "MPlayer will already detect your CPU settings by default at"
ewarn "buildtime; this flag is used for runtime detection."
ewarn "You won't need this turned on if you are only building"
ewarn "mplayer for this system. Also, if your compile fails, try"
ewarn "disabling this use flag."
fi

if use custom-cpuopts; then
ewarn
ewarn "You are using the custom-cpuopts flag which will"
ewarn "specifically allow you to enable / disable certain"
ewarn "CPU optimizations."
ewarn
ewarn "Most desktop users won't need this functionality, but it"
ewarn "is included for corner cases like cross-compiling and"
ewarn "certain profiles. If unsure, disable this flag and MPlayer"
ewarn "will automatically detect and use your available CPU"
ewarn "optimizations."
ewarn
ewarn "Using this flag means your build is unsupported, so"
ewarn "please make sure your CPU optimization use flags (3dnow"
ewarn "3dnowext mmx mmxext sse sse2 ssse3) are properly set."
fi
}

src_unpack() {
if [[ ${PV} = *9999* ]]; then
subversion_src_unpack
cd "${WORKDIR}"
rm -rf "${WORKDIR}/${P}/ffmpeg/"
( S="${WORKDIR}/${P}/ffmpeg/" git_src_unpack )
else
unpack ${A}
fi

if ! use truetype; then
unpack font-arial-iso-8859-1.tar.bz2 \
font-arial-iso-8859-2.tar.bz2 \
font-arial-cp1250.tar.bz2
fi
}

src_prepare() {
if [[ ${PV} = *9999* ]]; then
# Set SVN version manually
subversion_wc_info
sed -i -e "s/UNKNOWN/${ESVN_WC_REVISION}/" "${S}/version.sh" || die
else
# Set version #
sed -i -e "s/UNKNOWN/${MPLAYER_REVISION}/" "${S}/version.sh" || die
fi

# fix path to bash executable in configure scripts
sed -i -e "1c\#!${EPREFIX}/bin/bash" configure version.sh || die

base_src_prepare
}

src_configure() {
local myconf=""
local uses i

# set LINGUAS
[[ -n $LINGUAS ]] && LINGUAS="${LINGUAS/da/dk}"

# mplayer ebuild uses "use foo || --disable-foo" to forcibly disable
# compilation in almost every situation. The reason for this is
# because if --enable is used, it will force the build of that option,
# regardless of whether the dependency is available or not.

###################
#Optional features#
###################
# disable svga since we don't want it
# disable arts since we don't have kde3
# always disable internal ass
myconf+="
--disable-svga --disable-svgalib_helper
--disable-ass-internal
--disable-arts
--disable-kai
$(use_enable network networking)
$(use_enable joystick)
"
uses="ass bl bluray enca ftp rtc" # nemesi <- not working with in-tree ebuild
myconf+=" --disable-nemesi" # nemesi automagic disable
for i in ${uses}; do
use ${i} || myconf+=" --disable-${i}"
done
use bidi || myconf+=" --disable-fribidi"
use ipv6 || myconf+=" --disable-inet6"
use nut || myconf+=" --disable-libnut"
use rar || myconf+=" --disable-unrarexec"
use samba || myconf+=" --disable-smb"
if ! use lirc; then
myconf+="
--disable-lirc
--disable-lircc
--disable-apple-ir
"
fi

# libcdio support: prefer libcdio over cdparanoia
# don't check for cddb w/cdio
if use cdio; then
myconf+=" --disable-cdparanoia"
else
myconf+=" --disable-libcdio"
use cdparanoia || myconf+=" --disable-cdparanoia"
use cddb || myconf+=" --disable-cddb"
fi

################################
# DVD read, navigation support #
################################
#
# dvdread - accessing a DVD
# dvdnav - navigation of menus
#
# use external libdvdcss, dvdread and dvdnav
myconf+=" --disable-dvdread-internal --disable-libdvdcss-internal"
if use dvd; then
use dvdnav || myconf+=" --disable-dvdnav"
else
myconf+="
--disable-dvdnav
--disable-dvdread
"
fi

#############
# Subtitles #
#############
#
# SRT/ASS/SSA (subtitles) requires freetype support
# freetype support requires iconv
# iconv optionally can use unicode
if ! use ass && ! use truetype; then
myconf+=" --disable-freetype"
if ! use iconv; then
myconf+="
--disable-iconv
--charset=noconv
"
fi
fi
use iconv && use unicode && myconf+=" --charset=UTF-8"

#####################################
# DVB / Video4Linux / Radio support #
#####################################
myconf+=" --disable-tv-bsdbt848"
# broken upstream, won't work with recent kernels
myconf+=" --disable-ivtv"
# gone since linux-headers-2.6.38
myconf+=" --disable-tv-v4l1"
if { use dvb || use v4l || use pvr || use radio; }; then
use dvb || myconf+=" --disable-dvb"
use pvr || myconf+=" --disable-pvr"
use v4l || myconf+=" --disable-tv-v4l2"
if use radio && { use dvb || use v4l; }; then
myconf+="
--enable-radio
$(use_enable encode radio-capture)
"
else
myconf+="
--disable-radio-v4l2
--disable-radio-bsdbt848
"
fi
else
myconf+="
--disable-tv
--disable-tv-v4l2
--disable-radio
--disable-radio-v4l2
--disable-radio-bsdbt848
--disable-dvb
--disable-v4l2
--disable-pvr"
fi

##########
# Codecs #
##########
myconf+=" --disable-musepack" # Use internal musepack codecs for SV7 and SV8 support
myconf+=" --disable-libmpeg2-internal" # always use system media-libs/libmpeg2
use dirac || myconf+=" --disable-libdirac-lavc"
use dts || myconf+=" --disable-libdca"
if ! use mp3; then
myconf+="
--disable-mp3lame
--disable-mp3lame-lavc
--disable-mp3lib
"
fi
uses="a52 bs2b dv gsm lzo rtmp"
for i in ${uses}; do
use ${i} || myconf+=" --disable-lib${i}"
done
use schroedinger || myconf+=" --disable-libschroedinger-lavc"
use amr || myconf+=" --disable-libopencore_amrnb --disable-libopencore_amrwb"

uses="faad gif jpeg libmpeg2 live mad mng mpg123 png pnm speex tga theora xanim"
for i in ${uses}; do
use ${i} || myconf+=" --disable-${i}"
done
use jpeg2k || myconf+=" --disable-libopenjpeg"
if use vorbis || use tremor; then
use tremor || myconf+=" --disable-tremor-internal"
use vorbis || myconf+=" --disable-libvorbis"
else
myconf+="
--disable-tremor-internal
--disable-tremor
--disable-libvorbis
"
fi
use vpx || myconf+=" --disable-libvpx-lavc"
# Encoding
uses="faac x264 xvid toolame twolame"
if use encode; then
for i in ${uses}; do
use ${i} || myconf+=" --disable-${i}"
done
use faac || myconf+=" --disable-faac-lavc"
if use bindist && use faac; then
ewarn "faac is nonfree and cannot be distributed; disabling faac support."
myconf+=" --disable-faac --disable-faac-lavc"
fi
else
myconf+=" --disable-mencoder"
myconf+=" --disable-faac-lavc"
for i in ${uses}; do
myconf+=" --disable-${i}"
use ${i} && elog "Useflag \"${i}\" require \"encode\" useflag enabled to work."
done
fi

#################
# Binary codecs #
#################
# bug 213836
if ! use x86 || ! use win32codecs; then
use quicktime || myconf+=" --disable-qtx"
fi

######################
# RealPlayer support #
######################
# Realplayer support shows up in four places:
# - libavcodec (internal)
# - win32codecs
# - realcodecs (win32codecs libs)
# - realcodecs (realplayer libs)

# internal
use real || myconf+=" --disable-real"

# Real binary codec support only available on x86, amd64
if use real; then
use x86 && myconf+=" --codecsdir=/opt/RealPlayer/codecs"
use amd64 && myconf+=" --codecsdir=/usr/$(get_libdir)/codecs"
fi
myconf+=" $(use_enable win32codecs win32dll)"

################
# Video Output #
################
uses="directfb md5sum sdl"
for i in ${uses}; do
use ${i} || myconf+=" --disable-${i}"
done
use aalib || myconf+=" --disable-aa"
use fbcon || myconf+=" --disable-fbdev"
use fbcon && use video_cards_s3virge && myconf+=" --enable-s3fb"
use libcaca || myconf+=" --disable-caca"
use zoran || myconf+=" --disable-zr"

if ! use kernel_linux || ! use video_cards_mga; then
myconf+=" --disable-mga --disable-xmga"
fi

if use video_cards_tdfx; then
myconf+="
$(use_enable video_cards_tdfx tdfxvid)
$(use_enable fbcon tdfxfb)
"
else
myconf+="
--disable-3dfx
--disable-tdfxvid
--disable-tdfxfb
"
fi

# sun card, disable by default, see bug #258729
myconf+=" --disable-xvr100"

################
# Audio Output #
################
myconf+=" --disable-esd"
uses="alsa jack ladspa nas openal"
for i in ${uses}; do
use ${i} || myconf+=" --disable-${i}"
done
use pulseaudio || myconf+=" --disable-pulse"
if ! use radio; then
use oss || myconf+=" --disable-ossaudio"
fi

####################
# Advanced Options #
####################
# Platform specific flags, hardcoded on amd64 (see below)
use cpudetection && myconf+=" --enable-runtime-cpudetection"

# Turning off CPU optimizations usually will break the build.
# However, this use flag, if enabled, will allow users to completely
# specify which ones to use. If disabled, mplayer will automatically
# enable all CPU optimizations that the host build supports.
if use custom-cpuopts; then
uses="3dnow 3dnowext altivec mmx mmxext shm sse sse2 ssse3"
for i in ${uses}; do
myconf+=" $(use_enable ${i})"
done
fi

use debug && myconf+=" --enable-debug=3"

if use x86 && gcc-specs-pie; then
filter-flags -fPIC -fPIE
append-ldflags -nopie
fi

is-flag -O? || append-flags -O2

# workaround bug, x86 just has too few registers, see c.f.
# http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=402950#44
# and 32-bits OSX, bug 329861
if [[ ${CHOST} == i?86-* ]] ; then
use debug || append-flags -fomit-frame-pointer
fi

###########################
# X enabled configuration #
###########################
myconf+=" --disable-gui"
if use X; then
uses="dxr3 ggi xinerama"
for i in ${uses}; do
use ${i} || myconf+=" --disable-${i}"
done
use dga || myconf+=" --disable-dga1 --disable-dga2"
use opengl || myconf+=" --disable-gl"
use osdmenu && myconf+=" --enable-menu"
use vdpau || myconf+=" --disable-vdpau"
use video_cards_vesa || myconf+=" --disable-vesa"
use vidix || myconf+=" --disable-vidix --disable-vidix-pcidb"
use xscreensaver || myconf+=" --disable-xss"

if use xv; then
if use xvmc; then
myconf+=" --enable-xvmc --with-xvmclib=XvMCW"
else
myconf+=" --disable-xvmc"
fi
else
myconf+="
--disable-xv
--disable-xvmc
"
use xvmc && elog "Disabling xvmc because it requires \"xv\" useflag enabled."
fi
else
myconf+="
--disable-dga1
--disable-dga2
--disable-dxr3
--disable-ggi
--disable-gl
--disable-vdpau
--disable-vidix
--disable-vidix-pcidb
--disable-xinerama
--disable-xss
--disable-xv
--disable-xvmc
--disable-x11
"
uses="dga dxr3 ggi opengl osdmenu vdpau vidix xinerama xscreensaver xv"
for i in ${uses}; do
use ${i} && elog "Useflag \"${i}\" require \"X\" useflag enabled to work."
done
fi

############################
# OSX (aqua) configuration #
############################
if use aqua; then
myconf+="
--enable-macosx-finder
--enable-macosx-bundle
"
fi

###################
# External FFmpeg #
###################
if [[ ${PV} == *9999* ]]; then
use external-ffmpeg && myconf+=" --disable-ffmpeg_a"
fi

myconf="--cc=$(tc-getCC)
--host-cc=$(tc-getBUILD_CC)
--prefix=${EPREFIX}/usr
--bindir=${EPREFIX}/usr/bin
--libdir=${EPREFIX}/usr/$(get_libdir)
--confdir=${EPREFIX}/etc/mplayer
--datadir=${EPREFIX}/usr/share/mplayer${namesuf}
--mandir=${EPREFIX}/usr/share/man
${myconf}"

CFLAGS="${CFLAGS}" ./configure ${myconf} || die
}

src_compile() {
base_src_compile
# Build only user-requested docs if they're available.
if use doc ; then
# select available languages from $LINGUAS
LINGUAS=${LINGUAS/zh/zh_CN}
local ALLOWED_LINGUAS="cs de en es fr hu it pl ru zh_CN"
local BUILT_DOCS=""
for i in ${LINGUAS} ; do
has ${i} ${ALLOWED_LINGUAS} && BUILT_DOCS+=" ${i}"
done
if [[ -z $BUILT_DOCS ]]; then
emake -j1 -C DOCS/xml html-chunked
else
for i in ${BUILT_DOCS}; do
emake -j1 -C DOCS/xml html-chunked-${i}
done
fi
fi
}

src_install() {
local i

emake \
DESTDIR="${D}" \
INSTALLSTRIP="" \
install

dodoc AUTHORS Changelog Copyright README etc/codecs.conf

docinto tech/
dodoc DOCS/tech/{*.txt,MAINTAINERS,mpsub.sub,playtree,TODO,wishlist}
docinto TOOLS/
dodoc -r TOOLS
if use real; then
docinto tech/realcodecs/
dodoc DOCS/tech/realcodecs/*
fi
docinto tech/mirrors/
dodoc DOCS/tech/mirrors/*

if use doc; then
docinto html/
dohtml -r "${S}"/DOCS/HTML/*
fi

if ! use ass && ! use truetype; then
dodir /usr/share/mplayer/fonts
# Do this generic, as the mplayer people like to change the structure
# of their zips ...
for i in $(find "${WORKDIR}/" -type d -name 'font-arial-*'); do
cp -pPR "${i}" "${ED}/usr/share/mplayer/fonts"
done
# Fix the font symlink ...
rm -rf "${ED}/usr/share/mplayer/font"
dosym fonts/font-arial-14-iso-8859-1 /usr/share/mplayer/font
fi

insinto /etc/mplayer
newins "${S}/etc/example.conf" mplayer.conf
cat >> "${ED}/etc/mplayer/mplayer.conf" << _EOF_
# Config options can be section specific, global
# options should go in the default section
[default]
_EOF_
doins "${S}/etc/input.conf"
if use osdmenu; then
doins "${S}/etc/menu.conf"
fi

if use ass || use truetype; then
cat >> "${ED}/etc/mplayer/mplayer.conf" << _EOF_
fontconfig=1
subfont-osd-scale=4
subfont-text-scale=3
_EOF_
fi

# bug 256203
if use rar; then
cat >> "${ED}/etc/mplayer/mplayer.conf" << _EOF_
unrarexec=${EPREFIX}/usr/bin/unrar
_EOF_
fi

dosym ../../../etc/mplayer/mplayer.conf /usr/share/mplayer/mplayer.conf
newbin "${S}/TOOLS/midentify.sh" midentify
}

pkg_preinst() {
[[ -d ${EROOT}/usr/share/mplayer/Skin/default ]] && \
rm -rf "${EROOT}/usr/share/mplayer/Skin/default"
}

pkg_postrm() {
# Cleanup stale symlinks
[ -L "${EROOT}/usr/share/mplayer/font" -a \
! -e "${EROOT}/usr/share/mplayer/font" ] && \
rm -f "${EROOT}/usr/share/mplayer/font"

[ -L "${EROOT}/usr/share/mplayer/subfont.ttf" -a \
! -e "${EROOT}/usr/share/mplayer/subfont.ttf" ] && \
rm -f "${EROOT}/usr/share/mplayer/subfont.ttf"
}

mplayer-1.0_rc4_p20120213.ebuild

# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/media-video/mplayer/mplayer-1.0_rc4_p20120213.ebuild,v 1.5 2012/05/05 08:58:52 jdhore Exp $

EAPI=4

EGIT_REPO_URI="git://git.videolan.org/ffmpeg.git"
ESVN_REPO_URI="svn://svn.mplayerhq.hu/mplayer/trunk"
[[ ${PV} = *9999* ]] && SVN_ECLASS="subversion git-2" || SVN_ECLASS=""

inherit toolchain-funcs eutils flag-o-matic multilib base ${SVN_ECLASS}

IUSE="3dnow 3dnowext +a52 aalib +alsa altivec aqua +ass bidi bindist bl bluray
bs2b cddb +cdio cdparanoia cpudetection debug dga
directfb doc +dts +dv dvb +dvd +dvdnav dxr3 +enca +encode faac +faad fbcon
ftp gif ggi gsm +iconv ipv6 jack joystick jpeg jpeg2k kernel_linux ladspa
libcaca libmpeg2 lirc +live lzo mad md5sum +mmx mmxext mng +mp3 nas
+network nut openal +opengl +osdmenu oss png pnm pulseaudio pvr +quicktime
radio +rar +real +rtc rtmp samba +shm sdl +speex sse sse2 ssse3
tga +theora +tremor +truetype +toolame +twolame +unicode v4l vdpau vidix
+vorbis win32codecs +X +x264 xanim xinerama +xscreensaver +xv +xvid xvmc
zoran"

VIDEO_CARDS="s3virge mga tdfx"
for x in ${VIDEO_CARDS}; do
IUSE+=" video_cards_${x}"
done

FONT_URI="
mirror://mplayer/releases/fonts/font-arial-iso-8859-1.tar.bz2
mirror://mplayer/releases/fonts/font-arial-iso-8859-2.tar.bz2
mirror://mplayer/releases/fonts/font-arial-cp1250.tar.bz2
"
if [[ ${PV} == *9999* ]]; then
RELEASE_URI=""
else
RELEASE_URI="mirror://gentoo/${P}.tar.xz"
fi
SRC_URI="${RELEASE_URI}
!truetype? ( ${FONT_URI} )"

DESCRIPTION="Media Player for Linux"
HOMEPAGE="http://www.mplayerhq.hu/"

FONT_RDEPS="
virtual/ttf-fonts
media-libs/fontconfig
>=media-libs/freetype-2.2.1:2
"
X_RDEPS="
x11-libs/libXext
x11-libs/libXxf86vm
"
# Rar: althrought -gpl version is nice, it cant do most functions normal rars can
# nemesi? ( net-libs/libnemesi )
RDEPEND+="
sys-libs/ncurses
app-arch/bzip2
sys-libs/zlib
>=media-video/ffmpeg-0.10
!bindist? (
x86? (
win32codecs? ( media-libs/win32codecs )
)
)
a52? ( media-libs/a52dec )
aalib? ( media-libs/aalib )
alsa? ( media-libs/alsa-lib )
ass? ( >=media-libs/libass-0.9.10[enca?] )
bidi? ( dev-libs/fribidi )
bluray? ( >=media-libs/libbluray-0.2.1 )
bs2b? ( media-libs/libbs2b )
cdio? ( dev-libs/libcdio )
cdparanoia? ( !cdio? ( media-sound/cdparanoia ) )
dga? ( x11-libs/libXxf86dga )
directfb? ( dev-libs/DirectFB )
dts? ( media-libs/libdca )
dv? ( media-libs/libdv )
dvb? ( virtual/linuxtv-dvb-headers )
dvd? ( >=media-libs/libdvdread-4.1.3 )
dvdnav? ( >=media-libs/libdvdnav-4.1.3 )
encode? (
!twolame? ( toolame? ( media-sound/toolame ) )
twolame? ( media-sound/twolame )
faac? ( media-libs/faac )
mp3? ( media-sound/lame )
x264? ( >=media-libs/x264-0.0.20100423 )
xvid? ( media-libs/xvid )
)
enca? ( app-i18n/enca )
faad? ( media-libs/faad2 )
ggi? ( media-libs/libggi media-libs/libggiwmh )
gif? ( media-libs/giflib )
gsm? ( media-sound/gsm )
iconv? ( virtual/libiconv )
jack? ( media-sound/jack-audio-connection-kit )
jpeg? ( virtual/jpeg )
jpeg2k? ( media-libs/openjpeg )
ladspa? ( media-libs/ladspa-sdk )
libcaca? ( media-libs/libcaca )
libmpeg2? ( media-libs/libmpeg2 )
lirc? ( app-misc/lirc )
live? ( media-plugins/live )
lzo? ( >=dev-libs/lzo-2 )
mad? ( media-libs/libmad )
mng? ( media-libs/libmng )
mp3? ( media-sound/mpg123 )
nas? ( media-libs/nas )
nut? ( >=media-libs/libnut-661 )
openal? ( media-libs/openal )
opengl? ( virtual/opengl )
png? ( media-libs/libpng )
pnm? ( media-libs/netpbm )
pulseaudio? ( media-sound/pulseaudio )
rar? (
|| (
app-arch/unrar
app-arch/rar
)
)
rtmp? ( media-video/rtmpdump )
samba? ( net-fs/samba )
sdl? ( media-libs/libsdl )
speex? ( media-libs/speex )
theora? ( media-libs/libtheora[encode?] )
truetype? ( ${FONT_RDEPS} )
vdpau? ( x11-libs/libvdpau )
vorbis? ( media-libs/libvorbis )
X? ( ${X_RDEPS} )
xanim? ( media-video/xanim )
xinerama? ( x11-libs/libXinerama )
xscreensaver? ( x11-libs/libXScrnSaver )
xv? ( x11-libs/libXv )
xvmc? ( x11-libs/libXvMC )
"

X_DEPS="
x11-proto/videoproto
x11-proto/xf86vidmodeproto
"
ASM_DEP="dev-lang/yasm"
DEPEND="${RDEPEND}
virtual/pkgconfig
dga? ( x11-proto/xf86dgaproto )
dxr3? ( media-video/em8300-libraries )
X? ( ${X_DEPS} )
xinerama? ( x11-proto/xineramaproto )
xscreensaver? ( x11-proto/scrnsaverproto )
amd64? ( ${ASM_DEP} )
doc? (
dev-libs/libxslt app-text/docbook-xml-dtd
app-text/docbook-xsl-stylesheets
)
x86? ( ${ASM_DEP} )
x86-fbsd? ( ${ASM_DEP} )
"

SLOT="0"
LICENSE="GPL-2"
if [[ ${PV} != *9999* ]]; then
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~sparc ~x86 ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~x86-solaris"
else
KEYWORDS=""
fi

# faac codecs are nonfree, win32codecs are nonfree
# libcdio support: prefer libcdio over cdparanoia and don't check for cddb w/cdio
# dvd navigation requires dvd read support
# ass and freetype font require iconv and ass requires freetype fonts
# unicode transformations are usefull only with iconv
# libvorbis require external tremor to work
# radio requires oss or alsa backend
# xvmc requires xvideo support
REQUIRED_USE="bindist? ( !faac !win32codecs )
dvdnav? ( dvd )
ass? ( truetype )
truetype? ( iconv )
dxr3? ( X )
ggi? ( X )
xinerama? ( X )
dga? ( X )
opengl? ( X )
osdmenu? ( X )
vdpau? ( X )
vidix? ( X )
xscreensaver? ( X )
xv? ( X )
xvmc? ( xv )"

PATCHES=( "${FILESDIR}/ffmpeg.patch" )

pkg_setup() {
if [[ ${PV} == *9999* ]]; then
elog
elog "This is a live ebuild which installs the latest from upstream's"
elog "subversion repository, and is unsupported by Gentoo."
elog "Everything but bugs in the ebuild itself will be ignored."
elog
fi

if use cpudetection; then
ewarn
ewarn "You've enabled the cpudetection flag. This feature is"
ewarn "included mainly for people who want to use the same"
ewarn "binary on another system with a different CPU architecture."
ewarn "MPlayer will already detect your CPU settings by default at"
ewarn "buildtime; this flag is used for runtime detection."
ewarn "You won't need this turned on if you are only building"
ewarn "mplayer for this system. Also, if your compile fails, try"
ewarn "disabling this use flag."
fi
}

src_unpack() {
if [[ ${PV} = *9999* ]]; then
subversion_src_unpack
cd "${WORKDIR}"
rm -rf "${WORKDIR}/${P}/ffmpeg/"
( S="${WORKDIR}/${P}/ffmpeg/" git-2_src_unpack )
cd "${S}"
cp "${FILESDIR}/dump_ffmpeg.sh" . || die
chmod +x dump_ffmpeg.sh
./dump_ffmpeg.sh || die
else
unpack ${A}
fi

if ! use truetype; then
unpack font-arial-iso-8859-1.tar.bz2 \
font-arial-iso-8859-2.tar.bz2 \
font-arial-cp1250.tar.bz2
fi
}

src_prepare() {
local svf=snapshot_version
if [[ ${PV} = *9999* ]]; then
# Set SVN version manually
subversion_wc_info
printf "${ESVN_WC_REVISION}" > $svf
fi
[ -f "$svf" ] || die "Missing ${svf}. Did you generate your snapshot with prepare_mplayer.sh?"
local sv=$(<$svf)
printf "SVN-r${sv} (Gentoo)" > VERSION

# fix path to bash executable in configure scripts
sed -i -e "1c\#!${EPREFIX}/bin/bash" configure version.sh || die

base_src_prepare
}

src_configure() {
local myconf=""
local uses i

# set LINGUAS
[[ -n $LINGUAS ]] && LINGUAS="${LINGUAS/da/dk}"

# mplayer ebuild uses "use foo || --disable-foo" to forcibly disable
# compilation in almost every situation. The reason for this is
# because if --enable is used, it will force the build of that option,
# regardless of whether the dependency is available or not.

###################
#Optional features#
###################
# disable svga since we don't want it
# disable arts since we don't have kde3
# always disable internal ass
myconf+="
--disable-svga --disable-svgalib_helper
--disable-ass-internal
--disable-arts
--disable-kai
$(use_enable network networking)
$(use_enable joystick)
"
uses="ass bl bluray enca ftp rtc" # nemesi <- not working with in-tree ebuild
myconf+=" --disable-nemesi" # nemesi automagic disable
for i in ${uses}; do
use ${i} || myconf+=" --disable-${i}"
done
use bidi || myconf+=" --disable-fribidi"
use ipv6 || myconf+=" --disable-inet6"
use nut || myconf+=" --disable-libnut"
use rar || myconf+=" --disable-unrarexec"
use samba || myconf+=" --disable-smb"
use lirc || myconf+=" --disable-lirc --disable-lircc --disable-apple-ir"

# libcdio support: prefer libcdio over cdparanoia
# don't check for cddb w/cdio
if use cdio; then
myconf+=" --disable-cdparanoia"
else
myconf+=" --disable-libcdio"
use cdparanoia || myconf+=" --disable-cdparanoia"
use cddb || myconf+=" --disable-cddb"
fi

################################
# DVD read, navigation support #
################################
#
# dvdread - accessing a DVD
# dvdnav - navigation of menus
#
# use external libdvdcss, dvdread and dvdnav
myconf+=" --disable-dvdread-internal --disable-libdvdcss-internal"
use dvd || myconf+=" --disable-dvdread"
use dvdnav || myconf+=" --disable-dvdnav"

#############
# Subtitles #
#############
#
# SRT/ASS/SSA (subtitles) requires freetype support
# freetype support requires iconv
# iconv optionally can use unicode
use truetype || myconf+=" --disable-freetype"
use iconv || myconf+=" --disable-iconv --charset=noconv"
use iconv && use unicode && myconf+=" --charset=UTF-8"

#####################################
# DVB / Video4Linux / Radio support #
#####################################
myconf+=" --disable-tv-bsdbt848"
# broken upstream, won't work with recent kernels
myconf+=" --disable-ivtv"
# gone since linux-headers-2.6.38
myconf+=" --disable-tv-v4l1"
if { use dvb || use v4l || use pvr || use radio; }; then
use dvb || myconf+=" --disable-dvb"
use pvr || myconf+=" --disable-pvr"
use v4l || myconf+=" --disable-tv-v4l2"
if use radio && { use dvb || use v4l; }; then
myconf+="
--enable-radio
$(use_enable encode radio-capture)
"
else
myconf+="
--disable-radio-v4l2
--disable-radio-bsdbt848
"
fi
else
myconf+="
--disable-tv
--disable-tv-v4l2
--disable-radio
--disable-radio-v4l2
--disable-radio-bsdbt848
--disable-dvb
--disable-v4l2
--disable-pvr"
fi

##########
# Codecs #
##########
myconf+=" --disable-musepack" # Use internal musepack codecs for SV7 and SV8 support
myconf+=" --disable-libmpeg2-internal" # always use system media-libs/libmpeg2
use dts || myconf+=" --disable-libdca"
# Disable internal mp3lib, bug #384849
# Samuli Suominen: Looks like MPlayer in Portage is using internal mp3lib by
# default, where as mpg123 upstream has incorporated all the optimizations
# from mplayer's mp3lib in libmpg123 and more.
# It makes very little sense to use the internal copy as default anymore.
myconf+=" --disable-mp3lib"
if ! use mp3; then
myconf+="
--disable-mp3lame
--disable-mpg123
"
fi
uses="a52 bs2b dv gsm lzo rtmp"
for i in ${uses}; do
use ${i} || myconf+=" --disable-lib${i}"
done

uses="faad gif jpeg libmpeg2 live mad mng png pnm speex tga theora xanim"
for i in ${uses}; do
use ${i} || myconf+=" --disable-${i}"
done
use jpeg2k || myconf+=" --disable-libopenjpeg"
if use vorbis || use tremor; then
use tremor || myconf+=" --disable-tremor-internal"
use vorbis || myconf+=" --disable-libvorbis"
else
myconf+="
--disable-tremor-internal
--disable-tremor
--disable-libvorbis
"
fi
# Encoding
uses="faac x264 xvid toolame twolame"
if use encode; then
for i in ${uses}; do
use ${i} || myconf+=" --disable-${i}"
done
else
myconf+=" --disable-mencoder"
for i in ${uses}; do
myconf+=" --disable-${i}"
use ${i} && elog "Useflag \"${i}\" will only be useful for encoding, i.e., with \"encode\" useflag enabled."
done
fi

#################
# Binary codecs #
#################
# bug 213836
if ! use x86 || ! use win32codecs; then
use quicktime || myconf+=" --disable-qtx"
fi

######################
# RealPlayer support #
######################
# Realplayer support shows up in four places:
# - libavcodec (internal)
# - win32codecs
# - realcodecs (win32codecs libs)
# - realcodecs (realplayer libs)

# internal
use real || myconf+=" --disable-real"

# Real binary codec support only available on x86, amd64
if use real; then
use x86 && myconf+=" --codecsdir=/opt/RealPlayer/codecs"
use amd64 && myconf+=" --codecsdir=/usr/$(get_libdir)/codecs"
fi
myconf+=" $(use_enable win32codecs win32dll)"

################
# Video Output #
################
uses="directfb md5sum sdl"
for i in ${uses}; do
use ${i} || myconf+=" --disable-${i}"
done
use aalib || myconf+=" --disable-aa"
use fbcon || myconf+=" --disable-fbdev"
use fbcon && use video_cards_s3virge && myconf+=" --enable-s3fb"
use libcaca || myconf+=" --disable-caca"
use zoran || myconf+=" --disable-zr"

if ! use kernel_linux || ! use video_cards_mga; then
myconf+=" --disable-mga --disable-xmga"
fi

if use video_cards_tdfx; then
myconf+="
$(use_enable video_cards_tdfx tdfxvid)
$(use_enable fbcon tdfxfb)
"
else
myconf+="
--disable-3dfx
--disable-tdfxvid
--disable-tdfxfb
"
fi

# sun card, disable by default, see bug #258729
myconf+=" --disable-xvr100"

################
# Audio Output #
################
myconf+=" --disable-esd"
uses="alsa jack ladspa nas openal"
for i in ${uses}; do
use ${i} || myconf+=" --disable-${i}"
done
use pulseaudio || myconf+=" --disable-pulse"
if ! use radio; then
use oss || myconf+=" --disable-ossaudio"
fi

####################
# Advanced Options #
####################
# Platform specific flags, hardcoded on amd64 (see below)
use cpudetection && myconf+=" --enable-runtime-cpudetection"

uses="3dnow 3dnowext altivec mmx mmxext shm sse sse2 ssse3"
for i in ${uses}; do
myconf+=" $(use_enable ${i})"
done

use debug && myconf+=" --enable-debug=3"

if use x86 && gcc-specs-pie; then
filter-flags -fPIC -fPIE
append-ldflags -nopie
fi

###########################
# X enabled configuration #
###########################
myconf+=" --disable-gui"
myconf+=" --disable-vesa"
uses="dxr3 ggi vdpau xinerama xv"
for i in ${uses}; do
use ${i} || myconf+=" --disable-${i}"
done
use dga || myconf+=" --disable-dga1 --disable-dga2"
use opengl || myconf+=" --disable-gl"
use osdmenu && myconf+=" --enable-menu"
use vidix || myconf+=" --disable-vidix --disable-vidix-pcidb"
use xscreensaver || myconf+=" --disable-xss"
use X || myconf+=" --disable-x11"
if use xvmc; then
myconf+=" --enable-xvmc --with-xvmclib=XvMCW"
else
myconf+=" --disable-xvmc"
fi

############################
# OSX (aqua) configuration #
############################
if use aqua; then
myconf+="
--enable-macosx-finder
--enable-macosx-bundle
"
fi

./configure \
--cc="$(tc-getCC)" \
--host-cc="$(tc-getBUILD_CC)" \
--prefix="${EPREFIX}/usr" \
--bindir="${EPREFIX}/usr/bin" \
--libdir="${EPREFIX}/usr/$(get_libdir)" \
--confdir="${EPREFIX}/etc/mplayer" \
--datadir="${EPREFIX}/usr/share/mplayer${namesuf}" \
--mandir="${EPREFIX}/usr/share/man" \
--disable-ffmpeg_a \
${myconf} || die
}

src_compile() {
base_src_compile
# Build only user-requested docs if they're available.
if use doc ; then
# select available languages from $LINGUAS
LINGUAS=${LINGUAS/zh/zh_CN}
local ALLOWED_LINGUAS="cs de en es fr hu it pl ru zh_CN"
local BUILT_DOCS=""
for i in ${LINGUAS} ; do
has ${i} ${ALLOWED_LINGUAS} && BUILT_DOCS+=" ${i}"
done
if [[ -z $BUILT_DOCS ]]; then
emake -j1 html-chunked
else
for i in ${BUILT_DOCS}; do
emake -j1 html-chunked-${i}
done
fi
fi
}

src_install() {
local i

emake \
DESTDIR="${D}" \
INSTALLSTRIP="" \
install

dodoc AUTHORS Changelog Copyright README etc/codecs.conf

docinto tech/
dodoc DOCS/tech/{*.txt,MAINTAINERS,mpsub.sub,playtree,TODO,wishlist}
docinto TOOLS/
dodoc -r TOOLS
if use real; then
docinto tech/realcodecs/
dodoc DOCS/tech/realcodecs/*
fi
docinto tech/mirrors/
dodoc DOCS/tech/mirrors/*

if use doc; then
docinto html/
dohtml -r "${S}"/DOCS/HTML/*
fi

if ! use truetype; then
dodir /usr/share/mplayer/fonts
# Do this generic, as the mplayer people like to change the structure
# of their zips ...
for i in $(find "${WORKDIR}/" -type d -name 'font-arial-*'); do
cp -pPR "${i}" "${ED}/usr/share/mplayer/fonts"
done
# Fix the font symlink ...
rm -rf "${ED}/usr/share/mplayer/font"
dosym fonts/font-arial-14-iso-8859-1 /usr/share/mplayer/font
fi

insinto /etc/mplayer
newins "${S}/etc/example.conf" mplayer.conf
cat >> "${ED}/etc/mplayer/mplayer.conf" << _EOF_
# Config options can be section specific, global
# options should go in the default section
[default]
_EOF_
doins "${S}/etc/input.conf"
if use osdmenu; then
doins "${S}/etc/menu.conf"
fi

if use truetype; then
cat >> "${ED}/etc/mplayer/mplayer.conf" << _EOF_
fontconfig=1
subfont-osd-scale=4
subfont-text-scale=3
_EOF_
fi

# bug 256203
if use rar; then
cat >> "${ED}/etc/mplayer/mplayer.conf" << _EOF_
unrarexec=${EPREFIX}/usr/bin/unrar
_EOF_
fi

dosym ../../../etc/mplayer/mplayer.conf /usr/share/mplayer/mplayer.conf
newbin "${S}/TOOLS/midentify.sh" midentify
}

pkg_preinst() {
[[ -d ${EROOT}/usr/share/mplayer/Skin/default ]] && \
rm -rf "${EROOT}/usr/share/mplayer/Skin/default"
}

pkg_postrm() {
# Cleanup stale symlinks
[ -L "${EROOT}/usr/share/mplayer/font" -a \
! -e "${EROOT}/usr/share/mplayer/font" ] && \
rm -f "${EROOT}/usr/share/mplayer/font"

[ -L "${EROOT}/usr/share/mplayer/subfont.ttf" -a \
! -e "${EROOT}/usr/share/mplayer/subfont.ttf" ] && \
rm -f "${EROOT}/usr/share/mplayer/subfont.ttf"
}

mplayer-1.0_rc4_p20120405.ebuild

# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/media-video/mplayer/mplayer-1.0_rc4_p20120405.ebuild,v 1.5 2012/05/05 08:58:52 jdhore Exp $

EAPI=4

EGIT_REPO_URI="git://git.videolan.org/ffmpeg.git"
ESVN_REPO_URI="svn://svn.mplayerhq.hu/mplayer/trunk"
[[ ${PV} = *9999* ]] && SVN_ECLASS="subversion git-2" || SVN_ECLASS=""

inherit toolchain-funcs eutils flag-o-matic multilib base ${SVN_ECLASS}

IUSE="3dnow 3dnowext +a52 aalib +alsa altivec aqua +ass bidi bindist bl bluray
bs2b cddb +cdio cdparanoia cpudetection debug dga
directfb doc +dts +dv dvb +dvd +dvdnav dxr3 +enca +encode faac +faad fbcon
ftp gif ggi gsm +iconv ipv6 jack joystick jpeg jpeg2k kernel_linux ladspa
libcaca libmpeg2 lirc +live lzo mad md5sum +mmx mmxext mng +mp3 nas
+network nut openal +opengl +osdmenu oss png pnm pulseaudio pvr +quicktime
radio +rar +real +rtc rtmp samba +shm sdl +speex sse sse2 ssse3
tga +theora +tremor +truetype +toolame +twolame +unicode v4l vdpau vidix
+vorbis win32codecs +X +x264 xanim xinerama +xscreensaver +xv +xvid xvmc
zoran"

VIDEO_CARDS="s3virge mga tdfx"
for x in ${VIDEO_CARDS}; do
IUSE+=" video_cards_${x}"
done

FONT_URI="
mirror://mplayer/releases/fonts/font-arial-iso-8859-1.tar.bz2
mirror://mplayer/releases/fonts/font-arial-iso-8859-2.tar.bz2
mirror://mplayer/releases/fonts/font-arial-cp1250.tar.bz2
"
if [[ ${PV} == *9999* ]]; then
RELEASE_URI=""
else
RELEASE_URI="mirror://gentoo/${P}.tar.xz"
fi
SRC_URI="${RELEASE_URI}
!truetype? ( ${FONT_URI} )"

DESCRIPTION="Media Player for Linux"
HOMEPAGE="http://www.mplayerhq.hu/"

FONT_RDEPS="
virtual/ttf-fonts
media-libs/fontconfig
>=media-libs/freetype-2.2.1:2
"
X_RDEPS="
x11-libs/libXext
x11-libs/libXxf86vm
"
# Rar: althrought -gpl version is nice, it cant do most functions normal rars can
# nemesi? ( net-libs/libnemesi )
RDEPEND+="
sys-libs/ncurses
app-arch/bzip2
sys-libs/zlib
>=media-video/ffmpeg-0.10.2
!bindist? (
x86? (
win32codecs? ( media-libs/win32codecs )
)
)
a52? ( media-libs/a52dec )
aalib? ( media-libs/aalib )
alsa? ( media-libs/alsa-lib )
ass? ( >=media-libs/libass-0.9.10[enca?] )
bidi? ( dev-libs/fribidi )
bluray? ( >=media-libs/libbluray-0.2.1 )
bs2b? ( media-libs/libbs2b )
cdio? ( dev-libs/libcdio )
cdparanoia? ( !cdio? ( media-sound/cdparanoia ) )
dga? ( x11-libs/libXxf86dga )
directfb? ( dev-libs/DirectFB )
dts? ( media-libs/libdca )
dv? ( media-libs/libdv )
dvb? ( virtual/linuxtv-dvb-headers )
dvd? ( >=media-libs/libdvdread-4.1.3 )
dvdnav? ( >=media-libs/libdvdnav-4.1.3 )
encode? (
!twolame? ( toolame? ( media-sound/toolame ) )
twolame? ( media-sound/twolame )
faac? ( media-libs/faac )
mp3? ( media-sound/lame )
x264? ( >=media-libs/x264-0.0.20100423 )
xvid? ( media-libs/xvid )
)
enca? ( app-i18n/enca )
faad? ( media-libs/faad2 )
ggi? ( media-libs/libggi media-libs/libggiwmh )
gif? ( media-libs/giflib )
gsm? ( media-sound/gsm )
iconv? ( virtual/libiconv )
jack? ( media-sound/jack-audio-connection-kit )
jpeg? ( virtual/jpeg )
jpeg2k? ( media-libs/openjpeg )
ladspa? ( media-libs/ladspa-sdk )
libcaca? ( media-libs/libcaca )
libmpeg2? ( media-libs/libmpeg2 )
lirc? ( app-misc/lirc )
live? ( media-plugins/live )
lzo? ( >=dev-libs/lzo-2 )
mad? ( media-libs/libmad )
mng? ( media-libs/libmng )
mp3? ( media-sound/mpg123 )
nas? ( media-libs/nas )
nut? ( >=media-libs/libnut-661 )
openal? ( media-libs/openal )
opengl? ( virtual/opengl )
png? ( media-libs/libpng )
pnm? ( media-libs/netpbm )
pulseaudio? ( media-sound/pulseaudio )
rar? (
|| (
app-arch/unrar
app-arch/rar
)
)
rtmp? ( media-video/rtmpdump )
samba? ( net-fs/samba )
sdl? ( media-libs/libsdl )
speex? ( media-libs/speex )
theora? ( media-libs/libtheora[encode?] )
truetype? ( ${FONT_RDEPS} )
vdpau? ( x11-libs/libvdpau )
vorbis? ( media-libs/libvorbis )
X? ( ${X_RDEPS} )
xanim? ( media-video/xanim )
xinerama? ( x11-libs/libXinerama )
xscreensaver? ( x11-libs/libXScrnSaver )
xv? ( x11-libs/libXv )
xvmc? ( x11-libs/libXvMC )
"

X_DEPS="
x11-proto/videoproto
x11-proto/xf86vidmodeproto
"
ASM_DEP="dev-lang/yasm"
DEPEND="${RDEPEND}
virtual/pkgconfig
dga? ( x11-proto/xf86dgaproto )
dxr3? ( media-video/em8300-libraries )
X? ( ${X_DEPS} )
xinerama? ( x11-proto/xineramaproto )
xscreensaver? ( x11-proto/scrnsaverproto )
amd64? ( ${ASM_DEP} )
doc? (
dev-libs/libxslt app-text/docbook-xml-dtd
app-text/docbook-xsl-stylesheets
)
x86? ( ${ASM_DEP} )
x86-fbsd? ( ${ASM_DEP} )
"

SLOT="0"
LICENSE="GPL-2"
if [[ ${PV} != *9999* ]]; then
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~sparc ~x86 ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~x86-solaris"
else
KEYWORDS=""
fi

# faac codecs are nonfree, win32codecs are nonfree
# libcdio support: prefer libcdio over cdparanoia and don't check for cddb w/cdio
# dvd navigation requires dvd read support
# ass and freetype font require iconv and ass requires freetype fonts
# unicode transformations are usefull only with iconv
# libvorbis require external tremor to work
# radio requires oss or alsa backend
# xvmc requires xvideo support
REQUIRED_USE="bindist? ( !faac !win32codecs )
dvdnav? ( dvd )
ass? ( truetype )
truetype? ( iconv )
dxr3? ( X )
ggi? ( X )
xinerama? ( X )
dga? ( X )
opengl? ( X )
osdmenu? ( X )
vdpau? ( X )
vidix? ( X )
xscreensaver? ( X )
xv? ( X )
xvmc? ( xv )"

PATCHES=(
"${FILESDIR}/ffmpeg.patch"
"${FILESDIR}/ffmpeg2.patch"
"${FILESDIR}/${PN}-1.0_rc4-pkg-config.patch"
)

pkg_setup() {
if [[ ${PV} == *9999* ]]; then
elog
elog "This is a live ebuild which installs the latest from upstream's"
elog "subversion repository, and is unsupported by Gentoo."
elog "Everything but bugs in the ebuild itself will be ignored."
elog
fi

if use cpudetection; then
ewarn
ewarn "You've enabled the cpudetection flag. This feature is"
ewarn "included mainly for people who want to use the same"
ewarn "binary on another system with a different CPU architecture."
ewarn "MPlayer will already detect your CPU settings by default at"
ewarn "buildtime; this flag is used for runtime detection."
ewarn "You won't need this turned on if you are only building"
ewarn "mplayer for this system. Also, if your compile fails, try"
ewarn "disabling this use flag."
fi
}

src_unpack() {
if [[ ${PV} = *9999* ]]; then
subversion_src_unpack
cd "${WORKDIR}"
rm -rf "${WORKDIR}/${P}/ffmpeg/"
( S="${WORKDIR}/${P}/ffmpeg/" git-2_src_unpack )
cd "${S}"
cp "${FILESDIR}/dump_ffmpeg.sh" . || die
chmod +x dump_ffmpeg.sh
./dump_ffmpeg.sh || die
else
unpack ${A}
fi

if ! use truetype; then
unpack font-arial-iso-8859-1.tar.bz2 \
font-arial-iso-8859-2.tar.bz2 \
font-arial-cp1250.tar.bz2
fi
}

src_prepare() {
local svf=snapshot_version
if [[ ${PV} = *9999* ]]; then
# Set SVN version manually
subversion_wc_info
printf "${ESVN_WC_REVISION}" > $svf
fi
[ -f "$svf" ] || die "Missing ${svf}. Did you generate your snapshot with prepare_mplayer.sh?"
local sv=$(<$svf)
printf "SVN-r${sv} (Gentoo)" > VERSION

# fix path to bash executable in configure scripts
sed -i -e "1c\#!${EPREFIX}/bin/bash" configure version.sh || die

base_src_prepare
}

src_configure() {
local myconf=""
local uses i

# set LINGUAS
[[ -n $LINGUAS ]] && LINGUAS="${LINGUAS/da/dk}"

# mplayer ebuild uses "use foo || --disable-foo" to forcibly disable
# compilation in almost every situation. The reason for this is
# because if --enable is used, it will force the build of that option,
# regardless of whether the dependency is available or not.

###################
#Optional features#
###################
# disable svga since we don't want it
# disable arts since we don't have kde3
# always disable internal ass
myconf+="
--disable-svga --disable-svgalib_helper
--disable-ass-internal
--disable-arts
--disable-kai
$(use_enable network networking)
$(use_enable joystick)
"
uses="ass bl bluray enca ftp rtc" # nemesi <- not working with in-tree ebuild
myconf+=" --disable-nemesi" # nemesi automagic disable
for i in ${uses}; do
use ${i} || myconf+=" --disable-${i}"
done
use bidi || myconf+=" --disable-fribidi"
use ipv6 || myconf+=" --disable-inet6"
use nut || myconf+=" --disable-libnut"
use rar || myconf+=" --disable-unrarexec"
use samba || myconf+=" --disable-smb"
use lirc || myconf+=" --disable-lirc --disable-lircc --disable-apple-ir"

# libcdio support: prefer libcdio over cdparanoia
# don't check for cddb w/cdio
if use cdio; then
myconf+=" --disable-cdparanoia"
else
myconf+=" --disable-libcdio"
use cdparanoia || myconf+=" --disable-cdparanoia"
use cddb || myconf+=" --disable-cddb"
fi

################################
# DVD read, navigation support #
################################
#
# dvdread - accessing a DVD
# dvdnav - navigation of menus
#
# use external libdvdcss, dvdread and dvdnav
myconf+=" --disable-dvdread-internal --disable-libdvdcss-internal"
use dvd || myconf+=" --disable-dvdread"
use dvdnav || myconf+=" --disable-dvdnav"

#############
# Subtitles #
#############
#
# SRT/ASS/SSA (subtitles) requires freetype support
# freetype support requires iconv
# iconv optionally can use unicode
use truetype || myconf+=" --disable-freetype"
use iconv || myconf+=" --disable-iconv --charset=noconv"
use iconv && use unicode && myconf+=" --charset=UTF-8"

#####################################
# DVB / Video4Linux / Radio support #
#####################################
myconf+=" --disable-tv-bsdbt848"
# broken upstream, won't work with recent kernels
myconf+=" --disable-ivtv"
# gone since linux-headers-2.6.38
myconf+=" --disable-tv-v4l1"
if { use dvb || use v4l || use pvr || use radio; }; then
use dvb || myconf+=" --disable-dvb"
use pvr || myconf+=" --disable-pvr"
use v4l || myconf+=" --disable-tv-v4l2"
if use radio && { use dvb || use v4l; }; then
myconf+="
--enable-radio
$(use_enable encode radio-capture)
"
else
myconf+="
--disable-radio-v4l2
--disable-radio-bsdbt848
"
fi
else
myconf+="
--disable-tv
--disable-tv-v4l2
--disable-radio
--disable-radio-v4l2
--disable-radio-bsdbt848
--disable-dvb
--disable-v4l2
--disable-pvr"
fi

##########
# Codecs #
##########
myconf+=" --disable-musepack" # Use internal musepack codecs for SV7 and SV8 support
myconf+=" --disable-libmpeg2-internal" # always use system media-libs/libmpeg2
use dts || myconf+=" --disable-libdca"
# Disable internal mp3lib, bug #384849
# Samuli Suominen: Looks like MPlayer in Portage is using internal mp3lib by
# default, where as mpg123 upstream has incorporated all the optimizations
# from mplayer's mp3lib in libmpg123 and more.
# It makes very little sense to use the internal copy as default anymore.
myconf+=" --disable-mp3lib"
if ! use mp3; then
myconf+="
--disable-mp3lame
--disable-mpg123
"
fi
uses="a52 bs2b dv gsm lzo rtmp"
for i in ${uses}; do
use ${i} || myconf+=" --disable-lib${i}"
done

uses="faad gif jpeg libmpeg2 live mad mng png pnm speex tga theora xanim"
for i in ${uses}; do
use ${i} || myconf+=" --disable-${i}"
done
use jpeg2k || myconf+=" --disable-libopenjpeg"
if use vorbis || use tremor; then
use tremor || myconf+=" --disable-tremor-internal"
use vorbis || myconf+=" --disable-libvorbis"
else
myconf+="
--disable-tremor-internal
--disable-tremor
--disable-libvorbis
"
fi
# Encoding
uses="faac x264 xvid toolame twolame"
if use encode; then
for i in ${uses}; do
use ${i} || myconf+=" --disable-${i}"
done
else
myconf+=" --disable-mencoder"
for i in ${uses}; do
myconf+=" --disable-${i}"
use ${i} && elog "Useflag \"${i}\" will only be useful for encoding, i.e., with \"encode\" useflag enabled."
done
fi

#################
# Binary codecs #
#################
# bug 213836
if ! use x86 || ! use win32codecs; then
use quicktime || myconf+=" --disable-qtx"
fi

######################
# RealPlayer support #
######################
# Realplayer support shows up in four places:
# - libavcodec (internal)
# - win32codecs
# - realcodecs (win32codecs libs)
# - realcodecs (realplayer libs)

# internal
use real || myconf+=" --disable-real"

# Real binary codec support only available on x86, amd64
if use real; then
use x86 && myconf+=" --codecsdir=/opt/RealPlayer/codecs"
use amd64 && myconf+=" --codecsdir=/usr/$(get_libdir)/codecs"
fi
myconf+=" $(use_enable win32codecs win32dll)"

################
# Video Output #
################
uses="directfb md5sum sdl"
for i in ${uses}; do
use ${i} || myconf+=" --disable-${i}"
done
use aalib || myconf+=" --disable-aa"
use fbcon || myconf+=" --disable-fbdev"
use fbcon && use video_cards_s3virge && myconf+=" --enable-s3fb"
use libcaca || myconf+=" --disable-caca"
use zoran || myconf+=" --disable-zr"

if ! use kernel_linux || ! use video_cards_mga; then
myconf+=" --disable-mga --disable-xmga"
fi

if use video_cards_tdfx; then
myconf+="
$(use_enable video_cards_tdfx tdfxvid)
$(use_enable fbcon tdfxfb)
"
else
myconf+="
--disable-3dfx
--disable-tdfxvid
--disable-tdfxfb
"
fi

# sun card, disable by default, see bug #258729
myconf+=" --disable-xvr100"

################
# Audio Output #
################
myconf+=" --disable-esd"
uses="alsa jack ladspa nas openal"
for i in ${uses}; do
use ${i} || myconf+=" --disable-${i}"
done
use pulseaudio || myconf+=" --disable-pulse"
if ! use radio; then
use oss || myconf+=" --disable-ossaudio"
fi

####################
# Advanced Options #
####################
# Platform specific flags, hardcoded on amd64 (see below)
use cpudetection && myconf+=" --enable-runtime-cpudetection"

uses="3dnow 3dnowext altivec mmx mmxext shm sse sse2 ssse3"
for i in ${uses}; do
myconf+=" $(use_enable ${i})"
done

use debug && myconf+=" --enable-debug=3"

if use x86 && gcc-specs-pie; then
filter-flags -fPIC -fPIE
append-ldflags -nopie
fi

###########################
# X enabled configuration #
###########################
myconf+=" --disable-gui"
myconf+=" --disable-vesa"
uses="dxr3 ggi vdpau xinerama xv"
for i in ${uses}; do
use ${i} || myconf+=" --disable-${i}"
done
use dga || myconf+=" --disable-dga1 --disable-dga2"
use opengl || myconf+=" --disable-gl"
use osdmenu && myconf+=" --enable-menu"
use vidix || myconf+=" --disable-vidix --disable-vidix-pcidb"
use xscreensaver || myconf+=" --disable-xss"
use X || myconf+=" --disable-x11"
if use xvmc; then
myconf+=" --enable-xvmc --with-xvmclib=XvMCW"
else
myconf+=" --disable-xvmc"
fi

############################
# OSX (aqua) configuration #
############################
if use aqua; then
myconf+="
--enable-macosx-finder
--enable-macosx-bundle
"
fi

tc-export PKG_CONFIG
./configure \
--cc="$(tc-getCC)" \
--host-cc="$(tc-getBUILD_CC)" \
--prefix="${EPREFIX}/usr" \
--bindir="${EPREFIX}/usr/bin" \
--libdir="${EPREFIX}/usr/$(get_libdir)" \
--confdir="${EPREFIX}/etc/mplayer" \
--datadir="${EPREFIX}/usr/share/mplayer${namesuf}" \
--mandir="${EPREFIX}/usr/share/man" \
--disable-ffmpeg_a \
${myconf} || die
}

src_compile() {
base_src_compile
# Build only user-requested docs if they're available.
if use doc ; then
# select available languages from $LINGUAS
LINGUAS=${LINGUAS/zh/zh_CN}
local ALLOWED_LINGUAS="cs de en es fr hu it pl ru zh_CN"
local BUILT_DOCS=""
for i in ${LINGUAS} ; do
has ${i} ${ALLOWED_LINGUAS} && BUILT_DOCS+=" ${i}"
done
if [[ -z $BUILT_DOCS ]]; then
emake -j1 html-chunked
else
for i in ${BUILT_DOCS}; do
emake -j1 html-chunked-${i}
done
fi
fi
}

src_install() {
local i

emake \
DESTDIR="${D}" \
INSTALLSTRIP="" \
install

dodoc AUTHORS Changelog Copyright README etc/codecs.conf

docinto tech/
dodoc DOCS/tech/{*.txt,MAINTAINERS,mpsub.sub,playtree,TODO,wishlist}
docinto TOOLS/
dodoc -r TOOLS
if use real; then
docinto tech/realcodecs/
dodoc DOCS/tech/realcodecs/*
fi
docinto tech/mirrors/
dodoc DOCS/tech/mirrors/*

if use doc; then
docinto html/
dohtml -r "${S}"/DOCS/HTML/*
fi

if ! use truetype; then
dodir /usr/share/mplayer/fonts
# Do this generic, as the mplayer people like to change the structure
# of their zips ...
for i in $(find "${WORKDIR}/" -type d -name 'font-arial-*'); do
cp -pPR "${i}" "${ED}/usr/share/mplayer/fonts"
done
# Fix the font symlink ...
rm -rf "${ED}/usr/share/mplayer/font"
dosym fonts/font-arial-14-iso-8859-1 /usr/share/mplayer/font
fi

insinto /etc/mplayer
newins "${S}/etc/example.conf" mplayer.conf
cat >> "${ED}/etc/mplayer/mplayer.conf" << _EOF_
# Config options can be section specific, global
# options should go in the default section
[default]
_EOF_
doins "${S}/etc/input.conf"
if use osdmenu; then
doins "${S}/etc/menu.conf"
fi

if use truetype; then
cat >> "${ED}/etc/mplayer/mplayer.conf" << _EOF_
fontconfig=1
subfont-osd-scale=4
subfont-text-scale=3
_EOF_
fi

# bug 256203
if use rar; then
cat >> "${ED}/etc/mplayer/mplayer.conf" << _EOF_
unrarexec=${EPREFIX}/usr/bin/unrar
_EOF_
fi

dosym ../../../etc/mplayer/mplayer.conf /usr/share/mplayer/mplayer.conf
newbin "${S}/TOOLS/midentify.sh" midentify
}

pkg_preinst() {
[[ -d ${EROOT}/usr/share/mplayer/Skin/default ]] && \
rm -rf "${EROOT}/usr/share/mplayer/Skin/default"
}

pkg_postrm() {
# Cleanup stale symlinks
[ -L "${EROOT}/usr/share/mplayer/font" -a \
! -e "${EROOT}/usr/share/mplayer/font" ] && \
rm -f "${EROOT}/usr/share/mplayer/font"

[ -L "${EROOT}/usr/share/mplayer/subfont.ttf" -a \
! -e "${EROOT}/usr/share/mplayer/subfont.ttf" ] && \
rm -f "${EROOT}/usr/share/mplayer/subfont.ttf"
}

mplayer-9999.ebuild

# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/media-video/mplayer/mplayer-9999.ebuild,v 1.129 2012/05/05 08:58:52 jdhore Exp $

EAPI=4

EGIT_REPO_URI="git://git.videolan.org/ffmpeg.git"
ESVN_REPO_URI="svn://svn.mplayerhq.hu/mplayer/trunk"
[[ ${PV} = *9999* ]] && SVN_ECLASS="subversion git-2" || SVN_ECLASS=""

inherit toolchain-funcs eutils flag-o-matic multilib base ${SVN_ECLASS}

IUSE="3dnow 3dnowext +a52 aalib +alsa altivec aqua +ass bidi bindist bl bluray
bs2b cddb +cdio cdparanoia cpudetection debug dga
directfb doc +dts +dv dvb +dvd +dvdnav dxr3 +enca +encode faac +faad fbcon
ftp gif ggi gsm +iconv ipv6 jack joystick jpeg jpeg2k kernel_linux ladspa
libcaca libmpeg2 lirc +live lzo mad md5sum +mmx mmxext mng +mp3 nas
+network nut openal +opengl +osdmenu oss png pnm pulseaudio pvr +quicktime
radio +rar +real +rtc rtmp samba +shm sdl +speex sse sse2 ssse3
tga +theora +tremor +truetype +toolame +twolame +unicode v4l vdpau vidix
+vorbis win32codecs +X +x264 xanim xinerama +xscreensaver +xv +xvid xvmc
zoran"

VIDEO_CARDS="s3virge mga tdfx"
for x in ${VIDEO_CARDS}; do
IUSE+=" video_cards_${x}"
done

FONT_URI="
mirror://mplayer/releases/fonts/font-arial-iso-8859-1.tar.bz2
mirror://mplayer/releases/fonts/font-arial-iso-8859-2.tar.bz2
mirror://mplayer/releases/fonts/font-arial-cp1250.tar.bz2
"
if [[ ${PV} == *9999* ]]; then
RELEASE_URI=""
else
RELEASE_URI="mirror://gentoo/${P}.tar.xz"
fi
SRC_URI="${RELEASE_URI}
!truetype? ( ${FONT_URI} )"

DESCRIPTION="Media Player for Linux"
HOMEPAGE="http://www.mplayerhq.hu/"

FONT_RDEPS="
virtual/ttf-fonts
media-libs/fontconfig
>=media-libs/freetype-2.2.1:2
"
X_RDEPS="
x11-libs/libXext
x11-libs/libXxf86vm
"
# Rar: althrought -gpl version is nice, it cant do most functions normal rars can
# nemesi? ( net-libs/libnemesi )
RDEPEND+="
sys-libs/ncurses
app-arch/bzip2
sys-libs/zlib
>media-video/ffmpeg-0.10.2
!bindist? (
x86? (
win32codecs? ( media-libs/win32codecs )
)
)
a52? ( media-libs/a52dec )
aalib? ( media-libs/aalib )
alsa? ( media-libs/alsa-lib )
ass? ( >=media-libs/libass-0.9.10[enca?] )
bidi? ( dev-libs/fribidi )
bluray? ( >=media-libs/libbluray-0.2.1 )
bs2b? ( media-libs/libbs2b )
cdio? ( dev-libs/libcdio )
cdparanoia? ( !cdio? ( media-sound/cdparanoia ) )
dga? ( x11-libs/libXxf86dga )
directfb? ( dev-libs/DirectFB )
dts? ( media-libs/libdca )
dv? ( media-libs/libdv )
dvb? ( virtual/linuxtv-dvb-headers )
dvd? ( >=media-libs/libdvdread-4.1.3 )
dvdnav? ( >=media-libs/libdvdnav-4.1.3 )
encode? (
!twolame? ( toolame? ( media-sound/toolame ) )
twolame? ( media-sound/twolame )
faac? ( media-libs/faac )
mp3? ( media-sound/lame )
x264? ( >=media-libs/x264-0.0.20100423 )
xvid? ( media-libs/xvid )
)
enca? ( app-i18n/enca )
faad? ( media-libs/faad2 )
ggi? ( media-libs/libggi media-libs/libggiwmh )
gif? ( media-libs/giflib )
gsm? ( media-sound/gsm )
iconv? ( virtual/libiconv )
jack? ( media-sound/jack-audio-connection-kit )
jpeg? ( virtual/jpeg )
jpeg2k? ( media-libs/openjpeg )
ladspa? ( media-libs/ladspa-sdk )
libcaca? ( media-libs/libcaca )
libmpeg2? ( media-libs/libmpeg2 )
lirc? ( app-misc/lirc )
live? ( media-plugins/live )
lzo? ( >=dev-libs/lzo-2 )
mad? ( media-libs/libmad )
mng? ( media-libs/libmng )
mp3? ( media-sound/mpg123 )
nas? ( media-libs/nas )
nut? ( >=media-libs/libnut-661 )
openal? ( media-libs/openal )
opengl? ( virtual/opengl )
png? ( media-libs/libpng )
pnm? ( media-libs/netpbm )
pulseaudio? ( media-sound/pulseaudio )
rar? (
|| (
app-arch/unrar
app-arch/rar
)
)
rtmp? ( media-video/rtmpdump )
samba? ( net-fs/samba )
sdl? ( media-libs/libsdl )
speex? ( media-libs/speex )
theora? ( media-libs/libtheora[encode?] )
truetype? ( ${FONT_RDEPS} )
vdpau? ( x11-libs/libvdpau )
vorbis? ( media-libs/libvorbis )
X? ( ${X_RDEPS} )
xanim? ( media-video/xanim )
xinerama? ( x11-libs/libXinerama )
xscreensaver? ( x11-libs/libXScrnSaver )
xv? ( x11-libs/libXv )
xvmc? ( x11-libs/libXvMC )
"

X_DEPS="
x11-proto/videoproto
x11-proto/xf86vidmodeproto
"
ASM_DEP="dev-lang/yasm"
DEPEND="${RDEPEND}
virtual/pkgconfig
dga? ( x11-proto/xf86dgaproto )
dxr3? ( media-video/em8300-libraries )
X? ( ${X_DEPS} )
xinerama? ( x11-proto/xineramaproto )
xscreensaver? ( x11-proto/scrnsaverproto )
amd64? ( ${ASM_DEP} )
doc? (
dev-libs/libxslt app-text/docbook-xml-dtd
app-text/docbook-xsl-stylesheets
)
x86? ( ${ASM_DEP} )
x86-fbsd? ( ${ASM_DEP} )
"

SLOT="0"
LICENSE="GPL-2"
if [[ ${PV} != *9999* ]]; then
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~x86-solaris"
else
KEYWORDS=""
fi

# faac codecs are nonfree, win32codecs are nonfree
# libcdio support: prefer libcdio over cdparanoia and don't check for cddb w/cdio
# dvd navigation requires dvd read support
# ass and freetype font require iconv and ass requires freetype fonts
# unicode transformations are usefull only with iconv
# libvorbis require external tremor to work
# radio requires oss or alsa backend
# xvmc requires xvideo support
REQUIRED_USE="bindist? ( !faac !win32codecs )
dvdnav? ( dvd )
ass? ( truetype )
truetype? ( iconv )
dxr3? ( X )
ggi? ( X )
xinerama? ( X )
dga? ( X )
opengl? ( X )
osdmenu? ( X )
vdpau? ( X )
vidix? ( X )
xscreensaver? ( X )
xv? ( X )
xvmc? ( xv )"

pkg_setup() {
if [[ ${PV} == *9999* ]]; then
elog
elog "This is a live ebuild which installs the latest from upstream's"
elog "subversion repository, and is unsupported by Gentoo."
elog "Everything but bugs in the ebuild itself will be ignored."
elog
fi

if use cpudetection; then
ewarn
ewarn "You've enabled the cpudetection flag. This feature is"
ewarn "included mainly for people who want to use the same"
ewarn "binary on another system with a different CPU architecture."
ewarn "MPlayer will already detect your CPU settings by default at"
ewarn "buildtime; this flag is used for runtime detection."
ewarn "You won't need this turned on if you are only building"
ewarn "mplayer for this system. Also, if your compile fails, try"
ewarn "disabling this use flag."
fi
}

src_unpack() {
if [[ ${PV} = *9999* ]]; then
subversion_src_unpack
cd "${WORKDIR}"
rm -rf "${WORKDIR}/${P}/ffmpeg/"
( S="${WORKDIR}/${P}/ffmpeg/" git-2_src_unpack )
cd "${S}"
cp "${FILESDIR}/dump_ffmpeg.sh" . || die
chmod +x dump_ffmpeg.sh
./dump_ffmpeg.sh || die
else
unpack ${A}
fi

if ! use truetype; then
unpack font-arial-iso-8859-1.tar.bz2 \
font-arial-iso-8859-2.tar.bz2 \
font-arial-cp1250.tar.bz2
fi
}

src_prepare() {
local svf=snapshot_version
if [[ ${PV} = *9999* ]]; then
# Set SVN version manually
subversion_wc_info
printf "${ESVN_WC_REVISION}" > $svf
fi
[ -f "$svf" ] || die "Missing ${svf}. Did you generate your snapshot with prepare_mplayer.sh?"
local sv=$(<$svf)
printf "SVN-r${sv} (Gentoo)" > VERSION

# fix path to bash executable in configure scripts
sed -i -e "1c\#!${EPREFIX}/bin/bash" configure version.sh || die

base_src_prepare
}

src_configure() {
local myconf=""
local uses i

# set LINGUAS
[[ -n $LINGUAS ]] && LINGUAS="${LINGUAS/da/dk}"

# mplayer ebuild uses "use foo || --disable-foo" to forcibly disable
# compilation in almost every situation. The reason for this is
# because if --enable is used, it will force the build of that option,
# regardless of whether the dependency is available or not.

###################
#Optional features#
###################
# disable svga since we don't want it
# disable arts since we don't have kde3
# always disable internal ass
myconf+="
--disable-svga --disable-svgalib_helper
--disable-ass-internal
--disable-arts
--disable-kai
$(use_enable network networking)
$(use_enable joystick)
"
uses="ass bl bluray enca ftp rtc" # nemesi <- not working with in-tree ebuild
myconf+=" --disable-nemesi" # nemesi automagic disable
for i in ${uses}; do
use ${i} || myconf+=" --disable-${i}"
done
use bidi || myconf+=" --disable-fribidi"
use ipv6 || myconf+=" --disable-inet6"
use nut || myconf+=" --disable-libnut"
use rar || myconf+=" --disable-unrarexec"
use samba || myconf+=" --disable-smb"
use lirc || myconf+=" --disable-lirc --disable-lircc --disable-apple-ir"

# libcdio support: prefer libcdio over cdparanoia
# don't check for cddb w/cdio
if use cdio; then
myconf+=" --disable-cdparanoia"
else
myconf+=" --disable-libcdio"
use cdparanoia || myconf+=" --disable-cdparanoia"
use cddb || myconf+=" --disable-cddb"
fi

################################
# DVD read, navigation support #
################################
#
# dvdread - accessing a DVD
# dvdnav - navigation of menus
#
# use external libdvdcss, dvdread and dvdnav
myconf+=" --disable-dvdread-internal --disable-libdvdcss-internal"
use dvd || myconf+=" --disable-dvdread"
use dvdnav || myconf+=" --disable-dvdnav"

#############
# Subtitles #
#############
#
# SRT/ASS/SSA (subtitles) requires freetype support
# freetype support requires iconv
# iconv optionally can use unicode
use truetype || myconf+=" --disable-freetype"
use iconv || myconf+=" --disable-iconv --charset=noconv"
use iconv && use unicode && myconf+=" --charset=UTF-8"

#####################################
# DVB / Video4Linux / Radio support #
#####################################
myconf+=" --disable-tv-bsdbt848"
# broken upstream, won't work with recent kernels
myconf+=" --disable-ivtv"
# gone since linux-headers-2.6.38
myconf+=" --disable-tv-v4l1"
if { use dvb || use v4l || use pvr || use radio; }; then
use dvb || myconf+=" --disable-dvb"
use pvr || myconf+=" --disable-pvr"
use v4l || myconf+=" --disable-tv-v4l2"
if use radio && { use dvb || use v4l; }; then
myconf+="
--enable-radio
$(use_enable encode radio-capture)
"
else
myconf+="
--disable-radio-v4l2
--disable-radio-bsdbt848
"
fi
else
myconf+="
--disable-tv
--disable-tv-v4l2
--disable-radio
--disable-radio-v4l2
--disable-radio-bsdbt848
--disable-dvb
--disable-v4l2
--disable-pvr"
fi

##########
# Codecs #
##########
myconf+=" --disable-musepack" # Use internal musepack codecs for SV7 and SV8 support
myconf+=" --disable-libmpeg2-internal" # always use system media-libs/libmpeg2
use dts || myconf+=" --disable-libdca"
# Disable internal mp3lib, bug #384849
# Samuli Suominen: Looks like MPlayer in Portage is using internal mp3lib by
# default, where as mpg123 upstream has incorporated all the optimizations
# from mplayer's mp3lib in libmpg123 and more.
# It makes very little sense to use the internal copy as default anymore.
myconf+=" --disable-mp3lib"
if ! use mp3; then
myconf+="
--disable-mp3lame
--disable-mpg123
"
fi
uses="a52 bs2b dv gsm lzo rtmp"
for i in ${uses}; do
use ${i} || myconf+=" --disable-lib${i}"
done

uses="faad gif jpeg libmpeg2 live mad mng png pnm speex tga theora xanim"
for i in ${uses}; do
use ${i} || myconf+=" --disable-${i}"
done
use jpeg2k || myconf+=" --disable-libopenjpeg"
if use vorbis || use tremor; then
use tremor || myconf+=" --disable-tremor-internal"
use vorbis || myconf+=" --disable-libvorbis"
else
myconf+="
--disable-tremor-internal
--disable-tremor
--disable-libvorbis
"
fi
# Encoding
uses="faac x264 xvid toolame twolame"
if use encode; then
for i in ${uses}; do
use ${i} || myconf+=" --disable-${i}"
done
else
myconf+=" --disable-mencoder"
for i in ${uses}; do
myconf+=" --disable-${i}"
use ${i} && elog "Useflag \"${i}\" will only be useful for encoding, i.e., with \"encode\" useflag enabled."
done
fi

#################
# Binary codecs #
#################
# bug 213836
if ! use x86 || ! use win32codecs; then
use quicktime || myconf+=" --disable-qtx"
fi

######################
# RealPlayer support #
######################
# Realplayer support shows up in four places:
# - libavcodec (internal)
# - win32codecs
# - realcodecs (win32codecs libs)
# - realcodecs (realplayer libs)

# internal
use real || myconf+=" --disable-real"

# Real binary codec support only available on x86, amd64
if use real; then
use x86 && myconf+=" --codecsdir=/opt/RealPlayer/codecs"
use amd64 && myconf+=" --codecsdir=/usr/$(get_libdir)/codecs"
fi
myconf+=" $(use_enable win32codecs win32dll)"

################
# Video Output #
################
uses="directfb md5sum sdl"
for i in ${uses}; do
use ${i} || myconf+=" --disable-${i}"
done
use aalib || myconf+=" --disable-aa"
use fbcon || myconf+=" --disable-fbdev"
use fbcon && use video_cards_s3virge && myconf+=" --enable-s3fb"
use libcaca || myconf+=" --disable-caca"
use zoran || myconf+=" --disable-zr"

if ! use kernel_linux || ! use video_cards_mga; then
myconf+=" --disable-mga --disable-xmga"
fi

if use video_cards_tdfx; then
myconf+="
$(use_enable video_cards_tdfx tdfxvid)
$(use_enable fbcon tdfxfb)
"
else
myconf+="
--disable-3dfx
--disable-tdfxvid
--disable-tdfxfb
"
fi

# sun card, disable by default, see bug #258729
myconf+=" --disable-xvr100"

################
# Audio Output #
################
myconf+=" --disable-esd"
uses="alsa jack ladspa nas openal"
for i in ${uses}; do
use ${i} || myconf+=" --disable-${i}"
done
use pulseaudio || myconf+=" --disable-pulse"
if ! use radio; then
use oss || myconf+=" --disable-ossaudio"
fi

####################
# Advanced Options #
####################
# Platform specific flags, hardcoded on amd64 (see below)
use cpudetection && myconf+=" --enable-runtime-cpudetection"

uses="3dnow 3dnowext altivec mmx mmxext shm sse sse2 ssse3"
for i in ${uses}; do
myconf+=" $(use_enable ${i})"
done

use debug && myconf+=" --enable-debug=3"

if use x86 && gcc-specs-pie; then
filter-flags -fPIC -fPIE
append-ldflags -nopie
fi

###########################
# X enabled configuration #
###########################
myconf+=" --disable-gui"
myconf+=" --disable-vesa"
uses="dxr3 ggi vdpau xinerama xv"
for i in ${uses}; do
use ${i} || myconf+=" --disable-${i}"
done
use dga || myconf+=" --disable-dga1 --disable-dga2"
use opengl || myconf+=" --disable-gl"
use osdmenu && myconf+=" --enable-menu"
use vidix || myconf+=" --disable-vidix --disable-vidix-pcidb"
use xscreensaver || myconf+=" --disable-xss"
use X || myconf+=" --disable-x11"
if use xvmc; then
myconf+=" --enable-xvmc --with-xvmclib=XvMCW"
else
myconf+=" --disable-xvmc"
fi

############################
# OSX (aqua) configuration #
############################
if use aqua; then
myconf+="
--enable-macosx-finder
--enable-macosx-bundle
"
fi

./configure \
--cc="$(tc-getCC)" \
--host-cc="$(tc-getBUILD_CC)" \
--prefix="${EPREFIX}/usr" \
--bindir="${EPREFIX}/usr/bin" \
--libdir="${EPREFIX}/usr/$(get_libdir)" \
--confdir="${EPREFIX}/etc/mplayer" \
--datadir="${EPREFIX}/usr/share/mplayer${namesuf}" \
--mandir="${EPREFIX}/usr/share/man" \
--disable-ffmpeg_a \
${myconf} || die
}

src_compile() {
base_src_compile
# Build only user-requested docs if they're available.
if use doc ; then
# select available languages from $LINGUAS
LINGUAS=${LINGUAS/zh/zh_CN}
local ALLOWED_LINGUAS="cs de en es fr hu it pl ru zh_CN"
local BUILT_DOCS=""
for i in ${LINGUAS} ; do
has ${i} ${ALLOWED_LINGUAS} && BUILT_DOCS+=" ${i}"
done
if [[ -z $BUILT_DOCS ]]; then
emake -j1 html-chunked
else
for i in ${BUILT_DOCS}; do
emake -j1 html-chunked-${i}
done
fi
fi
}

src_install() {
local i

emake \
DESTDIR="${D}" \
INSTALLSTRIP="" \
install

dodoc AUTHORS Changelog Copyright README etc/codecs.conf

docinto tech/
dodoc DOCS/tech/{*.txt,MAINTAINERS,mpsub.sub,playtree,TODO,wishlist}
docinto TOOLS/
dodoc -r TOOLS
if use real; then
docinto tech/realcodecs/
dodoc DOCS/tech/realcodecs/*
fi
docinto tech/mirrors/
dodoc DOCS/tech/mirrors/*

if use doc; then
docinto html/
dohtml -r "${S}"/DOCS/HTML/*
fi

if ! use truetype; then
dodir /usr/share/mplayer/fonts
# Do this generic, as the mplayer people like to change the structure
# of their zips ...
for i in $(find "${WORKDIR}/" -type d -name 'font-arial-*'); do
cp -pPR "${i}" "${ED}/usr/share/mplayer/fonts"
done
# Fix the font symlink ...
rm -rf "${ED}/usr/share/mplayer/font"
dosym fonts/font-arial-14-iso-8859-1 /usr/share/mplayer/font
fi

insinto /etc/mplayer
newins "${S}/etc/example.conf" mplayer.conf
cat >> "${ED}/etc/mplayer/mplayer.conf" << _EOF_
# Config options can be section specific, global
# options should go in the default section
[default]
_EOF_
doins "${S}/etc/input.conf"
if use osdmenu; then
doins "${S}/etc/menu.conf"
fi

if use truetype; then
cat >> "${ED}/etc/mplayer/mplayer.conf" << _EOF_
fontconfig=1
subfont-osd-scale=4
subfont-text-scale=3
_EOF_
fi

# bug 256203
if use rar; then
cat >> "${ED}/etc/mplayer/mplayer.conf" << _EOF_
unrarexec=${EPREFIX}/usr/bin/unrar
_EOF_
fi

dosym ../../../etc/mplayer/mplayer.conf /usr/share/mplayer/mplayer.conf
newbin "${S}/TOOLS/midentify.sh" midentify
}

pkg_preinst() {
[[ -d ${EROOT}/usr/share/mplayer/Skin/default ]] && \
rm -rf "${EROOT}/usr/share/mplayer/Skin/default"
}

pkg_postrm() {
# Cleanup stale symlinks
[ -L "${EROOT}/usr/share/mplayer/font" -a \
! -e "${EROOT}/usr/share/mplayer/font" ] && \
rm -f "${EROOT}/usr/share/mplayer/font"

[ -L "${EROOT}/usr/share/mplayer/subfont.ttf" -a \
! -e "${EROOT}/usr/share/mplayer/subfont.ttf" ] && \
rm -f "${EROOT}/usr/share/mplayer/subfont.ttf"
}