summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSam James <sam@gentoo.org>2022-03-19 23:01:49 +0000
committerSam James <sam@gentoo.org>2022-03-19 23:33:27 +0000
commite7b71a12045cdd6c01aa666ceee68048fb4075dd (patch)
treebfe63d25544fea4a4299b61427c17ff3bf410df8 /media-plugins/tap-plugins
parentgames-puzzle/xtris: [QA] fix tc-get* quoting (diff)
downloadgentoo-e7b71a12045cdd6c01aa666ceee68048fb4075dd.tar.gz
gentoo-e7b71a12045cdd6c01aa666ceee68048fb4075dd.tar.bz2
gentoo-e7b71a12045cdd6c01aa666ceee68048fb4075dd.zip
media-plugins/tap-plugins: [QA] fix tc-get* quoting
This can cause build problems for e.g. 32-bit (gcc -m32 ...) Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'media-plugins/tap-plugins')
-rw-r--r--media-plugins/tap-plugins/tap-plugins-1.0.1.ebuild10
-rw-r--r--media-plugins/tap-plugins/tap-plugins-9999.ebuild10
2 files changed, 12 insertions, 8 deletions
diff --git a/media-plugins/tap-plugins/tap-plugins-1.0.1.ebuild b/media-plugins/tap-plugins/tap-plugins-1.0.1.ebuild
index 7b79ca1ba1b4..5484e27ee525 100644
--- a/media-plugins/tap-plugins/tap-plugins-1.0.1.ebuild
+++ b/media-plugins/tap-plugins/tap-plugins-1.0.1.ebuild
@@ -1,10 +1,11 @@
-# Copyright 1999-2021 Gentoo Authors
+# Copyright 1999-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
+
inherit toolchain-funcs
-if [[ "${PV}" == "9999" ]]; then
+if [[ ${PV} == 9999 ]]; then
inherit git-r3
EGIT_REPO_URI="https://github.com/tomszilagyi/${PN}.git"
EGIT_PROJECT="${PN}.git"
@@ -15,16 +16,17 @@ fi
DESCRIPTION="Tom's audio processing (TAP) LADSPA plugins"
HOMEPAGE="https://github.com/tomszilagyi/tap-plugins http://tap-plugins.sourceforge.net/"
+
LICENSE="GPL-2"
SLOT="0"
-IUSE=""
DEPEND="media-libs/ladspa-sdk"
RDEPEND="${DEPEND}"
+
DOCS=( README CREDITS )
PATCHES=( "${FILESDIR}/${PN}-1.0.1-makefile.patch" )
src_compile() {
- emake CC=$(tc-getCC) OPT_CFLAGS="${CFLAGS}" EXTRA_LDFLAGS="${LDFLAGS}"
+ emake CC="$(tc-getCC)" OPT_CFLAGS="${CFLAGS}" EXTRA_LDFLAGS="${LDFLAGS}"
}
src_install() {
diff --git a/media-plugins/tap-plugins/tap-plugins-9999.ebuild b/media-plugins/tap-plugins/tap-plugins-9999.ebuild
index 7098ad16ae3b..3a929a4d31e5 100644
--- a/media-plugins/tap-plugins/tap-plugins-9999.ebuild
+++ b/media-plugins/tap-plugins/tap-plugins-9999.ebuild
@@ -1,10 +1,11 @@
-# Copyright 1999-2021 Gentoo Authors
+# Copyright 1999-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
+
inherit toolchain-funcs
-if [[ "${PV}" == "9999" ]]; then
+if [[ ${PV} == 9999 ]]; then
inherit git-r3
EGIT_REPO_URI="https://github.com/tomszilagyi/${PN}.git"
EGIT_PROJECT="${PN}.git"
@@ -15,16 +16,17 @@ fi
DESCRIPTION="Tom's audio processing (TAP) LADSPA plugins"
HOMEPAGE="https://github.com/tomszilagyi/tap-plugins http://tap-plugins.sourceforge.net/"
+
LICENSE="GPL-2"
SLOT="0"
-IUSE=""
DEPEND="media-libs/ladspa-sdk"
RDEPEND="${DEPEND}"
+
DOCS=( README CREDITS )
PATCHES=( "${FILESDIR}/${PN}-1.0.1-makefile.patch" )
src_compile() {
- emake CC=$(tc-getCC) OPT_CFLAGS="${CFLAGS}" EXTRA_LDFLAGS="${LDFLAGS}"
+ emake CC="$(tc-getCC)" OPT_CFLAGS="${CFLAGS}" EXTRA_LDFLAGS="${LDFLAGS}"
}
src_install() {