summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'media-libs/zita-alsa-pcmi')
-rw-r--r--media-libs/zita-alsa-pcmi/Manifest1
-rw-r--r--media-libs/zita-alsa-pcmi/files/makefile.patch65
-rw-r--r--media-libs/zita-alsa-pcmi/zita-alsa-pcmi-0.2.0.ebuild40
3 files changed, 0 insertions, 106 deletions
diff --git a/media-libs/zita-alsa-pcmi/Manifest b/media-libs/zita-alsa-pcmi/Manifest
index 9bd60c6a3f3c..905b030a2239 100644
--- a/media-libs/zita-alsa-pcmi/Manifest
+++ b/media-libs/zita-alsa-pcmi/Manifest
@@ -1,2 +1 @@
-DIST zita-alsa-pcmi-0.2.0.tar.bz2 21278 BLAKE2B 60fb731ec37a13472c79a21bbe56ddf83bed9067f7a0665c56f4a8accbe3dc41070b0a0111a2717837904bb30b40865f70bfddb9c5018848059eeb375e11d2ff SHA512 6b521dc8bef96a6ee73bc2accd3c7d0641e9a4f3d955868cd3fe04ae46f15a1b1ffaa45d56518f54f4fdf9f68f629e3036dca294936015205c20f01d55338e96
DIST zita-alsa-pcmi-0.3.2.tar.bz2 21480 BLAKE2B dfd37f3cee647b7100ff1cb9f696ba7968bec4e6f11165955de67f38f48838f17c2efc0936780ce30ca0e2d7438b78ddd8a27960f6c54e7a8a5e87b1f9b50044 SHA512 9d6040d0ec636ebcf02a033cdc017105bbed8e0ddb99584890d8e027402a85791e0983a1a9cd677dc6f1da0ced530afb5e65a8e863329a5e785ef09e0b7124f0
diff --git a/media-libs/zita-alsa-pcmi/files/makefile.patch b/media-libs/zita-alsa-pcmi/files/makefile.patch
deleted file mode 100644
index d5e86d6c68f5..000000000000
--- a/media-libs/zita-alsa-pcmi/files/makefile.patch
+++ /dev/null
@@ -1,65 +0,0 @@
-Index: zita-alsa-pcmi-0.2.0/libs/Makefile
-===================================================================
---- zita-alsa-pcmi-0.2.0.orig/libs/Makefile
-+++ zita-alsa-pcmi-0.2.0/libs/Makefile
-@@ -31,7 +31,7 @@ VERSION = $(MAJVERS).$(MINVERS)
-
-
- CPPFLAGS += -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS
--CXXFLAGS += -O2 -Wall -I. -fPIC
-+CXXFLAGS += -Wall -I. -fPIC
- LDLFAGS +=
- LDLIBS +=
-
-@@ -45,14 +45,14 @@ ZITA-ALSA-PCMI_H = zita-alsa-pcmi.h
-
-
- $(ZITA-ALSA-PCMI_MIN): $(ZITA-ALSA-PCMI_O)
-- g++ -shared $(LDFLAGS) -Wl,-soname,$(ZITA-ALSA-PCMI_MAJ) -o $(ZITA-ALSA-PCMI_MIN) $(ZITA-ALSA-PCMI_O) $(ZITA-ALSA-PCMI_DEP)
-+ $(CXX) -shared $(LDFLAGS) -Wl,-soname,$(ZITA-ALSA-PCMI_MAJ) -o $(ZITA-ALSA-PCMI_MIN) $(ZITA-ALSA-PCMI_O) $(ZITA-ALSA-PCMI_DEP)
-
-
- install: $(ZITA-ALSA-PCMI_MIN)
- install -Dm 644 $(ZITA-ALSA-PCMI_H) $(DESTDIR)$(PREFIX)/include/$(ZITA-ALSA-PCMI_H)
- install -Dm 644 $(ZITA-ALSA-PCMI_MIN) $(DESTDIR)$(PREFIX)/$(LIBDIR)/$(ZITA-ALSA-PCMI_MIN)
- ln -sf $(ZITA-ALSA-PCMI_MIN) $(DESTDIR)$(PREFIX)/$(LIBDIR)/$(ZITA-ALSA-PCMI_SO)
-- ldconfig
-+ ln -sf $(ZITA-ALSA-PCMI_MIN) $(DESTDIR)$(PREFIX)/$(LIBDIR)/$(ZITA-ALSA-PCMI_MAJ)
-
- uninstall:
- rm -rf $(DESTDIR)$(PREFIX)/include/zita-alsa-pcmi.h
-Index: zita-alsa-pcmi-0.2.0/apps/Makefile
-===================================================================
---- zita-alsa-pcmi-0.2.0.orig/apps/Makefile
-+++ zita-alsa-pcmi-0.2.0/apps/Makefile
-@@ -23,9 +23,9 @@ PREFIX = /usr/local
- SUFFIX := $(shell uname -m | sed -e 's/^unknown/$//' -e 's/^i.86/$//' -e 's/^x86_64/$/64/')
- LIBDIR = lib$(SUFFIX)
- VERSION = "0.1.0"
--LDFLAGS += -L$(PREFIX)/$(LIBDIR)
--CPPFLAGS += -DVERSION=\"$(VERSION)\"
--CXXFLAGS += -O2 -Wall -MMD -MP
-+LDFLAGS += -L$(PREFIX)/$(LIBDIR) -L../libs/
-+CPPFLAGS += -DVERSION=\"$(VERSION)\" -I../libs/
-+CXXFLAGS += -Wall -MMD -MP
-
-
- all: alsa_loopback alsa_delay
-@@ -34,7 +34,7 @@ all: alsa_loopback alsa_delay
- ALSA_LOOPBACK_O = alsa_loopback.o pxthread.o
- alsa_loopback: LDLIBS += -lzita-alsa-pcmi -lasound -lpthread -lrt
- alsa_loopback: $(ALSA_LOOPBACK_O)
-- g++ $(LDFLAGS) -o $@ $(ALSA_LOOPBACK_O) $(LDLIBS)
-+ $(CXX) $(LDFLAGS) -o $@ $(ALSA_LOOPBACK_O) $(LDLIBS)
- $(ALSA_LOOPBACK_O):
- -include $(_ALSA_LOOPBACK_O:%.o=%.d)
-
-@@ -42,7 +42,7 @@ $(ALSA_LOOPBACK_O):
- ALSA_DELAY_O = alsa_delay.o mtdm.o pxthread.o
- alsa_delay: LDLIBS += -lzita-alsa-pcmi -lasound -lpthread -lrt
- alsa_delay: $(ALSA_DELAY_O)
-- g++ $(LDFLAGS) -o $@ $(ALSA_DELAY_O) $(LDLIBS)
-+ $(CXX) $(LDFLAGS) -o $@ $(ALSA_DELAY_O) $(LDLIBS)
- $(ALSA_DELAY_O):
- -include $(ALSA_DELAY_O:%.o=%.d)
-
diff --git a/media-libs/zita-alsa-pcmi/zita-alsa-pcmi-0.2.0.ebuild b/media-libs/zita-alsa-pcmi/zita-alsa-pcmi-0.2.0.ebuild
deleted file mode 100644
index bc254d1853fb..000000000000
--- a/media-libs/zita-alsa-pcmi/zita-alsa-pcmi-0.2.0.ebuild
+++ /dev/null
@@ -1,40 +0,0 @@
-# Copyright 1999-2017 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=5
-
-inherit eutils toolchain-funcs multilib
-
-DESCRIPTION="Provides easy access to ALSA PCM devices"
-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 ~sparc x86"
-IUSE=""
-
-DEPEND="media-libs/alsa-lib"
-RDEPEND="${DEPEND}"
-
-src_prepare() {
- epatch "${FILESDIR}/makefile.patch"
-}
-
-src_compile() {
- tc-export CC CXX
- cd "${S}/libs"
- emake PREFIX="${EPREFIX}/usr" LIBDIR="$(get_libdir)"
- ln -s libzita-alsa-pcmi.so.0.2.0 libzita-alsa-pcmi.so
- cd "${S}/apps"
- emake PREFIX="${EPREFIX}/usr" LIBDIR="$(get_libdir)"
-}
-
-src_install() {
- cd "${S}/libs"
- emake PREFIX="${EPREFIX}/usr" LIBDIR="$(get_libdir)" DESTDIR="${D}" install
- cd "${S}/apps"
- emake PREFIX="${EPREFIX}/usr" LIBDIR="$(get_libdir)" DESTDIR="${D}" install
- cd "${S}"
- dodoc AUTHORS README
-}