Gentoo Archives: gentoo-commits

From: David Seifert <soap@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: media-sound/oggtst/
Date: Sun, 18 Aug 2019 11:42:56
Message-Id: 1566128473.92625300f3c6f487a6d3a4ad89794a326e8235d8.soap@gentoo
1 commit: 92625300f3c6f487a6d3a4ad89794a326e8235d8
2 Author: David Seifert <soap <AT> gentoo <DOT> org>
3 AuthorDate: Sun Aug 18 11:41:13 2019 +0000
4 Commit: David Seifert <soap <AT> gentoo <DOT> org>
5 CommitDate: Sun Aug 18 11:41:13 2019 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=92625300
7
8 media-sound/oggtst: Port to EAPI 7
9
10 Package-Manager: Portage-2.3.71, Repoman-2.3.17
11 Signed-off-by: David Seifert <soap <AT> gentoo.org>
12
13 media-sound/oggtst/Manifest | 2 +-
14 media-sound/oggtst/oggtst-0.0.ebuild | 31 +++++++++++++------------------
15 2 files changed, 14 insertions(+), 19 deletions(-)
16
17 diff --git a/media-sound/oggtst/Manifest b/media-sound/oggtst/Manifest
18 index df1a827d9d8..647c2030800 100644
19 --- a/media-sound/oggtst/Manifest
20 +++ b/media-sound/oggtst/Manifest
21 @@ -1 +1 @@
22 -DIST oggtst.tgz 19382 BLAKE2B 6af2e7db89e27c5e13d3bc53712631fce2eef78702689b37af3a7a54e32825f95a8b054b82b808f27a2099554c232921ef1f5cefaac962a4bce5dbdf679a6018 SHA512 6ee73f4ff1a0160135583997664eeba75857d1e76ed2e1b5a9be2d30feea064fe6bdd105edd58ad358ee8d9db20f1f3a64fe4b31c6c9dc5bce5241c5ceb2ef26
23 +DIST oggtst-0.0.tgz 19382 BLAKE2B 6af2e7db89e27c5e13d3bc53712631fce2eef78702689b37af3a7a54e32825f95a8b054b82b808f27a2099554c232921ef1f5cefaac962a4bce5dbdf679a6018 SHA512 6ee73f4ff1a0160135583997664eeba75857d1e76ed2e1b5a9be2d30feea064fe6bdd105edd58ad358ee8d9db20f1f3a64fe4b31c6c9dc5bce5241c5ceb2ef26
24
25 diff --git a/media-sound/oggtst/oggtst-0.0.ebuild b/media-sound/oggtst/oggtst-0.0.ebuild
26 index 0a24362b9b1..52a8223e6f7 100644
27 --- a/media-sound/oggtst/oggtst-0.0.ebuild
28 +++ b/media-sound/oggtst/oggtst-0.0.ebuild
29 @@ -1,34 +1,29 @@
30 -# Copyright 1999-2018 Gentoo Foundation
31 +# Copyright 1999-2019 Gentoo Authors
32 # Distributed under the terms of the GNU General Public License v2
33
34 -EAPI=0
35 +EAPI=7
36
37 inherit autotools
38
39 DESCRIPTION="A tool for calculating ogg-vorbis playing time"
40 HOMEPAGE="http://gnometoaster.rulez.org/"
41 -SRC_URI="http://gnometoaster.rulez.org/archive/${PN}.tgz"
42 +SRC_URI="mirror://gentoo/${PN}.tgz -> ${P}.tgz"
43
44 LICENSE="GPL-2"
45 SLOT="0"
46 KEYWORDS="~alpha amd64 hppa ppc ppc64 sparc x86"
47 -IUSE=""
48
49 -RDEPEND=">=media-libs/libao-0.8.0
50 - >=media-libs/libvorbis-1.0_rc2"
51 +RDEPEND="
52 + media-libs/libao:=
53 + media-libs/libvorbis:="
54 +DEPEND="${RDEPEND}"
55
56 -S=${WORKDIR}/${PN}
57 +S="${WORKDIR}/${PN}"
58
59 -src_unpack() {
60 - unpack ${A}
61 - cd "${S}"
62 -
63 - # upstream didn't use make dist to create the tarball, there are
64 - # unbound symlinks inside it.
65 +src_prepare() {
66 + default
67 + mv configure.{in,ac} || die
68 + # upstream didn't use make dist to create the tarball,
69 + # there are unbound symlinks inside it.
70 eautoreconf
71 }
72 -
73 -src_install() {
74 - emake DESTDIR="${D}" install || die
75 - dodoc AUTHORS ChangeLog README
76 -}