From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 042351582EF for ; Mon, 10 Mar 2025 01:34:50 +0000 (UTC) Received: from lists.gentoo.org (bobolink.gentoo.org [140.211.166.189]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) (Authenticated sender: relay-lists.gentoo.org@gentoo.org) by smtp.gentoo.org (Postfix) with ESMTPSA id DAF1B343158 for ; Mon, 10 Mar 2025 01:34:49 +0000 (UTC) Received: from bobolink.gentoo.org (localhost [127.0.0.1]) by bobolink.gentoo.org (Postfix) with ESMTP id 3C1201103A8; Mon, 10 Mar 2025 01:34:45 +0000 (UTC) Received: from smtp.gentoo.org (mail.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by bobolink.gentoo.org (Postfix) with ESMTPS id 37C301103A8 for ; Mon, 10 Mar 2025 01:34:45 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id DFDA9343125 for ; Mon, 10 Mar 2025 01:34:44 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 663DF28B3 for ; Mon, 10 Mar 2025 01:34:43 +0000 (UTC) From: "Sam James" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Sam James" Message-ID: <1741570451.64e215b7911aac2686163fd19ed17a27fa45f244.sam@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: media-sound/ezstream/files/, media-sound/ezstream/ X-VCS-Repository: repo/gentoo X-VCS-Files: media-sound/ezstream/Manifest media-sound/ezstream/ezstream-1.0.2.ebuild media-sound/ezstream/files/ezstream-1.0.2-basename-in-libgen.patch media-sound/ezstream/files/ezstream-1.0.2-conditional-check.patch X-VCS-Directories: media-sound/ezstream/ media-sound/ezstream/files/ X-VCS-Committer: sam X-VCS-Committer-Name: Sam James X-VCS-Revision: 64e215b7911aac2686163fd19ed17a27fa45f244 X-VCS-Branch: master Date: Mon, 10 Mar 2025 01:34:43 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 1b45c622-a71b-45aa-9b7b-82ebfa3be764 X-Archives-Hash: 5410d7990ef54924f78f5c1e71d2a2bc commit: 64e215b7911aac2686163fd19ed17a27fa45f244 Author: NHOrus yahoo com> AuthorDate: Sat Mar 1 17:15:02 2025 +0000 Commit: Sam James gentoo org> CommitDate: Mon Mar 10 01:34:11 2025 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=64e215b7 media-sound/ezstream: add 1.0.2 Closes: https://bugs.gentoo.org/948427 Closes: https://bugs.gentoo.org/936814 Signed-off-by: NHOrus yahoo.com> Closes: https://github.com/gentoo/gentoo/pull/40835 Signed-off-by: Sam James gentoo.org> media-sound/ezstream/Manifest | 1 + media-sound/ezstream/ezstream-1.0.2.ebuild | 53 ++++++++++++++++++++++ .../files/ezstream-1.0.2-basename-in-libgen.patch | 47 +++++++++++++++++++ .../files/ezstream-1.0.2-conditional-check.patch | 21 +++++++++ 4 files changed, 122 insertions(+) diff --git a/media-sound/ezstream/Manifest b/media-sound/ezstream/Manifest index 94500a1b45b2..da106862de0c 100644 --- a/media-sound/ezstream/Manifest +++ b/media-sound/ezstream/Manifest @@ -1 +1,2 @@ DIST ezstream-0.6.0.tar.gz 250448 BLAKE2B 18449d90e51a6880c6acf3d99fd449f666de811dec5dc964102d87b7d1d08dab01e3d9d8d959f4a456ba695464693fec3d990115cc6b6513fcde02c937dab1c1 SHA512 d6b621db85a0d56dcc54a8b7a0136c25342ec507f04ab397a53f46a74e85e94806e17d0a0a59e66096b5c0d97b7f98eaba95a50c1ca6c8d82aed11b854d0d33d +DIST ezstream-1.0.2.tar.gz 514884 BLAKE2B 2184922c7c8eaf6b3cd98561dd3d3f18e79d66f8e2c06dbf80f82288becb08961e179cbb421786d2ca4024d5058b880c789110e8c72162b3f9c7f065981f4d1f SHA512 54a11b6db9fd15259bbd3cfff11d95100b4c334e19a58a39b8b98f97300c57fbcaa19dabc751d93158ec3f7eb7a7101178c99d9eba193e49b7917ed5731aa48d diff --git a/media-sound/ezstream/ezstream-1.0.2.ebuild b/media-sound/ezstream/ezstream-1.0.2.ebuild new file mode 100644 index 000000000000..9a9da7937529 --- /dev/null +++ b/media-sound/ezstream/ezstream-1.0.2.ebuild @@ -0,0 +1,53 @@ +# Copyright 1999-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit autotools + +DESCRIPTION="A command line source client for Icecast media streaming servers" +HOMEPAGE="https://www.icecast.org/ezstream/" +SRC_URI="https://downloads.xiph.org/releases/${PN}/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~ppc ~x86" +IUSE="test" +RESTRICT="!test? ( test )" + +DEPEND=" + dev-libs/libxml2 + >=media-libs/libshout-2.2 + media-libs/taglib:=" +RDEPEND=" + ${DEPEND} + net-misc/icecast" +BDEPEND=" + virtual/pkgconfig + test? ( dev-libs/check )" + +PATCHES=( + "${FILESDIR}/${P}-conditional-check.patch" + "${FILESDIR}/${P}-basename-in-libgen.patch" +) + +src_prepare() { + default + # patching mandatory dependency on libcheck from configure.ac + eautoreconf +} + +src_configure() { + econf \ + --enable-examplesdir='$(docdir)/examples' \ + $(use_enable test check) +} + +src_install() { + default + + newinitd "${FILESDIR}"/${PN}.initd ${PN} + newconfd "${FILESDIR}"/${PN}.confd ${PN} + + rm -f "${ED}"/usr/share/doc/${PF}/COPYING || die +} diff --git a/media-sound/ezstream/files/ezstream-1.0.2-basename-in-libgen.patch b/media-sound/ezstream/files/ezstream-1.0.2-basename-in-libgen.patch new file mode 100644 index 000000000000..a835d2a30fc1 --- /dev/null +++ b/media-sound/ezstream/files/ezstream-1.0.2-basename-in-libgen.patch @@ -0,0 +1,47 @@ +Allow usage of "broken" POSIX basename on non-gnu linux +systems. ALl callsites deal with path modifications already. +Configure sets HAVE_LIBGEN_H on glibc systems, but doesn't +link it. +https://bugs.gentoo.org/936814 +--- a/src/mdata.c ++++ b/src/mdata.c +@@ -24,9 +24,9 @@ + #include + + #include +-#if defined(HAVE_LIBGEN_H) && !defined(__linux__) ++#if defined(HAVE_LIBGEN_H) + # include +-#endif /* HAVE_LIBGEN_H && !__linux__ */ ++#endif /* HAVE_LIBGEN_H */ + #include + #include + #include +--- a/src/ezstream.h ++++ b/src/ezstream.h +@@ -32,9 +32,9 @@ + #include + #include + #include +-#if defined(HAVE_LIBGEN_H) && !defined(__linux__) ++#if defined(HAVE_LIBGEN_H) + # include +-#endif /* HAVE_LIBGEN_H && !__linux__ */ ++#endif /* HAVE_LIBGEN_H */ + #include + #ifdef HAVE_PATHS_H + # include +--- a/src/ezstream-cfgmigrate.c ++++ b/src/ezstream-cfgmigrate.c +@@ -20,9 +20,9 @@ + + #include "compat.h" + +-#if defined(HAVE_LIBGEN_H) && !defined(__linux__) ++#if defined(HAVE_LIBGEN_H) + # include +-#endif /* HAVE_LIBGEN_H && !__linux__ */ ++#endif /* HAVE_LIBGEN_H */ + #include + #include + #include diff --git a/media-sound/ezstream/files/ezstream-1.0.2-conditional-check.patch b/media-sound/ezstream/files/ezstream-1.0.2-conditional-check.patch new file mode 100644 index 000000000000..30cb74e90812 --- /dev/null +++ b/media-sound/ezstream/files/ezstream-1.0.2-conditional-check.patch @@ -0,0 +1,21 @@ +libcheck is used for testing only +Condition out dependency for USE=test +https://bugs.gentoo.org/948427 +--- a/configure.ac ++++ b/configure.ac +@@ -39,8 +39,14 @@ + + AC_SYS_LARGEFILE + +-PKG_CHECK_MODULES([CHECK], [check >= 0.9.4]) ++AC_ARG_ENABLE([check], ++ AS_HELP_STRING([--enable-check], ++ [Enable support for running tests with libtest (default is YES)]), ++ [check_enabled=$enableval], [check_enabled=yes]) + ++AS_IF([test "x$check_enabled" = "xyes"], [ ++ PKG_CHECK_MODULES([CHECK], [check >= 0.9.4]) ++], []) + + dnl ############## + dnl ## COMPILER ########################################################