Skip to content

Commit

Permalink
media-sound/cmus: rename USE 'wma' to USE 'ffmpeg'
Browse files Browse the repository at this point in the history
Reported-by: xpue <[email protected]>
Gentoo-Bug: 553834

Package-Manager: portage-2.2.28
  • Loading branch information
Pinkbyte committed Jul 20, 2016
1 parent 2745c28 commit 2632c51
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 6 deletions.
15 changes: 10 additions & 5 deletions media-sound/cmus/cmus-2.7.1.ebuild
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright 1999-2015 Gentoo Foundation
# Copyright 1999-2016 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$

Expand All @@ -12,9 +12,9 @@ SRC_URI="https://github.com/cmus/cmus/archive/v${PV}.tar.gz -> ${P}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="amd64 ~ppc ~ppc64 x86 ~x86-fbsd ~amd64-linux ~x86-linux ~x86-solaris"
IUSE="aac alsa ao cue cdio cddb discid debug examples +flac jack libsamplerate
IUSE="aac alsa ao cue cdio cddb discid debug examples ffmpeg +flac jack libsamplerate
+mad mikmod modplug mp4 musepack opus oss pidgin pulseaudio tremor +unicode
+vorbis wavpack wma"
+vorbis wavpack"

CDEPEND="sys-libs/ncurses[unicode?]
aac? ( media-libs/faad2 )
Expand All @@ -24,6 +24,7 @@ CDEPEND="sys-libs/ncurses[unicode?]
cdio? ( dev-libs/libcdio-paranoia )
cddb? ( media-libs/libcddb )
discid? ( media-libs/libdiscid )
ffmpeg? ( media-video/ffmpeg:= )
flac? ( media-libs/flac )
jack? ( media-sound/jack-audio-connection-kit )
libsamplerate? ( media-libs/libsamplerate )
Expand All @@ -36,8 +37,7 @@ CDEPEND="sys-libs/ncurses[unicode?]
pulseaudio? ( media-sound/pulseaudio )
tremor? ( media-libs/tremor )
!tremor? ( vorbis? ( >=media-libs/libvorbis-1.0 ) )
wavpack? ( media-sound/wavpack )
wma? ( media-video/ffmpeg:= )"
wavpack? ( media-sound/wavpack )"
DEPEND="${CDEPEND}
virtual/pkgconfig"
RDEPEND="${CDEPEND}
Expand Down Expand Up @@ -102,3 +102,8 @@ src_install() {
newbin contrib/cmus-updatepidgin.py cmus-updatepidgin
fi
}

pkg_postinst() {
einfo "USE flag 'wma' was replaced by 'ffmpeg'"
einfo "Details here - https://bugs.gentoo.org/show_bug.cgi?id=553834"
}
1 change: 0 additions & 1 deletion media-sound/cmus/metadata.xml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@
<flag name="pidgin">install support script for <pkg>net-im/pidgin</pkg></flag>
<flag name="opus">enable support for <pkg>media-libs/opusfile</pkg></flag>
<flag name="tremor">use libivorbis from <pkg>media-libs/tremor</pkg> instead of <pkg>media-libs/libvorbis</pkg></flag>
<flag name="wma">add support for Windows Media Audio</flag>
</use>
<upstream>
<remote-id type="github">cmus/cmus</remote-id>
Expand Down

0 comments on commit 2632c51

Please sign in to comment.