diff options
author | 2017-10-27 22:28:33 +0100 | |
---|---|---|
committer | 2017-10-27 22:28:33 +0100 | |
commit | df12b12ec64f11abcb5c6f7dce55aed6d5216073 (patch) | |
tree | e577ea11cc5931a6a5a50b683b2f96a149a5a290 | |
parent | Merge branch 'lmiphay-squeezelite-1.8.7.1007' (diff) | |
parent | Merge branch 'squeezy-20170714' of https://github.com/lmiphay/gentoo-squeezeb... (diff) | |
download | squeezebox-df12b12ec64f11abcb5c6f7dce55aed6d5216073.tar.gz squeezebox-df12b12ec64f11abcb5c6f7dce55aed6d5216073.tar.bz2 squeezebox-df12b12ec64f11abcb5c6f7dce55aed6d5216073.zip |
Merge branch 'lmiphay-squeezy-20170714'
-rw-r--r-- | media-sound/squeezy/Manifest | 3 | ||||
-rw-r--r-- | media-sound/squeezy/files/cant-locate-sqs.patch | 12 | ||||
-rw-r--r-- | media-sound/squeezy/files/fix-bash-completion.patch | 13 | ||||
-rw-r--r-- | media-sound/squeezy/squeezy-20170714.ebuild | 63 |
4 files changed, 91 insertions, 0 deletions
diff --git a/media-sound/squeezy/Manifest b/media-sound/squeezy/Manifest new file mode 100644 index 0000000..e14c231 --- /dev/null +++ b/media-sound/squeezy/Manifest @@ -0,0 +1,3 @@ +AUX cant-locate-sqs.patch 232 SHA256 2b5b1878ea744d5daa884e2eecbb177bb5b51207f6338446dba0fb56867d56c9 SHA512 b9e29985245ac0037b50692c728db2a9a311ee571369eeaf0fad5afd0304fc6c2fbe6a9435abfb4ed704b480cb7ca3ae78145a10e91fc2426324933d2ead78bb WHIRLPOOL 4e7b19bf34ccc212ffb15b6337450137b8441c145fbde7a6ef2c083b036f0d4dcf7dd500ece2c3161028e339b2e4892c0d275de7d98f640329887c82b9c56906 +AUX fix-bash-completion.patch 301 SHA256 279f0ec176f4044fb79a7000dcf1d95a3cf1a4a342da9c9c9f4c7ea1166d06d5 SHA512 41db6242f17192776570ddfd6f16bf223d88677315accf4994611dea2fd748f45965417af65cc8cb18564ec601568002f71c5ea202bcd8a26cb648756d0a5f0e WHIRLPOOL 2a43ee0feb6d80368e52933b91c6cd2a6a2e221f6c54743dc09b25d646f0b5841654c43d5030da74fab5c3bb266a228b5bd3cae25160a2817fbbd892a890d65c +EBUILD squeezy-20170714.ebuild 1525 SHA256 335b745a0aff646f225f7b11eadb602d1ebe2012fcbc3772d7487b4dbd8bc838 SHA512 ee0c6d95546762301cd1bfe9ab2a0bfc12cd5037308b4bb43907dceea3c16066c569a5f2c6070bc786f6a331706be7cc7ffa0cbcb210c6288abd9df550b5785e WHIRLPOOL 0609426d2506d0e23d5209c7aa51f4d5471d8fb09598d711be22d8bc5471ee805cffe0cd5b68df8e4567286caa0eadcd441c6b8fe7ec374289ca9d4d32c6c8d8 diff --git a/media-sound/squeezy/files/cant-locate-sqs.patch b/media-sound/squeezy/files/cant-locate-sqs.patch new file mode 100644 index 0000000..15ba39a --- /dev/null +++ b/media-sound/squeezy/files/cant-locate-sqs.patch @@ -0,0 +1,12 @@ +diff --git a/squeezy b/squeezy +index e1f1e27..a5cfcd9 100755 +--- a/squeezy ++++ b/squeezy +@@ -259,7 +259,6 @@ sub aws_recv { + } + + sub send_command_aws { +- use Amazon::SQS::Simple; + use Time::HiRes; + + # Create an SQS object diff --git a/media-sound/squeezy/files/fix-bash-completion.patch b/media-sound/squeezy/files/fix-bash-completion.patch new file mode 100644 index 0000000..58dc076 --- /dev/null +++ b/media-sound/squeezy/files/fix-bash-completion.patch @@ -0,0 +1,13 @@ +diff --git a/_squeezy.bash b/_squeezy.bash +index fe4ed64..8976077 100755 +--- a/_squeezy.bash ++++ b/_squeezy.bash +@@ -26,8 +26,6 @@ _squeezy() + + } + +-complete -F _pkg_delete $dirnames pi piu pm portmaster +- + for player in squeezy $(squeezy -players) + do + player_lc=$(echo $player | tr 'A-Z' 'a-z') diff --git a/media-sound/squeezy/squeezy-20170714.ebuild b/media-sound/squeezy/squeezy-20170714.ebuild new file mode 100644 index 0000000..384bb27 --- /dev/null +++ b/media-sound/squeezy/squeezy-20170714.ebuild @@ -0,0 +1,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 +} |