# Tag: Jack # Type: IDE # Category: Programming # GUIToolkit: Qt6 %global debug_package %{nil} Name: miniaudicle Summary: Light weight ChucK development environment Version: 1.5.2.4 Release: 2%{?dist} License: LGPL URL: https://audicle.cs.princeton.edu/mini/ Vendor: Planet CCRMA Distribution: Planet CCRMA # Usage: ./source-miniaudicle.sh # ./source-miniaudicle.sh chuck-1.5.2.4 Source0: miniAudicle.tar.gz Source1: source-miniaudicle.sh BuildRequires: gcc gcc-c++ BuildRequires: bison BuildRequires: flex BuildRequires: qt6-qtbase-devel BuildRequires: qscintilla-qt6-devel BuildRequires: qt6-rpm-macros BuildRequires: pkgconfig(jack) BuildRequires: alsa-lib-devel BuildRequires: libsndfile-devel BuildRequires: pulseaudio-libs-devel BuildRequires: desktop-file-utils %description The miniAudicle is a light-weight integrated development environment for the ChucK digital audio programming language. It can be used as a standalone ChucK development + runtime + on-the-fly programming environment, or in conjunction with traditional command-line modes of 'chuck' operation and with other chuck tools. %prep %autosetup -n miniAudicle cd src # insert rpm flags in qmake profile sed -i -e "s|QMAKE_LFLAGS \+=|QMAKE_LFLAGS \+= %{__global_ldflags}|g" miniAudicle.pro sed -i -e "s|CFLAGS \+=|CFLAGS \+= -std=c++11 %{optflags}|g" miniAudicle.pro # write proper lib path in default preferences sed -i -e "s|/usr/local/lib/chuck|%{_libdir}/chuck|g" chuck/src/core/chuck_dl.cpp # Create git-rev.h echo "#define GIT_REVISION \"%{version}\"" > git-rev.h %build %set_build_flags # build alsa version cd src # build alsa version %make_build linux-alsa QMAKE=qmake-qt6.sh mv miniAudicle miniAudicle-alsa # build pulse version %make_build clean %make_build linux-pulse QMAKE=qmake-qt6.sh mv miniAudicle miniAudicle-pulse # build jack version %make_build clean %make_build linux-jack QMAKE=qmake-qt6.sh mv miniAudicle miniAudicle-jack %install mkdir -p %{buildroot}%{_bindir} cd src # install jack version (last built) install -m 755 miniAudicle-jack %{buildroot}%{_bindir}/miniAudicle-jack # install alsa version install -m 755 miniAudicle-alsa %{buildroot}%{_bindir}/miniAudicle-alsa # install pulse version install -m 755 miniAudicle-pulse %{buildroot}%{_bindir}/miniAudicle-pulse mkdir -p %{buildroot}%{_datadir}/%{name}/examples/ cp -rav ../examples/* %{buildroot}%{_datadir}/%{name}/examples/ install -m 755 -d %{buildroot}/%{_datadir}/icons/ cp -a qt/icon/miniaudicle.ico %{buildroot}/%{_datadir}/icons/ # Write desktop files install -m 755 -d %{buildroot}/%{_datadir}/applications/ cat > %{buildroot}%{_datadir}/applications/%{name}-jack.desktop < %{buildroot}%{_datadir}/applications/%{name}-alsa.desktop < %{buildroot}%{_datadir}/applications/%{name}-pulse.desktop < - 1.5.2.4-2 - update to 1.5.2.4-2 * Sat Apr 06 2024 Yann Collette - 1.5.2.3-2 - update to 1.5.2.3-2 * Tue Mar 19 2024 Yann Collette - 1.5.2.2-2 - update to 1.5.2.2-2 * Thu Jan 18 2024 Yann Collette - 1.5.2.1-2 - update to 1.5.2.1-2 * Wed Dec 06 2023 Yann Collette - 1.5.2.0-2 - update to 1.5.2.0-2 * Mon Oct 30 2023 Yann Collette - 1.5.1.8-2 - update to 1.5.1.8-2 * Sat Oct 21 2023 Yann Collette - 1.5.1.7-2 - update to 1.5.1.7-2 * Thu Oct 12 2023 Yann Collette - 1.5.1.6-2 - update to 1.5.1.6-2 * Tue Oct 10 2023 Yann Collette - 1.5.1.5-2 - update to 1.5.1.5-2 * Tue Sep 05 2023 Yann Collette - 1.5.1.3-2 - update to 1.5.1.3-2 * Thu Aug 24 2023 Yann Collette - 1.5.1.2-2 - update to 1.5.1.2-2 * Tue Aug 22 2023 Yann Collette - 1.5.1.1-2 - update to 1.5.1.1-2 * Fri Aug 11 2023 Yann Collette - 1.5.1.0-2 - update to 1.5.1.0-2 * Sun Jun 25 2023 Yann Collette - 1.4.2.0-2 - update to 1.4.2.0-2 * Thu Oct 29 2020 Yann Collette - 1.3.5.2-2 - fix for fedora 33 * Mon Oct 15 2018 Yann Collette - 1.3.5.2-1 - update for Fedora 29 * Sun Dec 3 2017 Fernando Lopez-Lezcano - add rpm CFLAGS/LDFLAGS to qmake profile * Mon Oct 17 2016 Fernando Lopez-Lezcano - fix default lib path for chugins * Wed Oct 12 2016 Fernando Lopez-Lezcano 1.3.6.0-1.220a - update to experimental 1.3.6.0 (released for the 220a class) * Tue Jan 14 2014 Fernando Lopez-Lezcano 1.3.1-1 - update to 1.3.1, add pulse build * Sun Sep 29 2013 Fernando Lopez-Lezcano 1.3.0a-1 - updated to 1.3.0a * Sat Sep 14 2013 Fernando Lopez-Lezcano - add optflags for proper build on arm * Thu Aug 29 2013 Fernando Lopez-Lezcano 0.2.3-0.1.beta15 - updated to the latest beta-15 test release, use qt-devel now * Tue Oct 2 2012 Fernando Lopez-Lezcano 0.2.2c-1 - udpated to 0.2.2c * Mon Sep 24 2012 Fernando Lopez-Lezcano 0.2.2b-1 - updated to 0.2.2b * Mon Sep 10 2012 Fernando Lopez-Lezcano 0.2.2-1 - updated to 0.2.2, now compiles and works on x86_64 * Wed Aug 29 2012 Fernando Lopez-Lezcano 0.2.1b-1 - updated to 0.2.1b * Sat Aug 25 2012 Fernando Lopez-Lezcano 0.2.1-1 - updated to 0.2.1 * Wed May 19 2010 Fernando Lopez-Lezcano - add patch to link chuck with -lpthread for fc13/gcc4.4.4 * Mon Oct 12 2009 Fernando Lopez-Lezcano - 0.2.0-1 - updated to 0.2.0 * Fri Sep 4 2009 Fernando Lopez-Lezcano - 0.1.3.8b-2 - include newer version of chuck to make it build on fc11, add -fno-strict-aliasing so chuck gets compiled with the right options for fc11 * Wed Jul 9 2008 Fernando Lopez-Lezcano - build fixes for gcc4.3 on fc9 * Mon Oct 8 2007 Fernando Lopez-Lezcano - 0.1.3.8b-1 - unofficial update/fix release - make clean does not work, also make clean the chuck subdirectory * Thu Oct 4 2007 Fernando Lopez-Lezcano - 0.1.3.8-1 - update to 0.1.3.8, build for alsa only and jack * Wed Dec 6 2006 Fernando Lopez-Lezcano - 0.1.3.6-2 - build for fc6 * Fri Sep 22 2006 Fernando Lopez-Lezcano - 0.1.3.6-1 - update to 0.1.3.6 * Thu Aug 17 2006 Fernando Lopez-Lezcano - 0.1.3.5-1 - initial build