summaryrefslogtreecommitdiff
path: root/net-im/gitter-bin
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
committerV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
commit4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch)
treeba5f07bf3f9d22d82e54a462313f5d244036c768 /net-im/gitter-bin
reinit the tree, so we can have metadata
Diffstat (limited to 'net-im/gitter-bin')
-rw-r--r--net-im/gitter-bin/Manifest4
-rw-r--r--net-im/gitter-bin/gitter-bin-3.1.0.ebuild88
-rw-r--r--net-im/gitter-bin/metadata.xml20
3 files changed, 112 insertions, 0 deletions
diff --git a/net-im/gitter-bin/Manifest b/net-im/gitter-bin/Manifest
new file mode 100644
index 000000000000..2395ac048358
--- /dev/null
+++ b/net-im/gitter-bin/Manifest
@@ -0,0 +1,4 @@
+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
+EBUILD gitter-bin-3.1.0.ebuild 1988 SHA256 1110f8992050c5043b4675d45acb01ed8c77c9a39616c3faa76467d52b7c2834 SHA512 516f0d52ed13b7a66f1242e5c843019ff13e2bd5e00cf04a74d19da5d81f2a9a2fba90c195f34d85e5b002d19ea421912ce60504832c2a4827b6b34e7418264e WHIRLPOOL 4bf84395d2dc1050b329321a0abbf269e1f57f4b8e8e7e56e9d5681e9d245730b13eb58ef64670dbb23e74e030ba6d00c9609ea56ad293d54b13b1d2488d3387
+MISC metadata.xml 626 SHA256 a7ccbc3247961fdbef3f2b8d50a592361cfcc1228a4e37e507694e42fd2d126c SHA512 5cf4563c5dc36d509ae10a1824bebbd1f559bb57ff642e0f11f55676c894e2fae49060f7e4c1fb5fec9c1bed4814eacb1ecab2bca31eca5de72cb670840e08eb WHIRLPOOL 51144085b191f45d7467ada7e8ff8e5f6f918b312e63da9e5382b8c788c6954fa02c63a000386fe0d44e1af9593827a84ddc5f814451302a4db7f196db5ec2e6
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..4fe366ac20af
--- /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="MIT no-source-code"
+SLOT="0"
+KEYWORDS="~amd64 ~x86 -*"
+IUSE=""
+RESTRICT="bindist 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>