From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 25E511581FB for ; Fri, 30 Aug 2024 19:54:22 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 5E9F5E29B0; Fri, 30 Aug 2024 19:54:21 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 3EB50E29B0 for ; Fri, 30 Aug 2024 19:54:21 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 3BDD534307E for ; Fri, 30 Aug 2024 19:54:20 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 90EF9E66 for ; Fri, 30 Aug 2024 19:54:18 +0000 (UTC) From: "Arthur Zamarin" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Arthur Zamarin" Message-ID: <1725047488.b5bfa7e5269f670a74aed6aa4bbe75bd59348dfd.arthurzam@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-tcltk/snack/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-tcltk/snack/snack-2.2.10-r11.ebuild X-VCS-Directories: dev-tcltk/snack/ X-VCS-Committer: arthurzam X-VCS-Committer-Name: Arthur Zamarin X-VCS-Revision: b5bfa7e5269f670a74aed6aa4bbe75bd59348dfd X-VCS-Branch: master Date: Fri, 30 Aug 2024 19:54:18 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: fd754de7-c2ac-4608-aef2-f8e9e99ac7f5 X-Archives-Hash: a0b6401f978e5d4a64142f37e63762b2 commit: b5bfa7e5269f670a74aed6aa4bbe75bd59348dfd Author: Arthur Zamarin gentoo org> AuthorDate: Fri Aug 30 19:51:28 2024 +0000 Commit: Arthur Zamarin gentoo org> CommitDate: Fri Aug 30 19:51:28 2024 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b5bfa7e5 dev-tcltk/snack: drop 2.2.10-r11 Signed-off-by: Arthur Zamarin gentoo.org> dev-tcltk/snack/snack-2.2.10-r11.ebuild | 131 -------------------------------- 1 file changed, 131 deletions(-) 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 -}