1
0
forked from ports/contrib

discord: initial commit

This commit is contained in:
Tim Biermann 2019-06-11 23:45:44 +02:00
parent 6e2190c555
commit dc3656aae6
Signed by: tb
GPG Key ID: 42F8B4E30B673606
3 changed files with 121 additions and 0 deletions

90
discord/.footprint Normal file
View File

@ -0,0 +1,90 @@
drwxr-xr-x root/root opt/
drwxr-xr-x root/root opt/discord/
-rwxr-xr-x root/root opt/discord/Discord
-rw-r--r-- root/root opt/discord/chrome_100_percent.pak
-rw-r--r-- root/root opt/discord/chrome_200_percent.pak
-rw-r--r-- root/root opt/discord/discord.desktop
-rw-r--r-- root/root opt/discord/discord.png
-rw-r--r-- root/root opt/discord/icudtl.dat
-rw-r--r-- root/root opt/discord/libEGL.so
-rw-r--r-- root/root opt/discord/libGLESv2.so
-rw-r--r-- root/root opt/discord/libVkICD_mock_icd.so
-rw-r--r-- root/root opt/discord/libffmpeg.so
drwxr-xr-x root/root opt/discord/locales/
-rw-r--r-- root/root opt/discord/locales/am.pak
-rw-r--r-- root/root opt/discord/locales/ar.pak
-rw-r--r-- root/root opt/discord/locales/bg.pak
-rw-r--r-- root/root opt/discord/locales/bn.pak
-rw-r--r-- root/root opt/discord/locales/ca.pak
-rw-r--r-- root/root opt/discord/locales/cs.pak
-rw-r--r-- root/root opt/discord/locales/da.pak
-rw-r--r-- root/root opt/discord/locales/de.pak
-rw-r--r-- root/root opt/discord/locales/el.pak
-rw-r--r-- root/root opt/discord/locales/en-GB.pak
-rw-r--r-- root/root opt/discord/locales/en-US.pak
-rw-r--r-- root/root opt/discord/locales/es-419.pak
-rw-r--r-- root/root opt/discord/locales/es.pak
-rw-r--r-- root/root opt/discord/locales/et.pak
-rw-r--r-- root/root opt/discord/locales/fa.pak
-rw-r--r-- root/root opt/discord/locales/fi.pak
-rw-r--r-- root/root opt/discord/locales/fil.pak
-rw-r--r-- root/root opt/discord/locales/fr.pak
-rw-r--r-- root/root opt/discord/locales/gu.pak
-rw-r--r-- root/root opt/discord/locales/he.pak
-rw-r--r-- root/root opt/discord/locales/hi.pak
-rw-r--r-- root/root opt/discord/locales/hr.pak
-rw-r--r-- root/root opt/discord/locales/hu.pak
-rw-r--r-- root/root opt/discord/locales/id.pak
-rw-r--r-- root/root opt/discord/locales/it.pak
-rw-r--r-- root/root opt/discord/locales/ja.pak
-rw-r--r-- root/root opt/discord/locales/kn.pak
-rw-r--r-- root/root opt/discord/locales/ko.pak
-rw-r--r-- root/root opt/discord/locales/lt.pak
-rw-r--r-- root/root opt/discord/locales/lv.pak
-rw-r--r-- root/root opt/discord/locales/ml.pak
-rw-r--r-- root/root opt/discord/locales/mr.pak
-rw-r--r-- root/root opt/discord/locales/ms.pak
-rw-r--r-- root/root opt/discord/locales/nb.pak
-rw-r--r-- root/root opt/discord/locales/nl.pak
-rw-r--r-- root/root opt/discord/locales/pl.pak
-rw-r--r-- root/root opt/discord/locales/pt-BR.pak
-rw-r--r-- root/root opt/discord/locales/pt-PT.pak
-rw-r--r-- root/root opt/discord/locales/ro.pak
-rw-r--r-- root/root opt/discord/locales/ru.pak
-rw-r--r-- root/root opt/discord/locales/sk.pak
-rw-r--r-- root/root opt/discord/locales/sl.pak
-rw-r--r-- root/root opt/discord/locales/sr.pak
-rw-r--r-- root/root opt/discord/locales/sv.pak
-rw-r--r-- root/root opt/discord/locales/sw.pak
-rw-r--r-- root/root opt/discord/locales/ta.pak
-rw-r--r-- root/root opt/discord/locales/te.pak
-rw-r--r-- root/root opt/discord/locales/th.pak
-rw-r--r-- root/root opt/discord/locales/tr.pak
-rw-r--r-- root/root opt/discord/locales/uk.pak
-rw-r--r-- root/root opt/discord/locales/vi.pak
-rw-r--r-- root/root opt/discord/locales/zh-CN.pak
-rw-r--r-- root/root opt/discord/locales/zh-TW.pak
-rw-r--r-- root/root opt/discord/natives_blob.bin
-rwxr-xr-x root/root opt/discord/postinst.sh
-rw-r--r-- root/root opt/discord/resources.pak
drwxr-xr-x root/root opt/discord/resources/
-rw-r--r-- root/root opt/discord/resources/app.asar
drwxr-xr-x root/root opt/discord/resources/bootstrap/
-rw-r--r-- root/root opt/discord/resources/bootstrap/manifest.json
-rw-r--r-- root/root opt/discord/resources/build_info.json
-rw-r--r-- root/root opt/discord/resources/electron.asar
-rw-r--r-- root/root opt/discord/snapshot_blob.bin
drwxr-xr-x root/root opt/discord/swiftshader/
-rw-r--r-- root/root opt/discord/swiftshader/libEGL.so
-rw-r--r-- root/root opt/discord/swiftshader/libGLESv2.so
-rw-r--r-- root/root opt/discord/v8_context_snapshot.bin
drwxr-xr-x root/root usr/
drwxr-xr-x root/root usr/bin/
lrwxrwxrwx root/root usr/bin/discord -> /opt/discord/Discord
drwxr-xr-x root/root usr/lib/
lrwxrwxrwx root/root usr/lib/libffmpeg.so -> /opt/discord/libffmpeg.so
drwxr-xr-x root/root usr/share/
drwxr-xr-x root/root usr/share/applications/
-rwxr-xr-x root/root usr/share/applications/discord.desktop
drwxr-xr-x root/root usr/share/pixmaps/
lrwxrwxrwx root/root usr/share/pixmaps/discord.png -> /opt/discord/discord.png

