media-sound/streamtranscoder: [QA] Various fixes
authorDavid Seifert <soap@gentoo.org>
Sat, 3 Jun 2017 20:36:29 +0000 (22:36 +0200)
committerDavid Seifert <soap@gentoo.org>
Sat, 3 Jun 2017 20:52:18 +0000 (22:52 +0200)
Package-Manager: Portage-2.3.6, Repoman-2.3.2

media-sound/streamtranscoder/files/streamtranscoder-1.2.4-build.patch
media-sound/streamtranscoder/streamtranscoder-1.2.4.ebuild
media-sound/streamtranscoder/streamtranscoder-3.1.11.ebuild

index 07128bb955960e0b90bdaf46b77b87ebb5ca3ffd..d79b074abd9d6a46bd6dc0bb2fdea9d59ddbe7e5 100644 (file)
@@ -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 <winsock2.h>
  #endif
index 1e889bc9793d5c69e525466357f39a7ddf9b87a7..3ad59e039eb85a8064cc13dd39441aa5c5561cbd 100644 (file)
@@ -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
 }
index d73225b9e581ec57ff07c0d228631e86a71b4d7d..8e03e14c017596a70f2f120f5cf119c3fde51636 100644 (file)
@@ -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
-}