1 |
commit: 433bc75f1a644664d42a83c10f26330325c3542c |
2 |
Author: Lars Wendler <polynomial-c <AT> gentoo <DOT> org> |
3 |
AuthorDate: Fri Dec 18 10:17:45 2015 +0000 |
4 |
Commit: Lars Wendler <polynomial-c <AT> gentoo <DOT> org> |
5 |
CommitDate: Fri Dec 18 10:19:54 2015 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=433bc75f |
7 |
|
8 |
media-libs/libshout: Bump to version 2.4.1 |
9 |
|
10 |
Package-Manager: portage-2.2.26 |
11 |
Signed-off-by: Lars Wendler <polynomial-c <AT> gentoo.org> |
12 |
|
13 |
media-libs/libshout/Manifest | 1 + |
14 |
.../files/libshout-2.4.1-underlinking.patch | 13 +++++++ |
15 |
media-libs/libshout/libshout-2.4.1.ebuild | 45 ++++++++++++++++++++++ |
16 |
3 files changed, 59 insertions(+) |
17 |
|
18 |
diff --git a/media-libs/libshout/Manifest b/media-libs/libshout/Manifest |
19 |
index e80f9bd..1636846 100644 |
20 |
--- a/media-libs/libshout/Manifest |
21 |
+++ b/media-libs/libshout/Manifest |
22 |
@@ -1 +1,2 @@ |
23 |
DIST libshout-2.3.1.tar.gz 464229 SHA256 cf3c5f6b4a5e3fcfbe09fb7024aa88ad4099a9945f7cb037ec06bcee7a23926e SHA512 19c1421e654310ddbc25f343d205d921b7c3f1c9c97f028207deaf1a46150b7f6c8069d52b7a3c9ed72dda276b52237cf1208292fbfa09aa7d09f85072c46a7b WHIRLPOOL 7060612fc19735030d8da4ef340eb51ef6d3cbb44502a64ba68f87cc4031918e304bd1f317dfe5796937ef0eeed2dad13abaa622bdca774d65e23f5ae2a061fa |
24 |
+DIST libshout-2.4.1.tar.gz 516161 SHA256 f3acb8dec26f2dbf6df778888e0e429a4ce9378a9d461b02a7ccbf2991bbf24d SHA512 4d4b958947e020de3330d49d39d59220fc89315f25f653a7456b9aa24ca9566fca30bb3d65e6348e79958656096b6b864ea8885157d24e55c8d84d6604670219 WHIRLPOOL b2c4d9e4e6cebe01879fedd5edbe158f8011fd55140df98f3993101875b991cf236a5d6b8545e947ac3d55fcfc24a9fe4afd2a567b9eace372a23282b4b5e6af |
25 |
|
26 |
diff --git a/media-libs/libshout/files/libshout-2.4.1-underlinking.patch b/media-libs/libshout/files/libshout-2.4.1-underlinking.patch |
27 |
new file mode 100644 |
28 |
index 0000000..0c6b7f2 |
29 |
--- /dev/null |
30 |
+++ b/media-libs/libshout/files/libshout-2.4.1-underlinking.patch |
31 |
@@ -0,0 +1,13 @@ |
32 |
+http://bugs.gentoo.org/499458 |
33 |
+ |
34 |
+--- libshout-2.4.1/src/Makefile.am |
35 |
++++ libshout-2.4.1/src/Makefile.am |
36 |
+@@ -33,7 +33,7 @@ |
37 |
+ AM_CFLAGS = @XIPH_CFLAGS@ |
38 |
+ |
39 |
+ libshout_la_LIBADD = common/net/libicenet.la common/timing/libicetiming.la common/avl/libiceavl.la\ |
40 |
+- common/httpp/libicehttpp.la $(MAYBE_THREAD_LIB) $(THEORA_LIBS) $(VORBIS_LIBS) $(SPEEX_LIBS) @XIPH_LIBS@ |
41 |
++ common/httpp/libicehttpp.la $(MAYBE_THREAD_LIB) $(OGG_LIBS) $(VORBIS_LIBS) $(THEORA_LIBS) $(SPEEX_LIBS) @XIPH_LIBS@ |
42 |
+ |
43 |
+ INCLUDES = -I$(top_builddir)/include -I./common/ |
44 |
+ |
45 |
|
46 |
diff --git a/media-libs/libshout/libshout-2.4.1.ebuild b/media-libs/libshout/libshout-2.4.1.ebuild |
47 |
new file mode 100644 |
48 |
index 0000000..10160a8 |
49 |
--- /dev/null |
50 |
+++ b/media-libs/libshout/libshout-2.4.1.ebuild |
51 |
@@ -0,0 +1,45 @@ |
52 |
+# Copyright 1999-2015 Gentoo Foundation |
53 |
+# Distributed under the terms of the GNU General Public License v2 |
54 |
+# $Id$ |
55 |
+ |
56 |
+EAPI=5 |
57 |
+inherit autotools eutils multilib-minimal |
58 |
+ |
59 |
+DESCRIPTION="library for connecting and sending data to icecast servers" |
60 |
+HOMEPAGE="http://www.icecast.org/" |
61 |
+SRC_URI="http://downloads.xiph.org/releases/${PN}/${P}.tar.gz" |
62 |
+ |
63 |
+LICENSE="LGPL-2" |
64 |
+SLOT="0" |
65 |
+KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd" |
66 |
+IUSE="libressl speex static-libs theora" |
67 |
+ |
68 |
+RDEPEND=">=media-libs/libogg-1.3.0[${MULTILIB_USEDEP}] |
69 |
+ >=media-libs/libvorbis-1.3.3-r1[${MULTILIB_USEDEP}] |
70 |
+ !libressl? ( dev-libs/openssl:0= ) |
71 |
+ libressl? ( dev-libs/libressl ) |
72 |
+ speex? ( >=media-libs/speex-1.2_rc1-r1[${MULTILIB_USEDEP}] ) |
73 |
+ theora? ( >=media-libs/libtheora-1.1.1[${MULTILIB_USEDEP}] ) |
74 |
+ abi_x86_32? ( !<=app-emulation/emul-linux-x86-medialibs-20130224-r6 |
75 |
+ !app-emulation/emul-linux-x86-medialibs[-abi_x86_32(-)] )" |
76 |
+DEPEND="${RDEPEND} |
77 |
+ virtual/pkgconfig" |
78 |
+ |
79 |
+src_prepare() { |
80 |
+ epatch "${FILESDIR}"/${PN}-2.4.1-underlinking.patch |
81 |
+ eautoreconf |
82 |
+ multilib_copy_sources |
83 |
+} |
84 |
+ |
85 |
+multilib_src_configure() { |
86 |
+ ECONF_SOURCE="${S}" econf \ |
87 |
+ $(use_enable static-libs static) \ |
88 |
+ $(use_enable theora) \ |
89 |
+ $(use_enable speex) |
90 |
+} |
91 |
+ |
92 |
+multilib_src_install_all() { |
93 |
+ dodoc README examples/example.c |
94 |
+ rm -rf "${ED}"/usr/share/doc/${PN} |
95 |
+ prune_libtool_files |
96 |
+} |