media-libs/libsamplerate: remove unused patch(es)

Package-Manager: Portage-3.0.18, Repoman-3.0.3
Signed-off-by: Michael Mair-Keimberger <mmk@levelnine.at>
Closes: https://github.com/gentoo/gentoo/pull/20506
Signed-off-by: Miroslav Šulc <fordfrog@gentoo.org>
This commit is contained in:
Michael Mair-Keimberger
2021-04-22 20:14:47 +02:00
committed by Miroslav Šulc
parent a30bba12b8
commit b7c408a069
4 changed files with 0 additions and 127 deletions

View File

@@ -1,32 +0,0 @@
Index: libsamplerate-0.1.3/examples/Makefile.am
===================================================================
--- libsamplerate-0.1.3.orig/examples/Makefile.am
+++ libsamplerate-0.1.3/examples/Makefile.am
@@ -3,7 +3,7 @@
bin_PROGRAMS = sndfile-resample
-noinst_PROGRAMS = varispeed-play timewarp-file
+EXTRA_PROGRAMS = varispeed-play timewarp-file
SAMPLERATEDIR =../src
INCLUDES = -I$(srcdir)/$(SAMPLERATEDIR) @OS_SPECIFIC_INCLUDES@
Index: libsamplerate-0.1.3/tests/Makefile.am
===================================================================
--- libsamplerate-0.1.3.orig/tests/Makefile.am
+++ libsamplerate-0.1.3/tests/Makefile.am
@@ -1,4 +1,4 @@
-noinst_PROGRAMS = misc_test termination_test simple_test callback_test \
+EXTRA_PROGRAMS = misc_test termination_test simple_test callback_test \
reset_test multi_channel_test snr_bw_test \
float_short_test varispeed_test callback_hang_test \
src-evaluate throughput_test
@@ -55,7 +55,7 @@ throughput_test_LDADD = $(SAMPLRATEDIR)
#===============================================================================
-check: $(noinst_PROGRAMS)
+check: $(EXTRA_PROGRAMS)
date
uname -a
./misc_test

View File

@@ -1,8 +0,0 @@
--- libsamplerate-0.1.8/samplerate.pc.in.orig
+++ libsamplerate-0.1.8/samplerate.pc.in
@@ -8,4 +8,5 @@
Requires:
Version: @VERSION@
Libs: -L${libdir} -lsamplerate
+Libs.private: @LIBS@
Cflags: -I${includedir}

View File

@@ -1,53 +0,0 @@
From 06fea5c39b186955194e85ada50724465c39033d Mon Sep 17 00:00:00 2001
From: David Seifert <soap@gentoo.org>
Date: Sat, 10 Jun 2017 15:48:00 +0200
Subject: [PATCH] Remove htmldocdir variable
* Autoconf and Automake provide a variable (htmldir)
for this already.
* asturm 2020-09-04: Rebased onto 0.1.9
---
configure.ac | 10 ----------
doc/Makefile.am | 6 +-----
2 files changed, 1 insertion(+), 15 deletions(-)
diff --git a/configure.ac b/configure.ac
index 0ce20e9..6d5e692 100644
--- a/configure.ac
+++ b/configure.ac
@@ -264,21 +264,11 @@ AS_CASE([$target_os],
;;
esac
-htmldocdir=$prefix/share/doc/libsamplerate0-dev/html
-
-if test $prefix = "NONE" ; then
- htmldocdir=/usr/local/share/doc/libsamplerate0-dev/html
-else
- htmldocdir=$prefix/share/doc/libsamplerate0-dev/html
- fi
-
#====================================================================================
# Now use the information from the checking stage.
AC_DEFINE_UNQUOTED(OS_IS_WIN32, ${os_is_win32}, [Set to 1 if compiling for Win32])
-AC_SUBST(htmldocdir)
-
AC_SUBST(SHLIB_VERSION_ARG)
AC_SUBST(SHARED_VERSION_INFO)
AC_SUBST(OS_SPECIFIC_INCLUDES)
diff --git a/doc/Makefile.am b/doc/Makefile.am
index be86d64..cbc9963 100644
--- a/doc/Makefile.am
+++ b/doc/Makefile.am
@@ -1,7 +1,3 @@
-htmldir = $(htmldocdir)
-html_DATA = SRC.png SRC.css index.html license.html history.html download.html \
+dist_html_DATA = SRC.png SRC.css index.html license.html history.html download.html \
lists.html quality.html win32.html faq.html api.html \
api_simple.html api_callback.html api_full.html api_misc.html
-
-EXTRA_DIST = $(html_DATA)
-

View File

@@ -1,34 +0,0 @@
From bf39835df4eba7b2ec2d5c5e7d1d40397942c3b0 Mon Sep 17 00:00:00 2001
From: David Seifert <soap@gentoo.org>
Date: Sat, 27 Jan 2018 14:12:35 +0100
Subject: [PATCH] Move `sndfile-resample` to sndfile-tools package
* Fixes https://bugs.gentoo.org/645258
* asturm 2020-09-04: Rebased onto 0.1.9
---
Makefile.am | 7 -
1 file changed, 7 deletions(-)
--- a/examples/Makefile.am 2014-11-30 11:44:50.000000000 +0100
+++ b/examples/Makefile.am 2020-09-04 17:30:07.824611967 +0200
@@ -1,8 +1,6 @@
# This file was automatically generated
# DO NOT EDIT!
-bin_PROGRAMS = sndfile-resample
-
EXTRA_PROGRAMS = varispeed-play timewarp-file
SAMPLERATEDIR =../src
@@ -15,9 +13,6 @@
#===============================================================================
-sndfile_resample_SOURCES = sndfile-resample.c
-sndfile_resample_LDADD = $(SAMPLERATEDIR)/libsamplerate.la $(SNDFILE_LIBS)
-
varispeed_play_SOURCES = varispeed-play.c audio_out.c audio_out.h
varispeed_play_LDADD = $(SAMPLERATEDIR)/libsamplerate.la $(SNDFILE_LIBS) $(OS_SPECIFIC_LINKS)