1 |
commit: f24096f2499b92ebbd36a4a4235e051d410533e3 |
2 |
Author: Tupone Alfredo <tupone <AT> gentoo <DOT> org> |
3 |
AuthorDate: Wed Nov 27 21:31:12 2019 +0000 |
4 |
Commit: Alfredo Tupone <tupone <AT> gentoo <DOT> org> |
5 |
CommitDate: Wed Nov 27 21:31:12 2019 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f24096f2 |
7 |
|
8 |
dev-tcltk/snack: removing old versions |
9 |
|
10 |
Package-Manager: Portage-2.3.76, Repoman-2.3.16 |
11 |
Signed-off-by: Alfredo Tupone <tupone <AT> gentoo.org> |
12 |
|
13 |
dev-tcltk/snack/snack-2.2.10-r6.ebuild | 97 ---------------------------------- |
14 |
dev-tcltk/snack/snack-2.2.10-r7.ebuild | 97 ---------------------------------- |
15 |
2 files changed, 194 deletions(-) |
16 |
|
17 |
diff --git a/dev-tcltk/snack/snack-2.2.10-r6.ebuild b/dev-tcltk/snack/snack-2.2.10-r6.ebuild |
18 |
deleted file mode 100644 |
19 |
index 20852e8f371..00000000000 |
20 |
--- a/dev-tcltk/snack/snack-2.2.10-r6.ebuild |
21 |
+++ /dev/null |
22 |
@@ -1,97 +0,0 @@ |
23 |
-# Copyright 1999-2017 Gentoo Foundation |
24 |
-# Distributed under the terms of the GNU General Public License v2 |
25 |
- |
26 |
-EAPI=5 |
27 |
- |
28 |
-PYTHON_COMPAT=( python2_7 pypy ) |
29 |
- |
30 |
-inherit autotools autotools-utils distutils-r1 multilib |
31 |
- |
32 |
-DESCRIPTION="The Snack Sound Toolkit (Tcl)" |
33 |
-HOMEPAGE="http://www.speech.kth.se/snack/" |
34 |
-SRC_URI="http://www.speech.kth.se/snack/dist/${PN}${PV}.tar.gz" |
35 |
- |
36 |
-LICENSE="GPL-2" |
37 |
-KEYWORDS="amd64 hppa ppc ppc64 sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos" |
38 |
-SLOT="0" |
39 |
-IUSE="alsa examples python threads vorbis" |
40 |
- |
41 |
-RESTRICT="test" # Bug 78354 |
42 |
- |
43 |
-DEPEND=" |
44 |
- dev-lang/tcl:0= |
45 |
- dev-lang/tk:0= |
46 |
- alsa? ( media-libs/alsa-lib ) |
47 |
- python? ( ${PYTHON_DEPS} ) |
48 |
- vorbis? ( media-libs/libvorbis )" |
49 |
-RDEPEND="${DEPEND}" |
50 |
- |
51 |
-S="${WORKDIR}/${PN}${PV}/unix" |
52 |
- |
53 |
-#PYTHON_MODNAME="tkSnack.py" |
54 |
- |
55 |
-AUTOTOOLS_IN_SOURCE_BUILD=1 |
56 |
- |
57 |
-PATCHES=( |
58 |
- "${FILESDIR}"/alsa-undef-sym.patch |
59 |
- "${FILESDIR}"/${P}-CVE-2012-6303-fix.patch |
60 |
- ) |
61 |
- |
62 |
-src_prepare() { |
63 |
- # adds -install_name (soname on Darwin) |
64 |
- [[ ${CHOST} == *-darwin* ]] && PATCHES+=( "${FILESDIR}"/${P}-darwin.patch ) |
65 |
- |
66 |
- sed \ |
67 |
- -e "s:ar cr:$(tc-getAR) cr:g" \ |
68 |
- -e "s:-O:${CFLAGS}:g" \ |
69 |
- -i Makefile.in || die |
70 |
- |
71 |
- cd .. || die |
72 |
- |
73 |
- autotools-utils_src_prepare |
74 |
- |
75 |
- sed \ |
76 |
- -e 's|^\(#define roundf(.*\)|//\1|' \ |
77 |
- -i generic/jkFormatMP3.c || die |
78 |
-} |
79 |
- |
80 |
-src_configure() { |
81 |
- local myeconfargs=( |
82 |
- --libdir="${EPREFIX}"/usr/$(get_libdir) |
83 |
- --includedir="${EPREFIX}"/usr/include |
84 |
- ) |
85 |
- |
86 |
- use alsa && myconf+=( --enable-alsa ) |
87 |
- use threads && myconf+=( --enable-threads ) |
88 |
- |
89 |
- use vorbis && \ |
90 |
- myconf+=( --with-ogg-include="${EPREFIX}"/usr/include ) && \ |
91 |
- myconf+=( --with-ogg-lib="${EPREFIX}"/usr/$(get_libdir) ) |
92 |
- |
93 |
- autotools-utils_src_configure |
94 |
-} |
95 |
- |
96 |
-src_compile() { |
97 |
- autotools-utils_src_compile |
98 |
-} |
99 |
- |
100 |
-src_install() { |
101 |
- autotools-utils_src_install |
102 |
- |
103 |
- if use python ; then |
104 |
- cd "${S}"/../python || die |
105 |
- distutils-r1_src_install |
106 |
- fi |
107 |
- |
108 |
- cd "${S}"/.. || die |
109 |
- |
110 |
- dohtml doc/* |
111 |
- |
112 |
- if use examples ; then |
113 |
- docinto examples |
114 |
- sed -i -e 's/wish[0-9.]+/wish/g' demos/tcl/* || die |
115 |
- dodoc -r demos/tcl |
116 |
- |
117 |
- use python && dodoc -r demos/python |
118 |
- fi |
119 |
-} |
120 |
|
121 |
diff --git a/dev-tcltk/snack/snack-2.2.10-r7.ebuild b/dev-tcltk/snack/snack-2.2.10-r7.ebuild |
122 |
deleted file mode 100644 |
123 |
index eb87e0968a7..00000000000 |
124 |
--- a/dev-tcltk/snack/snack-2.2.10-r7.ebuild |
125 |
+++ /dev/null |
126 |
@@ -1,97 +0,0 @@ |
127 |
-# Copyright 1999-2018 Gentoo Foundation |
128 |
-# Distributed under the terms of the GNU General Public License v2 |
129 |
- |
130 |
-EAPI=6 |
131 |
- |
132 |
-PYTHON_COMPAT=( python2_7 pypy ) |
133 |
- |
134 |
-inherit autotools distutils-r1 multilib |
135 |
- |
136 |
-DESCRIPTION="The Snack Sound Toolkit (Tcl)" |
137 |
-HOMEPAGE="http://www.speech.kth.se/snack/" |
138 |
-SRC_URI="http://www.speech.kth.se/snack/dist/${PN}${PV}.tar.gz" |
139 |
- |
140 |
-LICENSE="GPL-2" |
141 |
-KEYWORDS="~amd64 ~hppa ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos" |
142 |
-SLOT="0" |
143 |
-IUSE="alsa examples python vorbis" |
144 |
- |
145 |
-RESTRICT="test" # Bug 78354 |
146 |
- |
147 |
-DEPEND=" |
148 |
- dev-lang/tcl:0= |
149 |
- dev-lang/tk:0= |
150 |
- alsa? ( media-libs/alsa-lib ) |
151 |
- python? ( ${PYTHON_DEPS} ) |
152 |
- vorbis? ( media-libs/libvorbis )" |
153 |
-RDEPEND="${DEPEND}" |
154 |
- |
155 |
-S="${WORKDIR}/${PN}${PV}/unix" |
156 |
- |
157 |
-PATCHES=( |
158 |
- "${FILESDIR}"/alsa-undef-sym.patch |
159 |
- "${FILESDIR}"/${P}-CVE-2012-6303-fix.patch |
160 |
- ) |
161 |
- |
162 |
-HTML_DOCS="${WORKDIR}/${PN}${PV}/doc/*" |
163 |
- |
164 |
-src_prepare() { |
165 |
- # adds -install_name (soname on Darwin) |
166 |
- [[ ${CHOST} == *-darwin* ]] && PATCHES+=( "${FILESDIR}"/${P}-darwin.patch ) |
167 |
- |
168 |
- sed \ |
169 |
- -e "s:ar cr:$(tc-getAR) cr:g" \ |
170 |
- -e "s:-O:${CFLAGS}:g" \ |
171 |
- -i Makefile.in || die |
172 |
- |
173 |
- cd .. |
174 |
- |
175 |
- default |
176 |
- |
177 |
- sed \ |
178 |
- -e 's|^\(#define roundf(.*\)|//\1|' \ |
179 |
- -i generic/jkFormatMP3.c || die |
180 |
-} |
181 |
- |
182 |
-src_configure() { |
183 |
- local myconf="" |
184 |
- |
185 |
- use alsa && myconf+=" --enable-alsa" |
186 |
- |
187 |
- if use vorbis; then |
188 |
- myconf+=" --with-ogg-include="${EPREFIX}"/usr/include" |
189 |
- myconf+=" --with-ogg-lib="${EPREFIX}"/usr/$(get_libdir)" |
190 |
- fi |
191 |
- |
192 |
- econf \ |
193 |
- --libdir="${EPREFIX}"/usr/$(get_libdir) \ |
194 |
- --includedir="${EPREFIX}"/usr/include \ |
195 |
- --with-tcl="${EPREFIX}"/usr/$(get_libdir) \ |
196 |
- --with-tk="${EPREFIX}"/usr/$(get_libdir) \ |
197 |
- $myconf |
198 |
-} |
199 |
- |
200 |
-src_compile() { |
201 |
- default |
202 |
-} |
203 |
- |
204 |
-HTMML_DOCS="" |
205 |
- |
206 |
-src_install() { |
207 |
- default |
208 |
- |
209 |
- if use python ; then |
210 |
- cd "${S}"/../python || die |
211 |
- distutils-r1_src_install |
212 |
- fi |
213 |
- |
214 |
- cd "${S}"/.. || die |
215 |
- |
216 |
- if use examples ; then |
217 |
- docinto examples |
218 |
- sed -i -e 's/wish[0-9.]+/wish/g' demos/tcl/* || die |
219 |
- dodoc -r demos/tcl |
220 |
- |
221 |
- use python && dodoc -r demos/python |
222 |
- fi |
223 |
-} |