media-plugins/vco-plugins: fix HOMEPAGE, SRC_URI, EAPI=5. bug #437186

The HOMEPAGE and SRC_URI for kokkinizita upstream was changed
some time ago. These changes point said variables to the new
location. The previous ebuild was EAPI=4 which is deprecated so
bumped to EAPI=5, revbumped and modified ebuild accordingly.

Bug: https://bugs.gentoo.org/show_bug.cgi?id=437186
This commit is contained in:
Gavin Pryke
2015-10-15 19:47:49 +01:00
parent 02141bb571
commit 24e3525174

View File

@@ -0,0 +1,35 @@
# Copyright 1999-2015 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
EAPI=5
inherit multilib toolchain-funcs
MY_P=${P/vco/VCO}
DESCRIPTION="SAW-VCO ladspa plugin package. Anti-aliased oscillators"
HOMEPAGE="http://kokkinizita.linuxaudio.org/linuxaudio/"
SRC_URI="http://kokkinizita.linuxaudio.org/linuxaudio/downloads/${MY_P}.tar.bz2"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~ppc ~x86"
IUSE=""
DEPEND="media-libs/ladspa-sdk"
RDEPEND="${DEPEND}"
S=${WORKDIR}/${MY_P}
src_prepare() {
tc-export CXX
sed -i -e "s/-O3//" \
-e "s/g++/$(tc-getCXX) ${LDFLAGS}/" Makefile || die
}
src_install() {
dodoc AUTHORS README
insinto /usr/$(get_libdir)/ladspa
insopts -m0755
doins *.so
}