commit:     7be44610f004c715a9bdc02bbb8f69281cc83e20
Author:     Alexander Tsoy <alexander <AT> tsoy <DOT> me>
AuthorDate: Sun Jul 13 10:24:53 2025 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Wed Jul 23 02:35:19 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7be44610

media-libs/zita-resampler: remove 1.10.1

Signed-off-by: Alexander Tsoy <alexander <AT> tsoy.me>
Part-of: https://github.com/gentoo/gentoo/pull/42988
Signed-off-by: Sam James <sam <AT> gentoo.org>

 media-libs/zita-resampler/Manifest                 |  1 -
 .../files/zita-resampler-1.10.1-makefile.patch     | 89 ----------------------
 .../zita-resampler/zita-resampler-1.10.1.ebuild    | 49 ------------
 3 files changed, 139 deletions(-)

diff --git a/media-libs/zita-resampler/Manifest 
b/media-libs/zita-resampler/Manifest
index 1fcdc651787a..69b236fefc86 100644
--- a/media-libs/zita-resampler/Manifest
+++ b/media-libs/zita-resampler/Manifest
@@ -1,2 +1 @@
-DIST zita-resampler-1.10.1.tar.xz 118800 BLAKE2B 
b8871899b7e6cac9b46df3c45c5bb1d8e9c9edd41bcbc5944098d9c4eee2ff4e4d216f97b3bfa96ac43082b5333de26201d6cba9eaa152efd20e8c5017478391
 SHA512 
ba95286b0744df393194f4f94a8aad62f6c088cf80f6be71482ed55beef6503a9bab6644f2565b69002247611fcf0fb6561fc0072578466a0133311721b43cf5
 DIST zita-resampler-1.11.2.tar.xz 123452 BLAKE2B 
627b309b38b238902b1cad2cb0963d0182f8f4cc4bc72efcd2b9ecc9810f019968c141e31ffb94110e8c4ca781e1c57b7d3393a3d4699b3f90873958b34ce47c
 SHA512 
1598c9ead4bf858d3a11677c9512932077e1d0b83588682eba402820936fa1cfc5fe1112abbecd945469b4ae2f7a6f59938a5fbb0fdd79de3b0a3a73703b03dd

diff --git 
a/media-libs/zita-resampler/files/zita-resampler-1.10.1-makefile.patch 
b/media-libs/zita-resampler/files/zita-resampler-1.10.1-makefile.patch
deleted file mode 100644
index cbc2ee6e17d3..000000000000
--- a/media-libs/zita-resampler/files/zita-resampler-1.10.1-makefile.patch
+++ /dev/null
@@ -1,89 +0,0 @@
-diff -urpN zita-resampler-1.10.1.orig/apps/Makefile 
zita-resampler-1.10.1/apps/Makefile
---- zita-resampler-1.10.1.orig/apps/Makefile   2023-02-17 12:27:32.000000000 
+0300
-+++ zita-resampler-1.10.1/apps/Makefile        2023-02-19 15:19:08.513618954 
+0300
-@@ -23,18 +23,17 @@ BINDIR ?= $(PREFIX)/bin
- MANDIR ?= /usr/share/man/man1
- 
- VERSION = 1.10.1
--CPPFLAGS += -MMD -MP -DVERSION=\"$(VERSION)\"
--CXXFLAGS += -O2  -ffast-math -Wall
--CXXFLAGS += -march=native
-+CPPFLAGS += -MMD -MP -DVERSION=\"$(VERSION)\" -I ../source
-+CXXFLAGS += -ffast-math -Wall
- 
- 
--all:  zresample zretune zresample.1.gz zretune.1.gz
-+all:  zresample zretune
- 
- 
- ZRESAMPLE_O = zresample.o audiofile.o dither.o
- zresample:    LDLIBS += -lzita-resampler -lsndfile -lrt
- zresample:    $(ZRESAMPLE_O)
--      $(CXX) $(LDFLAGS) -o $@ $(ZRESAMPLE_O) $(LDLIBS)
-+      $(CXX) -L ../source $(LDFLAGS) -o $@ $(ZRESAMPLE_O) $(LDLIBS)
- $(ZRESAMPLE_O):
- -include $(ZRESAMPLE_O:%.o=%.d)
- 
-@@ -42,31 +41,24 @@ $(ZRESAMPLE_O):
- ZRETUNE_O = zretune.o audiofile.o dither.o
- zretune:      LDLIBS += -lzita-resampler -lsndfile -lrt
- zretune:      $(ZRETUNE_O)
--      $(CXX) $(LDFLAGS) -o $@ $(ZRETUNE_O) $(LDLIBS)
-+      $(CXX) -L ../source $(LDFLAGS) -o $@ $(ZRETUNE_O) $(LDLIBS)
- $(ZRETUNE_O):
- -include $(ZRETUNE_O:%.o=%.d)
- 
- 
--zresample.1.gz:       zresample.1
--      gzip -c zresample.1 > zresample.1.gz
--
--zretune.1.gz: zretune.1
--      gzip -c zretune.1 > zretune.1.gz
--
--
- install:      all
-       install -d $(DESTDIR)$(BINDIR)
-       install -d $(DESTDIR)$(MANDIR)
-       install -m 755 zresample $(DESTDIR)$(BINDIR)
-       install -m 755 zretune $(DESTDIR)$(BINDIR)
--      install -m 644 zresample.1.gz $(DESTDIR)$(MANDIR)
--      install -m 644 zretune.1.gz $(DESTDIR)$(MANDIR)
-+      install -m 644 zresample.1 $(DESTDIR)$(MANDIR)
-+      install -m 644 zretune.1 $(DESTDIR)$(MANDIR)
- 
- uninstall: 
-       /bin/rm -f $(DESTDIR)$(BINDIR)/zresample
-       /bin/rm -f $(DESTDIR)$(BINDIR)/zretune
--      /bin/rm -f $(DESTDIR)$(MANDIR)/zresample.1.gz
--      /bin/rm -f $(DESTDIR)$(MANDIR)/zretune.1.gz
-+      /bin/rm -f $(DESTDIR)$(MANDIR)/zresample.1
-+      /bin/rm -f $(DESTDIR)$(MANDIR)/zretune.1
- 
- clean:
-       /bin/rm -f *~ *.o *.a *.d *.so *.gz zresample zretune
-diff -urpN zita-resampler-1.10.1.orig/source/Makefile 
zita-resampler-1.10.1/source/Makefile
---- zita-resampler-1.10.1.orig/source/Makefile 2023-02-17 12:27:32.000000000 
+0300
-+++ zita-resampler-1.10.1/source/Makefile      2023-02-19 15:07:48.327102241 
+0300
-@@ -31,11 +31,9 @@ VERSION = $(MAJVERS).$(MINVERS)
- DISTDIR = zita-resampler-$(VERSION)
- 
- CPPFLAGS += -I. -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS
--CPPFLAGS += -DENABLE_SSE2
- CPPFLAGS += -DZITA_RESAMPLER_MAJOR_VERSION=$(MAJVERS)
- CPPFLAGS += -DZITA_RESAMPLER_MINOR_VERSION=$(MINVERS)
--CXXFLAGS += -Wall -fPIC -O2 -ffast-math
--CXXFLAGS += -march=native
-+CXXFLAGS += -Wall -fPIC -ffast-math
- LDFLAGS += 
- LDLIBS +=
- 
-@@ -49,6 +47,9 @@ ZITA-RESAMPLER_H = zita-resampler/resamp
-       zita-resampler/vresampler.h zita-resampler/cresampler.h
- 
- 
-+$(ZITA-RESAMPLER_SO): $(ZITA-RESAMPLER_MIN)
-+      ln -sf $(ZITA-RESAMPLER_MIN) $(ZITA-RESAMPLER_SO)
-+
- $(ZITA-RESAMPLER_MIN): $(ZITA-RESAMPLER_O)
-       $(CXX) -shared $(LDFLAGS) -Wl,-soname,$(ZITA-RESAMPLER_MAJ) -o 
$(ZITA-RESAMPLER_MIN) $(ZITA-RESAMPLER_O) $(ZITA-RESAMPLER_DEP)
- 

