1 |
beandog 08/10/29 17:32:25 |
2 |
|
3 |
Modified: ChangeLog |
4 |
Added: realplayer-11.0.1.1056-r2.ebuild |
5 |
Removed: realplayer-11.0.1.1056-r1.ebuild |
6 |
Log: |
7 |
Final cleanup of realplayer and codecs: codecs in realcodecs package, X11 player in this package, dropped X use flag, reverted to unstable because of security issues, bug 240341 |
8 |
(Portage version: 2.2_rc12/cvs/Linux 2.6.27-gentoo x86_64) |
9 |
|
10 |
Revision Changes Path |
11 |
1.76 media-video/realplayer/ChangeLog |
12 |
|
13 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-video/realplayer/ChangeLog?rev=1.76&view=markup |
14 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-video/realplayer/ChangeLog?rev=1.76&content-type=text/plain |
15 |
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-video/realplayer/ChangeLog?r1=1.75&r2=1.76 |
16 |
|
17 |
Index: ChangeLog |
18 |
=================================================================== |
19 |
RCS file: /var/cvsroot/gentoo-x86/media-video/realplayer/ChangeLog,v |
20 |
retrieving revision 1.75 |
21 |
retrieving revision 1.76 |
22 |
diff -u -r1.75 -r1.76 |
23 |
--- ChangeLog 29 Oct 2008 12:58:10 -0000 1.75 |
24 |
+++ ChangeLog 29 Oct 2008 17:32:24 -0000 1.76 |
25 |
@@ -1,6 +1,14 @@ |
26 |
# ChangeLog for media-video/realplayer |
27 |
# Copyright 2002-2008 Gentoo Foundation; Distributed under the GPL v2 |
28 |
-# $Header: /var/cvsroot/gentoo-x86/media-video/realplayer/ChangeLog,v 1.75 2008/10/29 12:58:10 beandog Exp $ |
29 |
+# $Header: /var/cvsroot/gentoo-x86/media-video/realplayer/ChangeLog,v 1.76 2008/10/29 17:32:24 beandog Exp $ |
30 |
+ |
31 |
+*realplayer-11.0.1.1056-r2 (29 Oct 2008) |
32 |
+ |
33 |
+ 29 Oct 2008; Steve Dibb <beandog@g.o> |
34 |
+ -realplayer-11.0.1.1056-r1.ebuild, +realplayer-11.0.1.1056-r2.ebuild: |
35 |
+ Final cleanup of realplayer and codecs: codecs in realcodecs package, X11 |
36 |
+ player in this package, dropped X use flag, reverted to unstable because |
37 |
+ of security issues, bug 240341 |
38 |
|
39 |
*realplayer-11.0.1.1056-r1 (29 Oct 2008) |
40 |
|
41 |
|
42 |
|
43 |
|
44 |
1.1 media-video/realplayer/realplayer-11.0.1.1056-r2.ebuild |
45 |
|
46 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-video/realplayer/realplayer-11.0.1.1056-r2.ebuild?rev=1.1&view=markup |
47 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-video/realplayer/realplayer-11.0.1.1056-r2.ebuild?rev=1.1&content-type=text/plain |
48 |
|
49 |
Index: realplayer-11.0.1.1056-r2.ebuild |
50 |
=================================================================== |
51 |
# Copyright 1999-2008 Gentoo Foundation |
52 |
# Distributed under the terms of the GNU General Public License v2 |
53 |
# $Header: /var/cvsroot/gentoo-x86/media-video/realplayer/realplayer-11.0.1.1056-r2.ebuild,v 1.1 2008/10/29 17:32:24 beandog Exp $ |
54 |
|
55 |
inherit nsplugins eutils rpm |
56 |
|
57 |
MY_PN="RealPlayer" |
58 |
DESCRIPTION="Real Media Player" |
59 |
HOMEPAGE="http://www.real.com/ http://player.helixcommunity.org/" |
60 |
SRC_URI="http://forms.real.com/real/player/download.html?f=unix/RealPlayer11GOLD.rpm" |
61 |
RESTRICT="mirror strip test" |
62 |
LICENSE="HBRL" |
63 |
SLOT="0" |
64 |
KEYWORDS="-* ~amd64 ~x86" |
65 |
IUSE="nsplugin" |
66 |
RDEPEND="=media-libs/realcodecs-${PV}* |
67 |
x86? ( |
68 |
>=dev-libs/glib-2 |
69 |
>=x11-libs/pango-1.2 |
70 |
>=x11-libs/gtk+-2.2 |
71 |
=virtual/libstdc++-3.3* |
72 |
) |
73 |
amd64? ( |
74 |
app-emulation/emul-linux-x86-gtklibs |
75 |
app-emulation/emul-linux-x86-compat |
76 |
)" |
77 |
|
78 |
QA_TEXTRELS="opt/RealPlayer/codecs/raac.so |
79 |
opt/RealPlayer/codecs/colorcvt.so |
80 |
opt/RealPlayer/codecs/drv2.so |
81 |
opt/RealPlayer/codecs/drvc.so |
82 |
opt/RealPlayer/plugins/theorarend.so |
83 |
opt/RealPlayer/plugins/vorbisrend.so |
84 |
opt/RealPlayer/plugins/swfrender.so |
85 |
opt/RealPlayer/plugins/oggfformat.so" |
86 |
|
87 |
QA_EXECSTACK="opt/RealPlayer/plugins/swfrender.so |
88 |
opt/RealPlayer/plugins/vidsite.so |
89 |
opt/RealPlayer/codecs/raac.so |
90 |
opt/RealPlayer/codecs/drvc.so |
91 |
opt/RealPlayer/codecs/drv2.so |
92 |
opt/RealPlayer/codecs/colorcvt.so |
93 |
opt/RealPlayer/codecs/atrc.so" |
94 |
|
95 |
QA_DT_HASH="opt/.*so opt/.*/realplay.bin" |
96 |
|
97 |
S="${WORKDIR}/opt/real/${MY_PN}" |
98 |
|
99 |
pkg_nofetch() { |
100 |
einfo "Download RealPlayer manually from Real's website at" |
101 |
einfo ${HOMEPAGE} |
102 |
einfo "" |
103 |
einfo "Choose Linux/x86 Releases: RealPlayer 10.0.9 Gold: RPM" |
104 |
einfo "https://helixcommunity.org/projects/player/files/download/2479" |
105 |
einfo "" |
106 |
einfo "Then place the file ${SRC_URI}" |
107 |
einfo "into ${DISTDIR} and restart the emerge." |
108 |
} |
109 |
|
110 |
pkg_setup() { |
111 |
# This is a binary x86 package => ABI=x86 |
112 |
# Please keep this in future versions |
113 |
# Danny van Dyk <kugelfang@g.o> 2005/03/26 |
114 |
has_multilib_profile && ABI="x86" |
115 |
} |
116 |
|
117 |
src_unpack() { |
118 |
rpm_src_unpack |
119 |
|
120 |
cd "${S}" |
121 |
epatch "${FILESDIR}"/${PN}-desktop.patch |
122 |
} |
123 |
|
124 |
src_install() { |
125 |
dodir /opt/${MY_PN} |
126 |
|
127 |
cd "${S}" |
128 |
|
129 |
rm "${S}/share/distcode" |
130 |
|
131 |
# Make them executable, Bug #233415 |
132 |
exeinto "/opt/${MY_PN}/" |
133 |
doexe realplay realplay.bin |
134 |
|
135 |
insinto "/opt/${MY_PN}/" |
136 |
for x in common mozilla plugins share; do |
137 |
doins -r "${S}/${x}" |
138 |
done; |
139 |
|
140 |
domenu "${S}/share/realplay.desktop" |
141 |
|
142 |
for res in 16 32 48 192; do |
143 |
insinto /usr/share/icons/hicolor/${res}x${res}/apps |
144 |
newins "${S}/share/icons/realplay_${res}x${res}.png" \ |
145 |
realplay.png |
146 |
done |
147 |
|
148 |
# mozilla plugin |
149 |
if use nsplugin ; then |
150 |
exeinto /opt/netscape/plugins |
151 |
doexe "${S}/mozilla/nphelix.so" |
152 |
inst_plugin /opt/netscape/plugins/nphelix.so |
153 |
|
154 |
insinto /opt/netscape/plugins |
155 |
doins "${S}/mozilla/nphelix.xpt" |
156 |
inst_plugin /opt/netscape/plugins/nphelix.xpt |
157 |
fi |
158 |
|
159 |
dodir /usr/bin |
160 |
dosym "/opt/${MY_PN}/realplay" /usr/bin/realplay |
161 |
|
162 |
# Language resources |
163 |
cd "${D}"/opt/RealPlayer/share/locale |
164 |
for LC in *; do |
165 |
mkdir -p "${D}"/usr/share/locale/${LC}/LC_MESSAGES |
166 |
dosym /opt/RealPlayer/share/locale/${LC}/player.mo /usr/share/locale/${LC}/LC_MESSAGES/realplay.mo |
167 |
dosym /opt/RealPlayer/share/locale/${LC}/widget.mo /usr/share/locale/${LC}/LC_MESSAGES/libgtkhx.mo |
168 |
done |
169 |
|
170 |
cd "${S}" |
171 |
dodoc README |
172 |
dohtml share/hxplay_help.html share/tigris.css |
173 |
} |