Gentoo Archives: gentoo-commits

From: "Chi-Thanh Christopher Nguyen (chithanh)" <chithanh@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in www-plugins/lightspark: ChangeLog lightspark-0.4.2.2.ebuild lightspark-0.4.2.ebuild
Date: Sat, 31 Jul 2010 15:02:39
Message-Id: 20100731145036.8B0DB2CE15@corvid.gentoo.org
1 chithanh 10/07/31 14:50:36
2
3 Modified: ChangeLog
4 Added: lightspark-0.4.2.2.ebuild
5 Removed: lightspark-0.4.2.ebuild
6 Log:
7 Version bump, fixes bug #330177
8 (Portage version: 2.2_rc67/cvs/Linux x86_64)
9
10 Revision Changes Path
11 1.12 www-plugins/lightspark/ChangeLog
12
13 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/www-plugins/lightspark/ChangeLog?rev=1.12&view=markup
14 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/www-plugins/lightspark/ChangeLog?rev=1.12&content-type=text/plain
15 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/www-plugins/lightspark/ChangeLog?r1=1.11&r2=1.12
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/www-plugins/lightspark/ChangeLog,v
20 retrieving revision 1.11
21 retrieving revision 1.12
22 diff -u -r1.11 -r1.12
23 --- ChangeLog 25 Jul 2010 21:32:03 -0000 1.11
24 +++ ChangeLog 31 Jul 2010 14:50:36 -0000 1.12
25 @@ -1,6 +1,13 @@
26 # ChangeLog for www-plugins/lightspark
27 # Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
28 -# $Header: /var/cvsroot/gentoo-x86/www-plugins/lightspark/ChangeLog,v 1.11 2010/07/25 21:32:03 chithanh Exp $
29 +# $Header: /var/cvsroot/gentoo-x86/www-plugins/lightspark/ChangeLog,v 1.12 2010/07/31 14:50:36 chithanh Exp $
30 +
31 +*lightspark-0.4.2.2 (31 Jul 2010)
32 +
33 + 31 Jul 2010; Chí-Thanh Christopher Nguyễn <chithanh@g.o>
34 + -lightspark-0.4.2.ebuild, +lightspark-0.4.2.2.ebuild,
35 + +files/lightspark-0.4.2.2-fix-disabled-plugin.diff:
36 + Version bump, fixes bug #330177
37
38 25 Jul 2010; Chí-Thanh Christopher Nguyễn <chithanh@g.o>
39 lightspark-0.4.2.ebuild:
40
41
42
43 1.1 www-plugins/lightspark/lightspark-0.4.2.2.ebuild
44
45 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/www-plugins/lightspark/lightspark-0.4.2.2.ebuild?rev=1.1&view=markup
46 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/www-plugins/lightspark/lightspark-0.4.2.2.ebuild?rev=1.1&content-type=text/plain
47
48 Index: lightspark-0.4.2.2.ebuild
49 ===================================================================
50 # Copyright 1999-2010 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.4.2.2.ebuild,v 1.1 2010/07/31 14:50:36 chithanh Exp $
53
54 EAPI=3
55 inherit cmake-utils nsplugins multilib
56
57 DESCRIPTION="High performance flash player"
58 HOMEPAGE="https://launchpad.net/lightspark/"
59 SRC_URI="http://launchpad.net/${PN}/trunk/${PN}-0.4.2/+download/${P}.tar.gz"
60
61 LICENSE="LGPL-3"
62 SLOT="0"
63 KEYWORDS="~amd64 ~x86"
64 IUSE="nsplugin pulseaudio"
65
66 RDEPEND="dev-libs/libpcre[cxx]
67 media-fonts/liberation-fonts
68 media-video/ffmpeg
69 media-libs/fontconfig
70 media-libs/ftgl
71 >=media-libs/glew-1.5.3
72 media-libs/libsdl
73 pulseaudio? (
74 media-sound/pulseaudio
75 )
76 net-misc/curl
77 >=sys-devel/gcc-4.4
78 >=sys-devel/llvm-2.7
79 virtual/opengl
80 nsplugin? (
81 dev-libs/nspr
82 net-libs/xulrunner
83 x11-libs/gtk+:2
84 x11-libs/gtkglext
85 )
86 x11-libs/libX11"
87 DEPEND="${RDEPEND}
88 dev-lang/nasm
89 dev-util/pkgconfig"
90
91 S=${WORKDIR}/${P/_rc*/}
92
93 src_prepare() {
94 epatch "${FILESDIR}"/${P}-fix-disabled-plugin.diff
95 }
96
97 src_configure() {
98 local mycmakeargs=(
99 $(cmake-utils_use nsplugin COMPILE_PLUGIN)
100 $(cmake-utils_use pulseaudio ENABLE_SOUND)
101 -DPLUGIN_DIRECTORY=/usr/$(get_libdir)/${PN}/plugins
102 )
103
104 cmake-utils_src_configure
105 }
106
107 src_install() {
108 cmake-utils_src_install
109
110 use nsplugin && inst_plugin /usr/$(get_libdir)/${PN}/plugins/liblightsparkplugin.so
111 }
112
113 pkg_postinst() {
114 if use nsplugin && ! has_version www-plugins/gnash; then
115 elog "Lightspark now supports gnash fallback for its browser plugin."
116 elog "Install www-plugins/gnash to take advantage of it."
117 fi
118 if use nsplugin && has_version www-plugins/gnash[nsplugin]; then
119 elog "Having two plugins installed for the same MIME type may confuse"
120 elog "Mozilla based browsers. It is recommended to disable the nsplugin"
121 elog "USE flag for either gnash or lightspark. For details, see"
122 elog "https://bugzilla.mozilla.org/show_bug.cgi?id=581848"
123 fi
124 }