media-sound/sonic: new package

This commit is contained in:
nemunaire 2019-11-25 22:49:51 +01:00
commit 406b93dfcb
3 changed files with 62 additions and 0 deletions

View file

@ -0,0 +1,24 @@
# Copyright 1999-2019 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
DESCRIPTION="Simple library to speed up or slow down speech"
HOMEPAGE="http://dev.vinux-project.org/sonic"
SRC_URI="https://github.com/espeak-ng/${PN}/archive/release-${PV}.tar.gz -> ${P}.tar.gz"
LICENSE="GPL-3"
SLOT="0"
KEYWORDS="~amd64 ~arm ~arm64"
S="${WORKDIR}/${PN}-release-${PV}"
PATCHES="${FILESDIR}/sonic-makefile-libdir.patch"
src_install() {
emake \
PREFIX="${EPREFIX}/usr" \
LIBDIR="\$(PREFIX)/$(get_libdir)" \
DESTDIR="${D}" \
install
}