public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Andreas Sturmlechner" <asturm@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: media-sound/cmus/
Date: Wed, 20 Mar 2019 12:29:52 +0000 (UTC)	[thread overview]
Message-ID: <1553084972.35234db8289d78b11c008bb5af653a909f28a8d0.asturm@gentoo> (raw)

commit:     35234db8289d78b11c008bb5af653a909f28a8d0
Author:     Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
AuthorDate: Wed Mar 20 11:21:15 2019 +0000
Commit:     Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
CommitDate: Wed Mar 20 12:29:32 2019 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=35234db8

media-sound/cmus: Finish EAPI-7 porting, sort IUSE and DEPENDs

Drop obsolete pkg_postinst.

Package-Manager: Portage-2.3.62, Repoman-2.3.12
Signed-off-by: Andreas Sturmlechner <asturm <AT> gentoo.org>

 media-sound/cmus/cmus-9999.ebuild | 47 ++++++++++++++++++++++-----------------
 1 file changed, 26 insertions(+), 21 deletions(-)

diff --git a/media-sound/cmus/cmus-9999.ebuild b/media-sound/cmus/cmus-9999.ebuild
index bf501b22bd3..ebe5aebf54a 100644
--- a/media-sound/cmus/cmus-9999.ebuild
+++ b/media-sound/cmus/cmus-9999.ebuild
@@ -1,8 +1,9 @@
-# Copyright 1999-2018 Gentoo Authors
+# Copyright 1999-2019 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
-inherit bash-completion-r1 multilib
+
+inherit bash-completion-r1
 
 if [[ ${PV} == "9999" ]] ; then
 	EGIT_REPO_URI="https://github.com/cmus/cmus.git"
@@ -12,24 +13,26 @@ else
 	KEYWORDS="~amd64 ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd ~amd64-linux ~x86-linux ~x86-solaris"
 fi
 
-DESCRIPTION="A ncurses based music player with plugin support for many formats"
+DESCRIPTION="Ncurses based music player with plugin support for many formats"
 HOMEPAGE="https://cmus.github.io/"
 
 LICENSE="GPL-2"
 SLOT="0"
-IUSE="aac alsa ao cue cdio cddb discid debug examples ffmpeg +flac jack libsamplerate
+IUSE="aac alsa ao cddb cdio cue debug discid examples ffmpeg +flac jack libsamplerate
 	+mad mikmod modplug mp4 musepack opus oss pidgin pulseaudio tremor +unicode
 	+vorbis wavpack"
 
-S="${WORKDIR}/${P/_/-}"
-
-CDEPEND="sys-libs/ncurses:0=[unicode?]
+BDEPEND="
+	virtual/pkgconfig
+"
+DEPEND="
+	sys-libs/ncurses:0=[unicode?]
 	aac? ( media-libs/faad2 )
 	alsa? ( >=media-libs/alsa-lib-1.0.11 )
 	ao? ( media-libs/libao )
-	cue? ( media-libs/libcue )
-	cdio? ( dev-libs/libcdio-paranoia )
 	cddb? ( media-libs/libcddb )
+	cdio? ( dev-libs/libcdio-paranoia )
+	cue? ( media-libs/libcue )
 	discid? ( media-libs/libdiscid )
 	ffmpeg? ( media-video/ffmpeg:= )
 	flac? ( media-libs/flac )
@@ -44,17 +47,22 @@ CDEPEND="sys-libs/ncurses:0=[unicode?]
 	pulseaudio? ( media-sound/pulseaudio )
 	tremor? ( media-libs/tremor )
 	!tremor? ( vorbis? ( >=media-libs/libvorbis-1.0 ) )
