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.5.4.ebuild lightspark-0.5.0.ebuild lightspark-0.5.2.1.ebuild
Date: Mon, 30 Jan 2012 14:33:04
Message-Id: 20120130143254.E47312004B@flycatcher.gentoo.org
1 chithanh 12/01/30 14:32:54
2
3 Modified: ChangeLog
4 Added: lightspark-0.5.4.ebuild
5 Removed: lightspark-0.5.0.ebuild lightspark-0.5.2.1.ebuild
6 Log:
7 Version bump, bug #393055.
8
9 (Portage version: 2.2.0_alpha84/cvs/Linux x86_64)
10
11 Revision Changes Path
12 1.36 www-plugins/lightspark/ChangeLog
13
14 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/www-plugins/lightspark/ChangeLog?rev=1.36&view=markup
15 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/www-plugins/lightspark/ChangeLog?rev=1.36&content-type=text/plain
16 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/www-plugins/lightspark/ChangeLog?r1=1.35&r2=1.36
17
18 Index: ChangeLog
19 ===================================================================
20 RCS file: /var/cvsroot/gentoo-x86/www-plugins/lightspark/ChangeLog,v
21 retrieving revision 1.35
22 retrieving revision 1.36
23 diff -u -r1.35 -r1.36
24 --- ChangeLog 31 Oct 2011 02:09:10 -0000 1.35
25 +++ ChangeLog 30 Jan 2012 14:32:54 -0000 1.36
26 @@ -1,6 +1,13 @@
27 # ChangeLog for www-plugins/lightspark
28 -# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
29 -# $Header: /var/cvsroot/gentoo-x86/www-plugins/lightspark/ChangeLog,v 1.35 2011/10/31 02:09:10 chithanh Exp $
30 +# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
31 +# $Header: /var/cvsroot/gentoo-x86/www-plugins/lightspark/ChangeLog,v 1.36 2012/01/30 14:32:54 chithanh Exp $
32 +
33 +*lightspark-0.5.4 (30 Jan 2012)
34 +
35 + 30 Jan 2012; Chí-Thanh Christopher Nguyễn <chithanh@g.o>
36 + -lightspark-0.5.0.ebuild, -lightspark-0.5.2.1.ebuild,
37 + +lightspark-0.5.4.ebuild:
38 + Version bump, bug #393055.
39
40 *lightspark-0.5.2.1 (31 Oct 2011)
41
42
43
44
45 1.1 www-plugins/lightspark/lightspark-0.5.4.ebuild
46
47 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/www-plugins/lightspark/lightspark-0.5.4.ebuild?rev=1.1&view=markup
48 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/www-plugins/lightspark/lightspark-0.5.4.ebuild?rev=1.1&content-type=text/plain
49
50 Index: lightspark-0.5.4.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.5.4.ebuild,v 1.1 2012/01/30 14:32:54 chithanh Exp $
55
56 EAPI=4
57 inherit cmake-utils nsplugins multilib versionator
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="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 virtual/ffmpeg
73 media-libs/fontconfig
74 media-libs/ftgl
75 >=media-libs/glew-1.5.3
76 media-libs/libsdl
77 pulseaudio? (
78 media-sound/pulseaudio
79 )
80 rtmp? (
81 media-video/rtmpdump
82 )
83 net-misc/curl
84 >=sys-devel/gcc-4.4
85 || (
86 >=sys-devel/llvm-3
87 =sys-devel/llvm-2.8*
88 )
89 virtual/opengl
90 nsplugin? (
91 dev-libs/nspr
92 net-libs/xulrunner
93 x11-libs/gtk+:2
94 x11-libs/gtkglext
95 )
96 x11-libs/libX11"
97 DEPEND="${RDEPEND}
98 dev-lang/nasm
99 dev-util/pkgconfig"
100
101 S=${WORKDIR}/${P/_rc*/}
102
103 src_configure() {
104 local audiobackends
105 use pulseaudio && audiobackends+="pulse"
106 use sdl && audiobackends+="sdl"
107
108 local mycmakeargs=(
109 $(cmake-utils_use nsplugin COMPILE_PLUGIN)
110 $(cmake-utils_use profile ENABLE_PROFILING)
111 $(cmake-utils_use rtmp ENABLE_RTMP)
112 -DAUDIO_BACKEND="${audiobackends}"
113 -DPLUGIN_DIRECTORY=/usr/$(get_libdir)/${PN}/plugins
114 )
115
116 cmake-utils_src_configure
117 }
118
119 src_install() {
120 cmake-utils_src_install
121
122 use nsplugin && inst_plugin /usr/$(get_libdir)/${PN}/plugins/liblightsparkplugin.so
123 }
124
125 pkg_postinst() {
126 if use nsplugin && ! has_version www-plugins/gnash; then
127 elog "Lightspark now supports gnash fallback for its browser plugin."
128 elog "Install www-plugins/gnash to take advantage of it."
129 fi
130 if use nsplugin && has_version www-plugins/gnash[nsplugin]; then
131 elog "Having two plugins installed for the same MIME type may confuse"
132 elog "Mozilla based browsers. It is recommended to disable the nsplugin"
133 elog "USE flag for either gnash or lightspark. For details, see"
134 elog "https://bugzilla.mozilla.org/show_bug.cgi?id=581848"
135 fi
136 }