Skip to Content.
Sympa Menu

sm-commit - [SM-Commit] GIT changes to master z-rejected grimoire by Vlad Glagolev (160e337be261b2067237ae7c2b4892c75546e262)

sm-commit AT lists.ibiblio.org

Subject: Source Mage code commit list

List archive

Chronological Thread  
  • From: Vlad Glagolev <scm AT sourcemage.org>
  • To: sm-commit AT lists.ibiblio.org
  • Subject: [SM-Commit] GIT changes to master z-rejected grimoire by Vlad Glagolev (160e337be261b2067237ae7c2b4892c75546e262)
  • Date: Mon, 18 Jun 2018 00:54:34 +0000

GIT changes to master z-rejected grimoire by Vlad Glagolev
<stealth AT sourcemage.org>:

ChangeLog | 3 +++
z-net/discord/BUILD | 1 +
z-net/discord/CONFIGURE | 3 +++
z-net/discord/DEPENDS | 46 ++++++++++++++++++++++++++++++++++++++++++++++
z-net/discord/DETAILS | 19 +++++++++++++++++++
z-net/discord/FINAL | 8 ++++++++
z-net/discord/HISTORY | 3 +++
z-net/discord/INSTALL | 9 +++++++++
z-net/discord/PREPARE | 5 +++++
z-net/discord/PRE_BUILD | 6 ++++++
10 files changed, 103 insertions(+)

New commits:
commit 160e337be261b2067237ae7c2b4892c75546e262
Author: Vlad Glagolev <stealth AT sourcemage.org>
Commit: Vlad Glagolev <stealth AT sourcemage.org>

discord: new spell, all-in-one voice and text chat for gamers

diff --git a/ChangeLog b/ChangeLog
index 0d870d6..6a2b7db 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,6 @@
+2018-06-17 Vlad Glagolev <stealth AT sourcemage.org>
+ * z-net/discord: new spell, all-in-one voice and text chat for gamers
+
2018-05-18 Vlad Glagolev <stealth AT sourcemage.org>
* z-ftp/resilio-sync: new spell, resilient, fast and scalable file
synchronization tool
diff --git a/z-net/discord/BUILD b/z-net/discord/BUILD
new file mode 100755
index 0000000..27ba77d
--- /dev/null
+++ b/z-net/discord/BUILD
@@ -0,0 +1 @@
+true
diff --git a/z-net/discord/CONFIGURE b/z-net/discord/CONFIGURE
new file mode 100755
index 0000000..49b9e31
--- /dev/null
+++ b/z-net/discord/CONFIGURE
@@ -0,0 +1,3 @@
+# Standard rejected warnings.
+#
+source $GRIMOIRE/REJECTED_MSG
diff --git a/z-net/discord/DEPENDS b/z-net/discord/DEPENDS
new file mode 100755
index 0000000..5c9002a
--- /dev/null
+++ b/z-net/discord/DEPENDS
@@ -0,0 +1,46 @@
+# essential
+runtime_depends -sub CXX gcc &&
+
+# crypto stack
+runtime_depends nspr &&
+runtime_depends nss &&
+
+# X11
+runtime_depends libxcb &&
+runtime_depends -sub XCB libx11 &&
+runtime_depends libxext &&
+runtime_depends libxscrnsaver &&
+runtime_depends libxi &&
+runtime_depends libxtst &&
+runtime_depends libxcomposite &&
+runtime_depends libxrender &&
+runtime_depends libxrandr &&
+runtime_depends libxfixes &&
+runtime_depends libxdamage &&
+runtime_depends libxcursor &&
+runtime_depends libxfixes &&
+
+# GTK+
+runtime_depends expat &&
+runtime_depends dbus &&
+runtime_depends glib2 &&
+runtime_depends freetype2 &&
+runtime_depends fontconfig &&
+runtime_depends atk &&
+runtime_depends pango &&
+runtime_depends cairo &&
+runtime_depends gdk-pixbuf2 &&
+runtime_depends gconf2 &&
+# also required for gtk-update-icon-cache
+depends gtk+2 &&
+# required for update-desktop-database
+depends desktop-file-utils &&
+
+# audio
+runtime_depends alsa-lib &&
+
+# printing
+runtime_depends cups &&
+
+# other
+runtime_depends zlib
diff --git a/z-net/discord/DETAILS b/z-net/discord/DETAILS
new file mode 100755
index 0000000..4a89f25
--- /dev/null
+++ b/z-net/discord/DETAILS
@@ -0,0 +1,19 @@
+ SPELL=discord
+ VERSION=0.0.5
+ SOURCE=${SPELL}-${VERSION}.tar.gz
+ SOURCE_URL[0]=https://dl.discordapp.net/apps/linux/${VERSION}/${SOURCE}
+
SOURCE_HASH=sha512:4786176a57aaf86c3ced07a2be1ca138f40e53723b9ae958dbd9a6b93ddb71659b0e1a00ab6c99fb8d8501a9d752ebfc8ab7f6fd1e6888b06a9a3c9a7710f972
+SOURCE_DIRECTORY="${BUILD_DIRECTORY}/${SPELL}-${VERSION}"
+ GATHER_DOCS=off
+ WEB_SITE=https://discordapp.com
+ ENTERED=20180617
+ LICENSE[0]=UNKNOWN
+ REJECT="is non-source"
+ SHORT="all-in-one voice and text chat for gamers"
+cat << EOF
+Discord is a proprietary freeware voice-over-Internet Protocol (VoIP)
+application designed for gaming communities, that specializes in text
+and audio communication between users in a chat channel.
+
+This is a client for Discord.
+EOF
diff --git a/z-net/discord/FINAL b/z-net/discord/FINAL
new file mode 100755
index 0000000..4668792
--- /dev/null
+++ b/z-net/discord/FINAL
@@ -0,0 +1,8 @@
+# binaries require /lib64
+if [ ! -d "${INSTALL_ROOT}/lib64" ]; then
+ ln -vsf "${TRACK_ROOT}/lib" "${INSTALL_ROOT}/lib64"
+fi &&
+
+update-desktop-database &&
+
+gtk-update-icon-cache -q -t -f "${INSTALL_ROOT}/usr/share/icons/hicolor"
diff --git a/z-net/discord/HISTORY b/z-net/discord/HISTORY
new file mode 100644
index 0000000..b119b8a
--- /dev/null
+++ b/z-net/discord/HISTORY
@@ -0,0 +1,3 @@
+2018-06-17 Vlad Glagolev <stealth AT sourcemage.org>
+ * DETAILS, DEPENDS, {PRE_,}BUILD, INSTALL, FINAL, CONFIGURE, PREPARE,
+ UNATTEND_SAFE: created spell, version 0.0.5
diff --git a/z-net/discord/INSTALL b/z-net/discord/INSTALL
new file mode 100755
index 0000000..4b0cd39
--- /dev/null
+++ b/z-net/discord/INSTALL
@@ -0,0 +1,9 @@
+cp -dRv Discord "${INSTALL_ROOT}/opt" &&
+
+ln -vsf "${TRACK_ROOT}/opt/Discord/discord.desktop" \
+ "${INSTALL_ROOT}/usr/share/applications/discord.desktop" &&
+
+ln -vsf "${TRACK_ROOT}/opt/Discord/discord.png" \
+ "${INSTALL_ROOT}/usr/share/pixmaps/discord.png" &&
+
+ln -vsf "${TRACK_ROOT}/opt/Discord/Discord" "${INSTALL_ROOT}/usr/bin/discord"
diff --git a/z-net/discord/PREPARE b/z-net/discord/PREPARE
new file mode 100755
index 0000000..5329d5b
--- /dev/null
+++ b/z-net/discord/PREPARE
@@ -0,0 +1,5 @@
+if [[ ${SMGL_COMPAT_ARCHS[1]} != "x86_64" ]]; then
+ message "${PROBLEM_COLOR}Discord is not available for platform
${SMGL_COMPAT_ARCHS[1]}${DEFAUL_COLOR}" &&
+
+ return 1
+fi
diff --git a/z-net/discord/PRE_BUILD b/z-net/discord/PRE_BUILD
new file mode 100755
index 0000000..27bfc46
--- /dev/null
+++ b/z-net/discord/PRE_BUILD
@@ -0,0 +1,6 @@
+mk_source_dir "${SOURCE_DIRECTORY}" &&
+cd "${SOURCE_DIRECTORY}" &&
+
+unpack_file &&
+
+sedit "s:/usr/share/discord:/opt/Discord:" Discord/discord.desktop
diff --git a/z-net/discord/UNATTEND_SAFE b/z-net/discord/UNATTEND_SAFE
new file mode 100644
index 0000000..e69de29



  • [SM-Commit] GIT changes to master z-rejected grimoire by Vlad Glagolev (160e337be261b2067237ae7c2b4892c75546e262), Vlad Glagolev, 06/17/2018

Archive powered by MHonArc 2.6.24.

Top of Page