aboutsummaryrefslogtreecommitdiffstats
path: root/unmaintained
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2016-09-15 17:37:24 +0200
committerNatanael Copa <ncopa@alpinelinux.org>2016-09-15 17:38:31 +0200
commitbd4c5a0a4b7895beabd550b66b9f34c503d73c15 (patch)
tree8591567c8420d3ccbfb387c883277d41d61c3f3b /unmaintained
parent890a3eb97d0a1620e7a4a44c1b4b12d4b130ede2 (diff)
downloadaports-bd4c5a0a4b7895beabd550b66b9f34c503d73c15.tar.bz2
aports-bd4c5a0a4b7895beabd550b66b9f34c503d73c15.tar.xz
testing/mopidy: move to unmaintained
Diffstat (limited to 'unmaintained')
-rw-r--r--unmaintained/mopidy/APKBUILD55
-rw-r--r--unmaintained/mopidy/mopidy.conf8
2 files changed, 63 insertions, 0 deletions
diff --git a/unmaintained/mopidy/APKBUILD b/unmaintained/mopidy/APKBUILD
new file mode 100644
index 0000000000..acd5a4f2c4
--- /dev/null
+++ b/unmaintained/mopidy/APKBUILD
@@ -0,0 +1,55 @@
+# Contributor: Ɓukasz Jendrysik <scadu@yandex.com>
+# Contributor: Carlo Landmeter <clandmeter@gmail.com>
+# Maintainer:
+pkgname=mopidy
+_pkgname=Mopidy
+pkgver=1.1.2
+pkgrel=0
+pkgdesc="Mopidy is an extensible music server"
+url="http://www.mopidy.com/"
+arch="noarch"
+license="ASL 2.0"
+depends="python py-pykka py-tornado gst-plugins-base0.10 gst-plugins-good0.10
+ gst-plugins-ugly0.10 py-gst0.10 py-setuptools py-libxml2"
+depends_dev=""
+makedepends="python-dev"
+install=""
+subpackages=""
+source="https://files.pythonhosted.org/packages/source/${_pkgname:0:1}/$_pkgname/$_pkgname-$pkgver.tar.gz
+ mopidy.conf"
+
+_builddir="$srcdir"/$_pkgname-$pkgver
+prepare() {
+ local i
+ cd "$_builddir"
+ for i in $source; do
+ case $i in
+ *.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;;
+ esac
+ done
+}
+
+build() {
+ cd "$_builddir"
+ python setup.py build || return 1
+}
+
+package() {
+ cd "$_builddir"
+ python setup.py install --prefix=/usr --root="$pkgdir" || return 1
+ install -Dm640 "${srcdir}/mopidy.conf" \
+ "${pkgdir}/etc/mopidy/mopidy.conf" || return 1
+ install -dm755 "${pkgdir}/etc/mopidy/extensions.d"
+ install -dm755 "${pkgdir}/var/cache/mopidy"
+ install -dm755 "${pkgdir}/var/log/mopidy"
+ install -dm755 "${pkgdir}/var/lib/mopidy/local"
+ install -dm755 "${pkgdir}/var/lib/mopidy/media"
+ install -dm755 "${pkgdir}/var/lib/mopidy/playlists"
+}
+
+md5sums="d0502ed74efb53f1bbf1946272091520 Mopidy-1.1.2.tar.gz
+f198485317cd1f481b9b9a369e122833 mopidy.conf"
+sha256sums="474089ee563ff1fe96e5bcad37a731dd3207cbf0fdea952d5b805f464a2b0bc8 Mopidy-1.1.2.tar.gz
+3c2a00efb9784ed639bb84f6b07a127573d5a6d08d47983867f2b73ee3398de8 mopidy.conf"
+sha512sums="1795104465e2e8ec46815d1e129f477f59f4d29d62c8a9fd501ccb65a2574dcdefffbec93dcacbf55cc5c9c39ef774e0f69d3fb0d1b9b1f67012816537f2a573 Mopidy-1.1.2.tar.gz
+593f872d072b32d3da92b8e60ad486c9ca6fa68eae5235e7724f3837d1fa4627694b5ebc8aaacedfba22c701e558e1d60b2f9c97139621a0eead3319446fe300 mopidy.conf"
diff --git a/unmaintained/mopidy/mopidy.conf b/unmaintained/mopidy/mopidy.conf
new file mode 100644
index 0000000000..95b8b423ac
--- /dev/null
+++ b/unmaintained/mopidy/mopidy.conf
@@ -0,0 +1,8 @@
+[logging]
+debug_file = /var/log/mopidy/mopidy-debug.log
+
+[local]
+enabled = true
+data_dir = /var/lib/mopidy/local
+media_dir = /var/lib/mopidy/media
+playlists_dir = /var/lib/mopidy/playlists