Gentoo Archives: gentoo-commits

From: "Miroslav Šulc" <fordfrog@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: media-libs/libshout/
Date: Wed, 30 Dec 2020 16:36:07
Message-Id: 1609346160.55c0a44fdfd53986fad1313e7b8fe924eb9b6a89.fordfrog@gentoo
1 commit: 55c0a44fdfd53986fad1313e7b8fe924eb9b6a89
2 Author: Miroslav Šulc <fordfrog <AT> gentoo <DOT> org>
3 AuthorDate: Wed Dec 30 16:35:50 2020 +0000
4 Commit: Miroslav Šulc <fordfrog <AT> gentoo <DOT> org>
5 CommitDate: Wed Dec 30 16:36:00 2020 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=55c0a44f
7
8 media-libs/libshout: bump to 2.4.5
9
10 Closes: https://bugs.gentoo.org/762664
11 Package-Manager: Portage-3.0.12, Repoman-3.0.2
12 Signed-off-by: Miroslav Šulc <fordfrog <AT> gentoo.org>
13
14 media-libs/libshout/Manifest | 1 +
15 media-libs/libshout/libshout-2.4.5.ebuild | 52 +++++++++++++++++++++++++++++++
16 2 files changed, 53 insertions(+)
17
18 diff --git a/media-libs/libshout/Manifest b/media-libs/libshout/Manifest
19 index be7d57635b7..c6bfe18e8a7 100644
20 --- a/media-libs/libshout/Manifest
21 +++ b/media-libs/libshout/Manifest
22 @@ -1,3 +1,4 @@
23 DIST libshout-2.4.1.tar.gz 516161 BLAKE2B bedea3c043018eff4675fdb8b95e0bb8ff02a98994a4afcc76537124ebf7357f012f2e9445ebd207b576fc4166fb761d65066fe166fc8b611b96f5c5482a0e92 SHA512 4d4b958947e020de3330d49d39d59220fc89315f25f653a7456b9aa24ca9566fca30bb3d65e6348e79958656096b6b864ea8885157d24e55c8d84d6604670219
24 DIST libshout-2.4.2.tar.gz 519249 BLAKE2B 15bd6a552eeb39654a07f5a43f670e53b37c0b239424d2530f09f156e1404da8133e557d614aa7c89aa36e3cec093fecd25aa05d855f283d4af51e1b543eb631 SHA512 ae4b042009887de22d105eb8238f4362f6ff51bd645fd51b5a87c4b5e3f5fdc99e9f99f85c24ae2e9d23eab92b854a7e733bf9f8cc61a8362ce984f02a014e93
25 DIST libshout-2.4.3.tar.gz 529563 BLAKE2B 30d982fcf52507e07af23113560cfc9e43ca4ce37c286854326ea09215dc30c3c0d57320dce46dd4faec43b3d473df2f7882ad759479fb023166cec3f24327c5 SHA512 fe36778c6640e620f27504cb21234940e18a65a33f9178bf7e77d4baf854a9affc82d85db8ed8c1c8e2d80399685d8be10106fff5be1ddf76e03e2ffeeed1d34
26 +DIST libshout-2.4.5.tar.gz 543991 BLAKE2B a3ceabd150413e9d1cee2118fe9576959bfa05d86e261b2574969a9a665aba3da4ac1c39db2b27d033fe587232a69a569d80362f856bba667277b5454dd170ca SHA512 290844185da16961f03434d3e341573dd6cb0139e5fa81902903021b641382d2629302d7c356bc591b35656754e07f4e44a8d9e782e092b17a051b9ae8f54341
27
28 diff --git a/media-libs/libshout/libshout-2.4.5.ebuild b/media-libs/libshout/libshout-2.4.5.ebuild
29 new file mode 100644
30 index 00000000000..76d21270297
31 --- /dev/null
32 +++ b/media-libs/libshout/libshout-2.4.5.ebuild
33 @@ -0,0 +1,52 @@
34 +# Copyright 1999-2020 Gentoo Authors
35 +# Distributed under the terms of the GNU General Public License v2
36 +
37 +EAPI=7
38 +
39 +inherit autotools multilib-minimal
40 +
41 +DESCRIPTION="library for connecting and sending data to icecast servers"
42 +HOMEPAGE="https://www.icecast.org/"
43 +SRC_URI="http://downloads.xiph.org/releases/${PN}/${P}.tar.gz"
44 +
45 +LICENSE="LGPL-2"
46 +SLOT="0"
47 +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86"
48 +IUSE="libressl speex static-libs theora"
49 +
50 +RDEPEND="
51 + >=media-libs/libogg-1.3.0[${MULTILIB_USEDEP}]
52 + >=media-libs/libvorbis-1.3.3-r1[${MULTILIB_USEDEP}]
53 + !libressl? ( dev-libs/openssl:0= )
54 + libressl? ( dev-libs/libressl:0= )
55 + speex? ( media-libs/speex[${MULTILIB_USEDEP}] )
56 + theora? ( media-libs/libtheora[${MULTILIB_USEDEP}] )
57 +"
58 +DEPEND="${RDEPEND}
59 + virtual/pkgconfig
60 +"
61 +
62 +MULTILIB_WRAPPED_HEADERS=(
63 + /usr/include/shout/shout.h
64 +)
65 +
66 +src_prepare() {
67 + default
68 + # Fix docdir
69 + sed '/^docdir/s@$(PACKAGE)@$(PF)@' -i Makefile.am || die
70 + eautoreconf
71 + multilib_copy_sources
72 +}
73 +
74 +multilib_src_configure() {
75 + local myeconfargs=(
76 + $(use_enable speex)
77 + $(use_enable static-libs static)
78 + $(use_enable theora)
79 + )
80 + ECONF_SOURCE="${S}" econf "${myeconfargs[@]}"
81 +}
82 +
83 +multilib_src_install_all() {
84 + find "${ED}" -name '*.la' -delete || die
85 +}