[packages/japa] - updated to 0.9.2 - updated makefile patch
qboosh
qboosh at pld-linux.org
Mon Sep 27 20:39:11 CEST 2021
commit 3f68c7deb5253a7e517fd43f574d0d8f072a2af3
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date: Mon Sep 27 20:44:02 2021 +0200
- updated to 0.9.2
- updated makefile patch
japa.spec | 31 +++++++++++++++++++------------
makefile.patch | 31 ++++++++++++-------------------
2 files changed, 31 insertions(+), 31 deletions(-)
---
diff --git a/japa.spec b/japa.spec
index 9727067..38b3d4d 100644
--- a/japa.spec
+++ b/japa.spec
@@ -1,23 +1,22 @@
-#
-# Conditional build:
-%bcond_with tests # build with tests
-%bcond_without tests # build without tests
-#
Summary: JACK and ALSA Perceptual Analyser
+Summary(pl.UTF-8): Analizator percepcyjny JACK i ALSA
Name: japa
-Version: 0.8.4
+Version: 0.9.2
Release: 1
License: GPL v2
-Group: Applications
+Group: Applications/Sound
Source0: http://kokkinizita.linuxaudio.org/linuxaudio/downloads/%{name}-%{version}.tar.bz2
-# Source0-md5: 966a8774e5b232bf055922dfdcc1b730
+# Source0-md5: 43287acd2511c6f9aeff7951b6e07d79
Patch0: makefile.patch
URL: http://kokkinizita.linuxaudio.org/linuxaudio/index.html
-BuildRequires: clthreads-devel
-BuildRequires: clxclient-devel
+BuildRequires: clthreads-devel >= 2.4.0
+BuildRequires: clxclient-devel >= 3.9.0
BuildRequires: fftw3-single-devel
BuildRequires: jack-audio-connection-kit-devel
-BuildRequires: zita-alsa-pcmi-devel
+BuildRequires: zita-alsa-pcmi-devel >= 0.3.0
+Requires: clthreads >= 2.4.0
+Requires: clxclient >= 3.9.0
+Requires: zita-alsa-pcmi >= 0.3.0
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
%description
@@ -28,6 +27,14 @@ Possible uses include spectrum monitoring while mixing or mastering,
evaluation of ambient noise, and (using pink noise), equalisation of
PA systems.
+%description -l pl.UTF-8
+Japa (JACK and ALSA Perceptual Analyser) to "percepcyjny" albo
+"psychoakustyczny" analizator widma dźwięku. W przeciwieństwie do JAAA
+to jest narzędzie bardziej akustyczne albo muzyczne niż techniczne.
+Możliwe przypadki użycia obejmują monitorowanie widma przy miksowaniu
+lub masteringu, szacowanie szumu otoczenia lub (przy użyciu różowego
+szumu) dostrajanie systemów PA.
+
%prep
%setup -q
%patch0 -p1
@@ -52,4 +59,4 @@ rm -rf $RPM_BUILD_ROOT
%files
%defattr(644,root,root,755)
%doc AUTHORS README
-%attr(755,root,root) %{_bindir}/%{name}
+%attr(755,root,root) %{_bindir}/japa
diff --git a/makefile.patch b/makefile.patch
index c673393..1b3eb96 100644
--- a/makefile.patch
+++ b/makefile.patch
@@ -1,21 +1,14 @@
-diff -dur japa-0.8.4.orig/source/Makefile japa-0.8.4/source/Makefile
---- japa-0.8.4.orig/source/Makefile 2013-07-01 12:07:44.000000000 +0200
-+++ japa-0.8.4/source/Makefile 2016-10-15 12:52:20.207337272 +0200
-@@ -24,15 +24,14 @@
- LIBDIR = lib$(SUFFIX)
- VERSION = 0.8.4
- CPPFLAGS += -DVERSION=\"$(VERSION)\" -DPREFIX=\"$(PREFIX)\" -I/usr/include/freetype2
--CXXFLAGS += -O2 -Wall -MMD -MP
--CXXFLAGS += -march=native
-+CXXFLAGS += -Wall -MMD -MP
- LDFLAGS += -L/usr/X11R6/$(LIBDIR)
- LDLIBS += -lzita-alsa-pcmi -lclthreads -lclxclient -lpthread -lfftw3f -ljack -lasound -lpthread -lXft -lX11 -lrt
-
+--- japa-0.9.2/source/Makefile.orig 2021-09-27 20:41:34.379853988 +0200
++++ japa-0.9.2/source/Makefile 2021-09-27 20:43:04.616031804 +0200
+@@ -23,9 +23,8 @@ BINDIR ?= $(PREFIX)/bin
- JAPA_O = analyser.o audio.o gobjects.o japa.o mainwin.o styles.o rngen.o
- japa: $(JAPA_O)
-- g++ $(LDFLAGS) -o $@ $(JAPA_O) $(LDLIBS)
-+ $(CXX) $(LDFLAGS) -o $@ $(JAPA_O) $(LDLIBS)
+ VERSION = 0.9.2
+ CPPFLAGS += -MMD -MP -DVERSION=\"$(VERSION)\" -DPREFIX=\"$(PREFIX)\"
+-CPPFLAGS += $(shell pkgconf --cflags freetype2)
+-CXXFLAGS += -O2 -Wall
+-CXXFLAGS += -march=native
++CPPFLAGS += $(shell pkg-config --cflags xft)
++CXXFLAGS += -Wall
+ LDLIBS += -lzita-alsa-pcmi -lclthreads -lclxclient -lasound -lpthread \
+ -lfftw3f -ljack -lXft -lX11 -lrt
- $(JAPA_O):
- -include $(JAPA_O:%.o=%.d)
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/japa.git/commitdiff/3f68c7deb5253a7e517fd43f574d0d8f072a2af3
More information about the pld-cvs-commit
mailing list