blob: 9a46e61a275907b58922df9bf438f808eb8bb0e1 (
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
|
# Maintainer: robertfoster
pkgname=liquidsoap
pkgver=2.2.3
pkgrel=1
pkgdesc="A swiss-army knife for multimedia streaming, notably used for netradios and webtvs"
arch=('i686' 'x86_64')
url="https://www.liquidsoap.info"
license=('GPL')
depends=('fluidsynth' 'giflib' 'gst-plugins-good' 'gst-plugins-ugly'
'ocaml-alsa'
'ocaml-ao'
'ocaml-bjack'
'ocaml-camomile'
'ocaml-cry'
'ocaml-dssi'
'ocaml-dtools'
'ocaml-duppy'
'ocaml-faad'
'ocaml-fdkaac'
'ocaml-ffmpeg'
'ocaml-flac'
'ocaml-frei0r'
'ocaml-gavl'
'ocaml-gd4o'
'ocaml-gstreamer'
'ocaml-inotify'
'ocaml-yojson'
'ocaml-ladspa'
'ocaml-lame'
'ocaml-lastfm'
'ocaml-lo'
'ocaml-mad'
'ocaml-magic'
'ocaml-menhir'
'ocaml-mm'
'ocaml-ogg'
'ocaml-opus'
'ocaml-pulseaudio'
'ocaml-samplerate'
'ocaml-sedlex'
'ocaml-shine'
'ocaml-soundtouch'
'ocaml-speex'
'ocaml-taglib'
'ocaml-theora'
'ocaml-vorbis'
'ocaml-xmlplaylist'
)
makedepends=('libxml-perl' 'ocaml-findlib' 'ocaml-menhir' 'ocaml-pcre' 'ocaml-sedlex' 'perl-xml-dom')
optdepends=('curl')
options=('!makeflags')
source=("https://github.com/savonet/${pkgname}/archive/refs/tags/v${pkgver}.tar.gz"
${pkgname}.service
${pkgname}.tmpfilesd
)
install="${pkgname}.install"
conflicts=('liquidsoap-git' 'liquidsoap-full')
build() {
cd "${srcdir}/${pkgname}-${pkgver}"
dune build
}
package() {
cd "${srcdir}/${pkgname}-${pkgver}"
DESTDIR="${pkgdir}" dune install --prefix "/usr" --libdir "lib/ocaml"
# Install systemd unit
install -Dm644 "${srcdir}/${pkgname}.service" \
"${pkgdir}/usr/lib/systemd/system/liquidsoap@.service"
# Install the tmpfilesd file
install -Dm644 "${srcdir}/${pkgname}.tmpfilesd" \
"${pkgdir}/usr/lib/tmpfiles.d/liquidsoap.conf"
}
sha256sums=('064726d76ef3ad62e622af595d4c5b5603151fdd9f4c0d1f5ec2eab8f4f2f39a'
'df6d2cec1be47a57a02ed04a1f527c0349221fad39d8d152aca13734d3808661'
'9f286958af0c751c2a43d74614cdd1c4629c0583d619875385c09417a5383675')
|