-	wavpack? ( media-sound/wavpack )"
-DEPEND="${CDEPEND}
-	virtual/pkgconfig"
-RDEPEND="${CDEPEND}
-	pidgin? ( net-im/pidgin dev-python/dbus-python )"
+	wavpack? ( media-sound/wavpack )
+"
+RDEPEND="${DEPEND}
+	pidgin? (
+		dev-python/dbus-python
+		net-im/pidgin
+	)
+"
 
 # Both CONFIG_TREMOR=y and CONFIG_VORBIS=y are required to link to tremor libs instead of vorbis libs
 REQUIRED_USE="tremor? ( vorbis )
 	mp4? ( aac )" # enabling mp4 adds -lfaad
 
-DOCS="AUTHORS README.md"
+DOCS=( AUTHORS README.md )
+
+S="${WORKDIR}/${P/_/-}"
 
 my_config() {
 	local value
@@ -106,7 +114,9 @@ src_compile() {
 src_install() {
 	default
 
-	use examples || rm -rf "${ED}"/usr/share/doc/${PF}/examples
+	if ! use examples; then
+		rm -rf "${ED}"/usr/share/doc/${PF}/examples || die
+	fi
 
 	insinto /usr/share/zsh/site-functions
 	doins contrib/_cmus
@@ -117,8 +127,3 @@ 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"
-}


             reply	other threads:[~2019-03-20 12:29 UTC|newest]

Thread overview: 50+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-03-20 12:29 Andreas Sturmlechner [this message]
  -- strict thread matches above, loose matches on Subject: below --
2024-12-06  8:03 [gentoo-commits] repo/gentoo:master commit in: media-sound/cmus/ Miroslav Šulc
2024-11-30 22:49 Sam James
2024-11-30 18:58 Arthur Zamarin
2024-11-30 18:58 Arthur Zamarin
2024-10-30 11:54 Miroslav Šulc
2024-06-21  7:52 Miroslav Šulc
2024-06-20 20:28 Arthur Zamarin
2024-06-17 12:57 Arthur Zamarin
2024-06-17 11:26 Arthur Zamarin
2024-06-17 11:26 Arthur Zamarin
2024-06-17 10:19 Jakov Smolić
2024-05-17 11:34 Miroslav Šulc
2024-05-17 11:34 Miroslav Šulc
2023-09-19 17:48 Arthur Zamarin
2023-07-26  2:53 Sam James
2023-05-29 13:11 Andreas Sturmlechner
2022-09-10  8:41 Sam James
2022-08-13  4:10 Miroslav Šulc
2022-08-12 11:55 Agostino Sarubbo
2022-08-08 12:34 Agostino Sarubbo
2022-08-06 15:51 Arthur Zamarin
2022-08-06 15:51 Arthur Zamarin
2022-08-06  6:12 Arthur Zamarin
2022-07-06  3:45 Miroslav Šulc
2021-09-15  2:34 Sam James
2021-09-04 10:17 Yixun Lan
2021-04-29  0:22 Sam James
2021-04-26 19:11 Sam James
2021-04-22 23:03 Sam James
2021-04-22 20:15 Sam James
2021-04-22 12:18 Sam James
2021-03-20  8:18 Miroslav Šulc
2020-07-23  5:15 Kent Fredric
2020-04-04 11:35 Sergei Trofimovich
2020-02-09 20:11 Andreas Sturmlechner
2019-06-22 16:08 Andreas Sturmlechner
2019-06-22 16:02 Sergei Trofimovich
2019-05-20 11:00 Mikle Kolyada
2019-04-27 16:25 Sergei Trofimovich
2019-03-20 12:29 Andreas Sturmlechner
2018-12-22 22:00 Tim Harder
2017-08-31 13:12 Tim Harder
2017-01-20 16:21 David Seifert
2016-12-07 10:54 Alexis Ballier
2016-07-21 15:30 Michael Palimaka
2016-07-20  8:15 Sergey Popov
2016-05-28  9:32 Pacho Ramos
2016-05-13  8:41 Agostino Sarubbo
2015-10-04 10:35 Jeroen Roovers

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1553084972.35234db8289d78b11c008bb5af653a909f28a8d0.asturm@gentoo \
    --to=asturm@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox