1 |
chithanh 13/03/04 17:29:26 |
2 |
|
3 |
Modified: ChangeLog |
4 |
Added: lightspark-0.7.1.ebuild |
5 |
Log: |
6 |
Version bump. |
7 |
|
8 |
(Portage version: 2.1.11.50/cvs/Linux x86_64, unsigned Manifest commit) |
9 |
|
10 |
Revision Changes Path |
11 |
1.51 www-plugins/lightspark/ChangeLog |
12 |
|
13 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/www-plugins/lightspark/ChangeLog?rev=1.51&view=markup |
14 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/www-plugins/lightspark/ChangeLog?rev=1.51&content-type=text/plain |
15 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/www-plugins/lightspark/ChangeLog?r1=1.50&r2=1.51 |
16 |
|
17 |
Index: ChangeLog |
18 |
=================================================================== |
19 |
RCS file: /var/cvsroot/gentoo-x86/www-plugins/lightspark/ChangeLog,v |
20 |
retrieving revision 1.50 |
21 |
retrieving revision 1.51 |
22 |
diff -u -r1.50 -r1.51 |
23 |
--- ChangeLog 22 Dec 2012 21:15:39 -0000 1.50 |
24 |
+++ ChangeLog 4 Mar 2013 17:29:26 -0000 1.51 |
25 |
@@ -1,6 +1,12 @@ |
26 |
# ChangeLog for www-plugins/lightspark |
27 |
-# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2 |
28 |
-# $Header: /var/cvsroot/gentoo-x86/www-plugins/lightspark/ChangeLog,v 1.50 2012/12/22 21:15:39 chithanh Exp $ |
29 |
+# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2 |
30 |
+# $Header: /var/cvsroot/gentoo-x86/www-plugins/lightspark/ChangeLog,v 1.51 2013/03/04 17:29:26 chithanh Exp $ |
31 |
+ |
32 |
+*lightspark-0.7.1 (04 Mar 2013) |
33 |
+ |
34 |
+ 04 Mar 2013; Chí-Thanh Christopher Nguyễn <chithanh@g.o> |
35 |
+ +lightspark-0.7.1.ebuild: |
36 |
+ Version bump. |
37 |
|
38 |
22 Dec 2012; Chí-Thanh Christopher Nguyễn <chithanh@g.o> |
39 |
+files/lightspark-0.7.0-llvm-3.2.patch, lightspark-0.7.0.ebuild: |
40 |
|
41 |
|
42 |
|
43 |
1.1 www-plugins/lightspark/lightspark-0.7.1.ebuild |
44 |
|
45 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/www-plugins/lightspark/lightspark-0.7.1.ebuild?rev=1.1&view=markup |
46 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/www-plugins/lightspark/lightspark-0.7.1.ebuild?rev=1.1&content-type=text/plain |
47 |
|
48 |
Index: lightspark-0.7.1.ebuild |
49 |
=================================================================== |
50 |
# Copyright 1999-2013 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.7.1.ebuild,v 1.1 2013/03/04 17:29:26 chithanh Exp $ |
53 |
|
54 |
EAPI=4 |
55 |
inherit cmake-utils nsplugins multilib toolchain-funcs |
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="curl ffmpeg gles 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 |
media-libs/libpng |
71 |
media-libs/libsdl |
72 |
>=sys-devel/gcc-4.6.0[cxx] |
73 |
>=sys-devel/llvm-3 |
74 |
x11-libs/cairo |
75 |
x11-libs/gtk+:2 |
76 |
x11-libs/libX11 |
77 |
x11-libs/pango |
78 |
curl? ( |
79 |
net-misc/curl |
80 |
) |
81 |
ffmpeg? ( |
82 |
virtual/ffmpeg |
83 |
) |
84 |
!gles? ( |
85 |
>=media-libs/glew-1.5.3 |
86 |
virtual/opengl |
87 |
) |
88 |
gles? ( |
89 |
media-libs/mesa[gles2] |
90 |
) |
91 |
pulseaudio? ( |
92 |
media-sound/pulseaudio |
93 |
) |
94 |
rtmp? ( |
95 |
media-video/rtmpdump |
96 |
) |
97 |
virtual/jpeg" |
98 |
DEPEND="${RDEPEND} |
99 |
amd64? ( dev-lang/nasm ) |
100 |
x86? ( dev-lang/nasm ) |
101 |
virtual/pkgconfig" |
102 |
|
103 |
S=${WORKDIR}/${P/_rc*/} |
104 |
|
105 |
pkg_pretend() { |
106 |
if [[ ${MERGE_TYPE} != binary ]]; then |
107 |
if [[ $(gcc-major-version) == 4 && $(gcc-minor-version) -lt 6 || $(gcc-major-version) -lt 4 ]] ; then |
108 |
eerror "You need at least sys-devel/gcc-4.6.0" |
109 |
die "You need at least sys-devel/gcc-4.6.0" |
110 |
fi |
111 |
fi |
112 |
} |
113 |
|
114 |
src_configure() { |
115 |
local audiobackends |
116 |
use pulseaudio && audiobackends+="pulse" |
117 |
use sdl && audiobackends+="sdl" |
118 |
|
119 |
local mycmakeargs=( |
120 |
$(cmake-utils_use curl ENABLE_CURL) |
121 |
$(cmake-utils_use gles ENABLE_GLES2) |
122 |
$(cmake-utils_use ffmpeg ENABLE_LIBAVCODEC) |
123 |
$(cmake-utils_use nsplugin COMPILE_PLUGIN) |
124 |
$(cmake-utils_use profile ENABLE_MEMORY_USAGE_PROFILING) |
125 |
$(cmake-utils_use profile ENABLE_PROFILING) |
126 |
$(cmake-utils_use rtmp ENABLE_RTMP) |
127 |
-DAUDIO_BACKEND="${audiobackends}" |
128 |
-DPLUGIN_DIRECTORY="${EPREFIX}"/usr/$(get_libdir)/${PN}/plugins |
129 |
) |
130 |
|
131 |
cmake-utils_src_configure |
132 |
} |
133 |
|
134 |
src_install() { |
135 |
cmake-utils_src_install |
136 |
|
137 |
use nsplugin && inst_plugin /usr/$(get_libdir)/${PN}/plugins/liblightsparkplugin.so |
138 |
|
139 |
# default to sdl audio if pulseaudio plugin is not built, bug #406197 |
140 |
if use sdl && ! use pulseaudio; then |
141 |
sed -i 's/backend = pulseaudio/backend = sdl/' "${ED}/etc/xdg/${PN}.conf" || die |
142 |
fi |
143 |
} |
144 |
|
145 |
pkg_postinst() { |
146 |
if use nsplugin && ! has_version www-plugins/gnash; then |
147 |
elog "Lightspark now supports gnash fallback for its browser plugin." |
148 |
elog "Install www-plugins/gnash to take advantage of it." |
149 |
fi |
150 |
if use nsplugin && has_version www-plugins/gnash[nsplugin]; then |
151 |
elog "Having two plugins installed for the same MIME type may confuse" |
152 |
elog "Mozilla based browsers. It is recommended to disable the nsplugin" |
153 |
elog "USE flag for either gnash or lightspark. For details, see" |
154 |
elog "https://bugzilla.mozilla.org/show_bug.cgi?id=581848" |
155 |
fi |
156 |
} |