Browse Source

sci-misc/praat: version bump 6.1.42

Bug: https://bugs.gentoo.org/78392
Co-Authored-By: Edgar Uriel Domínguez Espinoza <edgar_uriel84@genomorro.name>
Package-Manager: Portage-3.0.18, Repoman-3.0.3
Signed-off-by: Andrew Ammerlaan <andrewammerlaan@riseup.net>
master
Andrew Ammerlaan 1 month ago
parent
commit
64de0fcb29
No known key found for this signature in database GPG Key ID: A19F636CD4EDBCD1
3 changed files with 61 additions and 37 deletions
  1. +1
    -1
      sci-misc/praat/Manifest
  2. +0
    -36
      sci-misc/praat/praat-6.1.40.ebuild
  3. +60
    -0
      sci-misc/praat/praat-6.1.42.ebuild

+ 1
- 1
sci-misc/praat/Manifest View File

@ -1 +1 @@
DIST praat-6.1.40.tar.gz 33612192 BLAKE2B 0515acf011cd7b365bc02bbe373bc7131d67edfca18bae1f6d59d9ef40969dfb3e4d90a6905b02ded7bdef39d5d300b310c2540d5e8357a2dde3af26bf953086 SHA512 7e1e02fdc8dd800c5aadee1823581b27d96fc4fa3f255d5bc91e21b2e2756db41ffb2d44d6b3b0a4951f0b40ff0ec03300a4f271dc9969ce4c45c42bd3b09dff
DIST praat-6.1.42.tar.gz 33628783 BLAKE2B b406ae2d0242c3a093a99db45a083cf54180be6632946596e5b3cebf20b133e29fcac5081f5fc997cf6b6c313128b4f2813b00c2b096fc5c085c8be1642cc6c7 SHA512 eb3f6b5f0a74a1eba4dd4fb6f9231322e2accf127e8d9e104066c4341120e72c00f3773b38636891094d9912dd4081e2b6719f1c07883e592341dbb81f2db9ce

+ 0
- 36
sci-misc/praat/praat-6.1.40.ebuild View File

@ -1,36 +0,0 @@
# 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
}

+ 60
- 0
sci-misc/praat/praat-6.1.42.ebuild View File

@ -0,0 +1,60 @@
# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
DESCRIPTION="Speech analysis and synthesis"
SRC_URI="https://github.com/praat/praat/archive/v${PV}.tar.gz -> ${P}.tar.gz"
HOMEPAGE="http://www.fon.hum.uva.nl/praat/"
KEYWORDS="~amd64 ~x86"
IUSE="+pulseaudio static-libs +X"
LICENSE="GPL-2"
SLOT="0"
DEPEND="
pulseaudio? ( media-sound/pulseaudio )
static-libs? ( media-libs/alsa-lib )
X? ( x11-libs/gtk+:3 )
!X? ( x11-libs/pango )"
RDEPEND="${DEPEND}"
S="${WORKDIR}/praat-${PV}"
src_prepare() {
if use X; then
if use static-libs; then
if use pulseaudio; then
cp "${S}/makefiles/makefile.defs.linux.pulse_static" "${S}/makefile.defs"
else
cp "${S}/makefiles/makefile.defs.linux.alsa" "${S}/makefile.defs"
fi
else
if use pulseaudio; then
cp "${S}/makefiles/makefile.defs.linux.pulse" "${S}/makefile.defs"
else
cp "${S}/makefiles/makefile.defs.linux.silent" "${S}/makefile.defs"
fi
fi
else
cp "${S}/makefiles/makefile.defs.linux.nogui" "${S}/makefile.defs"
fi
cat <<-EOF >> makefile.defs
CFLAGS += ${CFLAGS}
LDFLAGS += ${LDFLAGS}
CXXFLAGS += ${CXXFLAGS}
EOF
default
}
src_install() {
if [ -e praat_nogui ]; then
mv praat_nogui praat
elif [ -e praat_static ]; then
mv praat_static praat
fi
dobin praat
insinto /usr/share/${PN}/test
doins -r test/*
}

Loading…
Cancel
Save