From d63f2655b3e69da460c00bd08695cbb5a9d258f2 Mon Sep 17 00:00:00 2001 From: David Seifert Date: Sat, 3 Jun 2017 22:36:29 +0200 Subject: media-sound/streamtranscoder: [QA] Various fixes Package-Manager: Portage-2.3.6, Repoman-2.3.2 --- .../files/streamtranscoder-1.2.4-build.patch | 12 ++++++------ .../streamtranscoder/streamtranscoder-1.2.4.ebuild | 18 ++++++++---------- .../streamtranscoder/streamtranscoder-3.1.11.ebuild | 11 ++++------- 3 files changed, 18 insertions(+), 23 deletions(-) (limited to 'media-sound/streamtranscoder') diff --git a/media-sound/streamtranscoder/files/streamtranscoder-1.2.4-build.patch b/media-sound/streamtranscoder/files/streamtranscoder-1.2.4-build.patch index 07128bb95596..d79b074abd9d 100644 --- a/media-sound/streamtranscoder/files/streamtranscoder-1.2.4-build.patch +++ b/media-sound/streamtranscoder/files/streamtranscoder-1.2.4-build.patch @@ -1,5 +1,5 @@ ---- configure.in -+++ configure.in +--- a/configure.in ++++ b/configure.in @@ -83,22 +83,29 @@ dnl -- configure options -- @@ -36,8 +36,8 @@ AC_SUBST(LIBTOOL_DEPS) AC_SUBST(OPT) AC_SUBST(LIBS) ---- src/Makefile.am -+++ src/Makefile.am +--- a/src/Makefile.am ++++ b/src/Makefile.am @@ -17,5 +17,6 @@ INCLUDES = -I$(srcdir)/liboddcast -I$(srcdir)/libtranscoder @@ -47,8 +47,8 @@ +install-data-hook: + $(INSTALL) -d $(DESTDIR)$(sysconfdir) + $(INSTALL) -m644 transcoder.cfg $(DESTDIR)$(sysconfdir)/transcoder.cfg ---- src/libtranscoder/transcurl.cpp -+++ src/libtranscoder/transcurl.cpp +--- a/src/libtranscoder/transcurl.cpp ++++ b/src/libtranscoder/transcurl.cpp @@ -18,7 +18,6 @@ #include #endif diff --git a/media-sound/streamtranscoder/streamtranscoder-1.2.4.ebuild b/media-sound/streamtranscoder/streamtranscoder-1.2.4.ebuild index 1e889bc9793d..3ad59e039eb8 100644 --- a/media-sound/streamtranscoder/streamtranscoder-1.2.4.ebuild +++ b/media-sound/streamtranscoder/streamtranscoder-1.2.4.ebuild @@ -1,11 +1,11 @@ -# Copyright 1999-2012 Gentoo Foundation +# Copyright 1999-2017 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -EAPI=4 +EAPI=6 -inherit autotools eutils +inherit autotools -DESCRIPTION="Command line application to transcode shoutcast/icecast streams to different bitrates" +DESCRIPTION="Commandline program to transcode shoutcast/icecast streams to different bitrates" HOMEPAGE="http://www.oddsock.org" SRC_URI="http://www.oddsock.org/tools/streamTranscoder/${P}.tar.gz" @@ -22,12 +22,10 @@ RDEPEND=">=media-libs/libogg-1.1 DEPEND="${RDEPEND} virtual/pkgconfig" -src_prepare() { - epatch "${FILESDIR}"/${P}-build.patch - eautoreconf -} +PATCHES=( "${FILESDIR}"/${P}-build.patch ) -src_install() { +src_prepare() { default - dodoc AUTHORS README + mv configure.{in,ac} || die + eautoreconf } diff --git a/media-sound/streamtranscoder/streamtranscoder-3.1.11.ebuild b/media-sound/streamtranscoder/streamtranscoder-3.1.11.ebuild index d73225b9e581..8e03e14c0175 100644 --- a/media-sound/streamtranscoder/streamtranscoder-3.1.11.ebuild +++ b/media-sound/streamtranscoder/streamtranscoder-3.1.11.ebuild @@ -1,9 +1,11 @@ -# Copyright 1999-2015 Gentoo Foundation +# Copyright 1999-2017 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 +EAPI=6 + MY_P=${PN}v3-${PV} -DESCRIPTION="Command line application to transcode shoutcast/icecast streams to different bitrates" +DESCRIPTION="Commandline program to transcode shoutcast/icecast streams to different bitrates" HOMEPAGE="http://www.oddsock.org/tools/streamTranscoderV3" SRC_URI="http://www.oddsock.org/tools/streamTranscoderV3/${MY_P}.tar.gz" @@ -20,8 +22,3 @@ RDEPEND=">=media-libs/libogg-1.1 DEPEND="${RDEPEND}" S="${WORKDIR}"/${MY_P} - -src_install() { - emake DESTDIR="${D}" install || die "emake install failed." - dodoc AUTHORS -} -- cgit v1.2.3-65-gdbad