summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorlilac2019-03-24 03:15:25 +0800
committerlilac2019-03-24 03:15:25 +0800
commit5582295a58a9b1e94a53011f436f5d79ba28d341 (patch)
tree25cde0469981342bf26dcaec76cf559279820a50
parent889021d115f0d85a8fdf0163b81bf0019ad88b3d (diff)
downloadaur-5582295a58a9b1e94a53011f436f5d79ba28d341.tar.gz
update by lilac
-rw-r--r--.SRCINFO26
-rw-r--r--PKGBUILD38
-rw-r--r--feeluown.desktop9
3 files changed, 51 insertions, 22 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 906ca97908d..b9448146230 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,17 +1,27 @@
pkgbase = feeluown
- pkgdesc = 一个符合 Unix 哲学的跨平台的音乐播放器
- pkgver = 2.3
- pkgrel = 1
+ pkgdesc = FeelUOwn Music Player
+ pkgver = 3.0a5
+ pkgrel = 2
url = https://github.com/cosven/FeelUOwn
- install = feeluown.install
arch = any
license = GPL3
makedepends = python-setuptools
- depends = python-quamash>=0.5.5
- depends = python-fuocore
+ makedepends = python-pip
+ depends = python-quamash
depends = python-pyqt5
- source = https://files.pythonhosted.org/packages/source/f/feeluown/feeluown-2.3.tar.gz
- sha256sums = 846f6919c1d3a4acfa5ccd5b645bead6515a67ba42aa3d41e04eef6c6b924fb5
+ depends = mpv
+ depends = python-beautifulsoup4
+ depends = python-marshmallow
+ depends = python-pycryptodome
+ depends = python-requests
+ depends = python-mutagen
+ depends = python-fuzzywuzzy
+ depends = python-opengl
+ depends = python-janus
+ source = https://files.pythonhosted.org/packages/source/f/feeluown/feeluown-3.0a5.tar.gz
+ source = feeluown.desktop
+ sha256sums = 00cefd9ef77bb89af04126b91263bf5b881a5b9f2e096ef8b6ee6371d5767c5f
+ sha256sums = 2b2716ee280c1eeba6d20227173e1325c64a4a3fcb200e038e7777de5cddaebb
pkgname = feeluown
diff --git a/PKGBUILD b/PKGBUILD
index a12007f4d2b..623adebd8c2 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,27 +1,37 @@
-# Contributor(s): xgdgsc <xgdgsc@gmail.com>
# Maintainer: Bruce Zhang <zttt183525594@gmail.com>
-
+_pkgname=feeluown
pkgname=feeluown
-pkgver=2.3
-pkgrel=1
-pkgpath='80/85/14910d675db89f13079f79ece4a237d563d4d50f71d38eae9762d3e65851'
-epoch=
-pkgdesc="一个符合 Unix 哲学的跨平台的音乐播放器"
+pkgver=3.0a5
+pkgrel=2
+pkgdesc="FeelUOwn Music Player"
arch=('any')
url="https://github.com/cosven/FeelUOwn"
license=('GPL3')
-depends=('python-quamash>=0.5.5' 'python-fuocore' 'python-pyqt5')
-makedepends=('python-setuptools')
-install=feeluown.install
-source=("https://files.pythonhosted.org/packages/source/f/feeluown/feeluown-${pkgver}.tar.gz")
-sha256sums=('846f6919c1d3a4acfa5ccd5b645bead6515a67ba42aa3d41e04eef6c6b924fb5')
+depends=('python-quamash' 'python-pyqt5' 'mpv' 'python-beautifulsoup4' 'python-marshmallow' 'python-pycryptodome' 'python-requests' 'python-mutagen' 'python-fuzzywuzzy' 'python-opengl' 'python-janus')
+makedepends=('python-setuptools' 'python-pip')
+_name=${pkgname#python-}
+source=(
+ "https://files.pythonhosted.org/packages/source/${_name::1}/${_name}/${_name}-${pkgver}.tar.gz"
+ "feeluown.desktop"
+)
+sha256sums=('00cefd9ef77bb89af04126b91263bf5b881a5b9f2e096ef8b6ee6371d5767c5f'
+ '2b2716ee280c1eeba6d20227173e1325c64a4a3fcb200e038e7777de5cddaebb')
build() {
cd "$pkgname-$pkgver"
- python setup.py build
+ LANG=en_US.UTF-8 python setup.py build
}
package() {
cd "$pkgname-$pkgver"
- python setup.py install --root="$pkgdir/" --optimize=1 --skip-build
+ LANG=en_US.UTF-8 python setup.py install --root="$pkgdir/" --optimize=1 --skip-build
+
+ # Install battery packages
+ PIP_CONFIG_FILE=/dev/null pip install --isolated --root="$pkgdir" --ignore-installed --no-deps fuo-local
+ PIP_CONFIG_FILE=/dev/null pip install --isolated --root="$pkgdir" --ignore-installed --no-deps fuo-xiami
+ PIP_CONFIG_FILE=/dev/null pip install --isolated --root="$pkgdir" --ignore-installed --no-deps fuo-netease
+ PIP_CONFIG_FILE=/dev/null pip install --isolated --root="$pkgdir" --ignore-installed --no-deps fuo-qqmusic
+
+ install -D -m644 "$srcdir/$pkgname-$pkgver/feeluown/feeluown.png" "$pkgdir/usr/share/icons/hicolor/512x512/apps/feeluown.png"
+ install -D -m644 "$srcdir/feeluown.desktop" "$pkgdir/usr/share/applications/feeluown.desktop"
}
diff --git a/feeluown.desktop b/feeluown.desktop
new file mode 100644
index 00000000000..2879a7b14b6
--- /dev/null
+++ b/feeluown.desktop
@@ -0,0 +1,9 @@
+[Desktop Entry]
+Type=Application
+Name=FeelUOwn
+Comment=FeelUOwn Launcher
+Exec=feeluown --log-to-file
+Icon=feeluown
+Categories=AudioVideo;Audio;Player;Qt;
+Terminal=false
+StartupNotify=true