1 |
commit: cc95a5a81c108671fe6b1d0728e541c85bbda418 |
2 |
Author: Steffen 'j0inty' Stollfuß <j0inty <AT> fairnatics <DOT> net> |
3 |
AuthorDate: Sun Sep 3 05:55:35 2017 +0000 |
4 |
Commit: Michael Palimaka <kensington <AT> gentoo <DOT> org> |
5 |
CommitDate: Sun Sep 3 05:56:28 2017 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=cc95a5a8 |
7 |
|
8 |
media-sound/ezstream: fix taglib detection |
9 |
|
10 |
Gentoo-bug: 596376 |
11 |
Package-Manager: Portage-2.3.6, Repoman-2.3.3 |
12 |
|
13 |
media-sound/ezstream/ezstream-0.6.0-r1.ebuild | 40 +++++++++++++++++++++++++++ |
14 |
1 file changed, 40 insertions(+) |
15 |
|
16 |
diff --git a/media-sound/ezstream/ezstream-0.6.0-r1.ebuild b/media-sound/ezstream/ezstream-0.6.0-r1.ebuild |
17 |
new file mode 100644 |
18 |
index 00000000000..59af61c756c |
19 |
--- /dev/null |
20 |
+++ b/media-sound/ezstream/ezstream-0.6.0-r1.ebuild |
21 |
@@ -0,0 +1,40 @@ |
22 |
+# Copyright 1999-2017 Gentoo Foundation |
23 |
+# Distributed under the terms of the GNU General Public License v2 |
24 |
+ |
25 |
+EAPI=6 |
26 |
+ |
27 |
+DESCRIPTION="A command line source client for Icecast media streaming servers" |
28 |
+HOMEPAGE="http://www.icecast.org/ezstream/" |
29 |
+SRC_URI="http://downloads.xiph.org/releases/${PN}/${P}.tar.gz" |
30 |
+ |
31 |
+LICENSE="GPL-2" |
32 |
+SLOT="0" |
33 |
+KEYWORDS="~amd64 ~ppc ~x86" |
34 |
+IUSE="taglib" |
35 |
+ |
36 |
+COMMON_DEPEND="dev-libs/libxml2 |
37 |
+ >=media-libs/libshout-2.2 |
38 |
+ !taglib? ( media-libs/libvorbis ) |
39 |
+ taglib? ( media-libs/taglib )" |
40 |
+RDEPEND="${COMMON_DEPEND} |
41 |
+ net-misc/icecast" |
42 |
+DEPEND="${COMMON_DEPEND} |
43 |
+ virtual/pkgconfig" |
44 |
+ |
45 |
+src_configure() { |
46 |
+ local docdir=/usr/share/doc/${PF} |
47 |
+ |
48 |
+ econf \ |
49 |
+ --docdir=${docdir} \ |
50 |
+ --enable-examplesdir=${docdir}/examples \ |
51 |
+ $(use_with taglib taglib "/usr") |
52 |
+} |
53 |
+ |
54 |
+src_install() { |
55 |
+ default |
56 |
+ |
57 |
+ newinitd "${FILESDIR}"/${PN}.initd ${PN} |
58 |
+ newconfd "${FILESDIR}"/${PN}.confd ${PN} |
59 |
+ |
60 |
+ rm -f "${D%/}"/usr/share/doc/${PF}/COPYING |
61 |
+} |