blob: 384bb27d85fcb72f0f2e8d8a85186c43de2d75ca (
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
|
# Copyright 1999-2017 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI="6"
inherit readme.gentoo-r1 eutils bash-completion-r1 git-r3
DESCRIPTION="command-line control of squeezebox network players via squeezeserver"
HOMEPAGE="https://github.com/pssc/squeezy"
EGIT_REPO_URI="https://github.com/pssc/squeezy.git"
EGIT_COMMIT="3f3ef31e4d7cd6a8d88863f272297fd07a85ab23"
LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE=""
DEPEND="dev-lang/perl"
RDEPEND="${DEPEND}
dev-perl/JSON-RPC
"
DISABLE_AUTOFORMATTING=1
FORCE_PRINT_ELOG=1
DOC_CONTENTS="
The emerge install warning 'Problems with installed bash completions...' is
covered in the documentation (search for: 'squeezy -print_links'). If it
still complains about missing alias/symlinks, then check for duplicate players
in the output of:
squeezy -verbose -players
(e.g. finding servers twice once by IP, and once by name)
Support thread at:
http://forums.slimdevices.com/showthread.php?87636-squeezy-a-command-line-wrapper-around-the-squeezeserver-telnet-CLI
"
PATCHES=( \
"${FILESDIR}/cant-locate-sqs.patch" \
"${FILESDIR}/fix-bash-completion.patch"
)
src_install() {
dobin squeezy
dodoc squeezy.README.txt squeezy.HELP.txt
newdoc squeezy.conf squeezy.conf.example
newbashcomp _squeezy.bash ${PN}
# zsh
insinto /usr/share/zsh/site-functions
doins _squeezy
insinto /etc
newins squeezy.conf squeezy.conf.example
readme.gentoo_create_doc
}
pkg_postinst() {
readme.gentoo_print_elog
}
|