makedeb
Patched official Netease Cloud Music, re-ported from AUR
Click here to go back to the commit logs for netease-cloud-music-patched.
Hash: d61f13b782ded4361ad4796d7ad4c7d1cb057cb5
Message: update to 1.1.0
diff --git a/.SRCINFO b/.SRCINFO
index eacf053..30dd512 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,6 +1,6 @@
pkgbase = netease-cloud-music
pkgdesc = Netease Cloud Music, converted from .deb package
- pkgver = 1.0.0_2
+ pkgver = 1.1.0
pkgrel = 1
url = http://music.163.com/
arch = x86_64
@@ -16,12 +16,27 @@ pkgbase = netease-cloud-music
depends = gst-plugins-good
depends = gst-plugins-ugly
depends = gnome-themes-standard
- source = http://s1.music.126.net/download/pc/netease-cloud-music_1.0.0-2_amd64_ubuntu16.04.deb
+ depends = gconf
+ depends = atk
+ depends = glibc
+ depends = cairo
+ depends = vlc
+ depends = fontconfig
+ depends = dbus
+ depends = cups
+ depends = expat
+ depends = gdk-pixbuf2
+ depends = glib2
+ depends = pango
+ depends = libpulse
+ depends = sqlite
+ depends = gcc-libs
+ depends = libx11
+ depends = zlib
+ source = http://d1.music.126.net/dmusic/netease-cloud-music_1.1.0_amd64_ubuntu.deb
source = http://music.163.com/html/web2/service.html
- source = netease-cloud-music
- md5sums = d9a6fa79ffcb654254a1d8b7ba5901a3
- md5sums = SKIP
- md5sums = 31a25ac517facc48762a6a9378a66f58
+ md5sums = a678960abf7b83ac89eb9a034a580e8a
+ md5sums = e671fac37a3a484a9f177a03c3217409
pkgname = netease-cloud-music
diff --git a/PKGBUILD b/PKGBUILD
index 28090e6..f7677e3 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,9 +1,9 @@
# Maintainer: Justin Wong <justin.w.xd at gmail dot com>
# Co-Maintainer: Peter Cai <peter at typeblog dot net>
-_distro="ubuntu16.04"
+_distro="ubuntu"
pkgname=netease-cloud-music
-pkgver=1.0.0_2
+pkgver=1.1.0
pkgrel=1
pkgdesc="Netease Cloud Music, converted from .deb package"
arch=("x86_64")
@@ -14,21 +14,21 @@ depends=(
"qt5-multimedia" "qt5-x11extras"
"gst-libav" "gst-plugins-base"
"gst-plugins-good" "gst-plugins-ugly"
- "gnome-themes-standard"
+ "gnome-themes-standard" "gconf" "atk"
+ "glibc" "cairo" "vlc" "fontconfig"
+ "dbus" "cups" "expat" "gdk-pixbuf2"
+ "glib2" "pango" "libpulse" "sqlite"
+ "gcc-libs" "libx11" "zlib"
)
source=(
- "http://s1.music.126.net/download/pc/${pkgname}_${pkgver/_/-}_amd64_${_distro}.deb"
+ "http://d1.music.126.net/dmusic/${pkgname}_${pkgver/_/-}_amd64_${_distro}.deb"
"http://music.163.com/html/web2/service.html"
- "netease-cloud-music"
)
-md5sums=('d9a6fa79ffcb654254a1d8b7ba5901a3'
- 'SKIP'
- '31a25ac517facc48762a6a9378a66f58')
+md5sums=('a678960abf7b83ac89eb9a034a580e8a'
+ 'e671fac37a3a484a9f177a03c3217409')
package() {
cd ${srcdir}
tar -xvf data.tar.xz -C ${pkgdir}
- chmod +x ${pkgdir}/usr/lib/netease-cloud-music/libcef.so
install -D -m644 service.html ${pkgdir}/usr/share/licenses/$pkgname/license.html
- install -m755 netease-cloud-music ${pkgdir}/usr/bin/netease-cloud-music
}
diff --git a/netease-cloud-music b/netease-cloud-music
deleted file mode 100755
index 1a7d158..0000000
--- a/netease-cloud-music
+++ /dev/null
@@ -1,3 +0,0 @@
-#!/bin/sh
-cd /usr/lib/netease-cloud-music
-/usr/lib/netease-cloud-music/netease-cloud-music $*