1 |
commit: d63f2655b3e69da460c00bd08695cbb5a9d258f2 |
2 |
Author: David Seifert <soap <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sat Jun 3 20:36:29 2017 +0000 |
4 |
Commit: David Seifert <soap <AT> gentoo <DOT> org> |
5 |
CommitDate: Sat Jun 3 20:52:18 2017 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d63f2655 |
7 |
|
8 |
media-sound/streamtranscoder: [QA] Various fixes |
9 |
|
10 |
Package-Manager: Portage-2.3.6, Repoman-2.3.2 |
11 |
|
12 |
.../files/streamtranscoder-1.2.4-build.patch | 12 ++++++------ |
13 |
.../streamtranscoder/streamtranscoder-1.2.4.ebuild | 18 ++++++++---------- |
14 |
.../streamtranscoder/streamtranscoder-3.1.11.ebuild | 11 ++++------- |
15 |
3 files changed, 18 insertions(+), 23 deletions(-) |
16 |
|
17 |
diff --git a/media-sound/streamtranscoder/files/streamtranscoder-1.2.4-build.patch b/media-sound/streamtranscoder/files/streamtranscoder-1.2.4-build.patch |
18 |
index 07128bb9559..d79b074abd9 100644 |
19 |
--- a/media-sound/streamtranscoder/files/streamtranscoder-1.2.4-build.patch |
20 |
+++ b/media-sound/streamtranscoder/files/streamtranscoder-1.2.4-build.patch |
21 |
@@ -1,5 +1,5 @@ |
22 |
---- configure.in |
23 |
-+++ configure.in |
24 |
+--- a/configure.in |
25 |
++++ b/configure.in |
26 |
@@ -83,22 +83,29 @@ |
27 |
|
28 |
dnl -- configure options -- |
29 |
@@ -36,8 +36,8 @@ |
30 |
AC_SUBST(LIBTOOL_DEPS) |
31 |
AC_SUBST(OPT) |
32 |
AC_SUBST(LIBS) |
33 |
---- src/Makefile.am |
34 |
-+++ src/Makefile.am |
35 |
+--- a/src/Makefile.am |
36 |
++++ b/src/Makefile.am |
37 |
@@ -17,5 +17,6 @@ |
38 |
|
39 |
INCLUDES = -I$(srcdir)/liboddcast -I$(srcdir)/libtranscoder |
40 |
@@ -47,8 +47,8 @@ |
41 |
+install-data-hook: |
42 |
+ $(INSTALL) -d $(DESTDIR)$(sysconfdir) |
43 |
+ $(INSTALL) -m644 transcoder.cfg $(DESTDIR)$(sysconfdir)/transcoder.cfg |
44 |
---- src/libtranscoder/transcurl.cpp |
45 |
-+++ src/libtranscoder/transcurl.cpp |
46 |
+--- a/src/libtranscoder/transcurl.cpp |
47 |
++++ b/src/libtranscoder/transcurl.cpp |
48 |
@@ -18,7 +18,6 @@ |
49 |
#include <winsock2.h> |
50 |
#endif |
51 |
|
52 |
diff --git a/media-sound/streamtranscoder/streamtranscoder-1.2.4.ebuild b/media-sound/streamtranscoder/streamtranscoder-1.2.4.ebuild |
53 |
index 1e889bc9793..3ad59e039eb 100644 |
54 |
--- a/media-sound/streamtranscoder/streamtranscoder-1.2.4.ebuild |
55 |
+++ b/media-sound/streamtranscoder/streamtranscoder-1.2.4.ebuild |
56 |
@@ -1,11 +1,11 @@ |
57 |
-# Copyright 1999-2012 Gentoo Foundation |
58 |
+# Copyright 1999-2017 Gentoo Foundation |
59 |
# Distributed under the terms of the GNU General Public License v2 |
60 |
|
61 |
-EAPI=4 |
62 |
+EAPI=6 |
63 |
|
64 |
-inherit autotools eutils |
65 |
+inherit autotools |
66 |
|
67 |
-DESCRIPTION="Command line application to transcode shoutcast/icecast streams to different bitrates" |
68 |
+DESCRIPTION="Commandline program to transcode shoutcast/icecast streams to different bitrates" |
69 |
HOMEPAGE="http://www.oddsock.org" |
70 |
SRC_URI="http://www.oddsock.org/tools/streamTranscoder/${P}.tar.gz" |
71 |
|
72 |
@@ -22,12 +22,10 @@ RDEPEND=">=media-libs/libogg-1.1 |
73 |
DEPEND="${RDEPEND} |
74 |
virtual/pkgconfig" |
75 |
|
76 |
-src_prepare() { |
77 |
- epatch "${FILESDIR}"/${P}-build.patch |
78 |
- eautoreconf |
79 |
-} |
80 |
+PATCHES=( "${FILESDIR}"/${P}-build.patch ) |
81 |
|
82 |
-src_install() { |
83 |
+src_prepare() { |
84 |
default |
85 |
- dodoc AUTHORS README |
86 |
+ mv configure.{in,ac} || die |
87 |
+ eautoreconf |
88 |
} |
89 |
|
90 |
diff --git a/media-sound/streamtranscoder/streamtranscoder-3.1.11.ebuild b/media-sound/streamtranscoder/streamtranscoder-3.1.11.ebuild |
91 |
index d73225b9e58..8e03e14c017 100644 |
92 |
--- a/media-sound/streamtranscoder/streamtranscoder-3.1.11.ebuild |
93 |
+++ b/media-sound/streamtranscoder/streamtranscoder-3.1.11.ebuild |
94 |
@@ -1,9 +1,11 @@ |
95 |
-# Copyright 1999-2015 Gentoo Foundation |
96 |
+# Copyright 1999-2017 Gentoo Foundation |
97 |
# Distributed under the terms of the GNU General Public License v2 |
98 |
|
99 |
+EAPI=6 |
100 |
+ |
101 |
MY_P=${PN}v3-${PV} |
102 |
|
103 |
-DESCRIPTION="Command line application to transcode shoutcast/icecast streams to different bitrates" |
104 |
+DESCRIPTION="Commandline program to transcode shoutcast/icecast streams to different bitrates" |
105 |
HOMEPAGE="http://www.oddsock.org/tools/streamTranscoderV3" |
106 |
SRC_URI="http://www.oddsock.org/tools/streamTranscoderV3/${MY_P}.tar.gz" |
107 |
|
108 |
@@ -20,8 +22,3 @@ RDEPEND=">=media-libs/libogg-1.1 |
109 |
DEPEND="${RDEPEND}" |
110 |
|
111 |
S="${WORKDIR}"/${MY_P} |
112 |
- |
113 |
-src_install() { |
114 |
- emake DESTDIR="${D}" install || die "emake install failed." |
115 |
- dodoc AUTHORS |
116 |
-} |