1 |
commit: 1c8ca3692822fe070a8aa920fd06d7398c2b2364 |
2 |
Author: Michael Orlitzky <mjo <AT> gentoo <DOT> org> |
3 |
AuthorDate: Wed Aug 24 19:25:58 2016 +0000 |
4 |
Commit: Michael Orlitzky <mjo <AT> gentoo <DOT> org> |
5 |
CommitDate: Wed Aug 24 19:26:48 2016 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1c8ca369 |
7 |
|
8 |
media-sound/rplay: new revision with EAPI=6. |
9 |
|
10 |
The original purpose of this new revision was to fix the use of |
11 |
einstall reported in bug 521564. However, einstall proved necessary, |
12 |
so along with the update to EAPI=6 -- where einstall is banned -- I |
13 |
inlined its behavior. |
14 |
|
15 |
The multilib and eutils eclasses, now unused, were dropped. The latest |
16 |
debian patchset was also included. |
17 |
|
18 |
Package-Manager: portage-2.2.28 |
19 |
|
20 |
media-sound/rplay/Manifest | 1 + |
21 |
.../rplay-3.3.2-built-in_function_exit-r1.patch | 20 ++++++++ |
22 |
media-sound/rplay/rplay-3.3.2-r2.ebuild | 53 ++++++++++++++++++++++ |
23 |
3 files changed, 74 insertions(+) |
24 |
|
25 |
diff --git a/media-sound/rplay/Manifest b/media-sound/rplay/Manifest |
26 |
index 75a7caf..d1f1d61 100644 |
27 |
--- a/media-sound/rplay/Manifest |
28 |
+++ b/media-sound/rplay/Manifest |
29 |
@@ -1,2 +1,3 @@ |
30 |
DIST rplay-3.3.2.tar.gz 480015 SHA256 74265153457a44e1e2f0fa38c59c9b12ea5b684db2c83eb055184f86db81fdd8 SHA512 b0683de0f5dc1483d22ac68c0502fe66e89ba1c25300fdca9486df1cb6ea96393b18b783f918f18dba0ba0fbfd20410448e3e03df06fc4afba1b63024d82a713 WHIRLPOOL d23479b9809b566c634e8a1574229567e16c81fc943185a99667c373caf02d174c0ab6b2c6437ff5e960d034110c0e480565bbdc8ce436e51970487e64d80bf0 |
31 |
DIST rplay_3.3.2-12.diff.gz 25322 SHA256 9f38ea87379e915ffb3fb338baf454f7ce2cbc605616c27b82df25f708220626 SHA512 b9a178fbca44cec9814ef0b65e4924e18c053ec6f0024c30b35abbcd9062c094bfffe3ca7113c74604df80b12b38d412a45c645ff13903e6b23500ea99f89d7b WHIRLPOOL 8d97ca2cc143b58ead591701709be4922fb0b3c83f2f00c9bb4b8687fe5b937d011e9b9ecc01f9682677d0c84e1ddb03ed510356126939a2d10fe70a536690c1 |
32 |
+DIST rplay_3.3.2-16.debian.tar.xz 25456 SHA256 3c0e1dd8b107d1194ff7b73578281622a1bce97a3a21681d4e124e5c00977d62 SHA512 8d5db7862267fd0ec7f27896b6a76708304e54b9f2c8a52621c0a92c4688511e07a7820b2468c93032dab15f27f5dda1f8931e35d95e724501e2586a5851486b WHIRLPOOL b8e566dd3a407fe2685b084537122b20944b9c0eaf33ea8f15ccd941fc2beaeffdf83ea54394e274d9e4f332b449230d9e0a5d3ca3b7e060accae70b45ca4677 |
33 |
|
34 |
diff --git a/media-sound/rplay/files/rplay-3.3.2-built-in_function_exit-r1.patch b/media-sound/rplay/files/rplay-3.3.2-built-in_function_exit-r1.patch |
35 |
new file mode 100644 |
36 |
index 00000000..79d9a12 |
37 |
--- /dev/null |
38 |
+++ b/media-sound/rplay/files/rplay-3.3.2-built-in_function_exit-r1.patch |
39 |
@@ -0,0 +1,20 @@ |
40 |
+--- a/adpcm/decode.c |
41 |
++++ b/adpcm/decode.c |
42 |
+@@ -6,6 +6,7 @@ |
43 |
+ * Usage : decode [-3|4|5] [-a|u|l] < infile > outfile |
44 |
+ */ |
45 |
+ #include <stdio.h> |
46 |
++#include <stdlib.h> |
47 |
+ #include "g72x.h" |
48 |
+ |
49 |
+ |
50 |
+--- a/adpcm/encode.c |
51 |
++++ b/adpcm/encode.c |
52 |
+@@ -6,6 +6,7 @@ |
53 |
+ * Usage : encode [-3|4|5] [-a|u|l] < infile > outfile |
54 |
+ */ |
55 |
+ #include <stdio.h> |
56 |
++#include <stdlib.h> |
57 |
+ #include "g72x.h" |
58 |
+ |
59 |
+ |
60 |
|
61 |
diff --git a/media-sound/rplay/rplay-3.3.2-r2.ebuild b/media-sound/rplay/rplay-3.3.2-r2.ebuild |
62 |
new file mode 100644 |
63 |
index 00000000..823271f |
64 |
--- /dev/null |
65 |
+++ b/media-sound/rplay/rplay-3.3.2-r2.ebuild |
66 |
@@ -0,0 +1,53 @@ |
67 |
+# Copyright 1999-2016 Gentoo Foundation |
68 |
+# Distributed under the terms of the GNU General Public License v2 |
69 |
+# $Id$ |
70 |
+ |
71 |
+EAPI=6 |
72 |
+ |
73 |
+inherit autotools user |
74 |
+ |
75 |
+DESCRIPTION="Play sounds on remote Unix systems without data transfer" |
76 |
+HOMEPAGE="http://rplay.doit.org/" |
77 |
+SRC_URI="${HOMEPAGE}dist/${P}.tar.gz |
78 |
+ mirror://debian/pool/main/r/${PN}/${PN}_${PV}-16.debian.tar.xz" |
79 |
+ |
80 |
+LICENSE="GPL-2" |
81 |
+SLOT="0" |
82 |
+KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~s390 ~sparc ~x86 ~x86-fbsd" |
83 |
+IUSE="" |
84 |
+ |
85 |
+RDEPEND="media-sound/gsm" |
86 |
+DEPEND="${RDEPEND}" |
87 |
+ |
88 |
+PATCHES=( |
89 |
+ "${WORKDIR}/debian/patches" |
90 |
+ "${FILESDIR}/${P}-built-in_function_exit-r1.patch" |
91 |
+) |
92 |
+ |
93 |
+pkg_setup() { |
94 |
+ enewgroup rplayd "" |
95 |
+ enewuser rplayd "" "" "" rplayd |
96 |
+} |
97 |
+ |
98 |
+src_prepare() { |
99 |
+ default |
100 |
+ eautoreconf |
101 |
+} |
102 |
+ |
103 |
+src_configure() { |
104 |
+ econf \ |
105 |
+ --enable-rplayd-user=rplayd \ |
106 |
+ --enable-rplayd-group=rplayd |
107 |
+} |
108 |
+ |
109 |
+src_install() { |
110 |
+ # This is borrowed from the old einstall helper, and is necessary |
111 |
+ # (at least some of variables). |
112 |
+ emake prefix="${ED}/usr" \ |
113 |
+ datadir="${ED}/usr/share" \ |
114 |
+ infodir="${ED}/usr/share/info" \ |
115 |
+ localstatedir="${ED}/var/lib" \ |
116 |
+ mandir="${ED}/usr/share/man" \ |
117 |
+ sysconfdir="${ED}/etc" \ |
118 |
+ install |
119 |
+} |