5
discord/.signature Normal file
View File

@ -0,0 +1,5 @@
untrusted comment: verify with /etc/ports/contrib.pub
RWSagIOpLGJF33gVklSIc/a/lRGc3Af+Z45J/yptXofInbWqUN9AdHBWgpUWE9f7JWYqEeAvbFmU18RKbVOfA06LSGqV0JV7/AY=
SHA256 (Pkgfile) = 7ca9d3c414e08471210a19b8739f5b4c498913df18df51f62b6539fbe55fde03
SHA256 (.footprint) = c59564118cbb7bf691ad8287d852a503c13d4e06abc4846e57ed2432e478ee31
SHA256 (discord-0.0.9.tar.gz) = 4e5b955768cb35c0d1564e3bfb174470efc97028a1c38046770266105a440ec4

26
discord/Pkgfile Normal file
View File

@ -0,0 +1,26 @@
# Description: All-in-one voice and text chat for gamers
# URL: https://discordapp.com/
# Maintainer: Tim Biermann, tbier at posteo dot de
# Depends on: alsa-lib avahi cups graphite2 gtk3 nss util-linux xorg-libxcomposite xorg-libxcursor xorg-libxinerama xorg-libxscrnsaver
name=discord
version=0.0.9
release=1
source=(https://dl.discordapp.net/apps/linux/$version/$name-$version.tar.gz)
build() {
install -d $PKG/opt/$name
cp -a Discord/. $PKG/opt/$name
chmod 755 $PKG/opt/$name/Discord
install -d $PKG/usr/share/applications
install $PKG/opt/$name/$name.desktop $PKG/usr/share/applications
sed -i s%/usr/share%/opt% $PKG/usr/share/applications/$name.desktop
mkdir -p $PKG/usr/bin
ln -s /opt/$name/Discord $PKG/usr/bin/$name
install -d $PKG/usr/share/pixmaps
ln -s /opt/$name/discord.png $PKG/usr/share/pixmaps/$name.png
install -d $PKG/usr/lib
ln -s /opt/discord/libffmpeg.so $PKG/usr/lib/libffmpeg.so
}