summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Sturmlechner <asturm@gentoo.org>2018-02-17 17:39:15 +0100
committerAndreas Sturmlechner <asturm@gentoo.org>2018-02-17 20:16:06 +0100
commit3e6e6c73b2160f94eaf98a256b0a559182d80562 (patch)
tree793a4dc24d7c88a1bbb061da028a946100657089 /media-libs
parentmedia-video/vlc: Add media-libs/libmtp slot op (diff)
downloadgentoo-3e6e6c73b2160f94eaf98a256b0a559182d80562.tar.gz
gentoo-3e6e6c73b2160f94eaf98a256b0a559182d80562.tar.bz2
gentoo-3e6e6c73b2160f94eaf98a256b0a559182d80562.zip
media-libs/libshout: EAPI 6, fix header checksum mismatch
Drop ancient emul-linux blockers. Closes: https://bugs.gentoo.org/597052 Package-Manager: Portage-2.3.24, Repoman-2.3.6
Diffstat (limited to 'media-libs')
-rw-r--r--media-libs/libshout/libshout-2.4.1-r1.ebuild54
1 files changed, 54 insertions, 0 deletions
diff --git a/media-libs/libshout/libshout-2.4.1-r1.ebuild b/media-libs/libshout/libshout-2.4.1-r1.ebuild
new file mode 100644
index 000000000000..21f924bc6668
--- /dev/null
+++ b/media-libs/libshout/libshout-2.4.1-r1.ebuild
@@ -0,0 +1,54 @@
+# Copyright 1999-2018 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+inherit autotools multilib-minimal
+
+DESCRIPTION="library for connecting and sending data to icecast servers"
+HOMEPAGE="http://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 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd"
+IUSE="libressl speex static-libs theora"
+
+RDEPEND="
+ >=media-libs/libogg-1.3.0[${MULTILIB_USEDEP}]
+ >=media-libs/libvorbis-1.3.3-r1[${MULTILIB_USEDEP}]
+ !libressl? ( dev-libs/openssl:0= )
+ libressl? ( dev-libs/libressl )
+ speex? ( >=media-libs/speex-1.2_rc1-r1[${MULTILIB_USEDEP}] )
+ theora? ( >=media-libs/libtheora-1.1.1[${MULTILIB_USEDEP}] )
+"
+DEPEND="${RDEPEND}
+ virtual/pkgconfig
+"
+
+MULTILIB_WRAPPED_HEADERS=(
+ /usr/include/shout/shout.h
+)
+
+DOCS=( README examples/example.c )
+
+PATCHES=( "${FILESDIR}"/${PN}-2.4.1-underlinking.patch )
+
+src_prepare() {
+ default
+ eautoreconf
+ multilib_copy_sources
+}
+
+multilib_src_configure() {
+ ECONF_SOURCE="${S}" econf \
+ $(use_enable static-libs static) \
+ $(use_enable theora) \
+ $(use_enable speex)
+}
+
+multilib_src_install_all() {
+ einstalldocs
+ rm -rf "${ED}"/usr/share/doc/${PN} || die
+ find "${D}" -name '*.la' -delete || die
+}