summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authoraudiolinux2017-02-09 01:11:09 +0100
committeraudiolinux2017-02-09 01:11:09 +0100
commitee7d33612386bbf744ae2189f904edfc8f87a41e (patch)
tree02c51a116578a2f781f5df57841ea152b6eb49f5
parent5307126cb5d0fbe4c58f75891c38796ffe27cc1a (diff)
downloadaur-ee7d33612386bbf744ae2189f904edfc8f87a41e.tar.gz
Change to hqplayerd systemd service
-rw-r--r--.SRCINFO13
-rw-r--r--PKGBUILD23
-rw-r--r--copyright103
-rw-r--r--hqplayer-embedded.install8
-rwxr-xr-xhqplayerd.service12
-rwxr-xr-x[-rw-r--r--]hqplayerd_rygel.service6
6 files changed, 44 insertions, 121 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 8fa7d11fc94..8c116e84f1c 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,10 +1,11 @@
# Generated by mksrcinfo v8
-# Wed Feb 8 10:22:31 UTC 2017
+# Thu Feb 9 00:10:20 UTC 2017
pkgbase = hqplayer-embedded
pkgdesc = Signalyst HQPlayer Embedded HQPlayer - the high-end upsampling multichannel software HD-audio player
pkgver = 4.0.0a9
- pkgrel = 5
+ pkgrel = 7
url = http://www.signalyst.com/custom.html
+ install = hqplayer-embedded.install
arch = x86_64
license = custom
depends = alsa-lib
@@ -16,13 +17,13 @@ pkgbase = hqplayer-embedded
optdepends = rygel: for network access with upnp
optdepends = minimserver: UPnP Audio server
source = https://www.signalyst.eu/bins/hqplayerd/xenial/hqplayerd_4.0.0a9-9_amd64.deb
- source = copyright
- source = hqplayerd_rygel.service
source = start_hqplayerd.sh
+ source = hqplayerd_rygel.service
+ source = hqplayerd.service
sha256sums = SKIP
- sha256sums = 3f3295916908afbf195993b163d7dc98696dddbc7b2f6574aab9605046dda2c7
- sha256sums = ea4ea071b29bbbfce2223a0b8bbe7d62e3ac648af8f57ef49928381000bd82ea
sha256sums = 2c1a93ea66e59a7eee1b76fc70816bb9f6169b155eb42b390ecddb4b38b31ca5
+ sha256sums = 649023546a37d074dab42ed90f29cb545be33bd3872f036cc4c14223db69a4a5
+ sha256sums = cdbe452da60e5ed2287d9b4658175d39fbe3a9fd3b2b15b89c6a50184571e6f9
pkgname = hqplayer-embedded
diff --git a/PKGBUILD b/PKGBUILD
index 2f1f3a08020..07f959d7ae2 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -3,42 +3,45 @@
pkgname=hqplayer-embedded
_debpkgver=4.0.0a9-9_amd64
pkgver=4.0.0a9
-pkgrel=5
+pkgrel=7
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')
+install=$pkgname.install
depends=('alsa-lib' 'glibc' 'flac' 'gcc-libs' 'libgmpris' 'glib2')
optdepends=('rygel: for network access with upnp' 'minimserver: UPnP Audio server')
-source=("https://www.signalyst.eu/bins/hqplayerd/xenial/hqplayerd_$_debpkgver.deb" 'copyright' 'hqplayerd_rygel.service' 'start_hqplayerd.sh')
-sha256sums=('SKIP' '3f3295916908afbf195993b163d7dc98696dddbc7b2f6574aab9605046dda2c7' 'ea4ea071b29bbbfce2223a0b8bbe7d62e3ac648af8f57ef49928381000bd82ea'
-'2c1a93ea66e59a7eee1b76fc70816bb9f6169b155eb42b390ecddb4b38b31ca5')
+source=("https://www.signalyst.eu/bins/hqplayerd/xenial/hqplayerd_$_debpkgver.deb" 'start_hqplayerd.sh' 'hqplayerd_rygel.service' 'hqplayerd.service')
+sha256sums=('SKIP'
+'2c1a93ea66e59a7eee1b76fc70816bb9f6169b155eb42b390ecddb4b38b31ca5'
+'649023546a37d074dab42ed90f29cb545be33bd3872f036cc4c14223db69a4a5'
+'cdbe452da60e5ed2287d9b4658175d39fbe3a9fd3b2b15b89c6a50184571e6f9')
package() {
cd "$srcdir"
bsdtar xf data.tar.xz -C "$srcdir"
- install -Dm644 "$srcdir/etc/hqplayer/hqplayerd.xml" \
+ install -Dm644 "$srcdir/etc/hqplayer/hqplayerd.xml" \
"$pkgdir/etc/hqplayer/hqplayerd.xml"
- install -Dm644 "$srcdir/lib/systemd/system/hqplayerd.service" \
- "$pkgdir/usr/lib/systemd/system/hqplayerd.service"
-
install -Dm755 "$srcdir/usr/bin/hqplayerd" \
"$pkgdir/usr/bin/hqplayerd"
- install -Dm644 "$srcdir/usr/share/doc/hqplayerd/readme.txt.gz" \
+ 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 "copyright" \
+ install -Dm644 "$srcdir/usr/share/doc/hqplayerd/copyright" \
"$pkgdir/usr/share/licenses/$pkgname/COPYING"
install -Dm644 "hqplayerd_rygel.service" \
"$pkgdir/usr/lib/systemd/user/hqplayerd_rygel.service"
+ install -Dm644 "hqplayerd.service" \
+ "$pkgdir/usr/lib/systemd/user/hqplayerd.service"
+
install -Dm755 "start_hqplayerd.sh" \
"$pkgdir/usr/bin/start_hqplayerd.sh"
}
diff --git a/copyright b/copyright
deleted file mode 100644
index 66c20e8e6a8..00000000000
--- a/copyright
+++ /dev/null
@@ -1,103 +0,0 @@
-Format: http://dep.debian.net/deps/dep5
-Upstream-Name: hqplayerd
-Source: http://www.signalyst.com
-
-Files: *
-Copyright: 1998-2014 Jussi Laako / Signalyst, <jussi.laako@signalyst.com>
-License: Proprietary
- HQPlayer Embedded End User License Agreement
- .
- CAREFULLY READ THE FOLLOWING LICENSE AGREEMENT. BY INSTALLING THE SOFTWARE OR
- CLICKING ON THE "I AGREE" BUTTON, YOU ARE CONSENTING TO BE BOUND BY AND ARE
- BECOMING A PARTY TO THIS AGREEMENT. IF YOU DO NOT AGREE TO ALL OF THE TERMS
- OF THIS AGREEMENT, CLICK THE "CANCEL" BUTTON, AND, IF APPLICABLE, UNINSTALL
- THE SOFTWARE.
- .
- License Grant
- The package contains software ("Software") and related explanatory written
- materials ("Documentation"). "Software" includes any upgrades, modified
- versions, updates, additions and copies of the Software. "You" means the
- person or company who is being licensed to use the Software or Documentation.
- "We" and "us" means Jussi Laako, Signalyst.
- This Software is licensed, not sold. We hereby grant you a nonexclusive
- license to use one copy of the Software on any single computer, provided the
- Software is in use on only one computer at any time. The Software is "in use"
- on a computer when it is loaded into temporary memory (RAM) or installed into
- the permanent memory of a computer for example, a hard disk, CD-ROM or other
- storage device.
- .
- Title
- We remain the owner of all right, title and interest in the Software and
- Documentation.
- .
- Archival or Backup Copies
- You may either:
- - make one copy of the Software solely for backup or archival purposes;
- or
- - transfer the Software to a single hard disk, provided you keep the
- original solely for backup or archival purposes.
- .
- Things You May Not Do
- The Software and Documentation are protected by Finnish copyright laws and
- international treaties. You must treat the Software and Documentation like
- any other copyrighted material--for example a book. You may not:
- - copy the Documentation;
- - copy the Software except to make archival or backup copies as
- provided above;
- - modify or adapt the Software or merge it into another program;
- - reverse engineer, disassemble, decompile or make any attempt to
- discover the source code of the Software, except solely for the
- purpose of using modified versions of LGPL libraries, only to the
- extent required for this purpose;
- - place the Software onto a server so that it is accessible via a
- public network such as the Internet; or
- - sublicense, rent, lease or lend any portion of the Software or
- Documentation.
- .
- Transfers
- License is personal and You may NOT transfer any of your rights to use the
- Software or Documentation to any another person or legal entity.
- .
- No Warranty
- THIS SOFTWARE IS PROVIDED BY JUSSI LAAKO / SIGNALYST ''AS IS'' AND ANY EXPRESS
- OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
- OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO
- EVENT SHALL JUSSI LAAKO / SIGNALYST BE LIABLE FOR ANY DIRECT, INDIRECT,
- INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
- LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
- PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
- LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
- EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- .
- Term and Termination
- This license agreement takes effect upon your use of the software and remains
- effective until terminated. You may terminate it at any time by destroying
- all copies of the Software and Documentation in your possession. It will also
- automatically terminate if you fail to comply with any term or condition of
- this license agreement. You agree on termination of this license to either
- return to us or destroy all copies of the Software and Documentation in your
- possession.
- .
- Confidentiality
- The Software contains trade secrets and proprietary know-how that belong to
- us and it is being made available to you in strict confidence. ANY USE OR
- DISCLOSURE OF THE SOFTWARE, OR OF ITS ALGORITHMS, PROTOCOLS OR INTERFACES,
- OTHER THAN IN STRICT ACCORDANCE WITH THIS LICENSE AGREEMENT, MAY BE
- ACTIONABLE AS A VIOLATION OF OUR TRADE SECRET RIGHTS.
- .
- General Provisions
- 1. This written license agreement is the exclusive agreement between you and
- us concerning the Software and Documentation and supersedes any and all prior
- oral or written agreements, negotiations or other dealings between us
- concerning the Software.
- 2. This license agreement may be modified only by a writing signed by you and
- us.
- 3. In the event of litigation between you and us concerning the Software or
- Documentation, the litigation will be held in the District Court of
- Länsi-Uusimaa, Finland.
- 4. This license agreement is governed by the laws of Finland and
- international treaties.
- 5. You agree that the Software will not be shipped, transferred or exported
- into any country or used in any manner prohibited by the laws of Finland or
- European Union or any other export laws, restrictions or regulations.
diff --git a/hqplayer-embedded.install b/hqplayer-embedded.install
new file mode 100644
index 00000000000..e11836931c0
--- /dev/null
+++ b/hqplayer-embedded.install
@@ -0,0 +1,8 @@
+post_install() {
+echo "
+ There are now 2 systemd user services, standard one hqplayerd.service and another hqplayerd_rygel.service that will enable rygel and the possibility to use BubbleUPnP in Android. Both are supporting Roon from version 1.3"
+}
+
+post_upgrade() {
+ post_install
+}
diff --git a/hqplayerd.service b/hqplayerd.service
new file mode 100755
index 00000000000..10101ff9279
--- /dev/null
+++ b/hqplayerd.service
@@ -0,0 +1,12 @@
+[Unit]
+Description=HQPlayer Embedded daemon
+After=network.target sound.target
+
+[Service]
+Type=simple
+ExecStart=/usr/bin/hqplayerd
+Restart=always
+#EnvironmentFile=-/etc/default/hqplayerd
+
+[Install]
+WantedBy=multi-user.target
diff --git a/hqplayerd_rygel.service b/hqplayerd_rygel.service
index 484bd78ceb5..63fc14057a4 100644..100755
--- a/hqplayerd_rygel.service
+++ b/hqplayerd_rygel.service
@@ -1,9 +1,11 @@
[Unit]
-Description=HQplayer embedded
+Description=HQPlayer Embedded daemon with rygel
After=network.target sound.target
[Service]
+Type=simple
+Restart=always
ExecStart=/bin/bash /usr/bin/start_hqplayerd.sh
[Install]
-WantedBy=default.target \ No newline at end of file
+WantedBy=multi-user.target \ No newline at end of file