From: "Alexander Tsoy" <alexander@tsoy.me>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/proj/guru:dev commit in: media-sound/zita-ajbridge/files/, media-sound/zita-ajbridge/
Date: Tue, 24 Jun 2025 05:46:51 +0000 (UTC) [thread overview]
Message-ID: <1750743949.d8d02263ed28dd1664197eb29e34479420f8b9ed.alexander@gentoo> (raw)
commit: d8d02263ed28dd1664197eb29e34479420f8b9ed
Author: Alexander Tsoy <alexander <AT> tsoy <DOT> me>
AuthorDate: Tue Jun 24 05:33:41 2025 +0000
Commit: Alexander Tsoy <alexander <AT> tsoy <DOT> me>
CommitDate: Tue Jun 24 05:45:49 2025 +0000
URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=d8d02263
media-sound/zita-ajbridge: rewrite and revbump
* make it more in line with other zita-* ebuilds
* EAPI 8
* fix CXXFLAGS
* fix LICENSE
* remove app-arch/gzip from BDEPEND
Closes: https://bugs.gentoo.org/887785
Signed-off-by: Alexander Tsoy <alexander <AT> tsoy.me>
.../files/zita-ajbridge-0.8.4-makefile.patch | 39 ++++++++++++++++++++
.../zita-ajbridge/zita-ajbridge-0.8.4-r2.ebuild | 41 ++++++++++++++++++++++
2 files changed, 80 insertions(+)
diff --git a/media-sound/zita-ajbridge/files/zita-ajbridge-0.8.4-makefile.patch b/media-sound/zita-ajbridge/files/zita-ajbridge-0.8.4-makefile.patch
new file mode 100644
index 0000000000..6f986a1313
--- /dev/null
+++ b/media-sound/zita-ajbridge/files/zita-ajbridge-0.8.4-makefile.patch
@@ -0,0 +1,39 @@
+--- a/source/Makefile 2020-04-05 23:36:32.000000000 +0300
++++ b/source/Makefile 2025-06-24 08:11:05.070000000 +0300
+@@ -24,10 +24,10 @@ MANDIR ?= /usr/share/man/man1
+
+ VERSION = 0.8.4
+ CPPFLAGS += -MMD -MP -DVERSION=\"$(VERSION)\"
+-CXXFLAGS += -O2 -Wall
++CXXFLAGS += -Wall
+
+
+-all: zita-a2j zita-j2a zita-ajbridge.1.gz zita-a2j.1.gz zita-j2a.1.gz
++all: zita-a2j zita-j2a
+
+
+ ZITA-A2J_O = zita-a2j.o alsathread.o jackclient.o pxthread.o lfqueue.o
+@@ -63,17 +63,17 @@ install: all
+ install -d $(DESTDIR)$(MANDIR)
+ install -m 755 zita-a2j $(DESTDIR)$(BINDIR)
+ install -m 755 zita-j2a $(DESTDIR)$(BINDIR)
+- install -m 644 zita-ajbridge.1.gz $(DESTDIR)$(MANDIR)
+- install -m 644 zita-a2j.1.gz $(DESTDIR)$(MANDIR)
+- install -m 644 zita-j2a.1.gz $(DESTDIR)$(MANDIR)
++ install -m 644 zita-ajbridge.1 $(DESTDIR)$(MANDIR)
++ install -m 644 zita-a2j.1 $(DESTDIR)$(MANDIR)
++ install -m 644 zita-j2a.1 $(DESTDIR)$(MANDIR)
+
+
+ uninstall:
+ /bin/rm -f $(DESTDIR)$(BINDIR)/zita-a2j
+ /bin/rm -f $(DESTDIR)$(BINDIR)/zita-j2a
+- /bin/rm -f $(DESTDIR)$(MANDIR)/zita-ajbridge.1.gz
+- /bin/rm -f $(DESTDIR)$(MANDIR)/zita-a2j.1.gz
+- /bin/rm -f $(DESTDIR)$(MANDIR)/zita-j2a.1.gz
++ /bin/rm -f $(DESTDIR)$(MANDIR)/zita-ajbridge.1
++ /bin/rm -f $(DESTDIR)$(MANDIR)/zita-a2j.1
++ /bin/rm -f $(DESTDIR)$(MANDIR)/zita-j2a.1
+
+
+ clean:
diff --git a/media-sound/zita-ajbridge/zita-ajbridge-0.8.4-r2.ebuild b/media-sound/zita-ajbridge/zita-ajbridge-0.8.4-r2.ebuild
new file mode 100644
index 0000000000..b9a69de933
--- /dev/null
+++ b/media-sound/zita-ajbridge/zita-ajbridge-0.8.4-r2.ebuild
@@ -0,0 +1,41 @@
+# Copyright 1999-2025 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit toolchain-funcs
+
+DESCRIPTION="zita-a2j and zita-j2a - bridges between ALSA and JACK"
+HOMEPAGE="https://kokkinizita.linuxaudio.org/linuxaudio/zita-ajbridge-doc/quickguide.html"
+SRC_URI="https://kokkinizita.linuxaudio.org/linuxaudio/downloads/${P}.tar.bz2"
+
+LICENSE="GPL-3+"
+SLOT="0"
+KEYWORDS="~amd64"
+
+RDEPEND="
+ media-libs/alsa-lib
+ >=media-libs/zita-alsa-pcmi-0.3.0
+ >=media-libs/zita-resampler-1.6.0
+ virtual/jack
+"
+DEPEND="${RDEPEND}"
+
+PATCHES=(
+ "${FILESDIR}"/${PN}-0.8.4-makefile.patch
+)
+
+src_compile() {
+ tc-export CXX
+ emake -C source
+}
+
+src_install() {
+ local myemakeargs=(
+ DESTDIR="${D}"
+ PREFIX="${EPREFIX}/usr"
+ )
+ emake -C source "${myemakeargs[@]}" install
+
+ einstalldocs
+}
next reply other threads:[~2025-06-24 5:46 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-06-24 5:46 Alexander Tsoy [this message]
-- strict thread matches above, loose matches on Subject: below --
2025-06-26 4:38 [gentoo-commits] repo/proj/guru:dev commit in: media-sound/zita-ajbridge/files/, media-sound/zita-ajbridge/ Alexander Tsoy
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1750743949.d8d02263ed28dd1664197eb29e34479420f8b9ed.alexander@gentoo \
--to=alexander@tsoy.me \
--cc=gentoo-commits@lists.gentoo.org \
--cc=gentoo-dev@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox