-
Notifications
You must be signed in to change notification settings - Fork 6
feat: add vesktop 1.6.7 #377
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Closed
+64
−0
Closed
Changes from all commits
Commits
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or 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,13 @@ | ||
| [Desktop Entry] | ||
| Name=Vesktop | ||
| Generic Name=Internet Messenger | ||
| Comment=Client for Discord with improved Linux support | ||
| Version=1.6.7 | ||
| Icon=vesktop | ||
| Exec=/usr/bin/vesktop %U | ||
| StartupWMClass=vesktop | ||
| Terminal=false | ||
| Type=Application | ||
| Categories=Network; | ||
| Keywords=discord;vencord;vesktop;chat;electron | ||
| MimeType=x-scheme-handler/discord | ||
This file contains hidden or 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,12 @@ | ||
| #!/bin/sh | ||
|
|
||
| XDG_CONFIG_HOME=${XDG_CONFIG_HOME:-~/.config} | ||
|
|
||
| # Allow users to override command-line options | ||
| if [ -f "$XDG_CONFIG_HOME/vesktop-flags.conf" ]; then | ||
| VESKTOP_USER_FLAGS="$(grep -v '^#' "$XDG_CONFIG_HOME/vesktop-flags.conf")" | ||
| fi | ||
|
|
||
| # Launch (each word in VESKTOP_USER_FLAGS must be split) | ||
| # shellcheck disable=SC2086 | ||
| exec /usr/lib/vesktop/vesktop $VESKTOP_USER_FLAGS "$@" |
This file contains hidden or 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,39 @@ | ||
| # Template file for 'vesktop' | ||
| pkgname=vesktop | ||
| version=1.6.7 | ||
| revision=1 | ||
| archs="x86_64 aarch64" | ||
| short_desc="Client for Discord with improved Linux support" | ||
| license="GPL-3.0-or-later" | ||
| homepage="https://github.com/Vencord/Vesktop" | ||
| distfiles="https://github.com/Vencord/Vesktop/archive/refs/tags/v${version}.tar.gz" | ||
| maintainer="forkfoundinkitchenn <littlebluubird@proton.me>" | ||
| depends="alsa-lib gtk+3 nss libnotify xdg-utils" | ||
| hostmakedepends="nodejs pnpm git" | ||
| checksum="8c0dbd65e85f46797bc89591a92f8677e2565ea51cd96f661f1dd5da74c819d1 87ab4cbbc806d93751fb0c3d6984711834ec5d22347a56e066e79f8607cfd5bb 10df905d733955414e86e9477561c546a07e90f0e82eb16adf86827628f99193" | ||
| noshlibprovides=yes | ||
|
|
||
| case "$XBPS_TARGET_MACHINE" in | ||
| x86_64) | ||
| folder="linux-unpacked" | ||
| ;; | ||
| aarch64) | ||
| folder="linux-arm64-unpacked" | ||
| ;; | ||
| esac | ||
|
|
||
| do_build () { | ||
| pnpm i --frozen-lockfile | ||
| pnpm package:dir | ||
| } | ||
|
|
||
| do_install () { | ||
| vmkdir usr/lib/vesktop | ||
| vmkdir usr/bin | ||
|
|
||
| vcopy "dist/${folder}/*" usr/lib/vesktop | ||
| vinstall "${FILESDIR}/vesktop.desktop" 644 usr/share/applications/ | ||
| vinstall "build/icon.svg" 644 usr/share/icons/hicolor/scalable/apps vesktop.svg | ||
| vinstall "${FILESDIR}/vesktop.sh" 755 usr/bin/ vesktop | ||
| vlicense "LICENSE" | ||
| } |
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
errrrrrrrrrrrrrrrr..............