Репозиторий Sisyphus
Последнее обновление: 1 октября 2023 | Пакетов: 18631 | Посещений: 37634155
en ru br
Репозитории ALT
S:4.6.1-alt1
5.1: 4.3.1-alt3
4.1: 4.3.0-alt3
www.altlinux.org/Changes

Группа :: Звук
Пакет: stk

 Главная   Изменения   Спек   Патчи   Sources   Загрузить   Gear   Bugs and FR  Repocop 

Name: stk
Version: 4.3.1
Release: alt3
Url: http://www-ccrma.stanford.edu/software/stk/
Summary: C++ classes for audio digital signal processing
Source0: stk-%version.tar.gz
Source1: STKDemo
Source2: stk-demo.1

Patch1: stk-01_makefile.patch
Patch10: stk-4.3.1-header.patch
Patch11: stk-4.3.1-cflags-lib.patch
Patch12: stk-4.3.1-sharedlib.patch
Patch13: stk-4.3.1-missing.patch
Patch14: stk-4.3.1-gc4.4.patch

License: GPL
Group: Sound

Packager: Slava Dubrovskiy <dubrsl at altlinux.ru>

# Automatically added by buildreq on Thu Nov 22 2007

BuildRequires: gcc-c++ jackit-devel libalsa-devel util-linux-ng

%description
The Synthesis ToolKit in C++ (STK) is a set of open source audio signal
processing and algorithmic synthesis classes written in C++. STK was
designed to facilitate rapid development of music synthesis and audio
processing software, with an emphasis on cross-platform functionality,
realtime control, ease of use, and educational example code. The Synthesis
ToolKit is extremely portable (it's mostly platform-independent C and C++
code), and it's completely user-extensible (all source included, no unusual
libraries, and no hidden drivers). We like to think that this increases the
chances that our programs will still work in another 5-10 years. In fact,
the ToolKit has been working continuously for nearly 8 years now. STK
currently runs with "realtime" support (audio and MIDI) on SGI (Irix),
Linux, Macintosh OS X, and Windows computer platforms. Generic,
non-realtime support has been tested under NeXTStep, Sun, and other
platforms and should work with any standard C++ compiler.


%package -n lib%name
Summary: C++ classes for audio digital signal processing
Group: System/Libraries

%description -n lib%name
The Synthesis ToolKit in C++ (STK) is a set of open source audio signal
processing and algorithmic synthesis classes written in C++. STK was
designed to facilitate rapid development of music synthesis and audio
processing software, with an emphasis on cross-platform functionality,
realtime control, ease of use, and educational example code. The Synthesis
ToolKit is extremely portable (it's mostly platform-independent C and C++
code), and it's completely user-extensible (all source included, no unusual
libraries, and no hidden drivers). We like to think that this increases the
chances that our programs will still work in another 5-10 years. In fact,
the ToolKit has been working continuously for nearly 8 years now. STK
currently runs with "realtime" support (audio and MIDI) on SGI (Irix),
Linux, Macintosh OS X, and Windows computer platforms. Generic,
non-realtime support has been tested under NeXTStep, Sun, and other
platforms and should work with any standard C++ compiler.

%package -n lib%name-devel
Summary: Header files for LibSTK library
Group: Development/C++
Requires: lib%name = %version-%release
%description -n lib%name-devel
Header files for LibSTK library.

%package -n lib%name-devel-static
Summary: Static LibSTK library
Group: Development/C++
Obsoletes: lib%name-static

%description -n lib%name-devel-static
Static LibSTK library.

%package doc
Summary: Documentation for the sound synthesis toolkit (STK)
Group: Documentation
%description doc
This package contains the documentation for the sound synthesis
toolkit. The documentation is developer oriented and covers all
you need to know if you want to develop an STK application.

%prep
%setup -q
%patch10 -p1 -b .header
%patch11 -p1 -b .cflags
%patch12 -p1 -b .sharedlib
%patch13 -p1
%patch14 -p1

%patch1 -p1


%__subst "s|/usr/lib|%_libdir|g" src/Makefile.in

%build
%configure --with-alsa \
--with-oss \
--with-jack \
RAWWAVE_PATH=%_datadir/stk/rawwaves/
     

%make -C src
%make -C projects/demo

%install

%make -C src DESTDIR=%buildroot install

# there is no install target, so just install by hand

%__mkdir -p %buildroot%_bindir
%__mkdir -p %buildroot%_man1dir
%__mkdir -p %buildroot%_includedir/stk
%__mkdir -p %buildroot%_datadir/stk/
%__mkdir -p %buildroot%_datadir/stk/rawwaves

%__install -m 755 projects/demo/demo %buildroot%_bindir/stk-demo
%__install -m 755  %SOURCE1 %buildroot%_bindir/STKDemo
%__install -m 644 rawwaves/*.raw %buildroot%prefix/share/stk/rawwaves
%__cp -fR projects/demo/tcl %buildroot%prefix/share/stk/
%__cp -fR %SOURCE2 %buildroot%_man1dir/

# menu

%__mkdir_p %buildroot%_desktopdir
%__cat << EOF > %buildroot%_desktopdir/%name.desktop
[Desktop Entry]
Name=STK (Demo)
GenericName=Synthesis ToolKit
Comment=Synthesis ToolKit
TryExec=STKDemo
Exec=STKDemo
Terminal=false
StartupNotify=true
Type=Application
Categories=AudioVideo;
EOF


%files
%_bindir/*
%prefix/share/stk
%_man1dir/*
%_desktopdir/*

%files -n lib%name
%_libdir/*.so.*
%doc README

%files -n lib%name-devel
%_libdir/*.so
%_includedir/stk

%files -n lib%name-devel-static
%_libdir/*.a

%files doc
%doc doc/html doc/*.txt

%changelog

Полный changelog можно просмотреть здесь

 
дизайн и разработка: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
текущий майнтейнер: Michael Shigorin