commit:     70f58e00e806ee0cfcb0a4fea7867fe1dc8b0575
Author:     Andrew Ammerlaan <andrewammerlaan <AT> riseup <DOT> net>
AuthorDate: Thu Mar  4 10:41:38 2021 +0000
Commit:     Andrew Ammerlaan <andrewammerlaan <AT> riseup <DOT> net>
CommitDate: Thu Mar  4 10:41:38 2021 +0000
URL:        https://gitweb.gentoo.org/proj/sci.git/commit/?id=70f58e00

sci-misc/praat: version bump 6.1.40, EAPI bump

Package-Manager: Portage-3.0.16, Repoman-3.0.2
Signed-off-by: Andrew Ammerlaan <andrewammerlaan <AT> riseup.net>

 sci-misc/praat/praat-6.1.40.ebuild | 36 ++++++++++++++++++++++++++++++++++++
 1 file changed, 36 insertions(+)

diff --git a/sci-misc/praat/praat-6.1.40.ebuild 
b/sci-misc/praat/praat-6.1.40.ebuild
new file mode 100644
index 000000000..3e7f7d95c
--- /dev/null
+++ b/sci-misc/praat/praat-6.1.40.ebuild
@@ -0,0 +1,36 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+DESCRIPTION="Speech analysis and synthesis"
+HOMEPAGE="https://www.fon.hum.uva.nl/praat/ https://github.com/praat/praat";
+SRC_URI="https://github.com/${PN}/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+
+KEYWORDS="~amd64 ~x86"
+LICENSE="GPL-2"
+SLOT="0"
+
+DEPEND="
+       x11-libs/gtk+:2
+       media-libs/alsa-lib
+       media-sound/pulseaudio"
+RDEPEND="${DEPEND}"
+
+src_prepare() {
+       default
+       # TODO: following line should be updated for non-linux etc. builds
+       # (Flammie does not have testing equipment)
+       cp makefiles/makefile.defs.linux.pulse makefile.defs || die
+
+       cat <<-EOF >> makefile.defs
+               CFLAGS += ${CFLAGS}
+               CXXFLAGS += ${CXXFLAGS}
+       EOF
+}
+
+src_install() {
+       dobin ${PN}
+       insinto /usr/share/${PN}
+       doins -r test
+}

Reply via email to