summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'media-sound/jaaa')
-rw-r--r--media-sound/jaaa/files/jaaa-0.9.2-Makefile.patch4
-rw-r--r--media-sound/jaaa/jaaa-0.9.2.ebuild11
2 files changed, 6 insertions, 9 deletions
diff --git a/media-sound/jaaa/files/jaaa-0.9.2-Makefile.patch b/media-sound/jaaa/files/jaaa-0.9.2-Makefile.patch
index c4f472acd636..c76c6cf520f1 100644
--- a/media-sound/jaaa/files/jaaa-0.9.2-Makefile.patch
+++ b/media-sound/jaaa/files/jaaa-0.9.2-Makefile.patch
@@ -1,5 +1,3 @@
-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
@@ -9,7 +7,7 @@ index fec867e..0c769f6 100644
-CPPFLAGS += $(shell pkgconf --cflags freetype2)
-CXXFLAGS += -O2 -Wall
-CXXFLAGS += -march=native
-+CPPFLAGS += $(shell pkg-config --cflags freetype2)
++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
index b6575ea56713..11b227292172 100644
--- a/media-sound/jaaa/jaaa-0.9.2.ebuild
+++ b/media-sound/jaaa/jaaa-0.9.2.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2019 Gentoo Authors
+# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
@@ -12,9 +12,8 @@ SRC_URI="http://kokkinizita.linuxaudio.org/linuxaudio/downloads/${P}.tar.bz2"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="amd64 ~ppc x86"
-IUSE=""
-CDEPEND="
+RDEPEND="
dev-libs/libclthreads
>=media-libs/zita-alsa-pcmi-0.3
sci-libs/fftw:3.0=
@@ -22,15 +21,15 @@ CDEPEND="
x11-libs/gtk+:2
x11-libs/libclxclient
"
-RDEPEND="${CDEPEND}"
-DEPEND="${CDEPEND}"
+DEPEND="${RDEPEND}"
+BDEPEND="virtual/pkgconfig"
PATCHES=(
"${FILESDIR}"/${P}-Makefile.patch
)
src_compile() {
- tc-export CXX
+ tc-export CXX PKG_CONFIG
emake -C source PREFIX="${EPREFIX}"/usr
}