commit:     92625300f3c6f487a6d3a4ad89794a326e8235d8
Author:     David Seifert <soap <AT> gentoo <DOT> org>
AuthorDate: Sun Aug 18 11:41:13 2019 +0000
Commit:     David Seifert <soap <AT> gentoo <DOT> org>
CommitDate: Sun Aug 18 11:41:13 2019 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=92625300

media-sound/oggtst: Port to EAPI 7

Package-Manager: Portage-2.3.71, Repoman-2.3.17
Signed-off-by: David Seifert <soap <AT> gentoo.org>

 media-sound/oggtst/Manifest          |  2 +-
 media-sound/oggtst/oggtst-0.0.ebuild | 31 +++++++++++++------------------
 2 files changed, 14 insertions(+), 19 deletions(-)

diff --git a/media-sound/oggtst/Manifest b/media-sound/oggtst/Manifest
index df1a827d9d8..647c2030800 100644
--- a/media-sound/oggtst/Manifest
+++ b/media-sound/oggtst/Manifest
@@ -1 +1 @@
-DIST oggtst.tgz 19382 BLAKE2B 
6af2e7db89e27c5e13d3bc53712631fce2eef78702689b37af3a7a54e32825f95a8b054b82b808f27a2099554c232921ef1f5cefaac962a4bce5dbdf679a6018
 SHA512 
6ee73f4ff1a0160135583997664eeba75857d1e76ed2e1b5a9be2d30feea064fe6bdd105edd58ad358ee8d9db20f1f3a64fe4b31c6c9dc5bce5241c5ceb2ef26
+DIST oggtst-0.0.tgz 19382 BLAKE2B 
6af2e7db89e27c5e13d3bc53712631fce2eef78702689b37af3a7a54e32825f95a8b054b82b808f27a2099554c232921ef1f5cefaac962a4bce5dbdf679a6018
 SHA512 
6ee73f4ff1a0160135583997664eeba75857d1e76ed2e1b5a9be2d30feea064fe6bdd105edd58ad358ee8d9db20f1f3a64fe4b31c6c9dc5bce5241c5ceb2ef26

diff --git a/media-sound/oggtst/oggtst-0.0.ebuild 
b/media-sound/oggtst/oggtst-0.0.ebuild
index 0a24362b9b1..52a8223e6f7 100644
--- a/media-sound/oggtst/oggtst-0.0.ebuild
+++ b/media-sound/oggtst/oggtst-0.0.ebuild
@@ -1,34 +1,29 @@
-# Copyright 1999-2018 Gentoo Foundation
+# Copyright 1999-2019 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
-EAPI=0
+EAPI=7
 
 inherit autotools
 
 DESCRIPTION="A tool for calculating ogg-vorbis playing time"
 HOMEPAGE="http://gnometoaster.rulez.org/";
-SRC_URI="http://gnometoaster.rulez.org/archive/${PN}.tgz";
+SRC_URI="mirror://gentoo/${PN}.tgz -> ${P}.tgz"
 
 LICENSE="GPL-2"
 SLOT="0"
 KEYWORDS="~alpha amd64 hppa ppc ppc64 sparc x86"
-IUSE=""
 
-RDEPEND=">=media-libs/libao-0.8.0
-       >=media-libs/libvorbis-1.0_rc2"
+RDEPEND="
+       media-libs/libao:=
+       media-libs/libvorbis:="
+DEPEND="${RDEPEND}"
 
-S=${WORKDIR}/${PN}
+S="${WORKDIR}/${PN}"
 
-src_unpack() {
-       unpack ${A}
-       cd "${S}"
-
-       # upstream didn't use make dist to create the tarball, there are
-       # unbound symlinks inside it.
+src_prepare() {
+       default
+       mv configure.{in,ac} || die
+       # upstream didn't use make dist to create the tarball,
+       # there are unbound symlinks inside it.
        eautoreconf
 }
-
-src_install() {
-       emake DESTDIR="${D}" install || die
-       dodoc AUTHORS ChangeLog README
-}

Reply via email to