mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-04-12 19:36:48 +02:00
56 lines
1.5 KiB
Text
56 lines
1.5 KiB
Text
# Contributor: Alex McGrath <amk@amk.ie>
|
|
# Maintainer: Patrycja Rosa <alpine@ptrcnull.me>
|
|
pkgname=sublime-music
|
|
pkgver=0.12.0
|
|
pkgrel=1
|
|
pkgdesc="A native, GTK3 Subsonic client for the Linux Desktop"
|
|
url="https://sublimemusic.app"
|
|
# s390x, ppc64le: py3-mpv doesnt work on these
|
|
arch="all !s390x !ppc64le"
|
|
options="!check" # tests fail
|
|
license="GPL-3.0-or-later"
|
|
depends="
|
|
libnotify
|
|
py3-bleach
|
|
py3-bottle
|
|
py3-dataclasses-json
|
|
py3-dateutil
|
|
py3-deepdiff
|
|
py3-fuzzywuzzy
|
|
py3-gobject3
|
|
py3-keyring
|
|
py3-mpv
|
|
py3-packaging
|
|
py3-peewee
|
|
py3-pychromecast
|
|
py3-requests
|
|
py3-semver
|
|
py3-thefuzz
|
|
python3
|
|
"
|
|
makedepends="py3-gpep517 py3-installer py3-flit-core py3-wheel"
|
|
subpackages="$pkgname-pyc"
|
|
source="https://github.com/sublime-music/sublime-music/archive/refs/tags/v$pkgver/sublime-music-v$pkgver.tar.gz
|
|
fix-python3.11.patch
|
|
"
|
|
|
|
build() {
|
|
gpep517 build-wheel \
|
|
--wheel-dir .dist \
|
|
--output-fd 3 3>&1 >&2
|
|
}
|
|
|
|
package() {
|
|
python3 -m installer -d "$pkgdir" --compile-bytecode 0 \
|
|
.dist/sublime_music-$pkgver-py3-none-any.whl
|
|
|
|
install -Dm644 "$builddir"/sublime-music.desktop \
|
|
-t "$pkgdir"/usr/share/applications
|
|
install -Dm644 "$builddir"/logo/icon.svg \
|
|
"$pkgdir"/usr/share/icons/hicolor/scalable/apps/sublime-music.svg
|
|
}
|
|
|
|
sha512sums="
|
|
2549b08c636d8fcf9911f19f0e6566964c79b61621bcbe9b4e31efed0cb40462c6e9b1b458d3dffb8d952003828c57f2d705b1bf37b53843a011ab24d6ef8d74 sublime-music-v0.12.0.tar.gz
|
|
b256fbcc779e876ecbcd6f4ed91be3249f856db100dcb6b06960b6e06384c184ceccfd03492dcee420be67946d4bcf0ae67ba72976e3ad5b7016af08b6cad578 fix-python3.11.patch
|
|
"
|