diff options
author | V3n3RiX <venerix@koprulu.sector> | 2021-10-20 10:22:14 +0100 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2021-10-20 10:22:14 +0100 |
commit | 46eedbedafdb0040c37884982d4c775ce277fb7b (patch) | |
tree | db33a91259730be84999e13a8d8168c799f50ac0 /net-im/discord-bin | |
parent | e23a08d0c97a0cc415aaa165da840b056f93c997 (diff) |
gentoo resync : 20.10.2021
Diffstat (limited to 'net-im/discord-bin')
-rw-r--r-- | net-im/discord-bin/Manifest | 4 | ||||
-rw-r--r-- | net-im/discord-bin/discord-bin-0.0.16-r1.ebuild (renamed from net-im/discord-bin/discord-bin-0.0.16.ebuild) | 35 | ||||
-rw-r--r-- | net-im/discord-bin/metadata.xml | 5 |
3 files changed, 21 insertions, 23 deletions
diff --git a/net-im/discord-bin/Manifest b/net-im/discord-bin/Manifest index 3a69e28b2cb3..9d77306e2646 100644 --- a/net-im/discord-bin/Manifest +++ b/net-im/discord-bin/Manifest @@ -1,3 +1,3 @@ DIST discord-0.0.16.deb 77079990 BLAKE2B 17cb04baa4eab3494593c54bc556a8e1d01352aa1ba7d1d27da722e53f5445386054b038b57281c5955f46416eccef9fc3521c1b91b3b593c495c29e2537d0c0 SHA512 4ea06420b27cc6dff813798c23d44478bbe4fea2919011796d271f94fcc2e25bae65e7c5c952a6723daa928d3ac99b913198a8500c76a0eef56138dda610c5de -EBUILD discord-bin-0.0.16.ebuild 1874 BLAKE2B 7ab8b632507ca38850996fdd6c946e6c77ed273f8e56ad04fb9b484fda20143298f2a5b44f339435383671063676ba7d7ff8a3d2544e5ce181a186d507c9d197 SHA512 3d3d5c4d4f2dc84b4701856985cece726cfda69dd352eeb262fc10998b6ef4dd8c64c4bc24e1e9f4518d754074b39a498762866158313d4720097e771ba0509e -MISC metadata.xml 246 BLAKE2B 9ee65595d2ce7d0c82f8bfa5110c981e55be2592e0ab8beb2abf163268dcbbe4ac2c1825bc1f3619c26fd447ef95a3153ce7ca7f627ca806030c217493fd51f0 SHA512 79818ad9d4436efa7bbeb3c302aee6b3c72ceadb118aab6d390fc4431110d2fdbc6cfe2d2c3c4e360688449279001e52acc9ace257b5ac401eb5c401e299bec1 +EBUILD discord-bin-0.0.16-r1.ebuild 1956 BLAKE2B df411fbe1d0ea38a8b14465586bcc1c9a3cea6a31a6138c38b30ee8c0956288873aa6eb8c7a66655b53a98423da498b7a89711cac89de9c0d6763eb1476b247c SHA512 0ca4375909deff933cf1a84658b41caa2f1a129f2273f4e7d2cbcc604f336611a4d10c98e9d408934efe2b92f40f5324732798ebb7f97344bb1876ad7054f4a8 +MISC metadata.xml 168 BLAKE2B 2e0e000b4c3b6ca04c12903fdbe278415c05a822623c52e9aa95cbbf3d50bcb1246b7edbda7d2f6b559af8950c6374e6e0a69b76319964cfe686bf50b0604a57 SHA512 4dcf45d1809e8390a2d8155c8ebfe0dd610203e392aeab0ccd8a10f42cc8532a4925eff32b35e7a6c35598a4efd288229034ec0732299dbd8cfa0acff705fed3 diff --git a/net-im/discord-bin/discord-bin-0.0.16.ebuild b/net-im/discord-bin/discord-bin-0.0.16-r1.ebuild index 085aa80b0b9c..dc38d87ff9f5 100644 --- a/net-im/discord-bin/discord-bin-0.0.16.ebuild +++ b/net-im/discord-bin/discord-bin-0.0.16-r1.ebuild @@ -1,16 +1,17 @@ # Copyright 1999-2021 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 -EAPI=7 +EAPI=8 -MY_PN=${PN/-bin/} -MY_BIN="D${MY_PN/d/}" +MY_PN="${PN%-bin}" +MY_BIN="${MY_PN^}" -inherit desktop linux-info pax-utils unpacker xdg +inherit desktop linux-info optfeature pax-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" +S="${WORKDIR}" LICENSE="all-rights-reserved" SLOT="0" @@ -26,31 +27,25 @@ RDEPEND=" dev-libs/nspr dev-libs/nss media-libs/alsa-lib - media-libs/fontconfig:1.0 - media-libs/freetype:2 + media-libs/mesa[gbm(+)] net-print/cups sys-apps/dbus - sys-apps/util-linux x11-libs/cairo x11-libs/gdk-pixbuf:2 x11-libs/gtk+:3 x11-libs/libX11 - x11-libs/libXScrnSaver - x11-libs/libxcb 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/libdrm + x11-libs/libxcb + x11-libs/libxkbcommon + x11-libs/libxshmfence x11-libs/pango " -S="${WORKDIR}" - QA_PREBUILT=" opt/discord/${MY_BIN} opt/discord/chrome-sandbox @@ -71,7 +66,7 @@ src_prepare() { default sed -i \ - -e "s:/usr/share/discord/Discord:/opt/${MY_PN}/${MY_BIN}:g" \ + -e "s:/usr/share/discord/Discord:discord:" \ usr/share/${MY_PN}/${MY_PN}.desktop || die } @@ -82,7 +77,13 @@ src_install() { insinto /opt/${MY_PN} doins -r usr/share/${MY_PN}/. fperms +x /opt/${MY_PN}/${MY_BIN} - dosym ../../opt/${MY_PN}/${MY_BIN} usr/bin/${MY_PN} + dosym -r /opt/${MY_PN}/${MY_BIN} /usr/bin/${MY_PN} pax-mark -m "${ED}"/opt/${MY_PN}/${MY_PN} } + +pkg_postinst() { + optfeature "sound support" \ + media-sound/pulseaudio media-sound/apulse[sdk] media-video/pipewire + optfeature "system tray support" dev-libs/libappindicator +} diff --git a/net-im/discord-bin/metadata.xml b/net-im/discord-bin/metadata.xml index be2af7044308..115e9d64a669 100644 --- a/net-im/discord-bin/metadata.xml +++ b/net-im/discord-bin/metadata.xml @@ -1,8 +1,5 @@ <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd"> <pkgmetadata> - <maintainer type="person"> - <email>johu@gentoo.org</email> - <name>Johannes Huber</name> - </maintainer> + <!-- maintainer-needed --> </pkgmetadata> |