summaryrefslogtreecommitdiff
path: root/dev-tcltk/snack
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2024-08-31 12:01:05 +0100
committerV3n3RiX <venerix@koprulu.sector>2024-08-31 12:01:05 +0100
commit5b7f6475da27c05b30659a00ecb49636aca2bece (patch)
treef67500afbab4acebaa18739efa57f79c7ee620b3 /dev-tcltk/snack
parent2e8abb8c82f14dd064991a1afd337b2f022b37f6 (diff)
gentoo auto-resync : 31:08:2024 - 12:01:05
Diffstat (limited to 'dev-tcltk/snack')
-rw-r--r--dev-tcltk/snack/Manifest1
-rw-r--r--dev-tcltk/snack/snack-2.2.10-r11.ebuild131
2 files changed, 0 insertions, 132 deletions
diff --git a/dev-tcltk/snack/Manifest b/dev-tcltk/snack/Manifest
index f6461decc005..daec15175f7f 100644
--- a/dev-tcltk/snack/Manifest
+++ b/dev-tcltk/snack/Manifest
@@ -11,6 +11,5 @@ AUX snack-2.2.10-test.patch 12933 BLAKE2B 05229781961d9431cb029d317918a5a267f9b2
AUX snack2.2.10-seektell-fix.patch 496 BLAKE2B a2e4e782788054c047596bd989241b9ecea3eeb2984c050888aced8289e77f30692386bcc437679bb5cc7a46f1616cbb3f4f64de017c343bcce2241b016d0cd5 SHA512 3e472dc7603426d35b23714435b3a8bfb6d54326eb1eaa54d8b79b4710035b3fed4e1f6a85ebad632950222c5cd55ac917dcb8cf2e87d0baa36124f8a3361fa8
AUX tcl-snack-2.2.10-python3.patch 12145 BLAKE2B eb33937789e0eab1316fdfcd472b5cf701a4072e498052cb2889e8c9e5a4502f193f386b83c96a2e98efcfca3dfeb389414e1b924b677ef68edfafe0e706048f SHA512 3480d83824e1d7e8250947d6f9d5a38704b302491980b7e8ad46a4d6790e3bdf9588b1d63048a9a5ed081c44b8f6c1dc42e79d3ad543f473b5469c711dc60394
DIST snack2.2.10.tar.gz 1798252 BLAKE2B e27b8e7d6082cdcfc06e7eea5ab832fb78ba104de9e56a69c6c9cd688183f7d4c6bdb974e4d5d2bf5ef2bc5518a913ddf17c90db8d10cef4dbee533307cc7718 SHA512 c17ad332fa4f3ded006b97ceca85cada079e4c7cd933768b289c13dadca1b8803fccaf709ec2def5af4abe92c307f25597ebfa6f94df2d681e40815cd7eccb9b
-EBUILD snack-2.2.10-r11.ebuild 2776 BLAKE2B 5e578cff6936d409a28ccbc97c2d055536af55ae5358d491d579e38f0b8a78c1780e323eb964da4d70d2a3e4a7a1560f759f2aacc8ddcd7787a294762909c5d9 SHA512 6ae861c699449e4272aa30d46e695561829c39eeb1cfb1f62105a06de8491181e3884866a9754127b36624a5835bf5c77a311fc418734cbe22fd7943123306df
EBUILD snack-2.2.10-r13.ebuild 2816 BLAKE2B eabe3e3add388cf0f607e5e263c5d50406bc7ceba62b5b64b5e6491b79def4fb3353202db34a00ac2751deda19d177920d5f075ee87cdf8a6fc6aaf0ff74d13b SHA512 1a5099c11e5949576e496d4f8a6fd033c6c8eca3add3781c5f669b13642de42f08a770930dbf24224d3f62365c7fb142911cef67377bed46e75ff662f05b9977
MISC metadata.xml 260 BLAKE2B 9864f2503702b03d3ad715b3f2bd7ef7077f9ddef089de0d6a0840599d99a7f99d439ee50c12afc9ca99b0e288babf74b0bb2a6132ae6dd656b8d7c15e9b10a9 SHA512 3d1e4f14995736fb28198da21587a813a31f1330873ae3078dcd9a2452c1196d23e45983877d2e296353e1ac35cc6ff461b309585237bcc768e37e6b2728c23b
diff --git a/dev-tcltk/snack/snack-2.2.10-r11.ebuild b/dev-tcltk/snack/snack-2.2.10-r11.ebuild
deleted file mode 100644
index 1c38016a77ef..000000000000
--- a/dev-tcltk/snack/snack-2.2.10-r11.ebuild
+++ /dev/null
@@ -1,131 +0,0 @@
-# Copyright 1999-2024 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-PYTHON_COMPAT=( python3_{9,10} )
-DISTUTILS_USE_PEP517=setuptools
-DISTUTILS_OPTIONAL=yes
-
-inherit distutils-r1 flag-o-matic toolchain-funcs virtualx
-
-DESCRIPTION="The Snack Sound Toolkit (Tcl)"
-HOMEPAGE="http://www.speech.kth.se/snack/"
-SRC_URI="http://www.speech.kth.se/snack/dist/${PN}${PV}.tar.gz"
-
-S="${WORKDIR}/${PN}${PV}/unix"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="amd64 ~hppa ppc sparc x86 ~amd64-linux ~x86-linux ~ppc-macos"
-IUSE="alsa examples python vorbis"
-RESTRICT="!test? ( test )"
-
-DEPEND="
- dev-lang/tcl:0=
- dev-lang/tk:0=
- alsa? ( media-libs/alsa-lib )
- python? ( ${PYTHON_DEPS} )
- vorbis? ( media-libs/libvorbis )"
-RDEPEND="${DEPEND}"
-BDEPEND="python? (
- ${PYTHON_DEPS}
- ${DISTUTILS_DEPS}
-)"
-
-REQUIRED_USE=${PYTHON_REQUIRED_USE}
-
-PATCHES=(
- "${FILESDIR}"/alsa-undef-sym.patch
- "${FILESDIR}"/${P}-CVE-2012-6303-fix.patch
- "${FILESDIR}"/${P}-debian-args.patch
- "${FILESDIR}"/${P}-test.patch
- "${FILESDIR}"/${PN}${PV}-seektell-fix.patch
- "${FILESDIR}"/tcl-${P}-python3.patch
- "${FILESDIR}"/${P}-lto.patch
- "${FILESDIR}"/${P}-configure-clang16.patch
- "${FILESDIR}"/${P}-implicit.patch
- "${FILESDIR}"/${P}-parallelMake.patch
-)
-
-HTML_DOCS="${WORKDIR}/${PN}${PV}/doc/*"
-
-src_prepare() {
- # adds -install_name (soname on Darwin)
- [[ ${CHOST} == *-darwin* ]] && PATCHES+=( "${FILESDIR}"/${P}-darwin.patch )
-
- sed \
- -e "s:ar cr:$(tc-getAR) cr:g" \
- -e "s|-O|${CFLAGS}|g" \
- -i Makefile.in || die
-
- cd ..
-
- default
-
- sed \
- -e 's|^\(#define roundf(.*\)|//\1|' \
- -i generic/jkFormatMP3.c || die
- rm tests/{play,record}.test || die
- if use python; then
- cd python
- distutils-r1_src_prepare
- fi
-}
-
-src_configure() {
- # For Clang 16, bunch of -Wimplicit-int, etc
- append-flags -std=gnu89
-
- local myconf=""
-
- use alsa && myconf+=" --enable-alsa"
-
- if use vorbis; then
- myconf+=" --with-ogg-include="${EPREFIX}"/usr/include"
- myconf+=" --with-ogg-lib="${EPREFIX}"/usr/$(get_libdir)"
- fi
-
- econf \
- --libdir="${EPREFIX}"/usr/$(get_libdir) \
- --includedir="${EPREFIX}"/usr/include \
- --with-tcl="${EPREFIX}"/usr/$(get_libdir) \
- --with-tk="${EPREFIX}"/usr/$(get_libdir) \
- $myconf
- if use python; then
- cd ../python
- distutils-r1_src_configure
- fi
-}
-
-src_compile() {
- default
- if use python; then
- cd ../python
- distutils-r1_src_compile
- fi
-}
-
-src_test() {
- TCLLIBPATH=${S} virtx default | tee snack.testResult
- grep -q FAILED snack.testResult && die
-}
-
-src_install() {
- default
-
- if use python ; then
- cd "${S}"/../python || die
- distutils-r1_src_install
- fi
-
- cd "${S}"/.. || die
-
- if use examples ; then
- docinto examples
- sed -i -e 's/wish[0-9.]+/wish/g' demos/tcl/* || die
- dodoc -r demos/tcl
-
- use python && dodoc -r demos/python
- fi
-}