diff options
author | 2019-01-16 15:36:58 +0100 | |
---|---|---|
committer | 2019-01-16 15:36:58 +0100 | |
commit | a0e5334643062fa0a4cfe6bb95dc548b84ba398a (patch) | |
tree | d0669371b5a55a9c6421f43d266c627433843e4e | |
parent | added media-plugins/eq10q (lv2 plugins like 10-band parametric equalizer). (diff) | |
download | darkelf-a0e5334643062fa0a4cfe6bb95dc548b84ba398a.tar.gz darkelf-a0e5334643062fa0a4cfe6bb95dc548b84ba398a.tar.bz2 darkelf-a0e5334643062fa0a4cfe6bb95dc548b84ba398a.zip |
added net-im/discord-0.0.8.
Signed-off-by: Simon the Sorcerer <neuron@mail.uni-paderborn.de>
-rw-r--r-- | net-im/discord-bin/Manifest | 3 | ||||
-rw-r--r-- | net-im/discord-bin/discord-bin-0.0.8.ebuild | 91 | ||||
-rw-r--r-- | net-im/discord-bin/metadata.xml | 8 |
3 files changed, 102 insertions, 0 deletions
diff --git a/net-im/discord-bin/Manifest b/net-im/discord-bin/Manifest new file mode 100644 index 0000000..794d314 --- /dev/null +++ b/net-im/discord-bin/Manifest @@ -0,0 +1,3 @@ +DIST discord-0.0.8.deb 44221304 BLAKE2B 3b40f03a3398e1041c0b532df8bc1326df2564a2744d05529db9ba9191bb647eed4ebc28e08cdfa69b98336b2b0619f5898367c3497a704a7bec4309f7f2eb36 SHA512 5d228f0d36306d35ae8d76385a82cbfef32da2ee405292062972c4c2df453f0d329d91127d55ce81e79fa398de9be839b77125fc8a7e9958fa3409c29ee4880a +EBUILD discord-bin-0.0.8.ebuild 1705 BLAKE2B 827e64b78f48d17ab52041fededd773c75ce63f319391630ad93924dd73725935a39e0b6cfc94b8afb621f8da9f183853d93033c7332294372577042ee412231 SHA512 a48e37a0f5bea77cc83144680a33236546a2edee27d71c64197ffd816db07c3e7c0b3a6a38df4a9335353208377c1d804c592eefff1b9329de07a6b54dd15d5b +MISC metadata.xml 245 BLAKE2B 26bf988c73d073000ab8d21ea881c4088b90e7081410938828744375bfa8de31cce2c78154ccfc61105c853c1f24f4994ca4e5cbb80c4c89dfd489bbd10a09ee SHA512 ecb8a4621081ccdd43f08e4f560b0bc820c27d6a282c87e1a8f77137ec8b215188fe31f11fc6379533afee2ebe7e14d5395a45c1aab9abfe423fd832dba692a4 diff --git a/net-im/discord-bin/discord-bin-0.0.8.ebuild b/net-im/discord-bin/discord-bin-0.0.8.ebuild new file mode 100644 index 0000000..b8f860f --- /dev/null +++ b/net-im/discord-bin/discord-bin-0.0.8.ebuild @@ -0,0 +1,91 @@ +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +MY_PN=${PN/-bin/} +inherit eutils gnome2-utils unpacker + +DESCRIPTION="All-in-one voice and text chat for gamers" +HOMEPAGE="https://discordapp.com" +SRC_URI="https://dl.discordapp.net/apps/linux/${PV}/${MY_PN}-${PV}.deb" + +LICENSE="all-rights-reserved" +SLOT="0" +KEYWORDS="~amd64" +IUSE="" + +RDEPEND=" + dev-libs/atk + dev-libs/expat + dev-libs/glib:2 + dev-libs/nspr + dev-libs/nss + gnome-base/gconf:2 + media-libs/alsa-lib + media-libs/fontconfig:1.0 + media-libs/freetype:2 + net-print/cups + sys-apps/dbus + sys-libs/libcxx + x11-libs/cairo + x11-libs/gdk-pixbuf:2 + x11-libs/gtk+:2 + x11-libs/libX11 + x11-libs/libXScrnSaver + x11-libs/libXcomposite + x11-libs/libXcursor + x11-libs/libXdamage + x11-libs/libXext + x11-libs/libXfixes + x11-libs/libXi + x11-libs/libXrandr + x11-libs/libXrender + x11-libs/libXtst + x11-libs/pango +" + +S=${WORKDIR} + +RESTRICT="mirror bindist" + +QA_PREBUILT=" + opt/discord/share/discord/Discord + opt/discord/share/discord/libnode.so + opt/discord/share/discord/libffmpeg.so +" + +src_unpack() { + unpack_deb ${A} +} + +src_prepare() { + default + + sed -i \ + -e "s:/usr/share/discord/Discord:discord:g" \ + usr/share/${MY_PN}/${MY_PN}.desktop || die +} + +src_install() { + insinto /opt/${MY_PN} + doins -r usr/. + + fperms +x /opt/${MY_PN}/bin/${MY_PN} + dosym ../../opt/${MY_PN}/bin/${MY_PN} /usr/bin/${MY_PN} + dosym ../../../opt/${MY_PN}/share/applications/${MY_PN}.desktop \ + /usr/share/applications/${MY_PN}.desktop + dosym ../../../opt/${MY_PN}/share/pixmaps/${MY_PN}.png \ + /usr/share/pixmaps/${MY_PN}.png +} + +pkg_preinst() { + gnome2_icon_savelist +} + +pkg_postinst() { + gnome2_icon_cache_update +} + +pkg_postrm() { + gnome2_icon_cache_update +} diff --git a/net-im/discord-bin/metadata.xml b/net-im/discord-bin/metadata.xml new file mode 100644 index 0000000..15fd2f3 --- /dev/null +++ b/net-im/discord-bin/metadata.xml @@ -0,0 +1,8 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="person"> + <email>johu@gentoo.org</email> + <name>Johannes Huber</name> + </maintainer> +</pkgmetadata> |