diff --git a/multimedia/sound/alacenc/actions.py b/multimedia/sound/alacenc/actions.py new file mode 100644 index 0000000000..353b3d15a0 --- /dev/null +++ b/multimedia/sound/alacenc/actions.py @@ -0,0 +1,16 @@ +#!/usr/bin/python +# -*- coding: utf-8 -*- +# +# Licensed under the GNU General Public License, version 3. +# See the file https://www.gnu.org/licenses/gpl-3.0.txt + +from pisi.actionsapi import cmaketools + +def setup(): + cmaketools.configure() + +def build(): + cmaketools.make() + +def install(): + cmaketools.install() diff --git a/multimedia/sound/alacenc/pspec.xml b/multimedia/sound/alacenc/pspec.xml new file mode 100644 index 0000000000..ddbb16b284 --- /dev/null +++ b/multimedia/sound/alacenc/pspec.xml @@ -0,0 +1,46 @@ + + + + + alacenc + https://github.com/flacon/alacenc + + fury + uglyside@yandex.ru + + MIT + app + multimedia.sound + Apple lossless audio decoder. + alacenc - encode audio into the Apple Lossless Audio Codec (ALAC) format. + + https://github.com/flacon/alacenc/archive/refs/tags/v0.3.0.tar.gz + + + cmake + + + + + + + + alacenc + + libgcc + + + /usr/bin/alacenc + + + + + + 2023-01-22 + 0.3.0 + First build. + fury + uglyside@yandex.ru + + + diff --git a/multimedia/sound/mac/actions.py b/multimedia/sound/mac/actions.py new file mode 100644 index 0000000000..a7ea167b2f --- /dev/null +++ b/multimedia/sound/mac/actions.py @@ -0,0 +1,19 @@ +#!/usr/bin/python +# -*- coding: utf-8 -*- +# +# Licensed under the GNU General Public License, version 3. +# See the file https://www.gnu.org/licenses/gpl-3.0.txt + +from pisi.actionsapi import autotools, get + +WorkDir = "." +opts = "prefix=/usr -C Source/Projects/NonWindows" + +def setup(): + pass + +def build(): + autotools.make(opts) + +def install(): + autotools.rawInstall("DESTDIR=%s %s" % (get.installDIR(), opts)) diff --git a/multimedia/sound/mac/files/LICENSE b/multimedia/sound/mac/files/LICENSE new file mode 100644 index 0000000000..1f109a1641 --- /dev/null +++ b/multimedia/sound/mac/files/LICENSE @@ -0,0 +1 @@ +See https://www.monkeysaudio.com/license.html diff --git a/multimedia/sound/mac/pspec.xml b/multimedia/sound/mac/pspec.xml new file mode 100644 index 0000000000..0879a23bd5 --- /dev/null +++ b/multimedia/sound/mac/pspec.xml @@ -0,0 +1,62 @@ + + + + + mac + https://monkeysaudio.com/ + + fury + uglyside@yandex.ru + + custom + library + multimedia.sound + Lossless audio compressor. + Monkey’s Audio is a fast and easy way to compress digital music. + + https://monkeysaudio.com/files/MAC_904_SDK.zip + + + libgcc + + + + + + + + mac + + libgcc + + + /usr/bin/mac + /usr/lib/libMAC.so + /usr/lib/libMAC.so.8 + /usr/share/doc/MAC/LICENSE + + + LICENSE + + + + + mac-devel + + mac + + + /usr/include/MAC + + + + + + 2023-01-22 + 904 + First build. + fury + uglyside@yandex.ru + + + diff --git a/multimedia/sound/ttaenc/actions.py b/multimedia/sound/ttaenc/actions.py new file mode 100644 index 0000000000..a3b59c84d5 --- /dev/null +++ b/multimedia/sound/ttaenc/actions.py @@ -0,0 +1,13 @@ +#!/usr/bin/python +# -*- coding: utf-8 -*- +# +# Licensed under the GNU General Public License, version 3. +# See the file https://www.gnu.org/licenses/gpl-3.0.txt + +from pisi.actionsapi import autotools, pisitools + +def build(): + autotools.make() + +def install(): + pisitools.dobin("ttaenc") diff --git a/multimedia/sound/ttaenc/files/gentoo/ttaenc-3.4.1-fix-build-system.patch b/multimedia/sound/ttaenc/files/gentoo/ttaenc-3.4.1-fix-build-system.patch new file mode 100644 index 0000000000..794316d248 --- /dev/null +++ b/multimedia/sound/ttaenc/files/gentoo/ttaenc-3.4.1-fix-build-system.patch @@ -0,0 +1,21 @@ +--- a/Makefile ++++ b/Makefile +@@ -2,16 +2,12 @@ + # $Id: Makefile,v 1.4 2007/04/04 00:00:00 root Exp $ + # + +-CFLAGS = -Wall -O3 -fomit-frame-pointer -funroll-loops \ +- -fforce-addr -falign-functions=4 -msse ++CFLAGS += -Wall + TTAENC = ttaenc + INSDIR = /usr/bin + + ttaenc: $(patsubst %.c, %.o, $(wildcard *.c)) +- gcc $^ -o $@ $(CFLAGS) +- +-%.o: %.c +- gcc -c $(CFLAGS) $< ++ $(CC) $(CFLAGS) $(LDFLAGS) $^ -o $@ + + install: + [ -d "$(INSDIR)" ] || mkdir $(INSDIR) diff --git a/multimedia/sound/ttaenc/files/gentoo/ttaenc-3.4.1-fix-hybrid-filter.patch b/multimedia/sound/ttaenc/files/gentoo/ttaenc-3.4.1-fix-hybrid-filter.patch new file mode 100644 index 0000000000..e6243dfae7 --- /dev/null +++ b/multimedia/sound/ttaenc/files/gentoo/ttaenc-3.4.1-fix-hybrid-filter.patch @@ -0,0 +1,13 @@ +https://bugs.gentoo.org/721988 + +--- a/ttaenc.c ++++ b/ttaenc.c +@@ -525,7 +525,7 @@ __inline void memshl (register int *pA, register int *pB) { + *pA = *pB; + } + +-__inline void hybrid_filter (fltst *fs, int *in, int mode) { ++static void hybrid_filter (fltst *fs, int *in, int mode) { + register int *pA = fs->dl; + register int *pB = fs->qm; + register int *pM = fs->dx; diff --git a/multimedia/sound/ttaenc/pspec.xml b/multimedia/sound/ttaenc/pspec.xml new file mode 100644 index 0000000000..78c2cd87d7 --- /dev/null +++ b/multimedia/sound/ttaenc/pspec.xml @@ -0,0 +1,48 @@ + + + + + ttaenc + https://sourceforge.net/projects/tta/ + + fury + uglyside@yandex.ru + + GPL-2 + app + multimedia.sound + Lossless audio codec. + TTA performs lossless compression on multichannel 8,16 and 24 bits data of the Wav audio files. + + mirrors://sourceforge/project/tta/tta/ttaenc-src/ttaenc-3.4.1-src.tgz + + + libgcc + + + + gentoo/ttaenc-3.4.1-fix-build-system.patch + gentoo/ttaenc-3.4.1-fix-hybrid-filter.patch + + + + + ttaenc + + + + + /usr/bin/ttaenc + + + + + + 2023-01-22 + 3.4.1 + First build. + fury + uglyside@yandex.ru + + +