diff --git a/media-libs/zita-resampler/zita-resampler-1.10.1.ebuild 
b/media-libs/zita-resampler/zita-resampler-1.10.1.ebuild
deleted file mode 100644
index 9ca03667fb7d..000000000000
--- a/media-libs/zita-resampler/zita-resampler-1.10.1.ebuild
+++ /dev/null
@@ -1,49 +0,0 @@
-# Copyright 1999-2024 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-inherit flag-o-matic toolchain-funcs
-
-DESCRIPTION="C++ library for real-time resampling of audio signals"
-HOMEPAGE="http://kokkinizita.linuxaudio.org/linuxaudio/";
-SRC_URI="http://kokkinizita.linuxaudio.org/linuxaudio/downloads/${P}.tar.xz";
-
-LICENSE="GPL-3+"
-SLOT="0/1"
-KEYWORDS="amd64 arm arm64 ~loong ~mips ppc ppc64 ~riscv sparc x86"
-IUSE="cpu_flags_x86_sse2 tools"
-
-RDEPEND="tools? ( media-libs/libsndfile )"
-DEPEND="${RDEPEND}"
-
-HTML_DOCS="docs/."
-
-PATCHES=( "${FILESDIR}"/${PN}-1.10.1-makefile.patch )
-
-src_compile() {
-       tc-export CXX
-       # Code paths that uses intrinsics are not properly guarded by symbol 
checks
-       if use cpu_flags_x86_sse2 ; then
-               if tc-cpp-is-true "defined(__SSE2__)" ${CFLAGS} ${CXXFLAGS} ; 
then
-                       append-cppflags "-DENABLE_SSE2"
-               else
-                       ewarn "SSE2 support has been disabled automatically 
because the"
-                       ewarn "compiler does not support corresponding 
intrinsics"
-               fi
-       fi
-
-       emake -C source
-       if use tools; then
-               emake -C apps
-       fi
-}
-
-src_install() {
-       emake -C source DESTDIR="${D}" PREFIX="${EPREFIX}/usr" 
LIBDIR="${EPREFIX}"/usr/$(get_libdir) install
-       if use tools; then
-               emake -C apps DESTDIR="${D}" PREFIX="${EPREFIX}/usr" install
-       fi
-
-       einstalldocs
-}

Reply via email to