summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 37c92fd851598ef74753126fd611844cc3057f21 (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
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
## Maintainer: AudioLinux  <audiolinux AT fastmail DOT fm>

pkgname=hqplayer-embedded
_debpkgver=4.9.0-25
pkgver=4.9.0
pkgrel=1
pkgdesc="Signalyst HQPlayer Embedded
 HQPlayer - the high-end upsampling multichannel software HD-audio player"
arch=('x86_64')
url="http://www.signalyst.com/custom.html"
license=('custom')
depends=('alsa-lib' 'glibc' 'flac' 'gcc-libs' 'libgmpris' 'glib2' 'rygel' 'adduser-deb')
source=("https://www.signalyst.eu/bins/hqplayerd/bionic/hqplayerd_"$_debpkgver"_amd64.deb" 'hqplayerd.service'  'hqplayerd2.service') 
install=install
sha256sums=('SKIP'
'5d4194a704979b3ff92482e155769460906745a66e759142eba33a2226f9cb3a' '9b19b2236e342672a5e8d1e046623e3ba0d97ce4755134a371a100927dd9ed54')

package() {
  bsdtar xf data.tar.xz -C "$srcdir"
  
      install -Dm755 "$srcdir/usr/bin/hqplayerd" \
    "$pkgdir/usr/bin/hqplayerd"
    
      install -Dm755 "$srcdir/usr/bin/start-uac-gadget.sh" \
    "$pkgdir/usr/bin/start-uac-gadget.sh"
    
     install -Dm644 "$srcdir/etc/hqplayer/hqplayerd.xml" \
    "$pkgdir/etc/hqplayer/hqplayerd.xml"
    
     install -Dm644 "$srcdir/usr/share/doc/hqplayerd/readme.txt.gz" \
    "$pkgdir/usr/share/doc/hqplayerd/readme.txt.gz"
    
     install -Dm644 "$srcdir/usr/share/doc/hqplayerd/rygel.conf.gz" \
    "$pkgdir/usr/share/doc/hqplayerd/rygel.conf.gz"
    
     install -Dm644 "$srcdir/usr/share/doc/hqplayerd/hqplayerd.xml-rme.gz" \
    "$pkgdir/usr/share/doc/hqplayerd/hqplayerd.xml-rme.gz"
    
      install -Dm644 "$srcdir/usr/share/doc/hqplayerd/hqplayerd.xml-uac2" \
    "$pkgdir/usr/share/doc/hqplayerd/hqplayerd.xml-uac2"
  
     install -Dm644 "$srcdir/usr/share/doc/hqplayerd/copyright" \
    "$pkgdir/usr/share/licenses/$pkgname/COPYING"
    
     install -Dm644 "hqplayerd.service" \
    "$pkgdir/usr/lib/systemd/user/hqplayerd.service"
    
     install -Dm644 "hqplayerd2.service" \
    "$pkgdir/usr/lib/systemd/system/hqplayerd.service"
    
      install -Dm644 "$srcdir/var/hqplayer/web/default-cover.png" \
    "$pkgdir/var/hqplayer/web/default-cover.png"
    
     install -Dm644 "$srcdir/var/hqplayer/web/default.css" \
    "$pkgdir/var/hqplayer/web/default.css"
    
     install -Dm644 "$srcdir/var/hqplayer/web/favicon.ico" \
    "$pkgdir/var/hqplayer/web/favicon.ico"
    
     install -Dm644 "$srcdir/var/hqplayer/web/next.svg" \
    "$pkgdir/var/hqplayer/web/next.svg"
    
     install -Dm644 "$srcdir/var/hqplayer/web/pause.svg" \
    "$pkgdir/var/hqplayer/web/pause.svg"
    
     install -Dm644 "$srcdir/var/hqplayer/web/play.svg" \
    "$pkgdir/var/hqplayer/web/play.svg"
    
     install -Dm644 "$srcdir/var/hqplayer/web/prev.svg" \
    "$pkgdir/var/hqplayer/web/prev.svg"
    
     install -Dm644 "$srcdir/var/hqplayer/web/queue.svg" \
    "$pkgdir/var/hqplayer/web/queue.svg"
    
      install -Dm644 "$srcdir/var/hqplayer/web/stop.svg" \
    "$pkgdir/var/hqplayer/web/stop.svg"
    
      install -Dm644 "$srcdir/var/hqplayer/web/config.html" \
    "$pkgdir/var/hqplayer/web/config.html"
    
      install -Dm644 "$srcdir/var/hqplayer/web/convolution.html" \
    "$pkgdir/var/hqplayer/web/convolution.html"
    
      install -Dm644 "$srcdir/var/hqplayer/web/matrix.html" \
    "$pkgdir/var/hqplayer/web/matrix.html"
    
      install -Dm644 "$srcdir/var/hqplayer/web/speakers.html" \
    "$pkgdir/var/hqplayer/web/speakers.html"
    
     mkdir -p  "$pkgdir/var/hqplayer/home"
}