summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMiroslav Šulc <fordfrog@gentoo.org>2019-12-27 20:03:00 +0100
committerMiroslav Šulc <fordfrog@gentoo.org>2019-12-27 20:03:00 +0100
commita15601c584fe7e6f3d89b037b0e789454f0c9ed2 (patch)
treed7491341ab129115ef1537eb70bf3f531252206a
parentmedia-sound/guitarix: moved to the main tree (diff)
downloadfordfrog-a15601c584fe7e6f3d89b037b0e789454f0c9ed2.tar.gz
fordfrog-a15601c584fe7e6f3d89b037b0e789454f0c9ed2.tar.bz2
fordfrog-a15601c584fe7e6f3d89b037b0e789454f0c9ed2.zip
media-libs/zita-resampler: already in the main tree
Signed-off-by: Miroslav Šulc <fordfrog@gentoo.org>
-rw-r--r--media-libs/zita-resampler/Manifest4
-rw-r--r--media-libs/zita-resampler/files/zita-resampler-1.6.0-Makefile.patch90
-rw-r--r--media-libs/zita-resampler/metadata.xml8
-rw-r--r--media-libs/zita-resampler/zita-resampler-1.6.0.ebuild39
4 files changed, 0 insertions, 141 deletions
diff --git a/media-libs/zita-resampler/Manifest b/media-libs/zita-resampler/Manifest
deleted file mode 100644
index 3117c29fd..000000000
--- a/media-libs/zita-resampler/Manifest
+++ /dev/null
@@ -1,4 +0,0 @@
-AUX zita-resampler-1.6.0-Makefile.patch 2925 BLAKE2B 232cf1eb74abfafc0a83f965e7aae97523402d94ddb0fd2b22a939f20612766023f053b1d52c6d828571b4d3eacbd8575fdd24115e2a09c2c1de8fdb002a1ea0 SHA512 ebf57bde27fcc320695de6d413e98d72b0c508fe71751e2f775f44f4bbaf516742e4fa3f7c3c25be96b4827ee7b8776128a2156cebd70776c9016bfd1a422542
-DIST zita-resampler-1.6.0.tar.bz2 126427 BLAKE2B 9a63670a617b4b663f4fb43628ab9ed7016424b9843a907b7c45806e61519be7ead9fbc651219cfb5f3bef33200d77d313f0ea711db1bca7062b51462866ab48 SHA512 fefe01dfc459a7ee0a98965b6e354cfe23b8e18838eeedabe2a6d965e9e413c8bafb9ebb11f8328852f18be20c14443785214b000065887e4482aa8d5e6b34f5
-EBUILD zita-resampler-1.6.0.ebuild 823 BLAKE2B b1aa79c0fcd211d28a1ff0dee6a76b05800db999ed51af2e9c87d9009866c34a17b157b7c86f6415a6b8cddea0de1418aebf37ce24582c7aa120798cb59cd516 SHA512 62e27c459c101a88dbdb4ac81fd43291feee3d3cf5d104441f2a425e10b59f2fb097e59c617a3c2ebeabc282cb61b77c3a78f1aec2bf3eb30c44acec1d262052
-MISC metadata.xml 245 BLAKE2B c469feac4514d136d3fe1ac3febd7b4ff941e1beb4783293fa0741b2010faa1fc0be3689f0fc2b15b157e78912b294c775d6cb737c36c7cc22f49f134431d3a3 SHA512 dbe84aa81b15c725b68f1967b1165f7d75378afa586f628b061b534ae39798b8cab85d7de1d1d5719ee2ee717e2fad011d3889e1760c9f63c2029207aa069672
diff --git a/media-libs/zita-resampler/files/zita-resampler-1.6.0-Makefile.patch b/media-libs/zita-resampler/files/zita-resampler-1.6.0-Makefile.patch
deleted file mode 100644
index 5bcc70d61..000000000
--- a/media-libs/zita-resampler/files/zita-resampler-1.6.0-Makefile.patch
+++ /dev/null
@@ -1,90 +0,0 @@
-diff --git a/apps/Makefile b/apps/Makefile
-index f009937..42f7125 100644
---- a/apps/Makefile
-+++ b/apps/Makefile
-@@ -18,6 +18,7 @@
- # ----------------------------------------------------------------------------
-
-
-+CXX ?= g++
- PREFIX = /usr/local
- SUFFIX := $(shell uname -m | sed -e 's/^unknown/$//' -e 's/^i.86/$//' -e 's/^x86_64/$/64/')
- LIBDIR = lib$(SUFFIX)
-@@ -25,26 +26,26 @@ DISTDIR = zresample-$(VERSION)
- VERSION = 1.6.0
- MANDIR = /usr/share/man/man1
- LDFLAGS += -L$(PREFIX)/$(LIBDIR)
--CPPFLAGS += -MMD -MP -DVERSION=\"$(VERSION)\"
--CXXFLAGS += -O3 -ffast-math -Wall
--CXXFLAGS += -march=native
-+CPPFLAGS += -MMD -MP -DVERSION=\"$(VERSION)\" -I../libs
-+CXXFLAGS += -ffast-math -Wall
-+
-
-
- all: zresample zretune zresample.1.gz zretune.1.gz
-
-
- ZRESAMPLE_O = zresample.o audiofile.o dither.o
--zresample: LDLIBS += -lzita-resampler -lsndfile -lrt
-+zresample: LDLIBS += ../libs/libzita-resampler.so.$(VERSION) -lsndfile -lrt
- zresample: $(ZRESAMPLE_O)
-- g++ $(LDFLAGS) -o $@ $(ZRESAMPLE_O) $(LDLIBS)
-+ $(CXX) $(LDFLAGS) -o $@ $(ZRESAMPLE_O) $(LDLIBS)
- $(ZRESAMPLE_O):
- -include $(ZRESAMPLE_O:%.o=%.d)
-
-
- ZRETUNE_O = zretune.o audiofile.o dither.o
--zretune: LDLIBS += -lzita-resampler -lsndfile -lrt
-+zretune: LDLIBS += ../libs/libzita-resampler.so.$(VERSION) -lsndfile -lrt
- zretune: $(ZRETUNE_O)
-- g++ $(LDFLAGS) -o $@ $(ZRETUNE_O) $(LDLIBS)
-+ $(CXX) $(LDFLAGS) -o $@ $(ZRETUNE_O) $(LDLIBS)
- $(ZRETUNE_O):
- -include $(ZRETUNE_O:%.o=%.d)
-
-diff --git a/libs/Makefile b/libs/Makefile
-index 15b0471..62867b9 100644
---- a/libs/Makefile
-+++ b/libs/Makefile
-@@ -20,9 +20,10 @@
-
- # Modify as required.
- #
-+CXX ?= g++
- PREFIX = /usr/local
- SUFFIX := $(shell uname -m | sed -e 's/^unknown/$//' -e 's/^i.86/$//' -e 's/^x86_64/$/64/')
--LIBDIR = lib$(SUFFIX)
-+LIBDIR ?= lib$(SUFFIX)
-
- MAJVERS = 1
- MINVERS = 6.0
-@@ -31,8 +32,7 @@ DISTDIR = zita-resampler-$(VERSION)
-
-
- CPPFLAGS += -I. -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS
--CXXFLAGS += -Wall -fPIC -O2 -ffast-math
--CXXFLAGS += -march=native
-+CXXFLAGS += -Wall -fPIC -ffast-math
- LDFLAGS +=
- LDLIBS +=
-
-@@ -47,7 +47,7 @@ ZITA-RESAMPLER_H = zita-resampler/resampler.h zita-resampler/resampler-table.h \
-
-
- $(ZITA-RESAMPLER_MIN): $(ZITA-RESAMPLER_O)
-- g++ -shared $(LDFLAGS) -Wl,-soname,$(ZITA-RESAMPLER_MAJ) -o $(ZITA-RESAMPLER_MIN) $(ZITA-RESAMPLER_O) $(ZITA-RESAMPLER_DEP)
-+ $(CXX) -shared $(LDFLAGS) -Wl,-soname,$(ZITA-RESAMPLER_MAJ) -o $(ZITA-RESAMPLER_MIN) $(ZITA-RESAMPLER_O) $(ZITA-RESAMPLER_DEP)
-
- $(ZITA-RESAMPLER_O): $(ZITA-RESAMPLER_H)
-
-@@ -58,7 +58,7 @@ install: $(ZITA-RESAMPLER_MIN)
- install -m 644 $(ZITA-RESAMPLER_H) $(DESTDIR)$(PREFIX)/include/zita-resampler
- install -m 644 $(ZITA-RESAMPLER_MIN) $(DESTDIR)$(PREFIX)/$(LIBDIR)
- ln -sf $(ZITA-RESAMPLER_MIN) $(DESTDIR)$(PREFIX)/$(LIBDIR)/$(ZITA-RESAMPLER_SO)
-- ldconfig
-+ /sbin/ldconfig -n $(DESTDIR)$(PREFIX)/$(LIBDIR)
-
- uninstall:
- /bin/rm -rf $(DESTDIR)$(PREFIX)/include/zita-resampler
diff --git a/media-libs/zita-resampler/metadata.xml b/media-libs/zita-resampler/metadata.xml
deleted file mode 100644
index d1051ee5c..000000000
--- a/media-libs/zita-resampler/metadata.xml
+++ /dev/null
@@ -1,8 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
-<pkgmetadata>
-<maintainer type="person">
- <email>fordfrog@gentoo.org</email>
- <name>Miroslav Šulc</name>
-</maintainer>
-</pkgmetadata>
diff --git a/media-libs/zita-resampler/zita-resampler-1.6.0.ebuild b/media-libs/zita-resampler/zita-resampler-1.6.0.ebuild
deleted file mode 100644
index 2620e8ab6..000000000
--- a/media-libs/zita-resampler/zita-resampler-1.6.0.ebuild
+++ /dev/null
@@ -1,39 +0,0 @@
-# Copyright 1999-2017 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-
-inherit eutils toolchain-funcs multilib
-
-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.bz2"
-
-LICENSE="GPL-3"
-SLOT="0"
-KEYWORDS="~amd64 ~ppc ~x86"
-IUSE=""
-
-DEPEND="media-libs/libsndfile"
-RDEPEND="${DEPEND}"
-
-RESTRICT="mirror"
-
-DOCS=(AUTHORS README)
-HTML_DOCS=(docs/)
-
-PATCHES=("${FILESDIR}"/${P}-Makefile.patch)
-
-src_compile() {
- tc-export CXX
-
- emake -C libs
- emake -C apps
-}
-
-src_install() {
- emake -C libs DESTDIR="${D}" PREFIX="${EPREFIX}/usr" LIBDIR=$(get_libdir) install
- emake -C apps DESTDIR="${D}" PREFIX="${EPREFIX}/usr" install
-
- einstalldocs
-}