1 |
chithanh 12/02/29 19:03:58 |
2 |
|
3 |
Modified: ChangeLog |
4 |
Added: lightspark-0.5.4.1-r1.ebuild |
5 |
Removed: lightspark-0.5.4.1.ebuild |
6 |
Log: |
7 |
Don't make pulseaudio default plugin when only sdl is built, bug #406197. |
8 |
|
9 |
(Portage version: 2.2.0_alpha89/cvs/Linux x86_64) |
10 |
|
11 |
Revision Changes Path |
12 |
1.38 www-plugins/lightspark/ChangeLog |
13 |
|
14 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/www-plugins/lightspark/ChangeLog?rev=1.38&view=markup |
15 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/www-plugins/lightspark/ChangeLog?rev=1.38&content-type=text/plain |
16 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/www-plugins/lightspark/ChangeLog?r1=1.37&r2=1.38 |
17 |
|
18 |
Index: ChangeLog |
19 |
=================================================================== |
20 |
RCS file: /var/cvsroot/gentoo-x86/www-plugins/lightspark/ChangeLog,v |
21 |
retrieving revision 1.37 |
22 |
retrieving revision 1.38 |
23 |
diff -u -r1.37 -r1.38 |
24 |
--- ChangeLog 23 Feb 2012 16:24:01 -0000 1.37 |
25 |
+++ ChangeLog 29 Feb 2012 19:03:58 -0000 1.38 |
26 |
@@ -1,6 +1,12 @@ |
27 |
# ChangeLog for www-plugins/lightspark |
28 |
# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2 |
29 |
-# $Header: /var/cvsroot/gentoo-x86/www-plugins/lightspark/ChangeLog,v 1.37 2012/02/23 16:24:01 chithanh Exp $ |
30 |
+# $Header: /var/cvsroot/gentoo-x86/www-plugins/lightspark/ChangeLog,v 1.38 2012/02/29 19:03:58 chithanh Exp $ |
31 |
+ |
32 |
+*lightspark-0.5.4.1-r1 (29 Feb 2012) |
33 |
+ |
34 |
+ 29 Feb 2012; Chí-Thanh Christopher Nguyễn <chithanh@g.o> |
35 |
+ -lightspark-0.5.4.1.ebuild, +lightspark-0.5.4.1-r1.ebuild: |
36 |
+ Don't make pulseaudio default plugin when only sdl is built, bug #406197. |
37 |
|
38 |
*lightspark-0.5.4.1 (23 Feb 2012) |
39 |
|
40 |
|
41 |
|
42 |
|
43 |
1.1 www-plugins/lightspark/lightspark-0.5.4.1-r1.ebuild |
44 |
|
45 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/www-plugins/lightspark/lightspark-0.5.4.1-r1.ebuild?rev=1.1&view=markup |
46 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/www-plugins/lightspark/lightspark-0.5.4.1-r1.ebuild?rev=1.1&content-type=text/plain |
47 |
|
48 |
Index: lightspark-0.5.4.1-r1.ebuild |
49 |
=================================================================== |
50 |
# Copyright 1999-2012 Gentoo Foundation |
51 |
# Distributed under the terms of the GNU General Public License v2 |
52 |
# $Header: /var/cvsroot/gentoo-x86/www-plugins/lightspark/lightspark-0.5.4.1-r1.ebuild,v 1.1 2012/02/29 19:03:58 chithanh Exp $ |
53 |
|
54 |
EAPI=4 |
55 |
inherit cmake-utils nsplugins multilib versionator |
56 |
|
57 |
DESCRIPTION="High performance flash player" |
58 |
HOMEPAGE="http://lightspark.sourceforge.net/" |
59 |
SRC_URI="http://launchpad.net/${PN}/trunk/${P}/+download/${P}.tar.gz" |
60 |
|
61 |
LICENSE="LGPL-3" |
62 |
SLOT="0" |
63 |
KEYWORDS="~amd64 ~x86" |
64 |
IUSE="nsplugin profile pulseaudio rtmp sdl" |
65 |
|
66 |
RDEPEND=">=dev-cpp/libxmlpp-2.33.1:2.6 |
67 |
>=dev-libs/boost-1.42 |
68 |
dev-libs/libpcre[cxx] |
69 |
media-fonts/liberation-fonts |
70 |
virtual/ffmpeg |
71 |
media-libs/fontconfig |
72 |
media-libs/ftgl |
73 |
>=media-libs/glew-1.5.3 |
74 |
media-libs/libsdl |
75 |
pulseaudio? ( |
76 |
media-sound/pulseaudio |
77 |
) |
78 |
rtmp? ( |
79 |
media-video/rtmpdump |
80 |
) |
81 |
net-misc/curl |
82 |
>=sys-devel/gcc-4.4 |
83 |
|| ( |
84 |
>=sys-devel/llvm-3 |
85 |
=sys-devel/llvm-2.8* |
86 |
) |
87 |
virtual/opengl |
88 |
nsplugin? ( |
89 |
dev-libs/nspr |
90 |
net-libs/xulrunner |
91 |
x11-libs/gtk+:2 |
92 |
x11-libs/gtkglext |
93 |
) |
94 |
x11-libs/libX11" |
95 |
DEPEND="${RDEPEND} |
96 |
dev-lang/nasm |
97 |
dev-util/pkgconfig" |
98 |
|
99 |
S=${WORKDIR}/${P/_rc*/} |
100 |
|
101 |
src_configure() { |
102 |
local audiobackends |
103 |
use pulseaudio && audiobackends+="pulse" |
104 |
use sdl && audiobackends+="sdl" |
105 |
|
106 |
local mycmakeargs=( |
107 |
$(cmake-utils_use nsplugin COMPILE_PLUGIN) |
108 |
$(cmake-utils_use profile ENABLE_PROFILING) |
109 |
$(cmake-utils_use rtmp ENABLE_RTMP) |
110 |
-DAUDIO_BACKEND="${audiobackends}" |
111 |
-DPLUGIN_DIRECTORY=/usr/$(get_libdir)/${PN}/plugins |
112 |
) |
113 |
|
114 |
cmake-utils_src_configure |
115 |
} |
116 |
|
117 |
src_install() { |
118 |
cmake-utils_src_install |
119 |
|
120 |
use nsplugin && inst_plugin /usr/$(get_libdir)/${PN}/plugins/liblightsparkplugin.so |
121 |
|
122 |
# default to sdl audio if pulseaudio plugin is not built, bug #406197 |
123 |
if use sdl && ! use pulseaudio; then |
124 |
sed -i 's/backend = pulseaudio/backend = sdl/' "${ED}/etc/xdg/${PN}.conf" || die |
125 |
fi |
126 |
} |
127 |
|
128 |
pkg_postinst() { |
129 |
if use nsplugin && ! has_version www-plugins/gnash; then |
130 |
elog "Lightspark now supports gnash fallback for its browser plugin." |
131 |
elog "Install www-plugins/gnash to take advantage of it." |
132 |
fi |
133 |
if use nsplugin && has_version www-plugins/gnash[nsplugin]; then |
134 |
elog "Having two plugins installed for the same MIME type may confuse" |
135 |
elog "Mozilla based browsers. It is recommended to disable the nsplugin" |
136 |
elog "USE flag for either gnash or lightspark. For details, see" |
137 |
elog "https://bugzilla.mozilla.org/show_bug.cgi?id=581848" |
138 |
fi |
139 |
} |