diff options
Diffstat (limited to 'media-libs/libshout')
-rw-r--r-- | media-libs/libshout/Manifest | 2 | ||||
-rw-r--r-- | media-libs/libshout/libshout-2.4.6.ebuild | 51 |
2 files changed, 53 insertions, 0 deletions
diff --git a/media-libs/libshout/Manifest b/media-libs/libshout/Manifest index 7d2ef22e0ea2..3a613ca8db70 100644 --- a/media-libs/libshout/Manifest +++ b/media-libs/libshout/Manifest @@ -1,3 +1,5 @@ DIST libshout-2.4.5.tar.gz 543991 BLAKE2B a3ceabd150413e9d1cee2118fe9576959bfa05d86e261b2574969a9a665aba3da4ac1c39db2b27d033fe587232a69a569d80362f856bba667277b5454dd170ca SHA512 290844185da16961f03434d3e341573dd6cb0139e5fa81902903021b641382d2629302d7c356bc591b35656754e07f4e44a8d9e782e092b17a051b9ae8f54341 +DIST libshout-2.4.6.tar.gz 571153 BLAKE2B 68a24ecd3fa8c1057883d2d9013b18b9b7507d0ee79876efe79c8ad1ae32c408421879340968b77c3d6bf6e8eb3c3c87a8ee5447f351fd871f13683fcbb5ab52 SHA512 e8478cdbf9a27674c16a7b620d1576f2e31a47262b8e29b314d0f46d4e5be24b9a29790b7b226f48939bc34cacf5734fae0aa5686c7ed5879cdbd827ff8e0339 EBUILD libshout-2.4.5.ebuild 1179 BLAKE2B d9794825746c62695e92dc92bc0a053695e7ac7c894e2326808d5f31e17f0a39c5f7e449284e19cdee9ccc1f3fd8926c2849b21a75c7cd537ff2f8b7f76c1a2b SHA512 e3805e9628da4e55cc4e9d24cb8c9d4c43c75de532e5559f286b28b950485ea3e836bc5f5934966f58a0345bedda52bd6954572542bebdeb1cfd24aa855dc902 +EBUILD libshout-2.4.6.ebuild 1186 BLAKE2B 4a47fc6228cc56690dab5ca9d99d3f289931adbe5f125844049d0e54ba6de0edf78f5879eb1faf9f1f9c9cae6a42ebcd488eaf515720e36dca46e7429c7c800b SHA512 c86a68d543905308316990ca576ccfa1e06f4aebc77223d108b4f41f45c678f69715373ed11a74a894b9e9d60c472956df92705aa727352c6f36b6f784a57c2c MISC metadata.xml 250 BLAKE2B 3e6dae5d5f3b3ac412806dd8615a1975c7ea8a64bfd72ad54f2c93a9b24c19c620ac3e8b26e1f6cadec899443e138ee4fb7a82ecb83c784d0c03ee91854d8622 SHA512 2bfce2cf73aefce6dda06ea351cb93b2990b9543f48be1ae5406a5a5acf2c34faed1eb2ce715eb689eb50a9a1add5576b39232eb818c233f5a5589e16032aca8 diff --git a/media-libs/libshout/libshout-2.4.6.ebuild b/media-libs/libshout/libshout-2.4.6.ebuild new file mode 100644 index 000000000000..39e327e11c39 --- /dev/null +++ b/media-libs/libshout/libshout-2.4.6.ebuild @@ -0,0 +1,51 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit autotools multilib-minimal + +DESCRIPTION="library for connecting and sending data to icecast servers" +HOMEPAGE="https://www.icecast.org/" +SRC_URI="http://downloads.xiph.org/releases/${PN}/${P}.tar.gz" + +LICENSE="LGPL-2" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~riscv ~sparc ~x86" +IUSE="speex static-libs theora" + +RDEPEND=" + >=media-libs/libogg-1.3.0[${MULTILIB_USEDEP}] + >=media-libs/libvorbis-1.3.3-r1[${MULTILIB_USEDEP}] + dev-libs/openssl:0= + speex? ( media-libs/speex[${MULTILIB_USEDEP}] ) + theora? ( media-libs/libtheora[${MULTILIB_USEDEP}] ) +" +DEPEND="${RDEPEND} + virtual/pkgconfig +" + +MULTILIB_WRAPPED_HEADERS=( + /usr/include/shout/shout.h +) + +src_prepare() { + default + # Fix docdir + sed '/^docdir/s@$(PACKAGE)@$(PF)@' -i Makefile.am || die + eautoreconf + multilib_copy_sources +} + +multilib_src_configure() { + local myeconfargs=( + $(use_enable speex) + $(use_enable static-libs static) + $(use_enable theora) + ) + ECONF_SOURCE="${S}" econf "${myeconfargs[@]}" +} + +multilib_src_install_all() { + find "${ED}" -name '*.la' -delete || die +} |