summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMiroslav Šulc <fordfrog@gentoo.org>2019-11-17 14:00:11 +0100
committerMiroslav Šulc <fordfrog@gentoo.org>2019-11-17 14:00:41 +0100
commite20bade5a5879b5e6653afd6c007da16e2ade19f (patch)
treeaf7c1bfac3cfd385813eb9ef39e738beebf60574 /media-sound
parentnet-libs/telepathy-qt: Disable failing tests trying to access D-Bus (diff)
downloadgentoo-e20bade5a5879b5e6653afd6c007da16e2ade19f.tar.gz
gentoo-e20bade5a5879b5e6653afd6c007da16e2ade19f.tar.bz2
gentoo-e20bade5a5879b5e6653afd6c007da16e2ade19f.zip
media-sound/jaaa-0.9.2: bump
1) updated to eapi 7 2) updated deps (media-libs/libclalsadrv deprecated) 3) updated Makefile patch 4) removed tc-export (not used anymore) Package-Manager: Portage-2.3.79, Repoman-2.3.18 Signed-off-by: Miroslav Šulc <fordfrog@gentoo.org>
Diffstat (limited to 'media-sound')
-rw-r--r--media-sound/jaaa/Manifest1
-rw-r--r--media-sound/jaaa/files/jaaa-0.9.2-Makefile.patch16
-rw-r--r--media-sound/jaaa/jaaa-0.9.2.ebuild37
3 files changed, 54 insertions, 0 deletions
diff --git a/media-sound/jaaa/Manifest b/media-sound/jaaa/Manifest
index accfba9c0490..b1bd476ccf38 100644
--- a/media-sound/jaaa/Manifest
+++ b/media-sound/jaaa/Manifest
@@ -1 +1,2 @@
DIST jaaa-0.8.4.tar.bz2 25282 BLAKE2B b42d5f21fcdcc522724bb609e4e0d2c151a23d10368d7db1ba7b4d34fb648b924a623ed1d21501733af236be1b73a819d2b4cdfe6075047e6f709b4ecdfa6416 SHA512 d83dad995d4d6919e719671e19610be9cc6b9c14d922eabc6892f3427584baaacc212b37f0466373a38f1fcc65838851c09bb2ae72d9dfdc9c52921b594cbe8d
+DIST jaaa-0.9.2.tar.bz2 23839 BLAKE2B bccf8fd7e4d25c0cc32ea999bd997c98cc57be01dd1f098b22c09310e29e38da2eb411f252ab1b1da41ce35aa57ec75d10984c3fbd2addca05d9a0b48f4d490a SHA512 bddc08774891e7cfda11a58b87b4150131577c8a4a200b7420e20937cb9fea264b9d3c335e56456d0040ec0d4ff0324821606dca85c96e43b4e3b0afe50ac83b
diff --git a/media-sound/jaaa/files/jaaa-0.9.2-Makefile.patch b/media-sound/jaaa/files/jaaa-0.9.2-Makefile.patch
new file mode 100644
index 000000000000..c4f472acd636
--- /dev/null
+++ b/media-sound/jaaa/files/jaaa-0.9.2-Makefile.patch
@@ -0,0 +1,16 @@
+diff --git a/source/Makefile b/source/Makefile
+index fec867e..0c769f6 100644
+--- a/source/Makefile
++++ b/source/Makefile
+@@ -23,9 +23,8 @@ BINDIR ?= $(PREFIX)/bin
+
+ VERSION = 0.9.2
+ CPPFLAGS += -MMD -MP -DVERSION=\"$(VERSION)\" -DPREFIX=\"$(PREFIX)\" -I.
+-CPPFLAGS += $(shell pkgconf --cflags freetype2)
+-CXXFLAGS += -O2 -Wall
+-CXXFLAGS += -march=native
++CPPFLAGS += $(shell pkg-config --cflags freetype2)
++CXXFLAGS += -Wall
+ LDLIBS += -lzita-alsa-pcmi -lclthreads -lclxclient -lasound -lpthread \
+ -lfftw3f -ljack -lXft -lX11 -lrt
+
diff --git a/media-sound/jaaa/jaaa-0.9.2.ebuild b/media-sound/jaaa/jaaa-0.9.2.ebuild
new file mode 100644
index 000000000000..001eff6381db
--- /dev/null
+++ b/media-sound/jaaa/jaaa-0.9.2.ebuild
@@ -0,0 +1,37 @@
+# Copyright 1999-2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+DESCRIPTION="JACK and ALSA Audio Analyser is an audio signal generator and spectrum analyser"
+HOMEPAGE="http://kokkinizita.linuxaudio.org/linuxaudio/"
+SRC_URI="http://kokkinizita.linuxaudio.org/linuxaudio/downloads/${P}.tar.bz2"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~x86"
+IUSE=""
+
+CDEPEND="
+ >=media-libs/zita-alsa-pcmi-0.3
+ media-libs/libclthreads
+ media-libs/libclxclient
+ sci-libs/fftw:3.0=
+ virtual/jack
+ x11-libs/gtk+:2
+"
+RDEPEND="${CDEPEND}"
+DEPEND="${CDEPEND}"
+
+PATCHES=(
+ "${FILESDIR}"/${P}-Makefile.patch
+)
+
+src_compile() {
+ emake -C source PREFIX="${EPREFIX}"/usr
+}
+
+src_install() {
+ emake -C source PREFIX="${EPREFIX}"/usr DESTDIR="${D}" install
+ einstalldocs
+}