Github messages for voidlinux
 help / color / mirror / Atom feed
From: xiarenfan <xiarenfan@users.noreply.github.com>
To: ml@inbox.vuxu.org
Subject: [PR PATCH] New Package: electron-netease-cloud-music 0.9.36
Date: Fri, 03 Feb 2023 13:52:01 +0100	[thread overview]
Message-ID: <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-42053@inbox.vuxu.org> (raw)

[-- Attachment #1: Type: text/plain, Size: 526 bytes --]

There is a new pull request by xiarenfan against master on the void-packages repository

https://github.com/voidlinux-zh-association/void-packages master
https://github.com/void-linux/void-packages/pull/42053

New Package: electron-netease-cloud-music 0.9.36
#### Testing the changes

- I tested the changes in this PR: **YES**


#### Local build testing

- I built this PR locally for my native architecture, (x86_64-musl)



A patch file from https://github.com/void-linux/void-packages/pull/42053.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-master-42053.patch --]
[-- Type: text/x-diff, Size: 2974 bytes --]

From 157affecaa4cd5345be65362948ed7305eadb959 Mon Sep 17 00:00:00 2001
From: xiarenfan <117075325+xiarenfan@users.noreply.github.com>
Date: Fri, 3 Feb 2023 20:38:43 +0800
Subject: [PATCH 1/2] Create template

---
 srcpkgs/electron-netease-cloud-music/template | 33 +++++++++++++++++++
 1 file changed, 33 insertions(+)
 create mode 100644 srcpkgs/electron-netease-cloud-music/template

diff --git a/srcpkgs/electron-netease-cloud-music/template b/srcpkgs/electron-netease-cloud-music/template
new file mode 100644
index 000000000000..8e943253042f
--- /dev/null
+++ b/srcpkgs/electron-netease-cloud-music/template
@@ -0,0 +1,33 @@
+# Template file for 'electron-netease-cloud-music'
+pkgname=electron-netease-cloud-music
+version=0.9.36
+revision=1
+_electron_ver=19
+makedepends="yarn"
+depends="electron${_electron_ver}"
+short_desc="UNOFFICIAL client for music.163.com . Powered by Electron, Vue, and Muse-UI."
+maintainer="xiarenfan <xiarenfan1998@onionmail.com>"
+license="GPL3"
+homepage="https://github.com/Rocket1184/electron-netease-cloud-music"
+distfiles="https://github.com/Rocket1184/electron-netease-cloud-music/archive/v${version}.tar.gz"
+checksum=d37127180819e8bd9acd93611a12c7e3e026b3c8c09a3fed30e7a80a6864a9a7
+
+do_build() {
+	yarn install --ignore-scripts 
+	yarn dist 	
+	yarn build linux
+}
+
+do_install() {
+	vmkdir /usr/lib
+	vcopy dist /usr/lib/${pkgname}
+	cat > electron-netease-cloud-music <<-EOF
+	#!/bin/sh
+	exec electron${_electron_ver} /usr/lib/${pkgname}.asar "\$@"
+	EOF
+	vbin electron-netease-cloud-music
+	vinstall "${FILESDIR}/electron-netease-cloud-music.desktop" 644 usr/share/applications
+	vinstall "assets/icons/icon.png" 644 usr/share/icons/hicolor/scalable/apps
+	vlicense LICENSE
+	vinstall "build/Electron NCM-linux-x64/resources/app.asar" 644 /usr/lib ${pkgname}.asar
+}

From 2f28008e1edf13fde21572de3d8997194571bcfb Mon Sep 17 00:00:00 2001
From: xiarenfan <117075325+xiarenfan@users.noreply.github.com>
Date: Fri, 3 Feb 2023 20:40:18 +0800
Subject: [PATCH 2/2] Create electron-netease-cloud-music.desktop

---
 .../files/electron-netease-cloud-music.desktop        | 11 +++++++++++
 1 file changed, 11 insertions(+)
 create mode 100644 srcpkgs/electron-netease-cloud-music/files/electron-netease-cloud-music.desktop

diff --git a/srcpkgs/electron-netease-cloud-music/files/electron-netease-cloud-music.desktop b/srcpkgs/electron-netease-cloud-music/files/electron-netease-cloud-music.desktop
new file mode 100644
index 000000000000..392e90fb8444
--- /dev/null
+++ b/srcpkgs/electron-netease-cloud-music/files/electron-netease-cloud-music.desktop
@@ -0,0 +1,11 @@
+[Desktop Entry]
+Type=Application
+Name=ElectronNCM
+Name[zh_CN]=ElectronNCM
+Name[zh_TW]=ElectronNCM
+Comment=UNOFFICIAL client for music.163.com
+Comment[zh_CN]=网易云音乐非官方客户端
+Comment[zh_TW]=網易雲音樂非官方用戶端
+Icon=electron-netease-cloud-music
+Exec=/usr/bin/electron-netease-cloud-music
+Categories=AudioVideo;Player;

             reply	other threads:[~2023-02-03 12:52 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-02-03 12:52 xiarenfan [this message]
2023-02-08 18:27 ` abenson
2023-02-10 12:46 ` [PR PATCH] [Closed]: " xiarenfan

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-42053@inbox.vuxu.org \
    --to=xiarenfan@users.noreply.github.com \
    --cc=ml@inbox.vuxu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).