Gentoo Archives: gentoo-commits

From: Sebastian Pipping <sping@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] proj/betagarden:master commit in: www-client/chromium-bin-debian/
Date: Sun, 05 Mar 2017 17:37:20
Message-Id: 1488735398.b5a1e190bcaa4358a8c7300de65b95a6128e85c6.sping@gentoo
1 commit: b5a1e190bcaa4358a8c7300de65b95a6128e85c6
2 Author: Sebastian Pipping <sping <AT> gentoo <DOT> org>
3 AuthorDate: Sun Mar 5 17:35:54 2017 +0000
4 Commit: Sebastian Pipping <sping <AT> gentoo <DOT> org>
5 CommitDate: Sun Mar 5 17:36:38 2017 +0000
6 URL: https://gitweb.gentoo.org/proj/betagarden.git/commit/?id=b5a1e190
7
8 www-client/chromium-bin-debian: 56.0.2924.76_p5, remove broken old
9
10 .../chromium-bin-debian-53.0.2785.143_p1.ebuild | 111 ---------------------
11 ... => chromium-bin-debian-56.0.2924.76_p5.ebuild} | 26 ++---
12 2 files changed, 14 insertions(+), 123 deletions(-)
13
14 diff --git a/www-client/chromium-bin-debian/chromium-bin-debian-53.0.2785.143_p1.ebuild b/www-client/chromium-bin-debian/chromium-bin-debian-53.0.2785.143_p1.ebuild
15 deleted file mode 100644
16 index 74ca9e0..0000000
17 --- a/www-client/chromium-bin-debian/chromium-bin-debian-53.0.2785.143_p1.ebuild
18 +++ /dev/null
19 @@ -1,111 +0,0 @@
20 -# Copyright 1999-2016 Gentoo Foundation
21 -# Distributed under the terms of the GNU General Public License v2
22 -
23 -EAPI=5
24 -
25 -inherit eutils multilib unpacker
26 -
27 -MY_PV=${PV/_p/-}
28 -MY_PN=${PN%%-bin-debian}
29 -
30 -DESCRIPTION="Chromium build from Debian unstable"
31 -HOMEPAGE="http://packages.debian.org/sid/chromium"
32 -SRC_URI="mirror://debian/pool/main/${PN:0:1}/${PN:0:8}-browser/${PN:0:8}_${MY_PV}_amd64.deb
33 - mirror://debian/pool/main/c/crystalhd/libcrystalhd3_0.0~git20110715.fdd2f19-11_amd64.deb
34 - mirror://debian/pool/main/f/ffmpeg/libavcodec57_3.2-2_amd64.deb
35 - mirror://debian/pool/main/f/ffmpeg/libavformat57_3.2-2_amd64.deb
36 - mirror://debian/pool/main/f/ffmpeg/libavutil55_3.2-2_amd64.deb
37 - mirror://debian/pool/main/f/ffmpeg/libswresample2_3.2-2_amd64.deb
38 - mirror://debian/pool/main/libs/libssh/libssh-gcrypt-4_0.7.3-1_amd64.deb
39 - mirror://debian/pool/main/n/numactl/libnuma1_2.0.11-1_amd64.deb
40 - mirror://debian/pool/main/s/shine/libshine3_3.1.0-2.1_amd64.deb
41 - "
42 -
43 -LICENSE="BSD"
44 -SLOT="0"
45 -KEYWORDS="~amd64"
46 -IUSE=""
47 -
48 -DEPEND="app-arch/dpkg"
49 -RDEPEND="
50 - app-accessibility/speech-dispatcher
51 - app-arch/snappy
52 - app-crypt/mit-krb5
53 - dev-libs/atk
54 - dev-libs/expat
55 - dev-libs/glib:2
56 - dev-libs/libevent
57 - dev-libs/libxml2
58 - dev-libs/libxslt
59 - dev-libs/nspr
60 - dev-libs/nss
61 - gnome-base/libgnome-keyring
62 - media-libs/alsa-lib
63 - media-libs/flac
64 - media-libs/fontconfig
65 - media-libs/freetype
66 - media-libs/game-music-emu
67 - media-libs/harfbuzz
68 - media-libs/libbluray
69 - >=media-libs/libjpeg-turbo-1.3.1
70 - media-libs/libvpx
71 - media-libs/openjpeg:0/5
72 - media-libs/schroedinger
73 - media-libs/soxr
74 - media-libs/x265
75 - media-libs/zvbi
76 - >=media-sound/pulseaudio-2.0
77 - media-sound/twolame
78 - media-sound/wavpack
79 - net-print/cups
80 - sys-apps/dbus
81 - >=sys-devel/gcc-4.9:*[cxx]
82 - sys-apps/pciutils
83 - x11-libs/cairo
84 - x11-libs/gdk-pixbuf
85 - x11-libs/gtk+
86 - x11-libs/libva
87 - x11-libs/libvdpau
88 - x11-libs/libX11
89 - x11-libs/libXScrnSaver
90 - x11-libs/libXcomposite
91 - x11-libs/libXcursor
92 - x11-libs/libXext
93 - x11-libs/libXfixes
94 - x11-libs/libXi
95 - x11-libs/libXrandr
96 - x11-libs/libXrender
97 - x11-libs/libXtst
98 - x11-libs/pango
99 - "
100 -
101 -S=${WORKDIR}
102 -
103 -src_prepare() {
104 - epatch "${FILESDIR}"/${PN}-53.0.2785.143_p1-gentoo.patch
105 -}
106 -
107 -src_install() {
108 - mv usr etc "${D}"/ || die
109 -
110 - local libdir=$(get_libdir)
111 - [[ "${libdir}" != lib ]] && {
112 - mv "${D}"/usr/{lib,"${libdir}"} || die
113 - }
114 -
115 - # Make it find ffmpeg
116 - mv "${D}"/usr/${libdir}/x86_64{-linux-gnu,} || die
117 -
118 - # Link to Flash (not in RDEPEND)
119 - local flash_plugin_dir=/usr/${libdir}/firefox/plugins
120 - dodir "${flash_plugin_dir}"
121 - ln -s ../../nsbrowser/plugins/libflashplayer.so "${D}"/${flash_plugin_dir}/libflashplayer.so || die
122 -
123 - # Otherwise:
124 - # [14345:14345:0708/125539:FATAL:zygote_host_impl_linux.cc(140)]
125 - # The SUID sandbox helper binary was found, but is not configured correctly.
126 - # Rather than run without sandboxing I'm aborting now. You need to make sure
127 - # that /usr/lib/chromium/chromium-sandbox is owned by root and has mode 4755.
128 - # Aborted
129 - chmod 4755 "${D}"/usr/${libdir}/${MY_PN}/chrome-sandbox || die
130 -}
131
132 diff --git a/www-client/chromium-bin-debian/chromium-bin-debian-55.0.2883.75_p3.ebuild b/www-client/chromium-bin-debian/chromium-bin-debian-56.0.2924.76_p5.ebuild
133 similarity index 75%
134 rename from www-client/chromium-bin-debian/chromium-bin-debian-55.0.2883.75_p3.ebuild
135 rename to www-client/chromium-bin-debian/chromium-bin-debian-56.0.2924.76_p5.ebuild
136 index 3dca8ba..c273d6e 100644
137 --- a/www-client/chromium-bin-debian/chromium-bin-debian-55.0.2883.75_p3.ebuild
138 +++ b/www-client/chromium-bin-debian/chromium-bin-debian-56.0.2924.76_p5.ebuild
139 @@ -1,4 +1,4 @@
140 -# Copyright 1999-2016 Gentoo Foundation
141 +# Copyright 1999-2017 Gentoo Foundation
142 # Distributed under the terms of the GNU General Public License v2
143
144 EAPI=5
145 @@ -12,16 +12,18 @@ DESCRIPTION="Chromium build from Debian unstable"
146 HOMEPAGE="http://packages.debian.org/sid/chromium"
147 SRC_URI="mirror://debian/pool/main/${PN:0:1}/${PN:0:8}-browser/${PN:0:8}_${MY_PV}_amd64.deb
148 mirror://debian/pool/main/c/crystalhd/libcrystalhd3_0.0~git20110715.fdd2f19-11_amd64.deb
149 - mirror://debian/pool/main/f/ffmpeg/libavcodec57_3.2-2_amd64.deb
150 - mirror://debian/pool/main/f/ffmpeg/libavformat57_3.2-2_amd64.deb
151 - mirror://debian/pool/main/f/ffmpeg/libavutil55_3.2-2_amd64.deb
152 - mirror://debian/pool/main/f/ffmpeg/libswresample2_3.2-2_amd64.deb
153 + mirror://debian/pool/main/f/ffmpeg/libavcodec57_3.2.4-1_amd64.deb
154 + mirror://debian/pool/main/f/ffmpeg/libavformat57_3.2.4-1_amd64.deb
155 + mirror://debian/pool/main/f/ffmpeg/libavutil55_3.2.4-1_amd64.deb
156 + mirror://debian/pool/main/f/ffmpeg/libswresample2_3.2.4-1_amd64.deb
157 mirror://debian/pool/main/i/icu/libicu57_57.1-5_amd64.deb
158 - mirror://debian/pool/main/libe/libevent/libevent-2.0-5_2.0.21-stable-2.1_amd64.deb
159 - mirror://debian/pool/main/libs/libssh/libssh-gcrypt-4_0.7.3-1_amd64.deb
160 - mirror://debian/pool/main/n/numactl/libnuma1_2.0.11-1_amd64.deb
161 - mirror://debian/pool/main/r/re2/libre2-3_20161101+dfsg-2_amd64.deb
162 + mirror://debian/pool/main/libe/libevent/libevent-2.0-5_2.0.21-stable-3_amd64.deb
163 + mirror://debian/pool/main/libo/libopenmpt/libopenmpt0_0.2.7386~beta20.3-3_amd64.deb
164 + mirror://debian/pool/main/libs/libssh/libssh-gcrypt-4_0.7.3-2_amd64.deb
165 + mirror://debian/pool/main/n/numactl/libnuma1_2.0.11-2.1_amd64.deb
166 + mirror://debian/pool/main/r/re2/libre2-3_20170101+dfsg-1_amd64.deb
167 mirror://debian/pool/main/s/shine/libshine3_3.1.0-2.1_amd64.deb
168 + mirror://debian/pool/main/x/x265/libx265-95_2.1-2+b2_amd64.deb
169 "
170
171 LICENSE="BSD"
172 @@ -37,7 +39,6 @@ RDEPEND="
173 dev-libs/atk
174 dev-libs/expat
175 dev-libs/glib:2
176 - !dev-libs/icu:0/57
177 dev-libs/libevent
178 dev-libs/libxml2
179 dev-libs/libxslt
180 @@ -100,8 +101,9 @@ src_install() {
181 mv "${D}"/usr/{lib,"${libdir}"} || die
182 }
183
184 - # Make it find ffmpeg
185 - mv "${D}"/usr/${libdir}/x86_64{-linux-gnu,} || die
186 + # Make it find Debian libraries, sourced by /usr/bin/chromium
187 + echo 'export LD_LIBRARY_PATH="/usr/lib64/x86_64-linux-gnu/${LD_LIBRARY_PATH:+:}${LD_LIBRARY_PATH}"' \
188 + > "${D}"/etc/chromium.d/ld-library-path
189
190 # Link to Flash (not in RDEPEND)
191 local flash_plugin_dir=/usr/${libdir}/firefox/plugins