aboutsummaryrefslogtreecommitdiffstats
path: root/testing
diff options
context:
space:
mode:
Diffstat (limited to 'testing')
-rw-r--r--testing/mopidy/APKBUILD53
-rw-r--r--testing/mopidy/mopidy.conf8
-rw-r--r--testing/py-gstreamer0.10/APKBUILD51
3 files changed, 112 insertions, 0 deletions
diff --git a/testing/mopidy/APKBUILD b/testing/mopidy/APKBUILD
new file mode 100644
index 0000000000..23d6814d42
--- /dev/null
+++ b/testing/mopidy/APKBUILD
@@ -0,0 +1,53 @@
+# Contributor: Carlo Landmeter <clandmeter@gmail.com>
+# Maintainer:
+pkgname=mopidy
+pkgver=0.19.4
+pkgrel=0
+pkgdesc="Mopidy is an extensible music server"
+url="http://www.mopidy.com/"
+arch="noarch"
+license="Apache"
+depends="python py-pykka py-tornado gst-plugins-base0.10 gst-plugins-good0.10
+ gst-plugins-ugly0.10 py-gst0.10"
+depends_dev=""
+makedepends="python-dev py-setuptools"
+install=""
+subpackages=""
+source="https://pypi.python.org/packages/source/M/Mopidy/Mopidy-$pkgver.tar.gz
+ mopidy.conf"
+
+_builddir="$srcdir"/Mopidy-$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="3c8ade914ee19105e82d91bafad7964a Mopidy-0.19.4.tar.gz
+f198485317cd1f481b9b9a369e122833 mopidy.conf"
+sha256sums="887af8619182770867d9cf3d3ce9b8cacc7eb62763cfa7d3edfacb846d68a52b Mopidy-0.19.4.tar.gz
+3c2a00efb9784ed639bb84f6b07a127573d5a6d08d47983867f2b73ee3398de8 mopidy.conf"
+sha512sums="2ac30a19a12b5a2c9c93e42b9e2c3ec5f58e910e4b0a8c3ce0fd59c11e5395efe13ab72e60821636e72410cc7473436eec31dc098518aa270e519d5651492bf3 Mopidy-0.19.4.tar.gz
+593f872d072b32d3da92b8e60ad486c9ca6fa68eae5235e7724f3837d1fa4627694b5ebc8aaacedfba22c701e558e1d60b2f9c97139621a0eead3319446fe300 mopidy.conf"
diff --git a/testing/mopidy/mopidy.conf b/testing/mopidy/mopidy.conf
new file mode 100644
index 0000000000..95b8b423ac
--- /dev/null
+++ b/testing/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
diff --git a/testing/py-gstreamer0.10/APKBUILD b/testing/py-gstreamer0.10/APKBUILD
new file mode 100644
index 0000000000..ea8b4ee518
--- /dev/null
+++ b/testing/py-gstreamer0.10/APKBUILD
@@ -0,0 +1,51 @@
+# Contributor: Carlo Landmeter <clandmeter@gmail.com>
+# Maintainer:
+pkgname=py-gstreamer0.10
+pkgver=0.10.22
+pkgrel=0
+pkgdesc="Python bindings for GStreamer 0.10"
+url="http://gstreamer.freedesktop.org/"
+arch="all"
+license="LGPL"
+depends="python"
+depends_dev="gstreamer0.10-dev gst-plugins-base0.10-dev py-gtk-dev py-gobject-dev"
+makedepends="python-dev $depends_dev"
+install=""
+subpackages="$pkgname-dev"
+source="http://gstreamer.freedesktop.org/src/gst-python/gst-python-$pkgver.tar.gz"
+
+_builddir="$srcdir"/gst-python-$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"
+ update_config_sub || return 1
+ ./configure \
+ --build=$CBUILD \
+ --host=$CHOST \
+ --prefix=/usr \
+ --sysconfdir=/etc \
+ --mandir=/usr/share/man \
+ --infodir=/usr/share/info \
+ --localstatedir=/var \
+ || return 1
+ make || return 1
+}
+
+package() {
+ cd "$_builddir"
+ make DESTDIR="$pkgdir" install || return 1
+ find "$pkgdir" -name '*.la' -delete
+}
+
+md5sums="83cfa59d596bb876b6b576027f2d2b0e gst-python-0.10.22.tar.gz"
+sha256sums="27a445e010918a5c1a987e30f47093bd6914b4223a383f2cdeeaab107c1172ec gst-python-0.10.22.tar.gz"
+sha512sums="4b128503071f43bfafad66d70ca584b302a4fbad116d9996d74e8094e909dadc358f0dd82ca76b83940fb42fc7ae647d04b8cba06d18c5454b3749d964fb302f gst-python-0.10.22.tar.gz"