Github messages for voidlinux
 help / color / mirror / Atom feed
* [PR PATCH] New Package: electron-netease-cloud-music 0.9.36
@ 2023-02-03 12:52 xiarenfan
  2023-02-08 18:27 ` abenson
  2023-02-10 12:46 ` [PR PATCH] [Closed]: " xiarenfan
  0 siblings, 2 replies; 3+ messages in thread
From: xiarenfan @ 2023-02-03 12:52 UTC (permalink / raw)
  To: ml

[-- 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;

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: New Package: electron-netease-cloud-music 0.9.36
  2023-02-03 12:52 [PR PATCH] New Package: electron-netease-cloud-music 0.9.36 xiarenfan
@ 2023-02-08 18:27 ` abenson
  2023-02-10 12:46 ` [PR PATCH] [Closed]: " xiarenfan
  1 sibling, 0 replies; 3+ messages in thread
From: abenson @ 2023-02-08 18:27 UTC (permalink / raw)
  To: ml

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

New comment by abenson on void-packages repository

https://github.com/void-linux/void-packages/pull/42053#issuecomment-1423060345

Comment:
Please squash the commits and follow the commit message guidelines in CONTRIBUTING.md.

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PR PATCH] [Closed]: New Package: electron-netease-cloud-music 0.9.36
  2023-02-03 12:52 [PR PATCH] New Package: electron-netease-cloud-music 0.9.36 xiarenfan
  2023-02-08 18:27 ` abenson
@ 2023-02-10 12:46 ` xiarenfan
  1 sibling, 0 replies; 3+ messages in thread
From: xiarenfan @ 2023-02-10 12:46 UTC (permalink / raw)
  To: ml

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

There's a closed pull request on the void-packages repository

New Package: electron-netease-cloud-music 0.9.36
https://github.com/void-linux/void-packages/pull/42053

Description:
#### 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)



^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2023-02-10 12:46 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-02-03 12:52 [PR PATCH] New Package: electron-netease-cloud-music 0.9.36 xiarenfan
2023-02-08 18:27 ` abenson
2023-02-10 12:46 ` [PR PATCH] [Closed]: " xiarenfan

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).