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.4.ebuild lightspark-0.4.3.ebuild
Date: Sun, 29 Aug 2010 20:11:50
Message-Id: 20100829201142.C4E5920051@flycatcher.gentoo.org
1 chithanh 10/08/29 20:11:42
2
3 Modified: ChangeLog
4 Added: lightspark-0.4.4.ebuild
5 Removed: lightspark-0.4.3.ebuild
6 Log:
7 Version bump.
8 (Portage version: 2.2_rc67/cvs/Linux x86_64)
9
10 Revision Changes Path
11 1.15 www-plugins/lightspark/ChangeLog
12
13 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/www-plugins/lightspark/ChangeLog?rev=1.15&view=markup
14 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/www-plugins/lightspark/ChangeLog?rev=1.15&content-type=text/plain
15 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/www-plugins/lightspark/ChangeLog?r1=1.14&r2=1.15
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/www-plugins/lightspark/ChangeLog,v
20 retrieving revision 1.14
21 retrieving revision 1.15
22 diff -u -r1.14 -r1.15
23 --- ChangeLog 13 Aug 2010 19:47:56 -0000 1.14
24 +++ ChangeLog 29 Aug 2010 20:11:42 -0000 1.15
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.14 2010/08/13 19:47:56 hwoarang Exp $
29 +# $Header: /var/cvsroot/gentoo-x86/www-plugins/lightspark/ChangeLog,v 1.15 2010/08/29 20:11:42 chithanh Exp $
30 +
31 +*lightspark-0.4.4 (29 Aug 2010)
32 +
33 + 29 Aug 2010; Chí-Thanh Christopher Nguyễn <chithanh@g.o>
34 + -lightspark-0.4.3.ebuild, -files/lightspark-0.4.3-cmakelists.patch,
35 + +lightspark-0.4.4.ebuild, +files/lightspark-0.4.4-cmakelists.patch:
36 + Version bump.
37
38 13 Aug 2010; Markos Chandras <hwoarang@g.o>
39 lightspark-0.4.3.ebuild, +files/lightspark-0.4.3-cmakelists.patch:
40
41
42
43 1.1 www-plugins/lightspark/lightspark-0.4.4.ebuild
44
45 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/www-plugins/lightspark/lightspark-0.4.4.ebuild?rev=1.1&view=markup
46 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/www-plugins/lightspark/lightspark-0.4.4.ebuild?rev=1.1&content-type=text/plain
47
48 Index: lightspark-0.4.4.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.4.ebuild,v 1.1 2010/08/29 20:11:42 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/${P}/+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 PATCHES=(
94 "${FILESDIR}"/${P}-cmakelists.patch
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 }