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: a30b42f0aff5eff17bf297c943ffbce4c05df97a

Message: Add missing dependencies and conflict

Diff


diff --git a/PKGBUILD b/PKGBUILD
index bbfd1eb..873533f 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -10,9 +10,11 @@ pkgdesc="Patched official Netease Cloud Music, re-ported from AUR"
 arch=("amd64")
 url="https://music.163.com/"
 license=('custom')
-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.
+depends=('libc6' 'libfontconfig1' 'libfreetype6' 'libgcc1' 'libglib2.0-0' 'libstdc++6' 'libtag1v5' 'libxext6' 'zlib1g' 'vlc')
+# Copied from Deepin version of NCM
+# I still want to ask why it depends on gtk2 and gtk3.
 makedepends=('gcc' 'libvlc-dev' 'libvlccore-dev')
+conflicts=('netease-cloud-music')
 source=(
 	"https://d1.music.126.net/dmusic/netease-cloud-music_${pkgver}_amd64_ubuntu_${_pkgdate}.deb"
 	"https://music.163.com/html/web2/service.html"