diff options
author | Vladimir Pavljuchenkov (SpiderX) <spiderx@spiderx.dp.ua> | 2017-04-06 20:49:10 +0300 |
---|---|---|
committer | Göktürk Yüksek <gokturk@gentoo.org> | 2017-04-09 18:16:51 -0400 |
commit | d1e45d64326c5988fbcaa5138a3c156e0e69c7eb (patch) | |
tree | d5ceacd613721bb7c20aa7b2095a73523f9ef9f3 /net-im | |
parent | dev-python/requests: require urllib3-1.14 for bug 613936 (diff) | |
download | gentoo-d1e45d64326c5988fbcaa5138a3c156e0e69c7eb.tar.gz gentoo-d1e45d64326c5988fbcaa5138a3c156e0e69c7eb.tar.bz2 gentoo-d1e45d64326c5988fbcaa5138a3c156e0e69c7eb.zip |
net-im/gitter-bin: new ebuild
Gitter is a chat and networking platform that helps to manage,
grow and connect communities through messaging, content and discovery.
Gitter is designed to make community messaging, collaboration and discovery
as smooth and simple as possible. You can easily create, organise and
grow your communities, inviting others to join just in one click.
Package-Manager: Portage-2.3.3, Repoman-2.3.1
Diffstat (limited to 'net-im')
-rw-r--r-- | net-im/gitter-bin/Manifest | 2 | ||||
-rw-r--r-- | net-im/gitter-bin/gitter-bin-3.1.0.ebuild | 88 | ||||
-rw-r--r-- | net-im/gitter-bin/metadata.xml | 20 |
3 files changed, 110 insertions, 0 deletions
diff --git a/net-im/gitter-bin/Manifest b/net-im/gitter-bin/Manifest new file mode 100644 index 000000000000..5af23f51410c --- /dev/null +++ b/net-im/gitter-bin/Manifest @@ -0,0 +1,2 @@ +DIST gitter_3.1.0_amd64.deb 43340316 SHA256 dcdba2d424aefe0503a3c4e54f02102a0b336a054e13057cfd78fd7428122f08 SHA512 b2888a2c9ed399102e2e80a2ec1ffafe093bdbe2f11d74753052c14841201cf586e0bb2a42ff8e67517d000a7c0b6f6aed30c32b3a7ecc683a18f8433b0bfa1c WHIRLPOOL c6fe35588266c1c11634109df9d3c88d2a5a26f6889ca82d4930ae22d9dc97391604886df6f3f1454d68d3bb0ec26d5c3da809f3b96a999afd234fcbf444748f +DIST gitter_3.1.0_i386.deb 45251440 SHA256 b87a6e2f09dee19ed65e7912dbc956fac096740ccdea36aaa528ca3a30f0e8d5 SHA512 4e58f5ca1a5db9139bef29eff2ffd7d599268844c11be65f98e9a78ad7a602c5d115e633c02519d025fe3d81f3174c478d5590bb2beaa92697617dc11fc141f6 WHIRLPOOL 35af6e83cc30bc08e3fb4328c363e2da04b74b8669180f2fc1175083402c034c3f3bd1841b143cea20b463f471a9417ca21d2ea4ea94502a57a8cf54a4379bcf diff --git a/net-im/gitter-bin/gitter-bin-3.1.0.ebuild b/net-im/gitter-bin/gitter-bin-3.1.0.ebuild new file mode 100644 index 000000000000..ac1dcae363f7 --- /dev/null +++ b/net-im/gitter-bin/gitter-bin-3.1.0.ebuild @@ -0,0 +1,88 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +MY_PN="${PN/-bin/}" + +inherit eutils gnome2-utils unpacker + +DESCRIPTION="Chat and network platform" +HOMEPAGE="http://www.gitter.im/" +SRC_URI=" + amd64? ( https://update.gitter.im/linux64/${MY_PN}_${PV}_amd64.deb ) + x86? ( https://update.gitter.im/linux32/${MY_PN}_${PV}_i386.deb )" +LICENSE="gitter no-source-code" +SLOT="0" +KEYWORDS="~amd64 ~x86 -*" +IUSE="" +RESTRICT="mirror" + +RDEPEND="dev-libs/expat:0 + dev-libs/glib:2 + dev-libs/nspr:0 + dev-libs/nss:0 + gnome-base/gconf:2 + media-libs/alsa-lib:0 + media-libs/fontconfig:1.0 + media-libs/freetype:2 + sys-apps/dbus:0 + x11-libs/cairo:0 + x11-libs/gdk-pixbuf:2 + x11-libs/gtk+:2 + x11-libs/libnotify:0 + x11-libs/libX11:0 + x11-libs/libXcomposite:0 + x11-libs/libXcursor:0 + x11-libs/libXdamage:0 + x11-libs/libXext:0 + x11-libs/libXfixes:0 + x11-libs/libXi:0 + x11-libs/libXrandr:0 + x11-libs/libXrender:0 + x11-libs/libXtst:0 + x11-libs/pango:0" + +QA_PREBUILT="/opt/${MY_PN}/${MY_PN^}" + +S="${WORKDIR}" + +src_prepare() { + local arch=$(usex amd64 "64" "32") + + default + # Modify desktop file to use common paths + sed -i \ + -e '/Exec/s/=.*/=\/usr\/bin\/gitter/' \ + -e '/Icon/s/=.*/=\/usr\/share\/pixmaps\/gitter.png/' \ + opt/${MY_PN^}/linux${arch}/${MY_PN}.desktop || die "sed failed" +} + +src_install() { + local arch=$(usex amd64 "64" "32") + + insinto /usr/share/pixmaps + newins opt/${MY_PN^}/linux${arch}/logo.png ${MY_PN}.png + + newicon -s 256 opt/${MY_PN^}/linux${arch}/logo.png ${MY_PN}.png + domenu opt/${MY_PN^}/linux${arch}/${MY_PN}.desktop + + insinto /opt/${MY_PN} + doins opt/${MY_PN^}/linux${arch}/{Gitter,icudtl.dat,libffmpegsumo.so,nw.pak} + insinto /opt/${MY_PN}/locales + doins -r opt/${MY_PN^}/linux${arch}/locales/. + fperms +x /opt/${MY_PN}/${MY_PN^} + dosym /opt/${MY_PN}/${MY_PN^} /usr/bin/${MY_PN} +} + +pkg_preinst() { + gnome2_icon_savelist +} + +pkg_postinst() { + gnome2_icon_cache_update +} + +pkg_postrm() { + gnome2_icon_cache_update +} diff --git a/net-im/gitter-bin/metadata.xml b/net-im/gitter-bin/metadata.xml new file mode 100644 index 000000000000..2aa6d30c64dc --- /dev/null +++ b/net-im/gitter-bin/metadata.xml @@ -0,0 +1,20 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="person"> + <email>spiderx@spiderx.dp.ua</email> + <name>Vladimir Pavljuchenkov</name> + </maintainer> + <maintainer type="project"> + <email>proxy-maint@gentoo.org</email> + <name>Proxy Maintainers</name> + </maintainer> + <longdescription lang="en"> + A chat and networking platform that helps to manage, + grow and connect communities through messaging, content + and discovery. + </longdescription> + <upstream> + <doc>https://gitter.zendesk.com/hc/en-us</doc> + </upstream> +</pkgmetadata> |