From mboxrd@z Thu Jan  1 00:00:00 1970
Return-Path: <gentoo-commits+bounces-1688861-garchives=archives.gentoo.org@lists.gentoo.org>
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 (4096 bits))
	(No client certificate requested)
	by finch.gentoo.org (Postfix) with ESMTPS id 8E9D2158042
	for <garchives@archives.gentoo.org>; Mon, 11 Nov 2024 18:37:52 +0000 (UTC)
Received: from pigeon.gentoo.org (localhost [127.0.0.1])
	by pigeon.gentoo.org (Postfix) with SMTP id 57549E0844;
	Mon, 11 Nov 2024 18:37:51 +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 3C105E0844
	for <gentoo-commits@lists.gentoo.org>; Mon, 11 Nov 2024 18:37:51 +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 39BD8340BE0
	for <gentoo-commits@lists.gentoo.org>; Mon, 11 Nov 2024 18:37:50 +0000 (UTC)
Received: from localhost.localdomain (localhost [IPv6:::1])
	by oystercatcher.gentoo.org (Postfix) with ESMTP id 6C17A1CBF
	for <gentoo-commits@lists.gentoo.org>; Mon, 11 Nov 2024 18:37:48 +0000 (UTC)
From: "Andreas Sturmlechner" <asturm@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Content-Transfer-Encoding: 8bit
Content-type: text/plain; charset=UTF-8
Reply-To: gentoo-dev@lists.gentoo.org, "Andreas Sturmlechner" <asturm@gentoo.org>
Message-ID: <1731350190.c8bbdce9d1e6fb79cd1d16934237ad78181346b1.asturm@gentoo>
Subject: [gentoo-commits] repo/gentoo:master commit in: media-sound/terminatorx/
X-VCS-Repository: repo/gentoo
X-VCS-Files: media-sound/terminatorx/terminatorx-4.2.0-r1.ebuild
X-VCS-Directories: media-sound/terminatorx/
X-VCS-Committer: asturm
X-VCS-Committer-Name: Andreas Sturmlechner
X-VCS-Revision: c8bbdce9d1e6fb79cd1d16934237ad78181346b1
X-VCS-Branch: master
Date: Mon, 11 Nov 2024 18:37:48 +0000 (UTC)
Precedence: bulk
List-Post: <mailto:gentoo-commits@lists.gentoo.org>
List-Help: <mailto:gentoo-commits+help@lists.gentoo.org>
List-Unsubscribe: <mailto:gentoo-commits+unsubscribe@lists.gentoo.org>
List-Subscribe: <mailto:gentoo-commits+subscribe@lists.gentoo.org>
List-Id: Gentoo Linux mail <gentoo-commits.gentoo.org>
X-BeenThere: gentoo-commits@lists.gentoo.org
X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply
X-Archives-Salt: dd965dc2-f142-4c78-a466-4ed8254706cf
X-Archives-Hash: 0fd086ab6bc64605a07c85413552f575

commit:     c8bbdce9d1e6fb79cd1d16934237ad78181346b1
Author:     Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
AuthorDate: Sun Nov 10 10:37:46 2024 +0000
Commit:     Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
CommitDate: Mon Nov 11 18:36:30 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c8bbdce9

media-sound/terminatorx: Add x11-libs/gtk+[X] USEdep, switch to libpulse

Closes: https://bugs.gentoo.org/889624
Bug: https://bugs.gentoo.org/636832
Signed-off-by: Andreas Sturmlechner <asturm <AT> gentoo.org>

 .../terminatorx/terminatorx-4.2.0-r1.ebuild        | 64 ++++++++++++++++++++++
 1 file changed, 64 insertions(+)

diff --git a/media-sound/terminatorx/terminatorx-4.2.0-r1.ebuild b/media-sound/terminatorx/terminatorx-4.2.0-r1.ebuild
new file mode 100644
index 000000000000..eabac007a9b5
--- /dev/null
+++ b/media-sound/terminatorx/terminatorx-4.2.0-r1.ebuild
@@ -0,0 +1,64 @@
+# Copyright 1999-2024 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)
+}