gentoo/media-sound/mangler/mangler-1.2.5-r5.ebuild
Andreas Sturmlechner 657f12ed29
media-sound/mangler: bump EAPI 7 -> 8, switch to media-libs/libpulse
Add missing patch file, amends 9f99a203a92aa552908410e1b0e4353946d65eb1

Closes: https://bugs.gentoo.org/569006
Closes: https://bugs.gentoo.org/961796
Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
2025-08-29 16:20:00 +02:00

69 lines
1.4 KiB
Bash

# Copyright 1999-2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
inherit autotools toolchain-funcs
DESCRIPTION="Open source VOIP client capable of connecting to Ventrilo 3.x servers"
HOMEPAGE="http://www.mangler.org/"
SRC_URI="http://www.mangler.org/downloads/${P}.tar.bz2"
LICENSE="GPL-3 LGPL-2.1 ZLIB"
SLOT="0"
KEYWORDS="amd64 x86"
IUSE="+alsa opus espeak +gsm oss pulseaudio +speex +xosd"
RDEPEND="
dev-cpp/gtkmm:2.4
gnome-base/librsvg
>=dev-libs/dbus-glib-0.80
>=dev-libs/glib-2.20.1:2
>=x11-libs/gtk+-2.16:2
x11-libs/libX11
x11-libs/libXi
alsa? ( media-libs/alsa-lib )
opus? ( media-libs/opus )
espeak? ( app-accessibility/espeak-ng )
gsm? ( media-sound/gsm )
pulseaudio? ( media-libs/libpulse )
speex? ( >=media-libs/speex-1.2_rc1 )
xosd? ( x11-libs/xosd )
"
DEPEND="${RDEPEND}"
BDEPEND="virtual/pkgconfig"
PATCHES=(
"${FILESDIR}/${P}-version-info.patch"
"${FILESDIR}/${P}-narrowing_conversion.patch"
"${FILESDIR}/${P}-espeak-ng.patch"
"${FILESDIR}/${P}-hostname-fix.patch" # bug 569006
)
src_prepare() {
default
eautoreconf
}
src_configure() {
tc-export CC
econf \
--disable-g15 \
$(use_enable gsm) \
$(use_enable speex) \
$(use_enable opus) \
$(use_enable xosd) \
$(use_enable espeak) \
$(use_with pulseaudio) \
$(use_with alsa) \
$(use_with oss)
}
src_install() {
default
# no static archives
find "${ED}" -name '*.la' -delete || die
}