2015-06-26 04:19:44 +00:00
|
|
|
# Maintainer: Adrian Sampson <adrian@radbox.org>
|
|
|
|
# Contributor: Johannes Löthberg <demizide@gmail.com>
|
|
|
|
|
|
|
|
pkgname=beets-git
|
2021-01-12 18:01:37 +00:00
|
|
|
pkgver=1.4.9.r1031.gcbc045f1
|
2015-06-26 04:19:44 +00:00
|
|
|
pkgrel=1
|
|
|
|
pkgdesc="Flexible music library manager and tagger - git version"
|
|
|
|
arch=('any')
|
2016-07-27 17:38:42 +00:00
|
|
|
url="http://beets.io/"
|
2015-06-26 04:19:44 +00:00
|
|
|
license=('MIT')
|
2019-06-01 19:19:42 +00:00
|
|
|
depends=('python-six' 'python-unidecode' 'python-musicbrainzngs'
|
|
|
|
'python-yaml' 'python-mediafile' 'python-confuse'
|
|
|
|
'python-munkres' 'python-jellyfish')
|
2021-01-13 17:25:30 +00:00
|
|
|
makedepends=('python-setuptools' 'git' 'pyhon-sphinx')
|
2019-06-01 19:19:42 +00:00
|
|
|
optdepends=('python-requests: absubmit, fetchart, embyupdate, kodiupdate, lyrics, plexupdate plugins'
|
|
|
|
'python-pillow: fetchart, embedart, thumbnails plugins'
|
|
|
|
'python-pyacoustid: chroma plugin'
|
|
|
|
'python-gobject: bpd, replaygain plugins'
|
|
|
|
'python-gmusicapi: gmusic plugin'
|
|
|
|
'python-discogs-client: discogs plugin'
|
|
|
|
'python-requests-oauthlib: beatport plugin'
|
|
|
|
'python-pylast: lastgenre, lastimport plugins'
|
|
|
|
'python-beautifulsoup4: lyrics plugin'
|
|
|
|
'python-mpd2: mpdstats plugin'
|
|
|
|
'python-flask: web plugin'
|
|
|
|
'python-flask-cors: web plugin'
|
|
|
|
'python-rarfile: import plugin'
|
|
|
|
'python-xdg: thumbnails plugin'
|
|
|
|
'python-dbus: metasync plugin'
|
|
|
|
'python-soco: sonosupdate plugin'
|
|
|
|
'python-mutagen: scrub plugin'
|
|
|
|
'chromaprint: chroma plugin'
|
|
|
|
'ffmpeg: convert plugin'
|
|
|
|
'mp3val: badfiles plugin'
|
|
|
|
'flac: badfiles plugin'
|
|
|
|
'gstreamer: bpd, replaygain plugins'
|
|
|
|
'imagemagick: embedart plugin'
|
|
|
|
'essentia-acousticbrainz: absubmit plugin'
|
|
|
|
'keyfinder: keyfinder plugin'
|
|
|
|
'mp3gain: replaygain plugin'
|
|
|
|
'aacgain: replaygain plugin'
|
|
|
|
'audiotools: replaygain plugin'
|
|
|
|
'go-ipfs: ipfs plugin')
|
2020-10-10 11:36:12 +00:00
|
|
|
provides=("beets=$pkgver")
|
2015-06-26 04:19:44 +00:00
|
|
|
conflicts=('beets')
|
2017-01-10 11:36:02 +00:00
|
|
|
source=('git+https://github.com/beetbox/beets.git')
|
2015-06-26 04:19:44 +00:00
|
|
|
md5sums=('SKIP')
|
|
|
|
|
|
|
|
pkgver() {
|
|
|
|
cd ${srcdir}/beets
|
|
|
|
git describe --long --tags | sed -r 's/^v//;s/([^-]*-g)/r\1/;s/-/./g'
|
|
|
|
}
|
|
|
|
|
|
|
|
build() {
|
|
|
|
cd ${srcdir}/beets
|
2021-01-12 19:17:03 +00:00
|
|
|
python setup.py build sdist
|
2015-06-26 04:19:44 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
package() {
|
|
|
|
cd ${srcdir}/beets
|
2017-01-11 12:45:03 +00:00
|
|
|
python setup.py install --root=${pkgdir} --optimize=1 --skip-build
|
2021-01-12 18:01:37 +00:00
|
|
|
install -dm 755 "${pkgdir}"/usr/share/zsh/site-functions
|
|
|
|
install -m 644 extra/_beet "${pkgdir}"/usr/share/zsh/site-functions/
|
2015-06-26 04:19:44 +00:00
|
|
|
install -D -m644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
|
2021-01-12 19:17:03 +00:00
|
|
|
install -dm 755 "${pkgdir}"/usr/share/man/man{1,5}
|
|
|
|
install -m 644 man/beet.1 "${pkgdir}"/usr/share/man/man1/
|
|
|
|
install -m 644 man/beetsconfig.5 "${pkgdir}"/usr/share/man/man5/
|
2019-06-01 19:19:42 +00:00
|
|
|
}
|