Index: Makefile
===================================================================
--- Makefile (nonexistent)
+++ Makefile (revision 5)
@@ -0,0 +1,56 @@
+
+COMPONENT_TARGETS = $(HARDWARE_NOARCH)
+
+
+include ../../../../../../build-system/constants.mk
+
+
+url = $(DOWNLOAD_SERVER)/sources/packages/m/linuxaudio/kokkinizita/zita-alsa-pcmi
+
+versions = 0.6.1
+pkgname = zita-alsa-pcmi
+suffix = tar.bz2
+
+tarballs = $(addsuffix .$(suffix), $(addprefix $(pkgname)-, $(versions)))
+sha1s = $(addsuffix .sha1sum, $(tarballs))
+
+patches = $(CURDIR)/patches/zita-alsa-pcmi-0.6.1-make.patch
+
+.NOTPARALLEL: $(patches)
+
+
+BUILD_TARGETS = $(tarballs) $(sha1s) $(patches)
+
+
+include ../../../../../../build-system/core.mk
+
+
+.PHONY: download_clean
+
+
+$(tarballs):
+ @echo -e "\n======= Downloading source tarballs =======" ; \
+ for tarball in $(tarballs) ; do \
+ echo "$(url)/$$tarball" | xargs -n 1 -P 100 wget $(WGET_OPTIONS) - & \
+ done ; wait
+
+$(sha1s): $(tarballs)
+ @for sha in $@ ; do \
+ echo -e "\n======= Downloading '$$sha' signature =======\n" ; \
+ echo "$(url)/$$sha" | xargs -n 1 -P 100 wget $(WGET_OPTIONS) - & wait %1 ; \
+ touch $$sha ; \
+ echo -e "\n======= Check the '$$sha' sha1sum =======\n" ; \
+ sha1sum --check $$sha ; ret="$$?" ; \
+ if [ "$$ret" == "1" ]; then \
+ echo -e "\n======= ERROR: Bad '$$sha' sha1sum =======\n" ; \
+ exit 1 ; \
+ fi ; \
+ done
+
+$(patches): $(sha1s)
+ @echo -e "\n======= Create Patches =======\n" ; \
+ ( cd create-0.6.1-make-patch ; ./create.patch.sh ) ; \
+ echo -e "\n"
+
+download_clean:
+ @rm -f $(tarballs) $(sha1s) $(patches)
Index: create-0.6.1-make-patch/create.patch.sh
===================================================================
--- create-0.6.1-make-patch/create.patch.sh (nonexistent)
+++ create-0.6.1-make-patch/create.patch.sh (revision 5)
@@ -0,0 +1,15 @@
+#!/bin/sh
+
+VERSION=0.6.1
+
+tar --files-from=file.list -xjvf ../zita-alsa-pcmi-$VERSION.tar.bz2
+mv zita-alsa-pcmi-$VERSION zita-alsa-pcmi-$VERSION-orig
+
+cp -rf ./zita-alsa-pcmi-$VERSION-new ./zita-alsa-pcmi-$VERSION
+
+diff --unified -Nr zita-alsa-pcmi-$VERSION-orig zita-alsa-pcmi-$VERSION > zita-alsa-pcmi-$VERSION-make.patch
+
+mv zita-alsa-pcmi-$VERSION-make.patch ../patches
+
+rm -rf ./zita-alsa-pcmi-$VERSION
+rm -rf ./zita-alsa-pcmi-$VERSION-orig
Property changes on: create-0.6.1-make-patch/create.patch.sh
___________________________________________________________________
Added: svn:executable
## -0,0 +1 ##
+*
\ No newline at end of property
Index: create-0.6.1-make-patch/file.list
===================================================================
--- create-0.6.1-make-patch/file.list (nonexistent)
+++ create-0.6.1-make-patch/file.list (revision 5)
@@ -0,0 +1,2 @@
+zita-alsa-pcmi-0.6.1/apps/Makefile
+zita-alsa-pcmi-0.6.1/source/Makefile
Index: create-0.6.1-make-patch/zita-alsa-pcmi-0.6.1-new/apps/Makefile
===================================================================
--- create-0.6.1-make-patch/zita-alsa-pcmi-0.6.1-new/apps/Makefile (nonexistent)
+++ create-0.6.1-make-patch/zita-alsa-pcmi-0.6.1-new/apps/Makefile (revision 5)
@@ -0,0 +1,63 @@
+# ----------------------------------------------------------------------------
+#
+# Copyright (C) 2006-2018 Fons Adriaensen <fons@linuxaudio.org>
+#
+# This program is free software; you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 3 of the License, or
+# (at your option) any later version.
+#
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+# GNU General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with this program. If not, see <http:#www.gnu.org/licenses/>.
+#
+# ----------------------------------------------------------------------------
+
+
+# Modify as required.
+#
+PREFIX ?= /usr/local
+BINDIR ?= $(PREFIX)/bin
+
+VERSION = "0.3.2"
+CPPFLAGS += -MMD -MP -DVERSION=\"$(VERSION)\"
+CXXFLAGS += -O2 -Wall
+
+
+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)
+ $(CXX) $(LDFLAGS) -o $@ $(ALSA_LOOPBACK_O) $(LDLIBS)
+$(ALSA_LOOPBACK_O):
+-include $(_ALSA_LOOPBACK_O:%.o=%.d)
+
+
+ALSA_DELAY_O = alsa_delay.o mtdm.o pxthread.o
+alsa_delay: LDLIBS += -lzita-alsa-pcmi -lasound -lpthread -lrt
+alsa_delay: $(ALSA_DELAY_O)
+ $(CXX) $(LDFLAGS) -o $@ $(ALSA_DELAY_O) $(LDLIBS)
+$(ALSA_DELAY_O):
+-include $(ALSA_DELAY_O:%.o=%.d)
+
+
+install: all
+ install -d $(DESTDIR)$(BINDIR)
+ install -m 755 alsa_loopback $(DESTDIR)$(BINDIR)
+ install -m 755 alsa_delay $(DESTDIR)$(BINDIR)
+
+
+uninstall:
+ rm -f $(DESTDIR)$(BINDIR)/alsa_loopback
+ rm -f $(DESTDIR)$(BINDIR)/alsa_delay
+
+
+clean:
+ /bin/rm -f *~ *.o *.a *.d *.so alsa_loopback alsa_delay
+
Index: create-0.6.1-make-patch/zita-alsa-pcmi-0.6.1-new/apps
===================================================================
--- create-0.6.1-make-patch/zita-alsa-pcmi-0.6.1-new/apps (nonexistent)
+++ create-0.6.1-make-patch/zita-alsa-pcmi-0.6.1-new/apps (revision 5)
Property changes on: create-0.6.1-make-patch/zita-alsa-pcmi-0.6.1-new/apps
___________________________________________________________________
Added: svn:ignore
## -0,0 +1,73 ##
+
+# install dir
+dist
+
+# Target build dirs
+.a1x-newlib
+.a2x-newlib
+.at91sam7s-newlib
+
+.build-machine
+
+.a1x-glibc
+.a2x-glibc
+.h3-glibc
+.h5-glibc
+.i586-glibc
+.i686-glibc
+.imx6-glibc
+.jz47xx-glibc
+.makefile
+.am335x-glibc
+.omap543x-glibc
+.p5600-glibc
+.power8-glibc
+.power8le-glibc
+.power9-glibc
+.power9le-glibc
+.m1000-glibc
+.riscv64-glibc
+.rk328x-glibc
+.rk33xx-glibc
+.rk339x-glibc
+.s8xx-glibc
+.s9xx-glibc
+.x86_64-glibc
+
+# Hidden files (each file)
+.makefile
+.dist
+.rootfs
+
+# src & hw requires
+.src_requires
+.src_requires_depend
+.requires
+.requires_depend
+
+# Tarballs
+*.gz
+*.bz2
+*.lz
+*.xz
+*.tgz
+*.txz
+
+# Signatures
+*.asc
+*.sig
+*.sign
+*.sha1sum
+
+# Patches
+*.patch
+
+# Descriptions
+*.dsc
+*.txt
+
+# Default linux config files
+*.defconfig
+
+# backup copies
+*~
Index: create-0.6.1-make-patch/zita-alsa-pcmi-0.6.1-new/source/Makefile
===================================================================
--- create-0.6.1-make-patch/zita-alsa-pcmi-0.6.1-new/source/Makefile (nonexistent)
+++ create-0.6.1-make-patch/zita-alsa-pcmi-0.6.1-new/source/Makefile (revision 5)
@@ -0,0 +1,62 @@
+# ----------------------------------------------------------------------------
+#
+# Copyright (C) 2006-2022 Fons Adriaensen <fons@linuxaudio.org>
+#
+# This program is free software; you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 3 of the License, or
+# (at your option) any later version.
+#
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+# GNU General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with this program. If not, see <http:#www.gnu.org/licenses/>.
+#
+# ----------------------------------------------------------------------------
+
+
+# Modify as required.
+#
+PREFIX ?= /usr/local
+INCDIR ?= $(PREFIX)/include
+LIBDIR ?= $(PREFIX)/lib$(SUFFIX)
+
+MAJVERS = 0
+MINVERS = 6.1
+VERSION = $(MAJVERS).$(MINVERS)
+
+CPPFLAGS += -DVERSION=\"$(VERSION)\" -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS
+CXXFLAGS += -O2 -Wall -fPIC
+LDLFAGS +=
+LDLIBS +=
+
+
+ZITA-ALSA-PCMI_SO = libzita-alsa-pcmi.so
+ZITA-ALSA-PCMI_MAJ = $(ZITA-ALSA-PCMI_SO).$(MAJVERS)
+ZITA-ALSA-PCMI_MIN = $(ZITA-ALSA-PCMI_MAJ).$(MINVERS)
+ZITA-ALSA-PCMI_DEP = -lasound
+ZITA-ALSA-PCMI_O = zita-alsa-pcmi.o
+ZITA-ALSA-PCMI_H = zita-alsa-pcmi.h
+
+
+$(ZITA-ALSA-PCMI_MIN): $(ZITA-ALSA-PCMI_O)
+ $(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 -d $(DESTDIR)$(INCDIR)
+ install -d $(DESTDIR)$(LIBDIR)
+ install -m 644 $(ZITA-ALSA-PCMI_H) $(DESTDIR)$(INCDIR)
+ install -m 755 $(ZITA-ALSA-PCMI_MIN) $(DESTDIR)$(LIBDIR)
+ ln -sf $(ZITA-ALSA-PCMI_MIN) $(DESTDIR)$(LIBDIR)/$(ZITA-ALSA-PCMI_SO)
+
+uninstall:
+ rm -rf $(DESTDIR)$(INCDIR)/$(ZITA-ALSA-PCMI_H)
+ rm -rf $(DESTDIR)$(LIBDIR)/libzita-alsa-pcmi*
+
+clean:
+ /bin/rm -f *~ *.o *.a *.d *.so.*
+
Index: create-0.6.1-make-patch/zita-alsa-pcmi-0.6.1-new/source
===================================================================
--- create-0.6.1-make-patch/zita-alsa-pcmi-0.6.1-new/source (nonexistent)
+++ create-0.6.1-make-patch/zita-alsa-pcmi-0.6.1-new/source (revision 5)
Property changes on: create-0.6.1-make-patch/zita-alsa-pcmi-0.6.1-new/source
___________________________________________________________________
Added: svn:ignore
## -0,0 +1,73 ##
+
+# install dir
+dist
+
+# Target build dirs
+.a1x-newlib
+.a2x-newlib
+.at91sam7s-newlib
+
+.build-machine
+
+.a1x-glibc
+.a2x-glibc
+.h3-glibc
+.h5-glibc
+.i586-glibc
+.i686-glibc
+.imx6-glibc
+.jz47xx-glibc
+.makefile
+.am335x-glibc
+.omap543x-glibc
+.p5600-glibc
+.power8-glibc
+.power8le-glibc
+.power9-glibc
+.power9le-glibc
+.m1000-glibc
+.riscv64-glibc
+.rk328x-glibc
+.rk33xx-glibc
+.rk339x-glibc
+.s8xx-glibc
+.s9xx-glibc
+.x86_64-glibc
+
+# Hidden files (each file)
+.makefile
+.dist
+.rootfs
+
+# src & hw requires
+.src_requires
+.src_requires_depend
+.requires
+.requires_depend
+
+# Tarballs
+*.gz
+*.bz2
+*.lz
+*.xz
+*.tgz
+*.txz
+
+# Signatures
+*.asc
+*.sig
+*.sign
+*.sha1sum
+
+# Patches
+*.patch
+
+# Descriptions
+*.dsc
+*.txt
+
+# Default linux config files
+*.defconfig
+
+# backup copies
+*~
Index: create-0.6.1-make-patch/zita-alsa-pcmi-0.6.1-new
===================================================================
--- create-0.6.1-make-patch/zita-alsa-pcmi-0.6.1-new (nonexistent)
+++ create-0.6.1-make-patch/zita-alsa-pcmi-0.6.1-new (revision 5)
Property changes on: create-0.6.1-make-patch/zita-alsa-pcmi-0.6.1-new
___________________________________________________________________
Added: svn:ignore
## -0,0 +1,73 ##
+
+# install dir
+dist
+
+# Target build dirs
+.a1x-newlib
+.a2x-newlib
+.at91sam7s-newlib
+
+.build-machine
+
+.a1x-glibc
+.a2x-glibc
+.h3-glibc
+.h5-glibc
+.i586-glibc
+.i686-glibc
+.imx6-glibc
+.jz47xx-glibc
+.makefile
+.am335x-glibc
+.omap543x-glibc
+.p5600-glibc
+.power8-glibc
+.power8le-glibc
+.power9-glibc
+.power9le-glibc
+.m1000-glibc
+.riscv64-glibc
+.rk328x-glibc
+.rk33xx-glibc
+.rk339x-glibc
+.s8xx-glibc
+.s9xx-glibc
+.x86_64-glibc
+
+# Hidden files (each file)
+.makefile
+.dist
+.rootfs
+
+# src & hw requires
+.src_requires
+.src_requires_depend
+.requires
+.requires_depend
+
+# Tarballs
+*.gz
+*.bz2
+*.lz
+*.xz
+*.tgz
+*.txz
+
+# Signatures
+*.asc
+*.sig
+*.sign
+*.sha1sum
+
+# Patches
+*.patch
+
+# Descriptions
+*.dsc
+*.txt
+
+# Default linux config files
+*.defconfig
+
+# backup copies
+*~
Index: create-0.6.1-make-patch
===================================================================
--- create-0.6.1-make-patch (nonexistent)
+++ create-0.6.1-make-patch (revision 5)
Property changes on: create-0.6.1-make-patch
___________________________________________________________________
Added: svn:ignore
## -0,0 +1,73 ##
+
+# install dir
+dist
+
+# Target build dirs
+.a1x-newlib
+.a2x-newlib
+.at91sam7s-newlib
+
+.build-machine
+
+.a1x-glibc
+.a2x-glibc
+.h3-glibc
+.h5-glibc
+.i586-glibc
+.i686-glibc
+.imx6-glibc
+.jz47xx-glibc
+.makefile
+.am335x-glibc
+.omap543x-glibc
+.p5600-glibc
+.power8-glibc
+.power8le-glibc
+.power9-glibc
+.power9le-glibc
+.m1000-glibc
+.riscv64-glibc
+.rk328x-glibc
+.rk33xx-glibc
+.rk339x-glibc
+.s8xx-glibc
+.s9xx-glibc
+.x86_64-glibc
+
+# Hidden files (each file)
+.makefile
+.dist
+.rootfs
+
+# src & hw requires
+.src_requires
+.src_requires_depend
+.requires
+.requires_depend
+
+# Tarballs
+*.gz
+*.bz2
+*.lz
+*.xz
+*.tgz
+*.txz
+
+# Signatures
+*.asc
+*.sig
+*.sign
+*.sha1sum
+
+# Patches
+*.patch
+
+# Descriptions
+*.dsc
+*.txt
+
+# Default linux config files
+*.defconfig
+
+# backup copies
+*~
Index: patches/README
===================================================================
--- patches/README (nonexistent)
+++ patches/README (revision 5)
@@ -0,0 +1,6 @@
+
+/* begin *
+
+ TODO: Leave some comment here.
+
+ * end */
Index: patches
===================================================================
--- patches (nonexistent)
+++ patches (revision 5)
Property changes on: patches
___________________________________________________________________
Added: svn:ignore
## -0,0 +1,73 ##
+
+# install dir
+dist
+
+# Target build dirs
+.a1x-newlib
+.a2x-newlib
+.at91sam7s-newlib
+
+.build-machine
+
+.a1x-glibc
+.a2x-glibc
+.h3-glibc
+.h5-glibc
+.i586-glibc
+.i686-glibc
+.imx6-glibc
+.jz47xx-glibc
+.makefile
+.am335x-glibc
+.omap543x-glibc
+.p5600-glibc
+.power8-glibc
+.power8le-glibc
+.power9-glibc
+.power9le-glibc
+.m1000-glibc
+.riscv64-glibc
+.rk328x-glibc
+.rk33xx-glibc
+.rk339x-glibc
+.s8xx-glibc
+.s9xx-glibc
+.x86_64-glibc
+
+# Hidden files (each file)
+.makefile
+.dist
+.rootfs
+
+# src & hw requires
+.src_requires
+.src_requires_depend
+.requires
+.requires_depend
+
+# Tarballs
+*.gz
+*.bz2
+*.lz
+*.xz
+*.tgz
+*.txz
+
+# Signatures
+*.asc
+*.sig
+*.sign
+*.sha1sum
+
+# Patches
+*.patch
+
+# Descriptions
+*.dsc
+*.txt
+
+# Default linux config files
+*.defconfig
+
+# backup copies
+*~
Index: .
===================================================================
--- . (nonexistent)
+++ . (revision 5)
Property changes on: .
___________________________________________________________________
Added: svn:ignore
## -0,0 +1,73 ##
+
+# install dir
+dist
+
+# Target build dirs
+.a1x-newlib
+.a2x-newlib
+.at91sam7s-newlib
+
+.build-machine
+
+.a1x-glibc
+.a2x-glibc
+.h3-glibc
+.h5-glibc
+.i586-glibc
+.i686-glibc
+.imx6-glibc
+.jz47xx-glibc
+.makefile
+.am335x-glibc
+.omap543x-glibc
+.p5600-glibc
+.power8-glibc
+.power8le-glibc
+.power9-glibc
+.power9le-glibc
+.m1000-glibc
+.riscv64-glibc
+.rk328x-glibc
+.rk33xx-glibc
+.rk339x-glibc
+.s8xx-glibc
+.s9xx-glibc
+.x86_64-glibc
+
+# Hidden files (each file)
+.makefile
+.dist
+.rootfs
+
+# src & hw requires
+.src_requires
+.src_requires_depend
+.requires
+.requires_depend
+
+# Tarballs
+*.gz
+*.bz2
+*.lz
+*.xz
+*.tgz
+*.txz
+
+# Signatures
+*.asc
+*.sig
+*.sign
+*.sha1sum
+
+# Patches
+*.patch
+
+# Descriptions
+*.dsc
+*.txt
+
+# Default linux config files
+*.defconfig
+
+# backup copies
+*~