public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Michał Górny" <mgorny@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: media-video/mplay-sh/
Date: Sun, 10 Nov 2019 08:53:39 +0000 (UTC)	[thread overview]
Message-ID: <1573375981.e0c8a8a58113e67602bb24237a5c5caad58491d9.mgorny@gentoo> (raw)

commit:     e0c8a8a58113e67602bb24237a5c5caad58491d9
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Sun Nov 10 08:38:09 2019 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Sun Nov 10 08:53:01 2019 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e0c8a8a5

media-video/mplay-sh: Bump to EAPI 7

Closes: https://bugs.gentoo.org/697258
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>

 media-video/mplay-sh/mplay-sh-0.5.3-r1.ebuild | 26 +++++++++++++-------------
 1 file changed, 13 insertions(+), 13 deletions(-)

diff --git a/media-video/mplay-sh/mplay-sh-0.5.3-r1.ebuild b/media-video/mplay-sh/mplay-sh-0.5.3-r1.ebuild
index 0f6b9838c2c..da819c2dd0d 100644
--- a/media-video/mplay-sh/mplay-sh-0.5.3-r1.ebuild
+++ b/media-video/mplay-sh/mplay-sh-0.5.3-r1.ebuild
@@ -1,34 +1,33 @@
 # Copyright 1999-2019 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
-EAPI=0
-
-inherit eutils
+EAPI=7
 
 MY_P="mplay-${PV}"
 
 DESCRIPTION="mplayer wrapper script as backend for vdr-mplayer"
-HOMEPAGE="http://www.vdr-portal.de/board/thread.php?threadid=62306"
+HOMEPAGE="https://www.vdr-portal.de/board/thread.php?threadid=62306"
 SRC_URI="mirror://gentoo/${MY_P}.tgz
 	https://dev.gentoo.org/~zzam/distfiles/${MY_P}.tgz"
+S=${WORKDIR}/${MY_P}
 
 KEYWORDS="~amd64 x86"
 SLOT="0"
 LICENSE="GPL-2"
 IUSE=""
 
+# for vdr user?
 DEPEND="media-tv/gentoo-vdr-scripts"
-RDEPEND=">=media-video/mplayer-0.90_rc4"
+RDEPEND="${DEPEND}
+	>=media-video/mplayer-0.90_rc4"
 
-S=${WORKDIR}/${MY_P}
+src_prepare() {
+	default
 
-src_unpack() {
-	unpack ${A}
-	cd "${S}"
 	sed -i mplay.sh \
-		-e 's#$CONFDIR/silence.wav#/usr/share/vdr/mplay-sh/silence.wav#'
+		-e 's#$CONFDIR/silence.wav#/usr/share/vdr/mplay-sh/silence.wav#' || die
 	sed -i conf.examples/mplayrc \
-		-e 's#^MPLAY_PLAY.*#MPLAY_PLAY="/var/vdr/tmp/mplay.play"#'
+		-e 's#^MPLAY_PLAY.*#MPLAY_PLAY="/var/vdr/tmp/mplay.play"#' || die
 }
 
 src_install() {
@@ -41,7 +40,8 @@ src_install() {
 	insinto /usr/share/vdr/mplay-sh
 	doins conf.examples/silence.wav
 
-	dodoc README* HISTORY
+	dodoc HISTORY README*
+
 	keepdir /var/vdr/tmp
-	chown vdr:vdr -R "${D}/var/vdr"
+	fowners -R vdr:vdr /var/vdr
 }


                 reply	other threads:[~2019-11-10 10:20 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=1573375981.e0c8a8a58113e67602bb24237a5c5caad58491d9.mgorny@gentoo \
    --to=mgorny@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