aboutsummaryrefslogtreecommitdiffstats
path: root/testing/aurena/APKBUILD
blob: b2c42ffe0e4b6131fc5f61e52c4a4c87ae47cd7b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
# Contributor: Carlo Landmeter <clandmeter@gmail.com>
# Maintainer:
pkgname=aurena
_project=thaytan/aurena
_sha=ccc0530a57edf8e86729abaf378779d2e689aabf
pkgver=20150622
pkgrel=0
pkgdesc="Aurena distributed media player"
url="https://github.com/thaytan/aurena"
arch="all"
license="GPLv2"
depends=""
depends_dev="glib-dev avahi-dev libsoup-dev py-gobject-dev json-glib-dev
	gstreamer1-dev gst-plugins-base1-dev sqlite-dev gtk+3.0-dev"
makedepends="$depends_dev autoconf automake libtool"
install=""
subpackages="$pkgname-simple-client:simple_client"
source="$pkgname-$_sha.tar.gz::https://github.com/$_project/archive/$_sha.tar.gz"

_builddir="$srcdir"/${_project#*/}-$_sha
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"
	./autogen.sh || return 1
        ./configure --prefix=/usr \
                --sysconfdir=/etc \
                --mandir=/usr/share/man \
                --infodir=/usr/share/info \
		|| return 1
        make || return 1
}

package() {
	cd "$_builddir"
	make DESTDIR="$pkgdir" install || return 1
}

simple_client() {
	pkgdesc="Aurena simple client"
	mkdir -p "$subpkgdir"/usr/bin
	mv "$pkgdir"/usr/bin/aurena-simple* \
		"$subpkgdir"/usr/bin/ || return 1
}

md5sums="6c41811d8a6f4e7499a628d20e822832  aurena-ccc0530a57edf8e86729abaf378779d2e689aabf.tar.gz"
sha256sums="92f4aa89b412ab3221ab90fb610a114a70a549d347b9eb2d4a8f62de4c59dd96  aurena-ccc0530a57edf8e86729abaf378779d2e689aabf.tar.gz"
sha512sums="3ee629fda2e889775fb6c36dd212aa9ecb29354e738cca55a930192a70d422265c148aa4807f4c3a14bb478e0411c25507aeb719d824d641dc32c33e3b335994  aurena-ccc0530a57edf8e86729abaf378779d2e689aabf.tar.gz"