blob: 87f7424a2960d2e6554aede62bfe17579678f4ff (
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
|
# Maintainer: Fabio 'Lolix' Loli <fabio.loli@disroot.org> -> https://github.com/FabioLolix
# Contributor: Florian Will <florian dot will at gmail dot com>
# Contributor: Drew DeVore <w.drew.devore at gmail dot com>
pkgname=gmrender-resurrect-git
pkgver=r340.2a4d744
pkgrel=1
epoch=1
pkgdesc="Application to stream music from a UPnP server using gstreamer."
arch=(x86_64 i686 i486 pentium4 arm armv6h armv7h aarch64)
url="https://github.com/hzeller/gmrender-resurrect"
license=(GPL2)
depends=(libupnp gst-plugins-good gst-plugins-base)
optdepends=('gst-libav: Extra media codecs'
'gst-plugins-bad: Extra media codecs'
'gst-plugins-ugly: Extra media codecs')
makedepends=(git)
backup=('etc/conf.d/gmediarender')
install='gmrender-resurrect.install'
provides=(gmediarender)
conflicts=(gmediarender)
source=("git+https://github.com/hzeller/gmrender-resurrect.git"
'gmediarender.service'
'gmediarender-user.service'
'gmediarender')
sha256sums=('SKIP'
'28d9a61adc76448e7e4458e77239394be4292c04176826615adf4099d0938b66'
'54611c4131f76d2f2ae78469dc05e556bbc2a43666ca9296ebd9b5e2053865eb'
'089b0d0854a8e74cdc9aca096b08088bb24a2c457f50b1b7146f0fa2ec2bfb69')
pkgver() {
cd "${pkgname%-git}"
printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
}
prepare() {
cd "${pkgname%-git}"
./autogen.sh
}
build() {
cd "${pkgname%-git}"
./configure --prefix=/usr/
make
}
package() {
cd "${pkgname%-git}"
make DESTDIR=${pkgdir} install
install -Dm644 $srcdir/gmediarender.service "${pkgdir}/usr/lib/systemd/system/gmediarender.service"
install -Dm644 $srcdir/gmediarender-user.service "${pkgdir}/usr/lib/systemd/user/gmediarender.service"
install -Dm644 $srcdir/gmediarender "${pkgdir}/etc/conf.d/gmediarender"
}
|