From ec625c3f84f368835e8bb15a921eb6005d763e63 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Mon, 15 Feb 2021 10:19:46 +0000 Subject: net-im/discord : version bump --- net-im/discord/Manifest | 2 +- net-im/discord/discord-0.0.13.ebuild | 92 ++++++++++++++++++++++++++++++++++++ net-im/discord/discord-0.0.9.ebuild | 90 ----------------------------------- 3 files changed, 93 insertions(+), 91 deletions(-) create mode 100644 net-im/discord/discord-0.0.13.ebuild delete mode 100644 net-im/discord/discord-0.0.9.ebuild (limited to 'net-im/discord') diff --git a/net-im/discord/Manifest b/net-im/discord/Manifest index 6b8c77f3..8d32ede1 100644 --- a/net-im/discord/Manifest +++ b/net-im/discord/Manifest @@ -1 +1 @@ -DIST discord-0.0.9.deb 44445792 BLAKE2B 0e2904282a6486f9d0aed8498dfa38233196d3e3c9b14d6064eefe770c061fd48c70f048972f58c911e5711b171e0a0702a2657ae6f6ee0c69f415ea7f641eb7 SHA512 3c9465566a340b9f6afcb47a3d2deec4b560c78d44e807742c660ab2d834ddf1d7b66958ae6ac1438ace21ccbcb81b11f9c72efb0ded2cbfce6b6e5631375b4a +DIST discord-0.0.13.deb 70624982 BLAKE2B 210dc6f287ccf17d14cb595ad41d508b0d73285e0cb1cacd24b678377c0aa7f5bc111b5cc3a1a3054a05349b96cdd82f589b6001ceca44fbe33bf78513f83f2d SHA512 6b42039a37034f1774f9ad07c9b43dab326ee4f7915b07f976c596ec9cad166871c870145bee42bce170e724c1e99fdd91388f1a6c5f0ec434f757389f1f89e6 diff --git a/net-im/discord/discord-0.0.13.ebuild b/net-im/discord/discord-0.0.13.ebuild new file mode 100644 index 00000000..4bd4ca9c --- /dev/null +++ b/net-im/discord/discord-0.0.13.ebuild @@ -0,0 +1,92 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +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}/${P}.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 + 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 strip" + +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/${PN}/${PN}.desktop || die +} + +src_install() { + insinto /opt/${PN} + doins -r usr/. + + fperms +x /opt/${PN}/bin/${PN} + dosym /opt/${PN}/bin/${PN} /usr/bin/${PN} + dosym /opt/${PN}/share/applications/${PN}.desktop \ + /usr/share/applications/${PN}.desktop + dosym /opt/${PN}/share/pixmaps/${PN}.png \ + /usr/share/pixmaps/${PN}.png + + fperms 4711 /opt/${PN}/share/${PN}/chrome-sandbox +} + +pkg_preinst() { + gnome2_icon_savelist +} + +pkg_postinst() { + gnome2_icon_cache_update +} + +pkg_postrm() { + gnome2_icon_cache_update +} diff --git a/net-im/discord/discord-0.0.9.ebuild b/net-im/discord/discord-0.0.9.ebuild deleted file mode 100644 index 7ee4b423..00000000 --- a/net-im/discord/discord-0.0.9.ebuild +++ /dev/null @@ -1,90 +0,0 @@ -# Copyright 1999-2017 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI=6 - -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}/${P}.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 - 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/${PN}/${PN}.desktop || die -} - -src_install() { - insinto /opt/${PN} - doins -r usr/. - - fperms +x /opt/${PN}/bin/${PN} - dosym /opt/${PN}/bin/${PN} /usr/bin/${PN} - dosym /opt/${PN}/share/applications/${PN}.desktop \ - /usr/share/applications/${PN}.desktop - dosym /opt/${PN}/share/pixmaps/${PN}.png \ - /usr/share/pixmaps/${PN}.png -} - -pkg_preinst() { - gnome2_icon_savelist -} - -pkg_postinst() { - gnome2_icon_cache_update -} - -pkg_postrm() { - gnome2_icon_cache_update -} -- cgit v1.2.3