1 |
commit: e0a2f08fa7fa4bbc2af16c7b773ad1caec38faaa |
2 |
Author: Miroslav Šulc <fordfrog <AT> gentoo <DOT> org> |
3 |
AuthorDate: Wed Jun 29 18:03:18 2022 +0000 |
4 |
Commit: Miroslav Šulc <fordfrog <AT> gentoo <DOT> org> |
5 |
CommitDate: Wed Jun 29 18:03:18 2022 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e0a2f08f |
7 |
|
8 |
media-sound/lash: dropped obsolete 0.5.4-r4 |
9 |
|
10 |
Bug: https://bugs.gentoo.org/854789 |
11 |
Closes: https://bugs.gentoo.org/846077 |
12 |
Signed-off-by: Miroslav Šulc <fordfrog <AT> gentoo.org> |
13 |
|
14 |
media-sound/lash/lash-0.5.4-r4.ebuild | 124 ---------------------------------- |
15 |
1 file changed, 124 deletions(-) |
16 |
|
17 |
diff --git a/media-sound/lash/lash-0.5.4-r4.ebuild b/media-sound/lash/lash-0.5.4-r4.ebuild |
18 |
deleted file mode 100644 |
19 |
index 686eaf212890..000000000000 |
20 |
--- a/media-sound/lash/lash-0.5.4-r4.ebuild |
21 |
+++ /dev/null |
22 |
@@ -1,124 +0,0 @@ |
23 |
-# Copyright 1999-2021 Gentoo Authors |
24 |
-# Distributed under the terms of the GNU General Public License v2 |
25 |
- |
26 |
-EAPI=7 |
27 |
- |
28 |
-PYTHON_COMPAT=( python3_{7,8,9} ) |
29 |
- |
30 |
-inherit autotools multilib-minimal python-single-r1 |
31 |
- |
32 |
-DESCRIPTION="LASH Audio Session Handler" |
33 |
-HOMEPAGE="http://www.nongnu.org/lash/" |
34 |
-SRC_URI="mirror://nongnu/${PN}/${P}.tar.gz" |
35 |
- |
36 |
-LICENSE="GPL-2" |
37 |
-SLOT="0" |
38 |
-KEYWORDS="amd64 arm arm64 ppc ppc64 ~riscv sparc x86" |
39 |
-IUSE="alsa debug gtk python static-libs" # doc |
40 |
- |
41 |
-BDEPEND=" |
42 |
- virtual/pkgconfig |
43 |
-" |
44 |
-RDEPEND=" |
45 |
- dev-libs/libxml2 |
46 |
- sys-apps/util-linux[${MULTILIB_USEDEP}] |
47 |
- virtual/jack |
48 |
- alsa? ( media-libs/alsa-lib ) |
49 |
- gtk? ( x11-libs/gtk+:2 ) |
50 |
- python? ( ${PYTHON_DEPS} ) |
51 |
- || ( sys-libs/readline dev-libs/libedit ) |
52 |
-" |
53 |
-DEPEND=" |
54 |
- ${RDEPEND} |
55 |
- python? ( dev-lang/swig ) |
56 |
-" |
57 |
-# doc? ( >=app-text/texi2html-5 ) |
58 |
- |
59 |
-DOCS=( AUTHORS ChangeLog NEWS README TODO ) |
60 |
-HTML_DOCS=( docs/lash-manual-html-one-page/lash-manual.html ) |
61 |
- |
62 |
-REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )" |
63 |
- |
64 |
-PATCHES=( |
65 |
- "${FILESDIR}"/${P}-glibc2.8.patch |
66 |
- "${FILESDIR}"/${P}-swig_version_comparison.patch |
67 |
- "${FILESDIR}"/${P}-gcc47.patch |
68 |
- "${FILESDIR}"/${P}-underlinking.patch |
69 |
- "${FILESDIR}"/${P}-strcmp.patch |
70 |
-) |
71 |
- |
72 |
-pkg_setup() { |
73 |
- use python && python-single-r1_pkg_setup |
74 |
-} |
75 |
- |
76 |
-src_prepare() { |
77 |
- sed -i \ |
78 |
- -e '/texi2html/s:-number:&-sections:' \ |
79 |
- docs/Makefile.am || die #422045 |
80 |
- |
81 |
- default |
82 |
- |
83 |
- AT_M4DIR=m4 eautoreconf |
84 |
-} |
85 |
- |
86 |
-multilib_src_configure() { |
87 |
- # 'no' could be '$(usex doc)' but we use the pregenerated lash-manual.html |
88 |
- export ac_cv_prog_lash_texi2html=no #422045 |
89 |
- |
90 |
- # --enable-pylash would disable it |
91 |
- local myconf=() |
92 |
- if ! multilib_is_native_abi || ! use python; then |
93 |
- myconf+=( --disable-pylash ) |
94 |
- fi |
95 |
- |
96 |
- if ! multilib_is_native_abi; then |
97 |
- # disable remaining configure checks |
98 |
- myconf+=( |
99 |
- JACK_CFLAGS=' ' |
100 |
- JACK_LIBS=' ' |
101 |
- XML2_CFLAGS=' ' |
102 |
- XML2_LIBS=' ' |
103 |
- |
104 |
- vl_cv_lib_readline=no |
105 |
- ) |
106 |
- fi |
107 |
- |
108 |
- ECONF_SOURCE=${S} \ |
109 |
- econf \ |
110 |
- $(use_enable static-libs static) \ |
111 |
- $(multilib_native_use_enable alsa alsa-midi) \ |
112 |
- $(multilib_native_use_enable gtk gtk2) \ |
113 |
- $(multilib_native_use_enable debug) \ |
114 |
- "${myconf[@]}" |
115 |
-} |
116 |
- |
117 |
-multilib_src_compile() { |
118 |
- if multilib_is_native_abi; then |
119 |
- default |
120 |
- else |
121 |
- emake -C liblash |
122 |
- fi |
123 |
-} |
124 |
- |
125 |
-multilib_src_test() { |
126 |
- multilib_is_native_abi && default |
127 |
-} |
128 |
- |
129 |
-multilib_src_install() { |
130 |
- if multilib_is_native_abi; then |
131 |
- emake DESTDIR="${D}" install |
132 |
- else |
133 |
- # headers |
134 |
- emake -C lash DESTDIR="${D}" install |
135 |
- # library |
136 |
- emake -C liblash DESTDIR="${D}" install |
137 |
- # pkg-config |
138 |
- emake DESTDIR="${D}" install-pkgconfigDATA |
139 |
- fi |
140 |
-} |
141 |
- |
142 |
-multilib_src_install_all() { |
143 |
- einstalldocs |
144 |
- find "${D}" -name '*.la' -delete || die |
145 |
- use python && python_optimize |
146 |
-} |