Gentoo Archives: gentoo-commits

From: Joonas Niilola <juippis@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: net-im/gitter-bin/
Date: Fri, 29 Jan 2021 13:45:57
Message-Id: 1611927942.8307c721d1982a9e580c1d16556f21b636f042aa.juippis@gentoo
1 commit: 8307c721d1982a9e580c1d16556f21b636f042aa
2 Author: Vladimir Pavljuchenkov (SpiderX) <spiderx <AT> spiderx <DOT> dp <DOT> ua>
3 AuthorDate: Sat Jan 16 22:42:30 2021 +0000
4 Commit: Joonas Niilola <juippis <AT> gentoo <DOT> org>
5 CommitDate: Fri Jan 29 13:45:42 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8307c721
7
8 net-im/gitter-bin: cleanup old ebuild
9
10 Package-Manager: Portage-3.0.12, Repoman-3.0.2
11 Signed-off-by: Vladimir Pavljuchenkov <spiderx <AT> spiderx.dp.ua>
12 Signed-off-by: Joonas Niilola <juippis <AT> gentoo.org>
13
14 net-im/gitter-bin/gitter-bin-4.1.0.ebuild | 107 ------------------------------
15 net-im/gitter-bin/metadata.xml | 3 -
16 2 files changed, 110 deletions(-)
17
18 diff --git a/net-im/gitter-bin/gitter-bin-4.1.0.ebuild b/net-im/gitter-bin/gitter-bin-4.1.0.ebuild
19 deleted file mode 100644
20 index b0d7e485b68..00000000000
21 --- a/net-im/gitter-bin/gitter-bin-4.1.0.ebuild
22 +++ /dev/null
23 @@ -1,107 +0,0 @@
24 -# Copyright 1999-2018 Gentoo Authors
25 -# Distributed under the terms of the GNU General Public License v2
26 -
27 -EAPI=6
28 -
29 -MULTILIB_COMPAT=( abi_x86_{32,64} )
30 -MY_PN="${PN/-bin/}"
31 -
32 -inherit desktop gnome2-utils multilib-build pax-utils unpacker
33 -
34 -QA_PREBUILT="opt/gitter/pnacl/pnacl_public_x86_64_libcrt_platform_a
35 - opt/gitter/pnacl/pnacl_public_x86_64_pnacl_llc_nexe
36 - opt/gitter/pnacl/pnacl_public_x86_64_ld_nexe
37 - opt/gitter/pnacl/pnacl_public_x86_64_pnacl_sz_nexe
38 - opt/gitter/payload
39 - opt/gitter/swiftshader/libEGL.so
40 - opt/gitter/swiftshader/libGLESv2.so
41 - opt/gitter/chromedriver
42 - opt/gitter/lib/libnw.so
43 - opt/gitter/lib/libnode.so
44 - opt/gitter/lib/libffmpeg.so
45 - opt/gitter/nacl_helper
46 - opt/gitter/nwjc
47 - opt/gitter/nacl_irt_x86_64.nexe
48 - opt/gitter/Gitter"
49 -
50 -DESCRIPTION="Chat and network platform"
51 -HOMEPAGE="http://www.gitter.im/"
52 -SRC_URI="
53 - amd64? ( https://update.gitter.im/linux64/${MY_PN}_${PV}_amd64.deb )
54 - x86? ( https://update.gitter.im/linux32/${MY_PN}_${PV}_i386.deb )"
55 -
56 -LICENSE="all-rights-reserved"
57 -SLOT="0"
58 -KEYWORDS="-* ~amd64 ~x86"
59 -IUSE="pax_kernel"
60 -RESTRICT="bindist mirror"
61 -
62 -RDEPEND="dev-libs/atk:0[${MULTILIB_USEDEP}]
63 - dev-libs/expat:0[${MULTILIB_USEDEP}]
64 - dev-libs/glib:2[${MULTILIB_USEDEP}]
65 - dev-libs/nspr:0[${MULTILIB_USEDEP}]
66 - dev-libs/nss:0[${MULTILIB_USEDEP}]
67 - media-libs/alsa-lib:0[${MULTILIB_USEDEP}]
68 - sys-apps/dbus:0[${MULTILIB_USEDEP}]
69 - x11-libs/cairo:0[${MULTILIB_USEDEP}]
70 - x11-libs/gdk-pixbuf:2[${MULTILIB_USEDEP}]
71 - x11-libs/gtk+:3[${MULTILIB_USEDEP}]
72 - x11-libs/libX11:0[${MULTILIB_USEDEP}]
73 - x11-libs/libxcb:0/1.12[${MULTILIB_USEDEP}]
74 - x11-libs/libXcomposite:0[${MULTILIB_USEDEP}]
75 - x11-libs/libXcursor:0[${MULTILIB_USEDEP}]
76 - x11-libs/libXdamage:0[${MULTILIB_USEDEP}]
77 - x11-libs/libXext:0[${MULTILIB_USEDEP}]
78 - x11-libs/libXfixes:0[${MULTILIB_USEDEP}]
79 - x11-libs/libXi:0[${MULTILIB_USEDEP}]
80 - x11-libs/libXrandr:0[${MULTILIB_USEDEP}]
81 - x11-libs/libXrender:0[${MULTILIB_USEDEP}]
82 - x11-libs/libXtst:0[${MULTILIB_USEDEP}]
83 - x11-libs/pango:0[${MULTILIB_USEDEP}]"
84 -DEPEND="sys-apps/fix-gnustack"
85 -
86 -S="${WORKDIR}"
87 -
88 -src_prepare() {
89 - default
90 -
91 - local arch
92 - arch="$(usex amd64 "64" "32")"
93 -
94 - # Modify desktop file to use common paths
95 - sed -i \
96 - -e '/Exec/s/=.*/=\/usr\/bin\/gitter/' \
97 - -e '/Icon/s/=.*/=\/usr\/share\/pixmaps\/gitter.png/' \
98 - opt/Gitter/linux"${arch}"/gitter.desktop || die "sed failed"
99 -}
100 -
101 -src_install() {
102 - local arch
103 - arch="$(usex amd64 "64" "32")"
104 -
105 - fix-gnustack -f opt/Gitter/linux"${arch}"/nacl_irt_x86_64.nexe > /dev/null \
106 - || die "removing execstack flag failed"
107 -
108 - newicon opt/Gitter/linux"${arch}"/logo.png gitter.png
109 - newicon -s 256 opt/Gitter/linux"${arch}"/logo.png gitter.png
110 - domenu opt/Gitter/linux"${arch}"/gitter.desktop
111 -
112 - insinto /opt/gitter
113 - doins -r opt/Gitter/linux"${arch}"/.
114 - fperms +x /opt/gitter/Gitter
115 - dosym ../../opt/gitter/Gitter /usr/bin/gitter
116 -
117 - use pax_kernel && pax-mark -m "${ED%/}"/opt/gitter/Gitter
118 -}
119 -
120 -pkg_preinst() {
121 - gnome2_icon_savelist
122 -}
123 -
124 -pkg_postinst() {
125 - gnome2_icon_cache_update
126 -}
127 -
128 -pkg_postrm() {
129 - gnome2_icon_cache_update
130 -}
131
132 diff --git a/net-im/gitter-bin/metadata.xml b/net-im/gitter-bin/metadata.xml
133 index 88b44ca0dc0..2aa6d30c64d 100644
134 --- a/net-im/gitter-bin/metadata.xml
135 +++ b/net-im/gitter-bin/metadata.xml
136 @@ -14,9 +14,6 @@
137 grow and connect communities through messaging, content
138 and discovery.
139 </longdescription>
140 - <use>
141 - <flag name="pax_kernel">Triggers a paxmarking of the binary</flag>
142 - </use>
143 <upstream>
144 <doc>https://gitter.zendesk.com/hc/en-us</doc>
145 </upstream>