summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexe-Cristia Moldovan <contact@crism.ro>2015-06-18 15:22:33 +0300
committerAlexe-Cristia Moldovan <contact@crism.ro>2015-06-18 15:22:33 +0300
commitacc7819462381bc7a0745f4905e84ef00c8b5ed0 (patch)
tree92c856a257f9bd6b1216e3dfe383d41621e6f7a4
parentd73f72e5fce212905ec928d66598735af2375d5c (diff)
add Telegram
-rw-r--r--net-im/telegram-bin/Manifest3
-rw-r--r--net-im/telegram-bin/telegram-bin-0.8.24.ebuild36
-rw-r--r--net-im/telegram-cli/Manifest1
-rw-r--r--net-im/telegram-cli/telegram-cli-9999.ebuild31
-rw-r--r--net-im/telegram-dev-bin/Manifest3
-rw-r--r--net-im/telegram-dev-bin/telegram-dev-bin-0.8.27.ebuild37
-rw-r--r--net-im/telegram-purple/Manifest1
-rw-r--r--net-im/telegram-purple/telegram-purple-9999.ebuild38
8 files changed, 150 insertions, 0 deletions
diff --git a/net-im/telegram-bin/Manifest b/net-im/telegram-bin/Manifest
new file mode 100644
index 00000000..f9a0a7e6
--- /dev/null
+++ b/net-im/telegram-bin/Manifest
@@ -0,0 +1,3 @@
+DIST tsetup.0.8.24.tar.xz 19468300 SHA256 80a58b100a690df1b90bf6b275024210e5aff4e4600e2fd231ae9befc044c500 SHA512 0bce502eca7e759ef93f44999fb31f6795248ce30f5cc6f2f4a83ee57dda89707a23af58ad3847673b511a87a462b849a02e471f6bd5f0e4b8fedffe9cb7b436 WHIRLPOOL 9488809344d5f199de237f2bd1d6123913899a85dbb8f031ab5e908c079ce3916ad96030e9abc2bab48615f528bd55b3a43c0cdd594c275f6db9b068ecfae76b
+DIST tsetup32.0.8.24.tar.xz 19384744 SHA256 5ad46a4a0b14c4a6004068b7abb5d92242c7221a87fe74f99568f28e1e16f5d2 SHA512 45c350c102befba1a5bbb261e497e26cd3b9be4df8bf756a82d8c2d96fe2c790c01e4ed27aeade3434eb9eb9eb89e40ca5fe788013659993c1b95ea57c0b8a78 WHIRLPOOL ad0ed87e6b37e534ddbcfee20cacb4624c7db49eea6b975398f9ed56e9ffb29cfebb0a4f1f59dbab61e54950a6f285196d85d343876c83cc982beee24a2dfd78
+EBUILD telegram-bin-0.8.24.ebuild 847 SHA256 fe02b2f67cf9e6d9fdb9b7ddd00700cbb4699dfd77877bf019bceaa176157ed6 SHA512 c3e1f80cc3026bddbd2506da4523b4253872392cfd9b3f4ea439806d8fab9011bfa1ae344250fc3b51b7f852a0400612eca14848e8c1d305288038f290dbe6e8 WHIRLPOOL 237a646643c620e1bbbf1a3022a41e5b76da12a13de8108966639e604d6fe811b62634de635b04518dd03be7712ba6bdd8d10446fae7c2af9e5f8fca8b578b95
diff --git a/net-im/telegram-bin/telegram-bin-0.8.24.ebuild b/net-im/telegram-bin/telegram-bin-0.8.24.ebuild
new file mode 100644
index 00000000..28f2533d
--- /dev/null
+++ b/net-im/telegram-bin/telegram-bin-0.8.24.ebuild
@@ -0,0 +1,36 @@
+# Copyright 1999-2010 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+EAPI="5"
+inherit eutils versionator
+
+RESTRICT="strip"
+
+DESCRIPTION="Telegram Desktop Messenger (official client) binary version"
+HOMEPAGE="https://tdesktop.com/"
+SRC_URI="
+ amd64? ( http://updates.tdesktop.com/tlinux/tsetup.${PV}.tar.xz )
+ x86? ( http://updates.tdesktop.com/tlinux32/tsetup32.${PV}.tar.xz )"
+
+RESTRICT="mirror"
+LICENSE="GPL-3"
+IUSE="updater"
+KEYWORDS="~x86 ~amd64"
+INSTALL_DIR="/opt/telegram"
+SLOT="0"
+DEPEND=""
+RDEPEND="${DEPEND}"
+S="${WORKDIR}/Telegram"
+
+src_install() {
+ insinto "${INSTALL_DIR}"
+ insopts -m755
+ doins -r Telegram
+ if use updater; then
+ doins -r Updater
+ fi
+ make_wrapper "telegram" "${INSTALL_DIR}/Telegram"
+ make_desktop_entry "telegram" "Telegram" "telegram" "Messenger"
+}
+
diff --git a/net-im/telegram-cli/Manifest b/net-im/telegram-cli/Manifest
new file mode 100644
index 00000000..e72df7c5
--- /dev/null
+++ b/net-im/telegram-cli/Manifest
@@ -0,0 +1 @@
+EBUILD telegram-cli-9999.ebuild 630 SHA256 46517ec61e0bd4b4f36d78952d6ddc712f503551fcba1ba2e44e250b148783f7 SHA512 274b3445b4c200791dd989b1c9efb0f0b1b9a4679f5cc8344521c01d438ce2dcd46c5b28ee0e9668997bf1f637299a1ce44b75c0561c43ead2282628e5ea44e1 WHIRLPOOL 5f36c5567f57be5f7ca7b35c44ce83a10377f94b548c6a44f77d4a4c3869fa86012b3df2ebc21ec90302df141d4e27d44c525d4e5da292ed47ee27526ec9034d
diff --git a/net-im/telegram-cli/telegram-cli-9999.ebuild b/net-im/telegram-cli/telegram-cli-9999.ebuild
new file mode 100644
index 00000000..bd4917a8
--- /dev/null
+++ b/net-im/telegram-cli/telegram-cli-9999.ebuild
@@ -0,0 +1,31 @@
+# Copyright 1999-2013 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+EAPI=5
+
+EGIT_REPO_URI="https://github.com/vysheng/tg.git"
+inherit git-2
+IUSE="lua"
+DESCRIPTION="Command line interface client for Telegram"
+HOMEPAGE="https://github.com/vysheng/tg"
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS=""
+
+DEPEND="sys-libs/zlib
+ sys-libs/readline
+ dev-libs/libconfig
+ dev-libs/openssl
+ lua? ( dev-lang/lua )"
+
+src_configure() {
+ econf $(use_enable lua liblua ) --with-progname=telegram-cli
+}
+
+src_install() {
+ newbin telegram telegram-cli
+
+ insinto /etc/telegram-cli/
+ newins tg.pub server.pub
+}
diff --git a/net-im/telegram-dev-bin/Manifest b/net-im/telegram-dev-bin/Manifest
new file mode 100644
index 00000000..59f3d139
--- /dev/null
+++ b/net-im/telegram-dev-bin/Manifest
@@ -0,0 +1,3 @@
+DIST tsetup.0.8.27.dev.tar.xz 19533228 SHA256 2507d1cb02bca0fa9294793412679754a131a6dfbdcb2892bb35967f8ebd8701 SHA512 70b8eb7fc468b1cd5c6055e5ac58f5251b18f6f62ee997e8cc439981f0aa6dc2de1daf3aa68d39c96461e59cf4035b72b42cc3f1e644705e9677a6fa45279278 WHIRLPOOL 306cdb96bbee2e9fd207417d61521b8e3e7ce23a102b3dc3e07c77444c03623abf69054f4336e1ceff47cb42b113611aeee234c2dfbbff6e03ebdbd02714495a
+DIST tsetup32.0.8.27.dev.tar.xz 19450120 SHA256 fd8feced6024d8061803279bcc282273e59b08abec37c9c8a568fa5a5c06923a SHA512 d2d7bb95019fa9132e4bb41eb36e39e2c20bb60a87903d514be9f07ad7cc5c5a30a64c86b901c21c905cc48f3253d088b6db738351074e64884fc65b14521f07 WHIRLPOOL a90c0d1c3bb0ef10e3f5b76f7cb5e7e89823fa3f796b2a92ab89dcc3efb2e36383cd120d09017fcc60379767a15a5d0f618a2ece65771182a850c338461108fe
+EBUILD telegram-dev-bin-0.8.27.ebuild 907 SHA256 e3aabda8dd2c29f6a85865b4d1bad0f2c1f87068647ce16bd965a8ae09b9daf5 SHA512 f6972756ea815bc71e50726aebc2fa44877e52fabb093808eac69800656daef5d49d2cb0bb7d900a7c14223aa827e26856c8dcd1566badf3fffd03a8258f6d70 WHIRLPOOL 418972a50790329ca1f2cef96fc2e437d4c5895c4d7090d9e88dcdbf4a3b764ec1fd858d72130a930700ea3d6694fc1336b72b44da31633cca92d5a16125ff48
diff --git a/net-im/telegram-dev-bin/telegram-dev-bin-0.8.27.ebuild b/net-im/telegram-dev-bin/telegram-dev-bin-0.8.27.ebuild
new file mode 100644
index 00000000..4f059f60
--- /dev/null
+++ b/net-im/telegram-dev-bin/telegram-dev-bin-0.8.27.ebuild
@@ -0,0 +1,37 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+EAPI="5"
+inherit eutils versionator
+
+RESTRICT="strip"
+
+DESCRIPTION="Telegram Desktop Messenger (official client; dev channel) binary version"
+HOMEPAGE="https://tdesktop.com/"
+SRC_URI="
+ amd64? ( http://updates.tdesktop.com/tlinux/tsetup.${PV}.dev.tar.xz )
+ x86? ( http://updates.tdesktop.com/tlinux32/tsetup32.${PV}.dev.tar.xz )"
+
+RESTRICT="mirror"
+LICENSE="GPL-3"
+IUSE="updater"
+KEYWORDS="~x86 ~amd64"
+INSTALL_DIR="/opt/telegram"
+SLOT="0"
+DEPEND="!net-im/telegram
+ !net-im/telegram-bin"
+RDEPEND="${DEPEND}"
+S="${WORKDIR}/Telegram"
+
+src_install() {
+ insinto "${INSTALL_DIR}"
+ insopts -m755
+ doins -r Telegram
+ if use updater;then
+ doins -r Updater
+ fi
+ make_wrapper "telegram" "${INSTALL_DIR}/Telegram"
+ make_desktop_entry "telegram" "Telegram" "telegram" "Messenger"
+}
+
diff --git a/net-im/telegram-purple/Manifest b/net-im/telegram-purple/Manifest
new file mode 100644
index 00000000..f5d13b84
--- /dev/null
+++ b/net-im/telegram-purple/Manifest
@@ -0,0 +1 @@
+EBUILD telegram-purple-9999.ebuild 749 SHA256 ebc838e08a21b2610c33f136e44b7dccc1504ca0dd266e9e5090fed2042598a8 SHA512 1540cf0e608af49efbb95434f574434435a863e07d9ae5a09e837402df0c387533107c9740e3fbe97ae6d43b8551e0e9edd8b9e39b4bb67572c14b6e8269004e WHIRLPOOL 3923eba24419f7a1fdc42074e76f23bfef0188ed4e31e6efdd3dac9ca0372088bfd8e8e31c15e9663ed70c955a2cf85cabd2197fdcf75f68f856c9b983504fec
diff --git a/net-im/telegram-purple/telegram-purple-9999.ebuild b/net-im/telegram-purple/telegram-purple-9999.ebuild
new file mode 100644
index 00000000..d0f182b3
--- /dev/null
+++ b/net-im/telegram-purple/telegram-purple-9999.ebuild
@@ -0,0 +1,38 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+EAPI=5
+
+inherit git-r3
+
+DESCRIPTION="Libpurple (Pidgin) plugin for using a Telegram account"
+HOMEPAGE="https://github.com/majn/${PN}"
+SRC_URI=""
+EGIT_REPO_URI="${HOMEPAGE}"
+
+LICENSE="LGPL-3"
+SLOT="0"
+KEYWORDS=""
+IUSE=""
+
+DEPEND="net-im/pidgin
+ dev-libs/openssl
+ sys-libs/glibc
+ "
+RDEPEND="${DEPEND}"
+
+src_compile(){
+ econf || die "econf failed"
+ emake || die "emake failed"
+}
+
+src_install(){
+ emake DESTDIR="${D}" install
+}
+
+pkg_postinst(){
+ elog "Note: this package is in an early (pre-alpha) stage, so if you"
+ elog "want to view changes, install this package often."
+ elog "More information is available in ${HOMEPAGE}"
+}