gentoo-ebuilds/media-sound/terminatorx/terminatorx-4.2.0-r2.ebuild
Alfred Wingate b3d726f8b5
media-sound/terminatorx: add dev-libs/libxml2 subslot op for incoming ABI break
Signed-off-by: Alfred Wingate <parona@protonmail.com>
Part-of: https://github.com/gentoo/gentoo/pull/41919
Signed-off-by: Sam James <sam@gentoo.org>
2025-06-09 04:10:38 +01:00

64 lines
1.5 KiB
Bash

# Copyright 1999-2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
MY_P=${P/terminatorx/terminatorX}
inherit gnome2
DESCRIPTION="Realtime audio synthesizer allowing you to 'scratch' on sampled audio data"
HOMEPAGE="https://terminatorx.org/"
# this is the original location but there is an issue with their certificate so mirroring the file
#SRC_URI="https://terminatorx.org/dist/${MY_P}.tar.bz2"
SRC_URI="https://dev.gentoo.org/~fordfrog/distfiles/${MY_P}.tar.bz2"
S="${WORKDIR}/${MY_P}"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="amd64 x86"
# Making X optional fails when disabled: https://bugs.gentoo.org/636832
IUSE="+alsa debug jack mad pulseaudio vorbis sox"
REQUIRED_USE="|| ( alsa jack pulseaudio )"
RDEPEND="
dev-libs/glib:2
dev-libs/libxml2:2=
media-libs/audiofile:=
media-libs/ladspa-sdk
media-libs/liblrdf
media-plugins/cmt-plugins
x11-libs/gtk+:3[X]
x11-libs/libXi
x11-libs/libXxf86dga
alsa? ( media-libs/alsa-lib )
jack? ( virtual/jack )
mad? ( media-sound/madplay )
pulseaudio? ( media-libs/libpulse )
vorbis? ( media-libs/libvorbis )
sox? (
media-sound/sox
media-sound/mpg123
)
"
DEPEND="${RDEPEND}
x11-base/xorg-proto
"
BDEPEND="
dev-util/itstool
virtual/pkgconfig
"
PATCHES=( "${FILESDIR}/${P}-metadata-dir.patch" )
src_configure() {
gnome2_src_configure \
--enable-x11 \
$(use_enable alsa) \
$(use_enable debug) \
$(use_enable jack) \
$(use_enable mad) \
$(use_enable pulseaudio pulse) \
$(use_enable vorbis) \
$(use_enable sox)
}