diff options
author | Andreas Sturmlechner <asturm@gentoo.org> | 2017-06-03 10:13:17 +0200 |
---|---|---|
committer | Andreas Sturmlechner <asturm@gentoo.org> | 2017-06-03 23:26:23 +0200 |
commit | 7e55472c302c17e309425bb0c2344cd802604c87 (patch) | |
tree | 2a4ce686e6299e5a5a903403d2a885a621c89f01 /media-sound/qmmp | |
parent | media-tv/linuxtv-dvb-apps: Drop obsolete dev-db/xbase blocker (diff) | |
download | gentoo-7e55472c302c17e309425bb0c2344cd802604c87.tar.gz gentoo-7e55472c302c17e309425bb0c2344cd802604c87.tar.bz2 gentoo-7e55472c302c17e309425bb0c2344cd802604c87.zip |
media-sound/qmmp: USE: kde->dbus; add gnome,libav; drop mpris
virtual/ffmpeg -> ffmpeg/libav
Consolidate USE kde, mpris into one dbus flag
Add USE=dbus to get full control over optional dev-qt/qtdbus DEPEND
Add missing DEPEND: dev-libs/libcdio
Sort IUSE, DEPENDs
CMAKE_IN_SOURCE_BUILD seems not necessary anymore.
Package-Manager: Portage-2.3.5, Repoman-2.3.1
Closes: https://github.com/gentoo/gentoo/pull/4840
Diffstat (limited to 'media-sound/qmmp')
-rw-r--r-- | media-sound/qmmp/qmmp-0.10.8.ebuild | 71 |
1 files changed, 43 insertions, 28 deletions
diff --git a/media-sound/qmmp/qmmp-0.10.8.ebuild b/media-sound/qmmp/qmmp-0.10.8.ebuild index 9c17a3c486ff..8cae55c54f91 100644 --- a/media-sound/qmmp/qmmp-0.10.8.ebuild +++ b/media-sound/qmmp/qmmp-0.10.8.ebuild @@ -4,11 +4,11 @@ EAPI=6 inherit cmake-utils -[ "$PV" == "9999" ] && inherit subversion +[[ ${PV} = 9999 ]] && inherit subversion DESCRIPTION="Qt4-based audio player with winamp/xmms skins support" HOMEPAGE="http://qmmp.ylsoftware.com" -if [ "$PV" != "9999" ]; then +if [[ ${PV} != 9999 ]]; then SRC_URI="http://qmmp.ylsoftware.com/files/${P}.tar.bz2" KEYWORDS="~amd64 ~ppc ~x86" else @@ -18,50 +18,64 @@ fi LICENSE="GPL-2" SLOT="0" # KEYWORDS further up -IUSE="analyzer aac +alsa bs2b cdda cover crossfade cue curl enca ffmpeg flac jack game kde ladspa -lyrics +mad midi mms modplug mplayer mpris musepack notifier opus oss projectm +IUSE="aac +alsa analyzer bs2b cdda cover crossfade cue curl +dbus enca ffmpeg flac game gnome +jack ladspa libav lyrics +mad midi mms modplug mplayer musepack notifier opus oss projectm pulseaudio qsui scrobbler sndfile soxr stereo tray udisks +vorbis wavpack" -RDEPEND="media-libs/taglib +REQUIRED_USE="gnome? ( dbus ) udisks? ( dbus )" + +RDEPEND=" dev-qt/qtcore:4 - dev-qt/qtdbus:4 dev-qt/qtgui:4 dev-qt/qtmultimedia:4 + media-libs/taglib + aac? ( media-libs/faad2 ) alsa? ( media-libs/alsa-lib ) bs2b? ( media-libs/libbs2b ) - cdda? ( dev-libs/libcdio-paranoia ) + cdda? ( + dev-libs/libcdio + dev-libs/libcdio-paranoia + ) cue? ( media-libs/libcue ) curl? ( net-misc/curl ) - aac? ( media-libs/faad2 ) + dbus? ( dev-qt/qtdbus:4 ) enca? ( app-i18n/enca ) + ffmpeg? ( + !libav? ( media-video/ffmpeg:= ) + libav? ( media-video/libav:= ) + ) flac? ( media-libs/flac ) game? ( media-libs/game-music-emu ) + jack? ( + media-libs/libsamplerate + media-sound/jack-audio-connection-kit + ) ladspa? ( media-libs/ladspa-cmt ) mad? ( media-libs/libmad ) midi? ( media-sound/wildmidi ) mms? ( media-libs/libmms ) + modplug? ( >=media-libs/libmodplug-0.8.4 ) mplayer? ( media-video/mplayer ) musepack? ( >=media-sound/musepack-tools-444 ) - modplug? ( >=media-libs/libmodplug-0.8.4 ) - vorbis? ( media-libs/libvorbis - media-libs/libogg ) - jack? ( media-sound/jack-audio-connection-kit - media-libs/libsamplerate ) - ffmpeg? ( virtual/ffmpeg ) opus? ( media-libs/opusfile ) - projectm? ( media-libs/libprojectm - dev-qt/qtopengl:4 ) + projectm? ( + dev-qt/qtopengl:4 + media-libs/libprojectm + ) pulseaudio? ( >=media-sound/pulseaudio-0.9.9 ) - wavpack? ( media-sound/wavpack ) scrobbler? ( net-misc/curl ) sndfile? ( media-libs/libsndfile ) soxr? ( media-libs/soxr ) - udisks? ( sys-fs/udisks:2 )" + udisks? ( sys-fs/udisks:2 ) + vorbis? ( + media-libs/libogg + media-libs/libvorbis + ) + wavpack? ( media-sound/wavpack ) +" DEPEND="${RDEPEND}" -DOCS="AUTHORS ChangeLog README" - -CMAKE_IN_SOURCE_BUILD="1" +DOCS=( AUTHORS ChangeLog README ) src_prepare() { if has_version dev-libs/libcdio-paranoia; then @@ -74,32 +88,33 @@ src_prepare() { } src_configure() { - mycmakeargs=( - -DUSE_ALSA="$(usex alsa)" + local mycmakeargs=( -DUSE_AAC="$(usex aac)" + -DUSE_ALSA="$(usex alsa)" -DUSE_ANALYZER="$(usex analyzer)" -DUSE_BS2B="$(usex bs2b)" -DUSE_CDA="$(usex cdda)" - -DUSE_CROSSFADE="$(usex crossfade)" -DUSE_COVER="$(usex cover)" + -DUSE_CROSSFADE="$(usex crossfade)" -DUSE_CUE="$(usex cue)" -DUSE_CURL="$(usex curl)" + -DUSE_KDENOTIFY="$(usex dbus)" + -DUSE_MPRIS="$(usex dbus)" -DUSE_ENCA="$(usex enca)" -DUSE_FFMPEG="$(usex ffmpeg)" -DUSE_FFMPEG_LEGACY=OFF -DUSE_FLAC="$(usex flac)" -DUSE_GME="$(usex game)" + -DUSE_GNOMEHOTKEY="$(usex gnome)" -DUSE_HAL=OFF -DUSE_JACK="$(usex jack)" - -DUSE_KDENOTIFY="$(usex kde)" -DUSE_LADSPA="$(usex ladspa)" -DUSE_LYRICS="$(usex lyrics)" -DUSE_MAD="$(usex mad)" -DUSE_MIDI="$(usex midi)" - -DUSE_MPLAYER="$(usex mplayer)" -DUSE_MMS="$(usex mms)" -DUSE_MODPLUG="$(usex modplug)" - -DUSE_MPRIS="$(usex mpris)" + -DUSE_MPLAYER="$(usex mplayer)" -DUSE_MPC="$(usex musepack)" -DUSE_NOTIFIER="$(usex notifier)" -DUSE_OPUS="$(usex opus)" @@ -116,7 +131,7 @@ src_configure() { -DUSE_UDISKS=OFF -DUSE_VORBIS="$(usex vorbis)" -DUSE_WAVPACK="$(usex wavpack)" - ) + ) cmake-utils_src_configure } |