From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 69C2C158083 for ; Fri, 6 Sep 2024 09:42:29 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 8A67FE29EA; Fri, 6 Sep 2024 09:42:28 +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) server-digest SHA256) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 6BA0DE29EA for ; Fri, 6 Sep 2024 09:42:28 +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) server-digest SHA256) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 680D634134D for ; Fri, 6 Sep 2024 09:42:27 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id C86551F3F for ; Fri, 6 Sep 2024 09:42:25 +0000 (UTC) From: "Miroslav Šulc" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Miroslav Šulc" Message-ID: <1725615742.68ea65bbb1877f4048d9fec2a598505fa17ae469.fordfrog@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: media-sound/alsaplayer/, media-sound/alsaplayer/files/ X-VCS-Repository: repo/gentoo X-VCS-Files: media-sound/alsaplayer/Manifest media-sound/alsaplayer/alsaplayer-0.99.82.ebuild media-sound/alsaplayer/files/alsaplayer-0.99.82-autotools.patch X-VCS-Directories: media-sound/alsaplayer/files/ media-sound/alsaplayer/ X-VCS-Committer: fordfrog X-VCS-Committer-Name: Miroslav Šulc X-VCS-Revision: 68ea65bbb1877f4048d9fec2a598505fa17ae469 X-VCS-Branch: master Date: Fri, 6 Sep 2024 09:42:25 +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: 4e3e1fb0-fb3a-4d4a-9e93-6751f31ec58f X-Archives-Hash: a64ce1fd7c85996e97fef6f10f97dbd2 commit: 68ea65bbb1877f4048d9fec2a598505fa17ae469 Author: Miroslav Šulc gentoo org> AuthorDate: Fri Sep 6 09:42:14 2024 +0000 Commit: Miroslav Šulc gentoo org> CommitDate: Fri Sep 6 09:42:22 2024 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=68ea65bb media-sound/alsaplayer: bump to 0.99.82 Signed-off-by: Miroslav Šulc gentoo.org> media-sound/alsaplayer/Manifest | 1 + media-sound/alsaplayer/alsaplayer-0.99.82.ebuild | 81 ++++++++++++++++++++++ .../files/alsaplayer-0.99.82-autotools.patch | 24 +++++++ 3 files changed, 106 insertions(+) diff --git a/media-sound/alsaplayer/Manifest b/media-sound/alsaplayer/Manifest index b57e60ab662e..50ca52c5345c 100644 --- a/media-sound/alsaplayer/Manifest +++ b/media-sound/alsaplayer/Manifest @@ -1 +1,2 @@ DIST alsaplayer-0.99.81.tar.bz2 806906 BLAKE2B 6b37aaa65f6426a43483c3fa7e077ca89ce553655587e0f44ac61ade5d4f5467a304e18ef0142336b0cc94311498ccaa16d9ed2d6eb8109474626c6d1a4ca97d SHA512 6723b36837d01f14645bb1d43ec7c54c85e8afed9b020f56dc81b4de64b74e4da2504507fe83954c7b26817e90510c585d09e759fc11e731d4d27e86f3932650 +DIST alsaplayer-0.99.82.tar.gz 1087776 BLAKE2B 34a197799da90c2dfe08b4a85baa3ac47d1b21e919908981c6ff3993a16fa1b97814cab54aae84be9e1da8fa3395952ef8fef85fe153a528ea3a6d6cd0f20658 SHA512 749fb8581d766df28a1ec42af9888fda0665ffcc0bb85a489365ae02611bc90a6cfc42d9c2cb19a3eeb385fb2c401b9d16e864a22887d8d6b6de3a55ebc140e2 diff --git a/media-sound/alsaplayer/alsaplayer-0.99.82.ebuild b/media-sound/alsaplayer/alsaplayer-0.99.82.ebuild new file mode 100644 index 000000000000..ec4c2f7e0031 --- /dev/null +++ b/media-sound/alsaplayer/alsaplayer-0.99.82.ebuild @@ -0,0 +1,81 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit autotools desktop flag-o-matic xdg + +DESCRIPTION="A heavily multi-threaded pluggable audio player" +HOMEPAGE="https://alsaplayer.sourceforge.net/" +SRC_URI="https://github.com/alsaplayer/alsaplayer/archive/refs/tags/${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~mips ~ppc ~riscv ~sparc ~x86" +IUSE="+alsa doc flac gtk id3tag jack mad mikmod nas nls ogg opengl oss vorbis xosd" +REQUIRED_USE="|| ( alsa jack nas oss )" + +RDEPEND=" + media-libs/libsndfile:= + sys-libs/zlib:= + alsa? ( media-libs/alsa-lib ) + flac? ( media-libs/flac:= ) + gtk? ( >=x11-libs/gtk+-2.10:2 ) + id3tag? ( media-libs/libid3tag:= ) + jack? ( virtual/jack ) + mad? ( media-libs/libmad ) + mikmod? ( media-libs/libmikmod:0 ) + nas? ( media-libs/nas ) + ogg? ( media-libs/libogg ) + opengl? ( virtual/opengl ) + vorbis? ( media-libs/libvorbis ) + xosd? ( x11-libs/xosd )" +DEPEND="${RDEPEND} + oss? ( virtual/os-headers )" +BDEPEND=" + sys-devel/gettext + virtual/pkgconfig + doc? ( app-text/doxygen )" + +PATCHES=( "${FILESDIR}"/${P}-autotools.patch ) + +src_prepare() { + default + cp "${BROOT}"/usr/share/gettext/config.rpath . || die + eautoreconf +} + +src_configure() { + # -Werror=odr + # https://bugs.gentoo.org/860423 + # https://github.com/alsaplayer/alsaplayer/issues/28 + filter-lto + + export ac_cv_prog_HAVE_DOXYGEN=$(usex doc true false) + export ac_cv_lib_xosd_xosd_create=$(usex xosd) + + econf \ + --disable-esd \ + $(use_enable nls) \ + $(use_enable opengl) \ + $(use_enable mikmod) \ + $(use_enable vorbis oggvorbis) \ + $(use_enable flac) \ + $(use_enable mad) \ + $(use_enable id3tag) \ + $(use_enable gtk systray) \ + $(use_enable jack) \ + $(use_enable alsa) \ + $(use_enable oss) \ + $(use_enable gtk gtk2) \ + $(use_enable nas) +} + +src_install() { + default + dodoc docs/*.txt + + newicon interface/gtk2/pixmaps/logo.xpm ${PN}.xpm + + find "${ED}" -name '*.la' -delete || die +} diff --git a/media-sound/alsaplayer/files/alsaplayer-0.99.82-autotools.patch b/media-sound/alsaplayer/files/alsaplayer-0.99.82-autotools.patch new file mode 100644 index 000000000000..202d2e8ccf12 --- /dev/null +++ b/media-sound/alsaplayer/files/alsaplayer-0.99.82-autotools.patch @@ -0,0 +1,24 @@ +--- a/configure.ac ++++ b/configure.ac +@@ -82,11 +82,6 @@ + dnl PKGCONFIG preparations + dnl ====================== + +-if test -z $PKG_CONFIG_PATH; then +- PKG_CONFIG_PATH=/usr/local/lib/pkgconfig:/usr/lib/pkgconfig +-fi +- +-export PKG_CONFIG_PATH + + + dnl =============== +--- a/output/jack/Makefile.am ++++ b/output/jack/Makefile.am +@@ -24,7 +24,6 @@ + + AM_CXXFLAGS = $(COMMON_FLAGS) $(JACK_CFLAGS) + +-AM_CFLAGS = $(AM_CXXFLAGS) + + libdir = $(ADDON_DIR)/output +