Date: Wednesday, April 8, 2015 @ 18:39:34 Author: svenstaro Revision: 130935
archrelease: copy trunk to community-any Added: mopidy/repos/community-any/PKGBUILD (from rev 130934, mopidy/trunk/PKGBUILD) mopidy/repos/community-any/mopidy.install (from rev 130934, mopidy/trunk/mopidy.install) Deleted: mopidy/repos/community-any/PKGBUILD mopidy/repos/community-any/mopidy.install ----------------+ PKGBUILD | 127 ++++++++++++++++++++++++++++--------------------------- mopidy.install | 8 +-- 2 files changed, 69 insertions(+), 66 deletions(-) Deleted: PKGBUILD =================================================================== --- PKGBUILD 2015-04-08 16:39:30 UTC (rev 130934) +++ PKGBUILD 2015-04-08 16:39:34 UTC (rev 130935) @@ -1,62 +0,0 @@ -# Maintainer: Sven-Hendrik Haase <s...@lutzhaase.com> -# Contributor: Alexandre Petitjean <alpetitjean at gmail dot com> - -pkgname=mopidy -pkgver=1.0.0 -pkgrel=1 -pkgdesc="Mopidy is a music server which can play music both from multiple sources, like your local hard drive, radio streams, and from Spotify and SoundCloud." -arch=('any') -url="http://www.mopidy.com" -license=('APACHE') -depends=('python2' - 'python2-pykka>=1.1' - 'python2-setuptools' - 'gstreamer0.10-python' - 'gstreamer0.10-base-plugins' - 'gstreamer0.10-good-plugins' - 'gstreamer0.10-ugly-plugins' - 'python2-tornado>=2.3') -optdepends=('mopidy-spotify: Spotify backend' - 'mopidy-scrobbler: Last.FM scrobbler' - 'mopidy-MPRIS: MPRIS frontend' - 'mopidy-alsamixer: ALSA volume control') -makedepends=('python2-sphinx') -backup=('etc/mopidy/mopidy.conf') -install=$pkgname.install -source=("https://github.com/mopidy/mopidy/archive/v${pkgver}.tar.gz" - 'mopidy.install') -md5sums=('f2c01fb8fcd1c0bd509344a9f2f72fc1' - 'bd513aa0e4e83c117340a55f53215cf2') - -build() { - cd "${srcdir}/${pkgname}-${pkgver}" - - make -C docs SPHINXBUILD=sphinx-build2 man - make -C docs SPHINXBUILD=sphinx-build2 html -} - -package() { - cd "${srcdir}/${pkgname}-${pkgver}" - python2 setup.py install --root="${pkgdir}/" --optimize=1 - - install -dm644 "${pkgdir}/usr/share/man/man1/" - gzip -c docs/_build/man/mopidy.1 > "${pkgdir}/usr/share/man/man1/mopidy.1.gz" - - install -Dm640 "mopidy/config/default.conf" "${pkgdir}/etc/mopidy/mopidy.conf" - sed -i "s|debug_file.*|debug_file = /var/log/mopidy/mopidy.log|" "${pkgdir}/etc/mopidy/mopidy.conf" - - install -Dm644 "extra/systemd/mopidy.service" "${pkgdir}/usr/lib/systemd/system/mopidy.service" - install -Dm644 "extra/desktop/mopidy.desktop" "${pkgdir}/usr/share/applications/mopidy.desktop" - - install -dm755 "${pkgdir}/etc/mopidy/extensions.d" - - install -dm755 -g 46 -o 46 "${pkgdir}/var/cache/mopidy" - install -dm755 -g 46 -o 46 "${pkgdir}/var/log/mopidy" - install -dm755 -g 46 -o 46 "${pkgdir}/var/lib/mopidy/local" - install -dm755 -g 46 -o 46 "${pkgdir}/var/lib/mopidy/media" - install -dm755 -g 46 -o 46 "${pkgdir}/var/lib/mopidy/playlists" - - install -Dm644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE" -} - -# vim:set ts=2 sw=2 et: Copied: mopidy/repos/community-any/PKGBUILD (from rev 130934, mopidy/trunk/PKGBUILD) =================================================================== --- PKGBUILD (rev 0) +++ PKGBUILD 2015-04-08 16:39:34 UTC (rev 130935) @@ -0,0 +1,65 @@ +# Maintainer: Sven-Hendrik Haase <s...@lutzhaase.com> +# Contributor: Alexandre Petitjean <alpetitjean at gmail dot com> + +pkgname=mopidy +pkgver=1.0.0 +pkgrel=2 +pkgdesc="Mopidy is a music server which can play music both from multiple sources, like your local hard drive, radio streams, and from Spotify and SoundCloud." +arch=('any') +url="http://www.mopidy.com" +license=('APACHE') +depends=('python2' + 'python2-pykka>=1.1' + 'python2-setuptools' + 'gstreamer0.10-python' + 'gstreamer0.10-base-plugins' + 'gstreamer0.10-good-plugins' + 'gstreamer0.10-ugly-plugins' + 'python2-tornado>=2.3') +optdepends=('mopidy-spotify: Spotify backend' + 'mopidy-scrobbler: Last.FM scrobbler' + 'mopidy-MPRIS: MPRIS frontend' + 'mopidy-alsamixer: ALSA volume control') +makedepends=('python2-sphinx') +backup=('etc/mopidy/mopidy.conf') +install=$pkgname.install +source=("https://github.com/mopidy/mopidy/archive/v${pkgver}.tar.gz" + 'mopidy.install') +md5sums=('f2c01fb8fcd1c0bd509344a9f2f72fc1' + 'bd513aa0e4e83c117340a55f53215cf2') + +build() { + cd "${srcdir}/${pkgname}-${pkgver}" + + make -C docs SPHINXBUILD=sphinx-build2 man + make -C docs SPHINXBUILD=sphinx-build2 html +} + +package() { + cd "${srcdir}/${pkgname}-${pkgver}" + python2 setup.py install --root="${pkgdir}/" --optimize=1 + + install -dm644 "${pkgdir}/usr/share/doc/mopidy" + cp -r docs/_build/html "${pkgdir}/usr/share/doc/mopidy" + + install -dm644 "${pkgdir}/usr/share/man/man1/" + gzip -c docs/_build/man/mopidy.1 > "${pkgdir}/usr/share/man/man1/mopidy.1.gz" + + install -Dm640 "mopidy/config/default.conf" "${pkgdir}/etc/mopidy/mopidy.conf" + sed -i "s|debug_file.*|debug_file = /var/log/mopidy/mopidy.log|" "${pkgdir}/etc/mopidy/mopidy.conf" + + install -Dm644 "extra/systemd/mopidy.service" "${pkgdir}/usr/lib/systemd/system/mopidy.service" + install -Dm644 "extra/desktop/mopidy.desktop" "${pkgdir}/usr/share/applications/mopidy.desktop" + + install -dm755 "${pkgdir}/etc/mopidy/extensions.d" + + install -dm755 -g 46 -o 46 "${pkgdir}/var/cache/mopidy" + install -dm755 -g 46 -o 46 "${pkgdir}/var/log/mopidy" + install -dm755 -g 46 -o 46 "${pkgdir}/var/lib/mopidy/local" + install -dm755 -g 46 -o 46 "${pkgdir}/var/lib/mopidy/media" + install -dm755 -g 46 -o 46 "${pkgdir}/var/lib/mopidy/playlists" + + install -Dm644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE" +} + +# vim:set ts=2 sw=2 et: Deleted: mopidy.install =================================================================== --- mopidy.install 2015-04-08 16:39:30 UTC (rev 130934) +++ mopidy.install 2015-04-08 16:39:34 UTC (rev 130935) @@ -1,4 +0,0 @@ -post_install() { - getent group mopidy &>/dev/null || groupadd -r mopidy >/dev/null - getent passwd mopidy &>/dev/null || useradd -r -d /var/lib/mopidy -s /bin/false -g mopidy -G audio mopidy >/dev/null -} Copied: mopidy/repos/community-any/mopidy.install (from rev 130934, mopidy/trunk/mopidy.install) =================================================================== --- mopidy.install (rev 0) +++ mopidy.install 2015-04-08 16:39:34 UTC (rev 130935) @@ -0,0 +1,4 @@ +post_install() { + getent group mopidy &>/dev/null || groupadd -r mopidy >/dev/null + getent passwd mopidy &>/dev/null || useradd -r -d /var/lib/mopidy -s /bin/false -g mopidy -G audio mopidy >/dev/null +}