1 |
commit: fc6703075bd4add69298df8569d5a27c7118f85c |
2 |
Author: Austin English <wizardedit <AT> gentoo <DOT> org> |
3 |
AuthorDate: Tue Apr 26 22:19:15 2016 +0000 |
4 |
Commit: Austin English <wizardedit <AT> gentoo <DOT> org> |
5 |
CommitDate: Tue Apr 26 22:26:32 2016 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fc670307 |
7 |
|
8 |
edia-sound/squeezeslave: use #!/sbin/openrc-run instead of #!/sbin/runscript |
9 |
|
10 |
Gentoo-Bug: https://bugs.gentoo.org/show_bug.cgi?id=573846 |
11 |
|
12 |
Package-Manager: portage-2.2.26 |
13 |
|
14 |
.../squeezeslave/files/squeezeslave.initd-r1 | 4 +- |
15 |
.../squeezeslave/squeezeslave-1.1_p365-r1.ebuild | 52 +++++++++++++++++++++ |
16 |
.../squeezeslave/squeezeslave-1.1_p381-r1.ebuild | 53 ++++++++++++++++++++++ |
17 |
3 files changed, 107 insertions(+), 2 deletions(-) |
18 |
|
19 |
diff --git a/media-sound/squeezeslave/files/squeezeslave.initd-r1 b/media-sound/squeezeslave/files/squeezeslave.initd-r1 |
20 |
index 1d764fb..368e02e 100644 |
21 |
--- a/media-sound/squeezeslave/files/squeezeslave.initd-r1 |
22 |
+++ b/media-sound/squeezeslave/files/squeezeslave.initd-r1 |
23 |
@@ -1,5 +1,5 @@ |
24 |
-#!/sbin/runscript |
25 |
-# Copyright 1999-2012 Gentoo Foundation |
26 |
+#!/sbin/openrc-run |
27 |
+# Copyright 1999-2016 Gentoo Foundation |
28 |
# Distributed under the terms of the GNU General Public License v2 |
29 |
# $Id$ |
30 |
|
31 |
|
32 |
diff --git a/media-sound/squeezeslave/squeezeslave-1.1_p365-r1.ebuild b/media-sound/squeezeslave/squeezeslave-1.1_p365-r1.ebuild |
33 |
new file mode 100644 |
34 |
index 0000000..ed461d0 |
35 |
--- /dev/null |
36 |
+++ b/media-sound/squeezeslave/squeezeslave-1.1_p365-r1.ebuild |
37 |
@@ -0,0 +1,52 @@ |
38 |
+# Copyright 1999-2016 Gentoo Foundation |
39 |
+# Distributed under the terms of the GNU General Public License v2 |
40 |
+# $Id$ |
41 |
+ |
42 |
+EAPI="4" |
43 |
+ |
44 |
+inherit eutils toolchain-funcs |
45 |
+ |
46 |
+DESCRIPTION="A lightweight streaming audio player for Logitech Media Server" |
47 |
+HOMEPAGE="https://squeezeslave.googlecode.com" |
48 |
+SRC_URI="https://dev.gentoo.org/~radhermit/dist/${P}.tar.xz" |
49 |
+ |
50 |
+LICENSE="GPL-2" |
51 |
+SLOT="0" |
52 |
+KEYWORDS="~amd64 ~x86" |
53 |
+IUSE="aac +alsa display tremor wma zones" |
54 |
+ |
55 |
+RDEPEND="media-libs/libmad |
56 |
+ media-libs/flac |
57 |
+ tremor? ( media-libs/tremor ) |
58 |
+ !tremor? ( media-libs/libvorbis ) |
59 |
+ media-libs/libogg |
60 |
+ media-libs/portaudio[alsa?] |
61 |
+ aac? ( virtual/ffmpeg ) |
62 |
+ wma? ( virtual/ffmpeg ) |
63 |
+ display? ( app-misc/lirc )" |
64 |
+DEPEND="${RDEPEND} |
65 |
+ app-arch/xz-utils |
66 |
+ virtual/pkgconfig" |
67 |
+ |
68 |
+src_prepare() { |
69 |
+ epatch "${FILESDIR}"/${PN}-1.1_p350-tremor-headers.patch |
70 |
+} |
71 |
+ |
72 |
+src_compile() { |
73 |
+ tc-export CC AR RANLIB |
74 |
+ |
75 |
+ local myconf |
76 |
+ for i in aac display tremor wma zones ; do |
77 |
+ use $i && myconf+=" $i=1" |
78 |
+ done |
79 |
+ |
80 |
+ emake ${myconf} |
81 |
+} |
82 |
+ |
83 |
+src_install() { |
84 |
+ dobin bin/${PN} |
85 |
+ dodoc ChangeLog TODO |
86 |
+ |
87 |
+ newconfd "${FILESDIR}"/${PN}.confd-r1 ${PN} |
88 |
+ newinitd "${FILESDIR}"/${PN}.initd-r1 ${PN} |
89 |
+} |
90 |
|
91 |
diff --git a/media-sound/squeezeslave/squeezeslave-1.1_p381-r1.ebuild b/media-sound/squeezeslave/squeezeslave-1.1_p381-r1.ebuild |
92 |
new file mode 100644 |
93 |
index 0000000..9008ec2 |
94 |
--- /dev/null |
95 |
+++ b/media-sound/squeezeslave/squeezeslave-1.1_p381-r1.ebuild |
96 |
@@ -0,0 +1,53 @@ |
97 |
+# Copyright 1999-2016 Gentoo Foundation |
98 |
+# Distributed under the terms of the GNU General Public License v2 |
99 |
+# $Id$ |
100 |
+ |
101 |
+EAPI="5" |
102 |
+ |
103 |
+inherit eutils toolchain-funcs |
104 |
+ |
105 |
+DESCRIPTION="A lightweight streaming audio player for Logitech Media Server" |
106 |
+HOMEPAGE="https://squeezeslave.googlecode.com" |
107 |
+SRC_URI="https://dev.gentoo.org/~radhermit/dist/${P}.tar.xz" |
108 |
+ |
109 |
+LICENSE="GPL-2" |
110 |
+SLOT="0" |
111 |
+KEYWORDS="~amd64 ~x86" |
112 |
+IUSE="aac +alsa display tremor wma zones" |
113 |
+ |
114 |
+RDEPEND="media-libs/libmad |
115 |
+ media-libs/flac |
116 |
+ tremor? ( media-libs/tremor ) |
117 |
+ !tremor? ( media-libs/libvorbis ) |
118 |
+ media-libs/libogg |
119 |
+ media-libs/portaudio[alsa?] |
120 |
+ aac? ( virtual/ffmpeg ) |
121 |
+ wma? ( virtual/ffmpeg ) |
122 |
+ display? ( app-misc/lirc )" |
123 |
+DEPEND="${RDEPEND} |
124 |
+ app-arch/xz-utils |
125 |
+ virtual/pkgconfig" |
126 |
+ |
127 |
+src_prepare() { |
128 |
+ epatch "${FILESDIR}"/${PN}-1.1_p350-tremor-headers.patch |
129 |
+ epatch "${FILESDIR}"/${PN}-1.1_p381-ffmpeg2.patch |
130 |
+} |
131 |
+ |
132 |
+src_compile() { |
133 |
+ tc-export CC AR RANLIB |
134 |
+ |
135 |
+ local myconf |
136 |
+ for i in aac display tremor wma zones ; do |
137 |
+ use $i && myconf+=" $i=1" |
138 |
+ done |
139 |
+ |
140 |
+ emake ${myconf} |
141 |
+} |
142 |
+ |
143 |
+src_install() { |
144 |
+ dobin bin/${PN} |
145 |
+ dodoc ChangeLog TODO |
146 |
+ |
147 |
+ newconfd "${FILESDIR}"/${PN}.confd-r1 ${PN} |
148 |
+ newinitd "${FILESDIR}"/${PN}.initd-r1 ${PN} |
149 |
+} |