diff options
author | Sam James <sam@gentoo.org> | 2021-04-19 09:13:06 +0100 |
---|---|---|
committer | Sam James <sam@gentoo.org> | 2021-04-19 20:10:56 +0100 |
commit | 9a48ee04413e65d48b3cab82ec827bec53edffe6 (patch) | |
tree | 6da54c19722c220f72a4b7a4d37723d6a5c93144 /media-sound/jaaa | |
parent | media-radio/qrq: respect PKG_CONFIG, depend on pkgconfig (diff) | |
download | gentoo-9a48ee04413e65d48b3cab82ec827bec53edffe6.tar.gz gentoo-9a48ee04413e65d48b3cab82ec827bec53edffe6.tar.bz2 gentoo-9a48ee04413e65d48b3cab82ec827bec53edffe6.zip |
media-sound/jaaa: respect PKG_CONFIG
Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'media-sound/jaaa')
-rw-r--r-- | media-sound/jaaa/files/jaaa-0.9.2-Makefile.patch | 4 | ||||
-rw-r--r-- | media-sound/jaaa/jaaa-0.9.2.ebuild | 11 |
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 } |