Gentoo Archives: gentoo-commits

From: "Pacho Ramos (pacho)" <pacho@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in media-video/gxine: gxine-0.5.907-r1.ebuild ChangeLog
Date: Sun, 22 Jun 2014 15:59:12
Message-Id: 20140622155908.BB2BC2004E@flycatcher.gentoo.org
1 pacho 14/06/22 15:59:08
2
3 Modified: ChangeLog
4 Added: gxine-0.5.907-r1.ebuild
5 Log:
6 Drop support for old gnome-screensaver, fix underlinking and spidermonkey detection (#481442)
7
8 (Portage version: 2.2.10/cvs/Linux x86_64, signed Manifest commit with key A188FBD4)
9
10 Revision Changes Path
11 1.129 media-video/gxine/ChangeLog
12
13 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-video/gxine/ChangeLog?rev=1.129&view=markup
14 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-video/gxine/ChangeLog?rev=1.129&content-type=text/plain
15 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-video/gxine/ChangeLog?r1=1.128&r2=1.129
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/media-video/gxine/ChangeLog,v
20 retrieving revision 1.128
21 retrieving revision 1.129
22 diff -u -r1.128 -r1.129
23 --- ChangeLog 13 Sep 2013 16:57:04 -0000 1.128
24 +++ ChangeLog 22 Jun 2014 15:59:08 -0000 1.129
25 @@ -1,6 +1,13 @@
26 # ChangeLog for media-video/gxine
27 -# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
28 -# $Header: /var/cvsroot/gentoo-x86/media-video/gxine/ChangeLog,v 1.128 2013/09/13 16:57:04 axs Exp $
29 +# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
30 +# $Header: /var/cvsroot/gentoo-x86/media-video/gxine/ChangeLog,v 1.129 2014/06/22 15:59:08 pacho Exp $
31 +
32 +*gxine-0.5.907-r1 (22 Jun 2014)
33 +
34 + 22 Jun 2014; Pacho Ramos <pacho@g.o>
35 + +files/gxine-0.5.907-underlinking.patch, +gxine-0.5.907-r1.ebuild:
36 + Drop support for old gnome-screensaver, fix underlinking and spidermonkey
37 + detection (#481442)
38
39 13 Sep 2013; Ian Stakenvicius <axs@g.o> gxine-0.5.907.ebuild:
40 adjusted has-version on spidermonkey to be sure the correct slot-0 lib will be
41
42
43
44 1.1 media-video/gxine/gxine-0.5.907-r1.ebuild
45
46 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-video/gxine/gxine-0.5.907-r1.ebuild?rev=1.1&view=markup
47 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-video/gxine/gxine-0.5.907-r1.ebuild?rev=1.1&content-type=text/plain
48
49 Index: gxine-0.5.907-r1.ebuild
50 ===================================================================
51 # Copyright 1999-2014 Gentoo Foundation
52 # Distributed under the terms of the GNU General Public License v2
53 # $Header: /var/cvsroot/gentoo-x86/media-video/gxine/gxine-0.5.907-r1.ebuild,v 1.1 2014/06/22 15:59:08 pacho Exp $
54
55 EAPI=5
56 inherit autotools eutils fdo-mime gnome2-utils multilib nsplugins
57
58 DESCRIPTION="GTK+ Front-End for libxine"
59 HOMEPAGE="http://xine.sourceforge.net/"
60 SRC_URI="mirror://sourceforge/xine/${P}.tar.xz"
61
62 LICENSE="GPL-2"
63 SLOT="0"
64 KEYWORDS="~amd64 ~ppc ~ppc64 ~x86"
65 IUSE="linguas_cs linguas_de lirc nls nsplugin udev +xcb xinerama"
66
67 COMMON_DEPEND=">=media-libs/xine-lib-1.1.20
68 x11-libs/gtk+:2
69 >=dev-libs/glib-2
70 >=dev-lang/spidermonkey-1.8.2.15:0
71 x11-libs/libX11
72 x11-libs/libXext
73 x11-libs/libXrender
74 lirc? ( app-misc/lirc )
75 nls? ( virtual/libintl )
76 nsplugin? ( dev-libs/nspr
77 x11-libs/libXaw
78 x11-libs/libXt )
79 udev? ( virtual/udev[gudev] )
80 xcb? ( x11-libs/libxcb )
81 xinerama? ( x11-libs/libXinerama )"
82 DEPEND="${COMMON_DEPEND}
83 virtual/pkgconfig
84 nls? ( sys-devel/gettext )"
85
86 src_prepare() {
87 # ld: cannot find -ljs
88 sed -i -e '/JS_LIBS="`spidermonkey_locate_lib/s:js:mozjs:' m4/_js.m4 || die
89
90 if has_version '>=dev-lang/spidermonkey-1.8.7:0'; then
91 sed -i -e 's:mozjs185:mozjs187:' m4/_js.m4 || die #422983
92 fi
93
94 epatch \
95 "${FILESDIR}"/${PN}-0.5.905-desktop.patch \
96 "${FILESDIR}"/${PN}-0.5.905-fix-nspr-useage.patch \
97 "${FILESDIR}"/${PN}-0.5.906-endif.patch \
98 "${FILESDIR}"/${PN}-0.5.907-glib-2.31.patch \
99 "${FILESDIR}"/${PN}-0.5.907-underlinking.patch
100
101 # need to disable calling of xine-list when running without
102 # userpriv, otherwise we get sandbox violations (bug #233847)
103 if [[ ${EUID} == "0" ]]; then
104 sed -i -e 's:^XINE_LIST=.*$:XINE_LIST=:' configure.ac || die
105 fi
106
107 eautoreconf
108 }
109
110 src_configure() {
111 econf \
112 $(use_enable nls) \
113 $(use_enable lirc) \
114 --enable-watchdog \
115 $(use_with xcb) \
116 $(has_version '<dev-lang/spidermonkey-1.8.5' && echo --with-spidermonkey=/usr/include/js) \
117 $(use_with nsplugin browser-plugin) \
118 $(use_with udev gudev) \
119 --without-hal \
120 --without-dbus \
121 $(use_with xinerama)
122 }
123
124 src_install() {
125 emake DESTDIR="${D}" \
126 docdir=/usr/share/doc/${PF} \
127 docsdir=/usr/share/doc/${PF} \
128 install
129
130 dodoc AUTHORS BUGS ChangeLog README{,_l10n} TODO
131
132 use linguas_cs && dodoc README.cs
133 use linguas_de && dodoc README.de
134
135 use nsplugin && inst_plugin /usr/$(get_libdir)/gxine/gxineplugin.so
136 }
137
138 pkg_preinst() {
139 gnome2_icon_savelist
140 }
141
142 pkg_postinst() {
143 fdo-mime_desktop_database_update
144 fdo-mime_mime_database_update
145 gnome2_icon_cache_update
146 }
147
148 pkg_postrm() {
149 fdo-mime_desktop_database_update
150 fdo-mime_mime_database_update
151 gnome2_icon_cache_update
152 }