- update to sonos-0.3.5

* includes various new features (such as adding spotify tracks by yours truly)
This commit is contained in:
jasper 2014-02-04 16:23:47 +00:00
parent f1b72f206c
commit 7f31c5acd5
4 changed files with 5 additions and 31 deletions

View File

@ -1,9 +1,8 @@
# $OpenBSD: Makefile,v 1.3 2014/01/22 20:39:04 jeremy Exp $
# $OpenBSD: Makefile,v 1.4 2014/02/04 16:23:47 jasper Exp $
COMMENT = control Sonos speakers with Ruby
DISTNAME = sonos-0.3.4
REVISION = 1
DISTNAME = sonos-0.3.5
CATEGORIES = audio net

View File

@ -1,2 +1,2 @@
SHA256 (sonos-0.3.4.gem) = 06BIkNN3F2+l+Q0QOYlDh2J4zyAYvAEHwcMyM//KzTc=
SIZE (sonos-0.3.4.gem) = 22528
SHA256 (sonos-0.3.5.gem) = yEBc+4Oa6Xn19/nSHHicTfevlLVE3eLe+PXL8/TVPCw=
SIZE (sonos-0.3.5.gem) = 18432

View File

@ -1,16 +0,0 @@
$OpenBSD: patch-lib_sonos_discovery_rb,v 1.2 2014/01/22 20:39:04 jeremy Exp $
IP_MULTICAST_TTL socket option on OpenBSD currently doesn't accept
int, only unsigned char.
--- lib/sonos/discovery.rb.orig Wed Dec 31 16:00:00 1969
+++ lib/sonos/discovery.rb Wed Jan 22 10:20:28 2014
@@ -75,7 +75,7 @@ module Sonos
@socket = UDPSocket.open
# We're going to use IP with the multicast TTL. Mystery third parameter is a mystery.
- @socket.setsockopt(Socket::IPPROTO_IP, Socket::IP_MULTICAST_TTL, 2)
+ @socket.setsockopt(Socket::Option.new(:INET, :IPPROTO_IP, :IP_MULTICAST_TTL, 2.chr))
end
def search_message

View File

@ -1,4 +1,4 @@
@comment $OpenBSD: PLIST,v 1.1.1.1 2014/01/18 09:32:32 jasper Exp $
@comment $OpenBSD: PLIST,v 1.2 2014/02/04 16:23:47 jasper Exp $
${GEM_BIN}/sonos${GEM_BIN_SUFFIX}
${GEM_LIB}/cache/${DISTNAME}.gem
${GEM_LIB}/gems/${DISTNAME}/
@ -34,13 +34,4 @@ ${GEM_LIB}/gems/${DISTNAME}/lib/sonos/system.rb
${GEM_LIB}/gems/${DISTNAME}/lib/sonos/topology_node.rb
${GEM_LIB}/gems/${DISTNAME}/lib/sonos/version.rb
${GEM_LIB}/gems/${DISTNAME}/sonos.gemspec
${GEM_LIB}/gems/${DISTNAME}/test/
${GEM_LIB}/gems/${DISTNAME}/test/cassettes/
${GEM_LIB}/gems/${DISTNAME}/test/cassettes/topology.yml
${GEM_LIB}/gems/${DISTNAME}/test/support/
${GEM_LIB}/gems/${DISTNAME}/test/support/discovery_macros.rb
${GEM_LIB}/gems/${DISTNAME}/test/support/vcr.rb
${GEM_LIB}/gems/${DISTNAME}/test/test_helper.rb
${GEM_LIB}/gems/${DISTNAME}/test/units/
${GEM_LIB}/gems/${DISTNAME}/test/units/system_test.rb
${GEM_LIB}/specifications/${DISTNAME}.gemspec