From 1b7493ef44e8bb618a7beabbb6878732266b2f28 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Sat, 7 Jan 2017 01:05:18 +0000 Subject: add net-im/franz --- net-im/franz/Manifest | 1 + net-im/franz/files/franz.desktop | 11 +++++++++++ net-im/franz/franz-4.0.4.ebuild | 42 ++++++++++++++++++++++++++++++++++++++++ 3 files changed, 54 insertions(+) create mode 100644 net-im/franz/Manifest create mode 100644 net-im/franz/files/franz.desktop create mode 100644 net-im/franz/franz-4.0.4.ebuild diff --git a/net-im/franz/Manifest b/net-im/franz/Manifest new file mode 100644 index 00000000..c54c5a8e --- /dev/null +++ b/net-im/franz/Manifest @@ -0,0 +1 @@ +DIST Franz-linux-x64-4.0.4.tgz 51898410 SHA256 65e63c9aa71c46f391ce5b62bca0b77dcae59d0cef18691e39e4c5ec24a85e6b SHA512 2b11975b21300ad38c2b783847494d95b29f37de4417d986dfaa2f13d74ab8c8409e2310edbbf5c0ed01d5d1354a3adbd2651ea835f72013e2c21fd905712843 WHIRLPOOL a94538578dd537a8256e3e5b7c44312aaf30660b81a8112154c229346eaf56dc3c394d3da7d75221064a0cea9557a039a5ecfaf3260a513091460566779c845c diff --git a/net-im/franz/files/franz.desktop b/net-im/franz/files/franz.desktop new file mode 100644 index 00000000..453bee96 --- /dev/null +++ b/net-im/franz/files/franz.desktop @@ -0,0 +1,11 @@ +[Desktop Entry] +Name=Franz +Comment=Franz +GenericName=Franz Client for Linux +Exec=/usr/share/Franz/Franz %U +Icon=franz +Type=Application +StartupNotify=true +Categories=GNOME;GTK;Network;InstantMessaging; +MimeType=text/plain; + diff --git a/net-im/franz/franz-4.0.4.ebuild b/net-im/franz/franz-4.0.4.ebuild new file mode 100644 index 00000000..d4c9edaa --- /dev/null +++ b/net-im/franz/franz-4.0.4.ebuild @@ -0,0 +1,42 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=6 + +inherit eutils autotools + +DESCRIPTION="Franz is a free messaging app / former Emperor of Austria and combines chat & messaging services into one application. He currently supports Slack, WhatsApp, WeChat, HipChat, Facebook Messenger, Telegram, Google Hangouts, GroupMe, Skype and many more." +HOMEPAGE="http://meetfranz.com/" + +SRC_URI_AMD64="https://github.com/imprecision/franz-app/releases/download/${PV}/Franz-linux-x64-${PV}.tgz" +SRC_URI_X86="https://github.com/imprecision/franz-app/releases/download/${PV}/Franz-linux-ia32-${PV}.tgz" +SRC_URI=" + amd64? ( ${SRC_URI_AMD64} ) + x86? ( ${SRC_URI_X86} ) +" + +SRC_URI="https://github.com/imprecision/franz-app/releases/download/${PV}/Franz-linux-x64-${PV}.tgz" + +SLOT='0' + +KEYWORDS="amd64 x86" + +RESTRICT="mirror" + +S="${WORKDIR}" + +src_unpack() { + unpack ${A} +} + +src_install() { + dodir /usr/share/Franz/ + cp -R ${WORKDIR}/* ${D}/usr/share/Franz || die "Install failed!" + dolib ${WORKDIR}/libnode.so + dolib ${WORKDIR}/libffmpeg.so + domenu ${FILESDIR}/franz.desktop + doicon ${WORKDIR}/resources/app.asar.unpacked/assets/franz.png + dodir /usr/bin + dosym /usr/share/Franz/Franz /usr/bin/Franz +} -- cgit v1.2.3