From: "Michał Górny" <mgorny@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-tcltk/snack/
Date: Sat, 18 Mar 2017 07:33:37 +0000 (UTC) [thread overview]
Message-ID: <1489822408.7a584bfaa9aff1683e665f32b4e7bfa29e53148d.mgorny@gentoo> (raw)
commit: 7a584bfaa9aff1683e665f32b4e7bfa29e53148d
Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Thu Mar 16 19:29:56 2017 +0000
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Sat Mar 18 07:33:28 2017 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7a584bfa
dev-tcltk/snack: Drop old (distutils.eclass)
dev-tcltk/snack/snack-2.2.10-r5.ebuild | 105 ---------------------------------
1 file changed, 105 deletions(-)
diff --git a/dev-tcltk/snack/snack-2.2.10-r5.ebuild b/dev-tcltk/snack/snack-2.2.10-r5.ebuild
deleted file mode 100644
index 179cabafa55..00000000000
--- a/dev-tcltk/snack/snack-2.2.10-r5.ebuild
+++ /dev/null
@@ -1,105 +0,0 @@
-# Copyright 1999-2015 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=4
-
-PYTHON_DEPEND="python? 2"
-SUPPORT_PYTHON_ABIS="1"
-RESTRICT_PYTHON_ABIS="3.*"
-
-inherit eutils distutils multilib
-
-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"
-
-LICENSE="GPL-2"
-KEYWORDS="alpha amd64 hppa ppc ppc64 sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos"
-SLOT="0"
-IUSE="alsa examples python threads vorbis"
-
-RESTRICT="test" # Bug 78354
-
-DEPEND="
- >dev-lang/tcl-8.4.3:0
- >dev-lang/tk-8.4.3:0
- alsa? ( media-libs/alsa-lib )
- vorbis? ( media-libs/libvorbis )"
-RDEPEND="${DEPEND}"
-
-S="${WORKDIR}/${PN}${PV}/unix"
-
-PYTHON_MODNAME="tkSnack.py"
-
-pkg_setup() {
- if use python; then
- python_pkg_setup
- fi
-}
-
-src_prepare() {
- # bug 226137 - snack depends on alsa private symbol _snd_pcm_mmap_hw_ptr
- epatch "${FILESDIR}"/alsa-undef-sym.patch
- # bug 270839 - error from /usr/include/bits/mathcalls.h:310
- sed \
- -e 's|^\(#define roundf(.*\)|//\1|' \
- -i ../generic/jkFormatMP3.c || die
-
- # adds -install_name (soname on Darwin)
- [[ ${CHOST} == *-darwin* ]] && epatch "${FILESDIR}"/${P}-darwin.patch
-
- # From Fedora
- cd ../
- epatch "${FILESDIR}"/${P}-CVE-2012-6303-fix.patch
-}
-
-src_configure() {
- local myconf="--libdir="${EPREFIX}"/usr/$(get_libdir) --includedir="${EPREFIX}"/usr/include"
-
- use alsa && myconf="${myconf} --enable-alsa"
- use threads && myconf="${myconf} --enable-threads"
-
- if use vorbis ; then
- myconf="${myconf} --with-ogg-include="${EPREFIX}"/usr/include"
- myconf="${myconf} --with-ogg-lib="${EPREFIX}"/usr/$(get_libdir)"
- fi
-
- econf ${myconf}
-}
-
-src_compile() {
- # We do not want to run distutils_src_compile
- default
-}
-
-src_install() {
- default
-
- if use python ; then
- cd "${S}"/../python
- distutils_src_install
- fi
-
- cd "${S}"/..
-
- dohtml doc/*
-
- if use examples ; then
- sed -i -e 's/wish[0-9.]+/wish/g' demos/tcl/* || die
- docinto examples/tcl
- dodoc demos/tcl/*
-
- if use python ; then
- docinto examples/python
- dodoc demos/python/*
- fi
- fi
-}
-
-pkg_postinst() {
- use python && distutils_pkg_postinst
-}
-
-pkg_postrm() {
- use python && distutils_pkg_postrm
-}
next reply other threads:[~2017-03-18 7:33 UTC|newest]
Thread overview: 39+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-03-18 7:33 Michał Górny [this message]
-- strict thread matches above, loose matches on Subject: below --
2024-09-27 21:53 [gentoo-commits] repo/gentoo:master commit in: dev-tcltk/snack/ Sam James
2024-08-30 19:54 Arthur Zamarin
2023-06-04 16:05 Arthur Zamarin
2023-05-05 10:08 Arthur Zamarin
2023-04-29 8:48 Sam James
2023-04-20 4:02 Sam James
2023-04-19 14:06 Sam James
2023-02-26 18:53 Alfredo Tupone
2023-01-15 20:48 Alfredo Tupone
2022-02-04 20:02 Alfredo Tupone
2022-02-01 18:51 Michał Górny
2021-09-18 16:51 Alfredo Tupone
2021-05-23 10:15 Alfredo Tupone
2021-04-12 18:06 Alfredo Tupone
2021-01-06 22:33 Fabian Groffen
2020-11-05 22:26 Michał Górny
2020-10-18 18:06 Thomas Deutschmann
2020-10-14 9:17 Agostino Sarubbo
2020-09-24 18:15 Sergei Trofimovich
2020-09-24 3:41 Michał Górny
2020-09-21 18:53 Sergei Trofimovich
2020-02-27 8:07 Alfredo Tupone
2019-11-27 21:31 Alfredo Tupone
2019-11-27 20:15 Sergei Trofimovich
2019-11-20 11:27 Agostino Sarubbo
2019-11-20 11:21 Agostino Sarubbo
2019-11-20 7:16 Alfredo Tupone
2019-11-19 12:48 Agostino Sarubbo
2019-11-17 4:18 Matt Turner
2019-11-16 10:34 Sergei Trofimovich
2019-11-15 9:51 Agostino Sarubbo
2019-05-14 19:56 Alfredo Tupone
2018-10-04 17:31 Alfredo Tupone
2017-11-24 22:20 Sergei Trofimovich
2017-02-15 21:55 Michael Weber
2017-01-31 16:06 Jeroen Roovers
2016-10-16 19:31 Pacho Ramos
2016-10-16 17:45 Tobias Klausmann
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1489822408.7a584bfaa9aff1683e665f32b4e7bfa29e53148d.mgorny@gentoo \
--to=mgorny@gentoo.org \
--cc=gentoo-commits@lists.gentoo.org \
--cc=gentoo-dev@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox