Skip to content

Commit

Permalink
发布 1.0 版本
Browse files Browse the repository at this point in the history
  • Loading branch information
gmg137 committed Feb 13, 2020
1 parent 7121ddd commit f95dbec
Show file tree
Hide file tree
Showing 4 changed files with 32 additions and 27 deletions.
1 change: 0 additions & 1 deletion .rpm/netease-cloud-music-gtk.spec
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@ Source0: %{name}-%{version}.tar.gz

BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root

BuildRequires: libopenssl-devel
BuildRequires: gstreamer-devel
BuildRequires: gstreamer-plugins-bad-devel
BuildRequires: gstreamer-plugins-base-devel
Expand Down
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
[package]
name = "netease-cloud-music-gtk"
description = "Linux 平台下基于 Rust + GTK 开发的网易云音乐播放器"
version = "0.8.1"
version = "1.0.0"
authors = ["gmg137 <[email protected]>"]
license = "GPL-v3"
edition = "2018"
Expand Down
54 changes: 30 additions & 24 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,29 +1,34 @@
## netease-cloud-music-gtk
> netease-cloud-music-gtk 是基于 Rust + GTK 开发的网易云音乐播放器,计划只支持 Linux 系统,已在 openSUSE Tumbleweed + GNOME 环境下测试。
# netease-cloud-music-gtk
[![Actions Status](https://github.com/gmg137/netease-cloud-music-gtk/workflows/CI/badge.svg)](https://github.com/gmg137/netease-cloud-music-gtk/actions)
> netease-cloud-music-gtk 是基于 Rust + GTK 开发的网易云音乐播放器,专为 Linux 系统打造,已在 openSUSE Tumbleweed + GNOME 环境下测试。
### 特点
- 极速:相比 Node/python 版,Rust 速度可谓一骑绝尘
- 稳定:除了网速或网易 API 限制,基本不会出现运行问题
- 简洁:仿 GNOME Music 风格,GTK 原生界面,纯粹得令人发指
- 简单:极小的编译与运行依赖
## 特点
- 稳定:专为 Linux 系统打造,相比官方版本拥有更好的兼容与稳定性。
- 极速:相比 Node/python 版,Rust + GTK 带给你如丝般的顺滑体验。
- 可靠:除了断网或网易 API 限制,不会出现运行时问题。
- 简洁:仿 GNOME Music 风格,GTK 原生界面,纯粹得令人发指。
- 轻量:安装文件不到 2 M,只需最简单的运行时依赖。

### 功能
## 功能
- 网易邮箱/手机账号登录
- 个人歌单
- 私人歌单管理
- 个性推荐
- 私人 FM
- 排行榜
- 音乐云盘
- 热门排行榜
- 歌曲搜索
- 歌词(依赖于 OSDLyrics)
- 热门歌单(8个)
- 推荐歌单(4个)
- 简易歌词
- 桌面歌词(依赖于 ![OSDLyrics](https://github.com/osdlyrics/osdlyrics))
- 热门歌单
- 新碟上架

### 运行依赖
## 运行依赖
> openssl, curl, gstreamer, gstreamer-plugins-base, gstreamer-plugins-good, gstreamer-plugins-bad, gstreamer-plugins-ugly
### 安装
- 直接下载 RPM 包安装或解压 tar.xz 包手动复制到相应目录
## 安装
- 直接到 ![Release](https://github.com/gmg137/netease-cloud-music-gtk/releases) 页面下载 RPM/DEB 包安装。

### 从源码编译/打包
## 从源码编译/打包
```
// openSUSE 安装依赖
sudo zypper in git gcc curl dbus-1-devel gtk3-devel libopenssl-1_1-devel gstreamer-devel \
Expand All @@ -37,14 +42,16 @@ sudo apt install git gcc libdbus-1-dev libgstreamer1.0-dev libgstreamer-plugins-
gstreamer1.0-plugins-base gstreamer1.0-plugins-good \
gstreamer1.0-plugins-bad gstreamer1.0-plugins-ugly \
gstreamer1.0-libav libgtk-3-dev libatk1.0-dev libcogl-pango-dev \
libssl-dev libcairo2-dev libgstreamer-plugins-bad1.0-dev
libssl-dev libcairo2-dev libgstreamer-plugins-bad1.0-dev
```
```
git clone https://github.com/gmg137/netease-cloud-music-gtk.git
cd netease-cloud-music-gtk
// 编译
cargo build --release
// 编译指定 gtk 版本(Leap 15.1 / Ubuntu 18.04)
cargo build --release --no-default-features --features gtk_3_18
// 打包 rpm
cargo install cargo-rpm
Expand All @@ -55,13 +62,12 @@ cargo install cargo-deb
cargo deb
```

### 截图
![2019-04-11 17-18-01 的屏幕截图](https://user-images.githubusercontent.com/6460323/55945759-01f55200-5c7e-11e9-9a91-606a4656555e.png)
![2019-04-11 17-18-22 的屏幕截图](https://user-images.githubusercontent.com/6460323/55945765-04f04280-5c7e-11e9-9f38-242524aedd66.png)
![2019-04-11 17-18-44 的屏幕截图](https://user-images.githubusercontent.com/6460323/55945774-07529c80-5c7e-11e9-9dbd-eefa9e387096.png)
## 截图
![home](https://user-images.githubusercontent.com/6460323/74423902-fa996900-4e8b-11ea-915f-a4ec40bd2982.jpg)
![found](https://user-images.githubusercontent.com/6460323/74421939-c8d2d300-4e88-11ea-9b93-962ae80f5a11.png)
![mine](https://user-images.githubusercontent.com/6460323/74424004-29afda80-4e8c-11ea-9c16-af3f25525c9c.jpeg)


### 参考
## 参考
- [podcasts](https://gitlab.gnome.org/World/podcasts)
- [gnome-music](https://gitlab.gnome.org/GNOME/gnome-music)
- [musicbox](https://github.com/darknessomi/musicbox)
2 changes: 1 addition & 1 deletion netease-cloud-music-gtk.desktop
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[Desktop Entry]
Version=0.8.1
Version=1.0.0
Type=Application
Name=NetEase Cloud Music
Name[zh_CN]=网易云音乐
Expand Down

0 comments on commit f95dbec

Please sign in to comment.