summarylogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.SRCINFO10
-rw-r--r--PKGBUILD25
-rw-r--r--squeezelite@.service5
3 files changed, 16 insertions, 24 deletions
diff --git a/.SRCINFO b/.SRCINFO
index ae7c9a5eab5..4c02c555c37 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,9 +1,9 @@
# Generated by mksrcinfo v8
-# Tue Mar 1 16:33:19 UTC 2016
+# Tue Oct 16 15:41:41 UTC 2018
pkgbase = squeezelite-r2-git
pkgdesc = Lightweight headless squeezebox emulator - version r2
- pkgver = 1.8.2.R2.r1.g681fc3d
- pkgrel = 1
+ pkgver = 1.8.4.R2.r6.g75797ed
+ pkgrel = 2
url = http://www.marcoc1712.it/
install = squeezelite.install
arch = i686
@@ -32,8 +32,8 @@ pkgbase = squeezelite-r2-git
source = squeezelite@.service
source = squeezelite
sha256sums = SKIP
- sha256sums = SKIP
- sha256sums = SKIP
+ sha256sums = 0f884ee7ce301855507489c97472e6d5ee0ff9a336a28793f8ae3455d94cbbdf
+ sha256sums = 6811051615d46b0ac5a7587f8174336352f3b74efc2ac5df892f212b00ef412c
pkgname = squeezelite-r2-git
diff --git a/PKGBUILD b/PKGBUILD
index 22930e8861a..cf05df86a74 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -4,8 +4,8 @@
# Contributor: Mika Fischer <mika.fischer@zoopnet.de>
pkgname=squeezelite-r2-git
-pkgver=1.8.2.R2.r1.g681fc3d
-pkgrel=1
+pkgver=1.8.4.R2.r6.g75797ed
+pkgrel=2
pkgdesc='Lightweight headless squeezebox emulator - version r2'
arch=('i686' 'x86_64' 'armv6h')
url='http://www.marcoc1712.it/'
@@ -21,7 +21,7 @@ optdepends=('faad2: Support for decoding AAC'
provides=('squeezelite')
conflicts=('squeezelite')
source=('git+https://github.com/marcoc1712/squeezelite-R2' "squeezelite@.service" "squeezelite" )
-sha256sums=('SKIP' 'SKIP' 'SKIP')
+sha256sums=('SKIP' '0f884ee7ce301855507489c97472e6d5ee0ff9a336a28793f8ae3455d94cbbdf' '6811051615d46b0ac5a7587f8174336352f3b74efc2ac5df892f212b00ef412c')
backup=('etc/conf.d/squeezelite')
install=squeezelite.install
@@ -32,30 +32,19 @@ pkgver() {
build() {
cd squeezelite-R2/
-
- unset LDFLAGS
- sed -i '/LDFLAGS/s|$| -lm -lasound|' Makefile.pa
-
- # build squeezelite-pa
- make -f Makefile.pa
-
- # clean up
- make clean
-
+ export LDFLAGS="${LDFLAGS} -lasound -lpthread -lm -lrt"
+ export OPTS="${OPTS} -DDSD"
# build squeezelite
- make CFLAGS='-Wall -fPIC -O2 -DLINUX -DALSA -DDSD -DFFMPEG -DRESAMPLE -DVISEXPORT'
-
-
+ make
}
package() {
- install -Dm644 "squeezelite" "$pkgdir/etc/conf.d/squeezelite"
+ install -Dm644 "squeezelite" "$pkgdir/etc/conf.d/squeezelite"
install -Dm644 "squeezelite@.service" "$pkgdir/usr/lib/systemd/system/squeezelite@.service"
cd squeezelite-R2/
# Install binaries
- install -Dm755 squeezelite-R2-pa "${pkgdir}/usr/bin/squeezelite-pa"
install -Dm755 squeezelite-R2 "${pkgdir}/usr/bin/squeezelite"
install -Dm644 "LICENSE.txt" "$pkgdir/usr/share/licenses/$pkgname/COPYING"
diff --git a/squeezelite@.service b/squeezelite@.service
index a48d0cd7de7..2d31ab6c3de 100644
--- a/squeezelite@.service
+++ b/squeezelite@.service
@@ -1,6 +1,9 @@
[Unit]
Description=Squeezelite Service
-After=network.target
+# if your distro uses systemd-networkd you may want to add
+# systemd-networkd-wait-online.service
+Requires=network-online.target sound.target systemd-udev-settle.service
+After=network-online.target sound.target systemd-udev-settle.service
[Service]
User=%I