1 |
mgorny 14/05/03 08:27:56 |
2 |
|
3 |
Modified: ChangeLog |
4 |
Added: lash-0.5.4-r2.ebuild |
5 |
Log: |
6 |
Convert to python-single-r1 & multilib. |
7 |
|
8 |
(Portage version: 2.2.10/cvs/Linux x86_64, signed Manifest commit with key EFB4464E!) |
9 |
|
10 |
Revision Changes Path |
11 |
1.40 media-sound/lash/ChangeLog |
12 |
|
13 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-sound/lash/ChangeLog?rev=1.40&view=markup |
14 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-sound/lash/ChangeLog?rev=1.40&content-type=text/plain |
15 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-sound/lash/ChangeLog?r1=1.39&r2=1.40 |
16 |
|
17 |
Index: ChangeLog |
18 |
=================================================================== |
19 |
RCS file: /var/cvsroot/gentoo-x86/media-sound/lash/ChangeLog,v |
20 |
retrieving revision 1.39 |
21 |
retrieving revision 1.40 |
22 |
diff -u -r1.39 -r1.40 |
23 |
--- ChangeLog 25 Feb 2013 08:04:11 -0000 1.39 |
24 |
+++ ChangeLog 3 May 2014 08:27:56 -0000 1.40 |
25 |
@@ -1,6 +1,11 @@ |
26 |
# ChangeLog for media-sound/lash |
27 |
-# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2 |
28 |
-# $Header: /var/cvsroot/gentoo-x86/media-sound/lash/ChangeLog,v 1.39 2013/02/25 08:04:11 ssuominen Exp $ |
29 |
+# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2 |
30 |
+# $Header: /var/cvsroot/gentoo-x86/media-sound/lash/ChangeLog,v 1.40 2014/05/03 08:27:56 mgorny Exp $ |
31 |
+ |
32 |
+*lash-0.5.4-r2 (03 May 2014) |
33 |
+ |
34 |
+ 03 May 2014; Michał Górny <mgorny@g.o> +lash-0.5.4-r2.ebuild: |
35 |
+ Convert to python-single-r1 & multilib. |
36 |
|
37 |
25 Feb 2013; Samuli Suominen <ssuominen@g.o> lash-0.5.4-r1.ebuild, |
38 |
+files/lash-0.5.4-gcc47.patch: |
39 |
@@ -140,4 +145,3 @@ |
40 |
and connects different kinds of virtual audio ports together (currently JACK |
41 |
and ALSA sequencer ports). It can also be used to move entire sessions |
42 |
between computers, or post sessions on the Internet for download. |
43 |
- |
44 |
|
45 |
|
46 |
|
47 |
1.1 media-sound/lash/lash-0.5.4-r2.ebuild |
48 |
|
49 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-sound/lash/lash-0.5.4-r2.ebuild?rev=1.1&view=markup |
50 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-sound/lash/lash-0.5.4-r2.ebuild?rev=1.1&content-type=text/plain |
51 |
|
52 |
Index: lash-0.5.4-r2.ebuild |
53 |
=================================================================== |
54 |
# Copyright 1999-2014 Gentoo Foundation |
55 |
# Distributed under the terms of the GNU General Public License v2 |
56 |
# $Header: /var/cvsroot/gentoo-x86/media-sound/lash/lash-0.5.4-r2.ebuild,v 1.1 2014/05/03 08:27:56 mgorny Exp $ |
57 |
|
58 |
EAPI=5 |
59 |
|
60 |
PYTHON_COMPAT=( python2_7 ) |
61 |
|
62 |
inherit autotools eutils multilib-minimal python-single-r1 |
63 |
|
64 |
DESCRIPTION="LASH Audio Session Handler" |
65 |
HOMEPAGE="http://www.nongnu.org/lash/" |
66 |
SRC_URI="mirror://nongnu/${PN}/${P}.tar.gz" |
67 |
|
68 |
LICENSE="GPL-2" |
69 |
SLOT="0" |
70 |
KEYWORDS="~alpha ~amd64 ~hppa ~ppc ~ppc64 ~sparc ~x86" |
71 |
IUSE="alsa debug gtk python static-libs" # doc |
72 |
|
73 |
RDEPEND="dev-libs/libxml2 |
74 |
media-sound/jack-audio-connection-kit |
75 |
>=sys-apps/util-linux-2.24.1-r3[${MULTILIB_USEDEP}] |
76 |
alsa? ( media-libs/alsa-lib ) |
77 |
gtk? ( x11-libs/gtk+:2 ) |
78 |
python? ( ${PYTHON_DEPS} ) |
79 |
|| ( sys-libs/readline dev-libs/libedit )" |
80 |
DEPEND="${RDEPEND} |
81 |
virtual/pkgconfig |
82 |
python? ( >=dev-lang/swig-1.3.40 )" |
83 |
# doc? ( >=app-text/texi2html-5 ) |
84 |
|
85 |
DOCS="AUTHORS ChangeLog NEWS README TODO" |
86 |
|
87 |
REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )" |
88 |
|
89 |
pkg_setup() { |
90 |
use python && python-single-r1_pkg_setup |
91 |
} |
92 |
|
93 |
src_prepare() { |
94 |
sed -i \ |
95 |
-e '/texi2html/s:-number:&-sections:' \ |
96 |
docs/Makefile.am || die #422045 |
97 |
|
98 |
epatch \ |
99 |
"${FILESDIR}"/${P}-glibc2.8.patch \ |
100 |
"${FILESDIR}"/${P}-swig_version_comparison.patch \ |
101 |
"${FILESDIR}"/${P}-gcc47.patch |
102 |
|
103 |
AT_M4DIR="m4" eautoreconf |
104 |
} |
105 |
|
106 |
multilib_src_configure() { |
107 |
# 'no' could be '$(usex doc)' but we use the pregenerated lash-manual.html |
108 |
export ac_cv_prog_lash_texi2html=no #422045 |
109 |
|
110 |
# --enable-pylash would disable it |
111 |
local myconf=() |
112 |
if ! multilib_is_native_abi || ! use python; then |
113 |
myconf+=( --disable-pylash ) |
114 |
fi |
115 |
|
116 |
if ! multilib_is_native_abi; then |
117 |
# disable remaining configure checks |
118 |
myconf+=( |
119 |
JACK_CFLAGS=' ' |
120 |
JACK_LIBS=' ' |
121 |
XML2_CFLAGS=' ' |
122 |
XML2_LIBS=' ' |
123 |
|
124 |
vl_cv_lib_readline=no |
125 |
) |
126 |
fi |
127 |
|
128 |
ECONF_SOURCE=${S} \ |
129 |
econf \ |
130 |
$(use_enable static-libs static) \ |
131 |
$(multilib_native_use_enable alsa alsa-midi) \ |
132 |
$(multilib_native_use_enable gtk gtk2) \ |
133 |
$(multilib_native_use_enable debug) \ |
134 |
"${myconf[@]}" |
135 |
} |
136 |
|
137 |
multilib_src_compile() { |
138 |
if multilib_is_native_abi; then |
139 |
default |
140 |
else |
141 |
emake -C liblash |
142 |
fi |
143 |
} |
144 |
|
145 |
multilib_src_test() { |
146 |
multilib_is_native_abi && default |
147 |
} |
148 |
|
149 |
multilib_src_install() { |
150 |
if multilib_is_native_abi; then |
151 |
emake DESTDIR="${D}" install |
152 |
else |
153 |
# headers |
154 |
emake -C lash DESTDIR="${D}" install |
155 |
# library |
156 |
emake -C liblash DESTDIR="${D}" install |
157 |
# pkg-config |
158 |
emake DESTDIR="${D}" install-pkgconfigDATA |
159 |
fi |
160 |
} |
161 |
|
162 |
multilib_src_install_all() { |
163 |
dohtml docs/lash-manual-html-*/lash-manual.html |
164 |
prune_libtool_files --all # --all for _lash.la in python directory |
165 |
use python && python_optimize |
166 |
} |