blob: aaaceab343bdd4de8d1c45e3345dde3bfb591baa (
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
|
# Maintainer: Timo Tabertshofer <timo.tabertshofer@gmail.com>
pkgname=rpiplay-git
_pkgname=rpiplay
pkgver=1.2.r203.5611a45
pkgrel=1
pkgdesc="An open-source AirPlay mirroring service"
arch=(x86_64 armv6h)
url="https://github.com/FD-/RPiPlay"
license=('GPL3')
depends=(avahi gstreamer-vaapi gst-plugins-bad gst-libav)
makedepends=(git cmake libplist openssl)
provides=("$_pkgname")
conflicts=("$_pkgname")
install="${_pkgname}.install"
source=('rpiplay::git+https://github.com/FD-/RPiPlay')
md5sums=('SKIP')
pkgver() {
cd "$srcdir/$_pkgname"
printf "1.2.r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
}
build() {
cd "$srcdir/$_pkgname"
mkdir build
cd build
cmake ..
make
}
package() {
cd "$srcdir/$_pkgname/build"
install -Dm755 ./rpiplay "$pkgdir/usr/bin/$_pkgname"
}
|