-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Marc Vef
committed
Jan 17, 2019
1 parent
8173625
commit 91558c4
Showing
2 changed files
with
97 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,5 @@ | ||
DIST discord-0.0.3.deb 48389938 SHA256 123d2d7203e60d1c335d66ee0f5870e31ce752b7c3a479f787f4212ebc5567bc SHA512 85b75cbd6aeccfcdea83d65b82e43bc3e1d44602a3464957a321451d4104368b9a91661a626235f377387ead29fc58d03640ee6b76e2f3e36d87a2a9b9c43f4b WHIRLPOOL 185559c2be2c0c2efdd7ab6b41cf77fcc5eb297e7c506b3453f392af138ce6aa766f4f6e15973de58b2ffc376bdcde74d68c90ccde0db7a658da165db3052501 | ||
EBUILD discord-bin-0.0.3.ebuild 1724 SHA256 e43c8c1c1d9758f9a64b213f6446ddc90f3f455082569487d440f726972e8a08 SHA512 ce85ed6ca62fea67b24571805d9fc0bfc1408cb22b77b99303fe5398ecd9a42a0b72f4ce25d34a19f502979ff5dd410b08f606317d9d8a28a0cecf03b8481612 WHIRLPOOL d6dd66458e7523d9756d1b38348f073820f7f0f0acca417f260c4c46335c017714c58e999489647725b613ee5cc757fb1f0363953cf4b5ca9612d24dafa2d848 | ||
MISC metadata.xml 245 SHA256 c8fd18cdca0ab20111109880330a2b5c38b0a9121907a91c9d58742eec7aa5ae SHA512 ecb8a4621081ccdd43f08e4f560b0bc820c27d6a282c87e1a8f77137ec8b215188fe31f11fc6379533afee2ebe7e14d5395a45c1aab9abfe423fd832dba692a4 WHIRLPOOL ed161f9c8693ad391d2db9e8cb45156e676b7736e3a0a67c643ba2b6699f313a18e0d028921b519bbc4a8adc1436b60556d5acebfc0f5fcce01904dcfc881864 | ||
DIST discord-0.0.3.deb 48389938 BLAKE2B 4f000a9431724ca4b9ce7d452d9703644b06fa02c9dd44a9ca1d0644c653fe20efe9055d5adfa30cdef6145c189bdd195fef3e7a33d5f902848d152035f0a0d8 SHA512 85b75cbd6aeccfcdea83d65b82e43bc3e1d44602a3464957a321451d4104368b9a91661a626235f377387ead29fc58d03640ee6b76e2f3e36d87a2a9b9c43f4b | ||
DIST discord-0.0.8.deb 44221304 BLAKE2B 3b40f03a3398e1041c0b532df8bc1326df2564a2744d05529db9ba9191bb647eed4ebc28e08cdfa69b98336b2b0619f5898367c3497a704a7bec4309f7f2eb36 SHA512 5d228f0d36306d35ae8d76385a82cbfef32da2ee405292062972c4c2df453f0d329d91127d55ce81e79fa398de9be839b77125fc8a7e9958fa3409c29ee4880a | ||
EBUILD discord-bin-0.0.3.ebuild 1724 BLAKE2B 0f0d58f0b3617b1d2817e1ca2830a97166c941aee6941eef575e45d2fa8d899579a690028ddea1df4c85afb6e9a0dff119e1c45de31bd966ea56bb5850cbefd7 SHA512 ce85ed6ca62fea67b24571805d9fc0bfc1408cb22b77b99303fe5398ecd9a42a0b72f4ce25d34a19f502979ff5dd410b08f606317d9d8a28a0cecf03b8481612 | ||
EBUILD discord-bin-0.0.8.ebuild 1724 BLAKE2B 0f0d58f0b3617b1d2817e1ca2830a97166c941aee6941eef575e45d2fa8d899579a690028ddea1df4c85afb6e9a0dff119e1c45de31bd966ea56bb5850cbefd7 SHA512 ce85ed6ca62fea67b24571805d9fc0bfc1408cb22b77b99303fe5398ecd9a42a0b72f4ce25d34a19f502979ff5dd410b08f606317d9d8a28a0cecf03b8481612 | ||
MISC metadata.xml 245 BLAKE2B 26bf988c73d073000ab8d21ea881c4088b90e7081410938828744375bfa8de31cce2c78154ccfc61105c853c1f24f4994ca4e5cbb80c4c89dfd489bbd10a09ee SHA512 ecb8a4621081ccdd43f08e4f560b0bc820c27d6a282c87e1a8f77137ec8b215188fe31f11fc6379533afee2ebe7e14d5395a45c1aab9abfe423fd832dba692a4 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,92 @@ | ||
# 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="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 | ||
} |