Date: Wed, 27 May 2015 16:22:18 +0000 (UTC) From: Sunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r387633 - in head/audio: . rubygem-ruby-shout rubygem-ruby-shout/files rubygem-shout Message-ID: <201505271622.t4RGMIPQ084147@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: sunpoet Date: Wed May 27 16:22:17 2015 New Revision: 387633 URL: https://svnweb.freebsd.org/changeset/ports/387633 Log: - Move audio/rubygem-shout to audio/rubygem-ruby-shout - Fix build with ruby22 - Add LICENSE - Update WWW Added: head/audio/rubygem-ruby-shout/ - copied from r387543, head/audio/rubygem-shout/ head/audio/rubygem-ruby-shout/files/ head/audio/rubygem-ruby-shout/files/patch-ext-shout_ext.c (contents, props changed) Deleted: head/audio/rubygem-shout/ Modified: head/audio/Makefile head/audio/rubygem-ruby-shout/Makefile head/audio/rubygem-ruby-shout/pkg-descr Modified: head/audio/Makefile ============================================================================== --- head/audio/Makefile Wed May 27 16:22:12 2015 (r387632) +++ head/audio/Makefile Wed May 27 16:22:17 2015 (r387633) @@ -658,7 +658,7 @@ SUBDIR += rubygem-librmpd SUBDIR += rubygem-ruby-mp3info SUBDIR += rubygem-ruby-ogginfo - SUBDIR += rubygem-shout + SUBDIR += rubygem-ruby-shout SUBDIR += rubyripper SUBDIR += s3mod SUBDIR += sbagen Modified: head/audio/rubygem-ruby-shout/Makefile ============================================================================== --- head/audio/rubygem-shout/Makefile Wed May 27 06:50:22 2015 (r387543) +++ head/audio/rubygem-ruby-shout/Makefile Wed May 27 16:22:17 2015 (r387633) @@ -1,28 +1,22 @@ # Created by: Steve Wills <swills@FreeBSD.org> # $FreeBSD$ -PORTNAME= shout +PORTNAME= ruby-shout PORTVERSION= 2.2.1 PORTREVISION= 1 CATEGORIES= audio rubygems MASTER_SITES= RG -DISTNAME= ruby-${PORTNAME}-${PORTVERSION} MAINTAINER= ruby@FreeBSD.org COMMENT= Ruby binding to the libshout library +LICENSE= BSD3CLAUSE + LIB_DEPENDS= libshout.so:${PORTSDIR}/audio/libshout +CONFIGURE_ARGS= --with-opt-include="${LOCALBASE}/include" USE_RUBY= yes USE_RUBYGEMS= yes -GEM_NAME= ${DISTNAME} RUBYGEM_AUTOPLIST= yes -CONFIGURE_ARGS= --with-opt-include="${LOCALBASE}/include" - -.include <bsd.port.pre.mk> - -.if ${RUBY_VER} >= 2.2 -BROKEN= Does not build -.endif -.include <bsd.port.post.mk> +.include <bsd.port.mk> Added: head/audio/rubygem-ruby-shout/files/patch-ext-shout_ext.c ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/audio/rubygem-ruby-shout/files/patch-ext-shout_ext.c Wed May 27 16:22:17 2015 (r387633) @@ -0,0 +1,11 @@ +--- ext/shout_ext.c.orig 2015-05-27 15:58:04 UTC ++++ ext/shout_ext.c +@@ -250,7 +250,7 @@ static VALUE _sh_send(VALUE self, VALUE + shout_connection *s; + GET_SC(self, s); + +- Check_SafeStr(to_send); ++ SafeStringValue(to_send); + err = shout_send(s->conn, (unsigned char *) (RSTRING_PTR(to_send)), + RSTRING_LEN(to_send)); + if(err != SHOUTERR_SUCCESS) { Modified: head/audio/rubygem-ruby-shout/pkg-descr ============================================================================== --- head/audio/rubygem-shout/pkg-descr Wed May 27 06:50:22 2015 (r387543) +++ head/audio/rubygem-ruby-shout/pkg-descr Wed May 27 16:22:17 2015 (r387633) @@ -1,4 +1,4 @@ Ruby-shout is a binding to the libshout library, which sends streaming MP3/Vorbis to an icecast server with libshout. -WWW: http://rubygems.org/gems/ruby-shout +WWW: https://github.com/niko/ruby-shout
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201505271622.t4RGMIPQ084147>