Skip to content

Commit

Permalink
media-video/mplayer: drop native jpeg2k support. FFmpeg provides bett…
Browse files Browse the repository at this point in the history
…er support for it and mplayer uses an outdated slot.

Package-Manager: Portage-2.3.11, Repoman-2.3.3
  • Loading branch information
aballier committed Oct 8, 2017
1 parent 6bb8217 commit a03fbb4
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
6 changes: 3 additions & 3 deletions media-video/mplayer/mplayer-1.3.0-r3.ebuild
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ inherit toolchain-funcs eutils flag-o-matic multilib base ${SVN_ECLASS}
IUSE="cpu_flags_x86_3dnow cpu_flags_x86_3dnowext a52 aalib +alsa altivec aqua bidi bl bluray
bs2b cddb +cdio cdparanoia cpudetection debug dga
directfb doc dts dv dvb +dvd +dvdnav +enca +encode faac faad fbcon
ftp gif ggi gsm +iconv ipv6 jack joystick jpeg jpeg2k kernel_linux ladspa
ftp gif ggi gsm +iconv ipv6 jack joystick jpeg kernel_linux ladspa
+libass libcaca libmpeg2 lirc live lzo mad md5sum +cpu_flags_x86_mmx cpu_flags_x86_mmxext mng mp3 nas
+network nut openal opengl +osdmenu oss png pnm pulseaudio pvr
radio rar rtc rtmp samba selinux +shm sdl speex cpu_flags_x86_sse cpu_flags_x86_sse2 cpu_flags_x86_ssse3
Expand Down Expand Up @@ -91,7 +91,6 @@ RDEPEND+="
iconv? ( virtual/libiconv )
jack? ( virtual/jack )
jpeg? ( virtual/jpeg:0 )
jpeg2k? ( media-libs/openjpeg:0 )
ladspa? ( media-libs/ladspa-sdk )
libass? ( >=media-libs/libass-0.9.10:= )
libcaca? ( media-libs/libcaca )
Expand Down Expand Up @@ -392,7 +391,8 @@ src_configure() {
for i in ${uses}; do
use ${i} || myconf+=" --disable-${i}"
done
use jpeg2k || myconf+=" --disable-libopenjpeg"
# Pulls an outdated libopenjpeg, ffmpeg provides better support for it
myconf+=" --disable-libopenjpeg"

# Encoding
uses="faac x264 xvid toolame twolame"
Expand Down
6 changes: 3 additions & 3 deletions media-video/mplayer/mplayer-9999.ebuild
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ inherit toolchain-funcs eutils flag-o-matic multilib base ${SVN_ECLASS}
IUSE="cpu_flags_x86_3dnow cpu_flags_x86_3dnowext a52 aalib +alsa altivec aqua bidi bl bluray
bs2b cddb +cdio cdparanoia cpudetection debug dga
directfb doc dts dv dvb +dvd +dvdnav +enca +encode faac faad fbcon
ftp gif ggi gsm +iconv ipv6 jack joystick jpeg jpeg2k kernel_linux ladspa
ftp gif ggi gsm +iconv ipv6 jack joystick jpeg kernel_linux ladspa
+libass libcaca libmpeg2 lirc live lzo mad md5sum +cpu_flags_x86_mmx cpu_flags_x86_mmxext mng mp3 nas
+network nut openal opengl +osdmenu oss png pnm pulseaudio pvr
radio rar rtc rtmp samba selinux +shm sdl speex cpu_flags_x86_sse cpu_flags_x86_sse2 cpu_flags_x86_ssse3
Expand Down Expand Up @@ -91,7 +91,6 @@ RDEPEND+="
iconv? ( virtual/libiconv )
jack? ( virtual/jack )
jpeg? ( virtual/jpeg:0 )
jpeg2k? ( media-libs/openjpeg:0 )
ladspa? ( media-libs/ladspa-sdk )
libass? ( >=media-libs/libass-0.9.10:= )
libcaca? ( media-libs/libcaca )
Expand Down Expand Up @@ -390,7 +389,8 @@ src_configure() {
for i in ${uses}; do
use ${i} || myconf+=" --disable-${i}"
done
use jpeg2k || myconf+=" --disable-libopenjpeg"
# Pulls an outdated libopenjpeg, ffmpeg provides better support for it
myconf+=" --disable-libopenjpeg"

# Encoding
uses="faac x264 xvid toolame twolame"
Expand Down

0 comments on commit a03fbb4

Please sign in to comment.