From 8bf02d8edf7e8947a205e2dca77bee4c4e31739b Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Fri, 6 Sep 2024 12:28:43 +0100 Subject: gentoo auto-resync : 06:09:2024 - 12:28:42 --- media-sound/alsaplayer/Manifest | 3 + media-sound/alsaplayer/alsaplayer-0.99.82.ebuild | 81 ++++++++++++++++++++++ .../files/alsaplayer-0.99.82-autotools.patch | 24 +++++++ 3 files changed, 108 insertions(+) create mode 100644 media-sound/alsaplayer/alsaplayer-0.99.82.ebuild create mode 100644 media-sound/alsaplayer/files/alsaplayer-0.99.82-autotools.patch (limited to 'media-sound/alsaplayer') diff --git a/media-sound/alsaplayer/Manifest b/media-sound/alsaplayer/Manifest index af7e5bb22347..bc5f675e2787 100644 --- a/media-sound/alsaplayer/Manifest +++ b/media-sound/alsaplayer/Manifest @@ -1,4 +1,7 @@ AUX alsaplayer-0.99.81-autotools.patch 943 BLAKE2B 0f51ca345e6ccadd25f28ae1961af3ea70055297ad020aa232b9604ffb80c68de79ce42b231a3f8e3bf66ba0c92cd9759b604eab3aae09c9e7b61ab96b0da047 SHA512 a0c55913e8f52578f441229ed3cab999416732b45dc5019965fc32635cb5b9f7fb603ef23eacc5b22da9d423d751a12a448f1f9293e929a303673d28a33d0ae5 +AUX alsaplayer-0.99.82-autotools.patch 457 BLAKE2B ba1bdd117233b38a13c87895ff4059df29203714b680165d7c8d470a43fb5b1016bec3c7eca611f51a8ba00c71b14a705b2afb8d7de656287e125840bafdaad4 SHA512 56b08e8bd2a34c7d1aac80c9466442454b85d17a83d7ed44692837a1a1721e3ec68ea6f25e2c2985cf50ec82523a53a0d78745aeeab661b595518bd1b596a099 DIST alsaplayer-0.99.81.tar.bz2 806906 BLAKE2B 6b37aaa65f6426a43483c3fa7e077ca89ce553655587e0f44ac61ade5d4f5467a304e18ef0142336b0cc94311498ccaa16d9ed2d6eb8109474626c6d1a4ca97d SHA512 6723b36837d01f14645bb1d43ec7c54c85e8afed9b020f56dc81b4de64b74e4da2504507fe83954c7b26817e90510c585d09e759fc11e731d4d27e86f3932650 +DIST alsaplayer-0.99.82.tar.gz 1087776 BLAKE2B 34a197799da90c2dfe08b4a85baa3ac47d1b21e919908981c6ff3993a16fa1b97814cab54aae84be9e1da8fa3395952ef8fef85fe153a528ea3a6d6cd0f20658 SHA512 749fb8581d766df28a1ec42af9888fda0665ffcc0bb85a489365ae02611bc90a6cfc42d9c2cb19a3eeb385fb2c401b9d16e864a22887d8d6b6de3a55ebc140e2 EBUILD alsaplayer-0.99.81-r4.ebuild 2008 BLAKE2B bb86f71224b47bc1a92937bd897f81bd747e39bfd7cf79ffe21be35e76fbef03791e72e7fd665f5077dcce5a72a9cb415c0d971748056b7e9fea11e440f85953 SHA512 6b192ea34042150730d0a1b2ab6109cacfac7679c8b06fa35d27fcde2dcc716d29381a7a1784b758a27ec713f85f2eb299fda3441c7168fe23acb3c4df857894 +EBUILD alsaplayer-0.99.82.ebuild 1972 BLAKE2B 05854131a597fbe87b1471f0e9d5523a12164f4db23798fb40a5345295dff357946f6575a831b5c206a094ff4229353a9bcba0e30f0493a45c2436be1454cdf0 SHA512 7430d392c9eacd795eed6a529cb4445067ba9b4782aaf544a7b011662830f8328a19321b42fb33cbfbf7e5dbd03e898967a9ff5ac15c82801a773f580dfdab26 MISC metadata.xml 479 BLAKE2B 8424c58b84638f044863d20256f981d9ff3e2d2c9730876dff3992bae3d16402dbbe1bdc9c6fae1d9d20155129492ce91936366daf767c3d99ca144e3440f036 SHA512 a137fa32fb8119b394f5ddc9d1975b91f221e6e8c92a18ea0a4b74ed0090f9a2cb81e359355cfc13f7024a8e381aba0084f49c519b664c5418802a087f3f573b 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 + -- cgit v1.2.3