makedeb


netease-cloud-music-patched 1.2.1-8


Patched official Netease Cloud Music, re-ported from AUR

Click here to go back to the commit logs for netease-cloud-music-patched.

Commit:


Hash: abc7060364026a4323089c8b2fe0e5ee8d2b2f6f

Message: Port Back to Debian

Diff


diff --git a/PKGBUILD b/PKGBUILD
index 25599e4..bbfd1eb 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,16 +1,18 @@
-# Maintainer: kXuan <kxuanobj at gmail dot com>
-# Contribuor: Peter Cai <peter at typeblog dot net>
+# Maintainer: Doxxed By-MlgmXyysd <standwithtsaiporn at mail dot ru>
+# Contributor: kXuan <kxuanobj at gmail dot com>
+# Contributor: Peter Cai <peter at typeblog dot net>
 
-pkgname=netease-cloud-music
+pkgname=netease-cloud-music-patched
 pkgver=1.2.1
 _pkgdate=20190428
 pkgrel=8
-pkgdesc="Netease Cloud Music, converted from .deb package"
-arch=("x86_64")
+pkgdesc="Patched official Netease Cloud Music, re-ported from AUR"
+arch=("amd64")
 url="https://music.163.com/"
 license=('custom')
-depends=('gtk2' 'gtk3' 'vlc')
-makedepends=(gcc)
+depends=('libgtk2.0-0' 'vlc')
+# I do not know what gtk2 and gtk3 do or are contained by for Debian, so it should be deleted somehow.
+makedepends=('gcc' 'libvlc-dev' 'libvlccore-dev')
 source=(
 	"https://d1.music.126.net/dmusic/netease-cloud-music_${pkgver}_amd64_ubuntu_${_pkgdate}.deb"
 	"https://music.163.com/html/web2/service.html"
@@ -31,6 +33,9 @@ build() {
   cc -O2 -fPIC -shared -I /usr/include/vlc/plugins/ -o libnetease-patch.so patch.c
 }
 
+# It works for now, but would be deprecated since taglib was updated to version 2 and NCM did NOT support it.
+# Thank to kXuan's work!
+
 package() {
   cd ${srcdir}
   tar -xf data.tar.xz -C ${pkgdir} --exclude-from=exclude.list
diff --git a/README.md b/README.md
deleted file mode 100644
index 4e9aa8c..0000000
--- a/README.md
+++ /dev/null
@@ -1,17 +0,0 @@
-# aur-netease-cloud-music
-
-网易云音乐Linux版(For ArchLinux)。
-
-# 主要改动
-
-* 修复部分功能异常。(不能播放超清音频,fcitx无法更新等)
-* 尽可能使用系统提供的新的动态库,以修复部分CVE漏洞。
-
-# 反馈
-
-欢迎使用GitHub的Issues提交使用过程中遇到的BUG。
-
-但请注意,由于没有网易云音乐的源代码,所以我无法保证所有BUG都能被修复。只能尽力而为。
-
-# License
-BSD-3-Clause
diff --git a/README_AUR_orig.md b/README_AUR_orig.md
new file mode 100644
index 0000000..4e9aa8c
--- /dev/null
+++ b/README_AUR_orig.md
@@ -0,0 +1,17 @@
+# aur-netease-cloud-music
+
+网易云音乐Linux版(For ArchLinux)。
+
+# 主要改动
+
+* 修复部分功能异常。(不能播放超清音频,fcitx无法更新等)
+* 尽可能使用系统提供的新的动态库,以修复部分CVE漏洞。
+
+# 反馈
+
+欢迎使用GitHub的Issues提交使用过程中遇到的BUG。
+
+但请注意,由于没有网易云音乐的源代码,所以我无法保证所有BUG都能被修复。只能尽力而为。
+
+# License
+BSD-3-Clause