39 lines
953 B
Bash
39 lines
953 B
Bash
# Copyright 1999-2020 Gentoo Authors
|
|
# Distributed under the terms of the GNU General Public License v2
|
|
|
|
EAPI=7
|
|
inherit eutils toolchain-funcs
|
|
|
|
if [[ "${PV}" == "9999" ]]; then
|
|
inherit git-r3
|
|
KEYWORDS=""
|
|
EGIT_REPO_URI="git://github.com/tomszilagyi/${PN}.git"
|
|
EGIT_PROJECT="${PN}.git"
|
|
else
|
|
KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~x86"
|
|
SRC_URI="https://github.com/tomszilagyi/tap-plugins/archive/v${PV}.tar.gz -> $P.tar.gz"
|
|
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}"
|
|
}
|
|
|
|
src_install() {
|
|
insinto /usr/share/ladspa/rdf
|
|
doins *.rdf
|
|
|
|
exeinto /usr/$(get_libdir)/ladspa
|
|
doexe *.so
|
|
|
|
einstalldocs
|
|
}
|