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