mirror of
https://github.com/terrapkg/packages.git
synced 2026-06-17 17:10:37 +00:00
fix(praat): use new build process (#13117)
This commit is contained in:
@@ -13,8 +13,6 @@ License: GPL-3.0-or-later AND LGPL-2.1-or-later AND MIT AND GPL-2.0-or-
|
||||
|
||||
Requires: gtk3 pulseaudio-libs alsa-lib pipewire-jack-audio-connection-kit
|
||||
BuildRequires: gcc g++ gtk3-devel pulseaudio-libs-devel alsa-lib-devel pipewire-jack-audio-connection-kit-devel
|
||||
# for lscpu check below
|
||||
BuildRequires: util-linux
|
||||
# to install desktop file
|
||||
BuildRequires: desktop-file-utils
|
||||
# to generate the icon files
|
||||
@@ -33,16 +31,11 @@ Packager: june-fish <june@fyralabs.com>
|
||||
%autosetup -n praat.github.io-%{version}
|
||||
|
||||
%build
|
||||
# .LE makefile hardcodes little endian
|
||||
if [[ "$(lscpu | grep Endian)" == *"Little Endian"* ]]
|
||||
then
|
||||
cp makefiles/makefile.defs.linux.pulse-gcc.LE ./makefile.defs
|
||||
elif [[ "%{lscpu | grep Endian}" == *"Big Endian"* ]]
|
||||
then
|
||||
cp makefiles/makefile.defs.linux.pulse-gcc.BE ./makefile.defs
|
||||
fi
|
||||
|
||||
%make_build
|
||||
%ifarch x86_64
|
||||
%make_build PRAAT_ARCH=x64v1
|
||||
%else
|
||||
%make_build PRAAT_ARCH=native
|
||||
%endif
|
||||
|
||||
%install
|
||||
install -pDm755 praat %{buildroot}%{_bindir}/praat
|
||||
@@ -72,5 +65,7 @@ done
|
||||
%{_metainfodir}/%appid.metainfo.xml
|
||||
|
||||
%changelog
|
||||
* Wed Jun 17 2026 june-fish <git@june.fish> - 6.4.67
|
||||
- use new praat build process
|
||||
* Fri Feb 06 2026 june-fish <git@june.fish> - 6.4.59
|
||||
- Initial Package
|
||||
|
||||
Reference in New Issue
Block a user