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 A50FE1584F2 for ; Wed, 12 Mar 2025 10:15:04 +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 88624343159 for ; Wed, 12 Mar 2025 10:15:04 +0000 (UTC) Received: from bobolink.gentoo.org (localhost [127.0.0.1]) by bobolink.gentoo.org (Postfix) with ESMTP id 7C7C81103E3; Wed, 12 Mar 2025 10:14:49 +0000 (UTC) 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 bobolink.gentoo.org (Postfix) with ESMTPS id 72BAF1103E2 for ; Wed, 12 Mar 2025 10:14:49 +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 1E55034315E for ; Wed, 12 Mar 2025 10:14:49 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 52E5D28EC for ; Wed, 12 Mar 2025 10:14:46 +0000 (UTC) From: "Ionen Wolkens" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Ionen Wolkens" Message-ID: <1741774303.593da86a6bb7c3b72e2f228725164b543d3ce04d.ionen@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: media-sound/pianobar/ X-VCS-Repository: repo/gentoo X-VCS-Files: media-sound/pianobar/pianobar-2022.04.01-r1.ebuild X-VCS-Directories: media-sound/pianobar/ X-VCS-Committer: ionen X-VCS-Committer-Name: Ionen Wolkens X-VCS-Revision: 593da86a6bb7c3b72e2f228725164b543d3ce04d X-VCS-Branch: master Date: Wed, 12 Mar 2025 10:14:46 +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: 8b92765c-4827-4a56-8b54-6bda339c1aac X-Archives-Hash: 1d57dbf23985bf584488988c640f9be0 commit: 593da86a6bb7c3b72e2f228725164b543d3ce04d Author: Ionen Wolkens gentoo org> AuthorDate: Wed Mar 12 04:33:12 2025 +0000 Commit: Ionen Wolkens gentoo org> CommitDate: Wed Mar 12 10:11:43 2025 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=593da86a media-sound/pianobar: use ffmpeg-compat It is possible fixes already exist for ffmpeg-7 on this package, but not planning to look into that myself. Given no code changes, plans are to sync keywords back with stable when ready. Bug: https://bugs.gentoo.org/949272 Signed-off-by: Ionen Wolkens gentoo.org> media-sound/pianobar/pianobar-2022.04.01-r1.ebuild | 50 ++++++++++++++++++++++ 1 file changed, 50 insertions(+) diff --git a/media-sound/pianobar/pianobar-2022.04.01-r1.ebuild b/media-sound/pianobar/pianobar-2022.04.01-r1.ebuild new file mode 100644 index 000000000000..ecb0611746a1 --- /dev/null +++ b/media-sound/pianobar/pianobar-2022.04.01-r1.ebuild @@ -0,0 +1,50 @@ +# Copyright 1999-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit ffmpeg-compat flag-o-matic toolchain-funcs + +if [[ ${PV} == 9999 ]]; then + inherit git-r3 + EGIT_REPO_URI="https://github.com/PromyLOPh/pianobar.git" +else + SRC_URI="https://6xq.net/${PN}/${P}.tar.bz2" + KEYWORDS="~amd64 ~x86" +fi + +DESCRIPTION="A console-based replacement for Pandora's flash player" +HOMEPAGE="https://6xq.net/pianobar/" + +LICENSE="MIT" +SLOT="0" + +RDEPEND=" + dev-libs/json-c:= + dev-libs/libgcrypt:= + media-libs/libao + media-video/ffmpeg-compat:6= + net-misc/curl +" +DEPEND="${RDEPEND}" +BDEPEND="virtual/pkgconfig" + +src_compile() { + # TODO: fix with >=ffmpeg-7 then drop compat (bug #949272) + ffmpeg_compat_setup 6 + + append-cflags -std=c99 + tc-export AR CC + emake V=1 DYNLINK=1 +} + +src_install() { + emake DESTDIR="${D}" PREFIX=/usr LIBDIR=/usr/$(get_libdir) DYNLINK=1 install + dodoc ChangeLog README.rst + + rm "${D}"/usr/lib*/*.a || die + + docinto contrib + dodoc -r contrib/{config-example,*.sh,eventcmd-examples} + docompress -x /usr/share/doc/${PF}/contrib +}