summaryrefslogtreecommitdiff
path: root/audio
diff options
context:
space:
mode:
authorobache <obache>2015-01-20 10:25:45 +0000
committerobache <obache>2015-01-20 10:25:45 +0000
commit63d430306c6992626b7c3bfb88756496615572ac (patch)
tree17bb60e304c5df2e7cfb5de3e061db1b1add1ea1 /audio
parentf3a46b4ad73dbaf3735867929a31f9e877f83e17 (diff)
downloadpkgsrc-63d430306c6992626b7c3bfb88756496615572ac.tar.gz
Update ruby-mp3info to 0.8.5.
=== 0.8.5 / 2014-09-17 * lyrics support (USLT tag) (thanks to ipmsteven) * fixed travis CI tests (thanks to ipmsteven) === 0.8.4 / 2014-04-26 * more robust frame scanning when unsynced (thanks to emonsqueeze for the bug report) === 0.8.3 / 2014-01-18 * fix for ruby 2.1.0 (thanks to smashwilson) === 0.8.2 / 2013-11-20 * better parsing of corrupted mp3 (more robust frame scanning) * upgraded license to GPL 3 (previous license (ruby) is compatible) === 0.8.1 / 2013-10-28 * test fixes * added dot to temp filename === 0.8 / 2013-01-28 * allow higher level of reading and writing to APIC tag: * tag2.pictures, tag2.remove_pictures, tag2.add_picture * added "<<...snip...>>>" to shorten APIC tag when Hash.inspect called (not a shallow copy hash, deep copied hash so does not effect data) tag2.inspect === 0.7.2 / 2012-12-24 * do not try to commit changes to IO or StringIO === 0.7.1 / 2012-04-01 * convert to utf-16 little endian (instead of big) for more compatibility === 0.7 / 2012-02-29 * removed iconv for ruby >= 1.9 * default encoding for decoded and encoded tags is UTF-8 now (removed :encoding params for ID3v2) * come back to a non senseless version numbering === 0.6.16 / 2011-11-10 * fixed type error when inspecting mp3info (thanks to Jacob Lichner) === 0.6.15 / 2011-07-18 * support for StringIO as input (thanks to Edd Parris) === 0.6.14 / 2011-06-17 * Added a check for nil that was seen causing problems when processing files. (thanks to Carl Hall) * Fixed reading on win32, requires binary flag. (thanks to Jonas Tingeborn) * Fixed white spaces. Replaced tabs with spaces to make the source readable on for users other than the original author. (thanks to Jonas Tingeborn) * Add :parse_mp3 flag to new/open. (thanks to Dave Lee) * Add benchmark for parsing performance. (thanks to Dave Lee) * fixed ID3v2#io_position computing, so Mp3Info#audio_content() is correct now
Diffstat (limited to 'audio')
-rw-r--r--audio/ruby-mp3info/DESCR11
-rw-r--r--audio/ruby-mp3info/Makefile16
-rw-r--r--audio/ruby-mp3info/PLIST17
-rw-r--r--audio/ruby-mp3info/distinfo8
4 files changed, 28 insertions, 24 deletions
diff --git a/audio/ruby-mp3info/DESCR b/audio/ruby-mp3info/DESCR
index 514e27cf267..297f0953728 100644
--- a/audio/ruby-mp3info/DESCR
+++ b/audio/ruby-mp3info/DESCR
@@ -1,7 +1,8 @@
ruby-mp3info read low-level informations and manipulate tags on mp3 files.
-* written in pure ruby
-* read low-level informations like bitrate, length, samplerate, etc...
-* read, write, remove id3v1 and id3v2 tags
-* correctly read VBR files (with or without Xing header)
-* only 2.3 version is supported for writings id3v2 tags
+* Written in pure ruby
+* Read low-level informations like bitrate, length, samplerate, etc...
+* Read, write, remove id3v1 and id3v2 tags
+* Correctly read VBR files (with or without Xing header)
+* Only 2.3 version is supported for writings id3v2 tags
+* id3v2 tags are always written in UTF-16 encoding
diff --git a/audio/ruby-mp3info/Makefile b/audio/ruby-mp3info/Makefile
index dc63c8116aa..f7cdd723376 100644
--- a/audio/ruby-mp3info/Makefile
+++ b/audio/ruby-mp3info/Makefile
@@ -1,22 +1,16 @@
-# $NetBSD: Makefile,v 1.6 2012/10/02 23:48:08 asau Exp $
+# $NetBSD: Makefile,v 1.7 2015/01/20 10:25:45 obache Exp $
#
-DISTNAME= ruby-mp3info-0.6.13
+DISTNAME= ruby-mp3info-0.8.5
PKGNAME= ${DISTNAME:S/ruby-/${RUBY_PKGPREFIX}-/}
CATEGORIES= audio
-MASTER_SITES= http://rubyforge.org/frs/download.php/57443/
-EXTRACT_SUFX= .tgz
MAINTAINER= obache@NetBSD.org
-HOMEPAGE= http://ruby-mp3info.rubyforge.org/
+HOMEPAGE= https://github.com/moumar/ruby-mp3info
COMMENT= Pure-ruby library for informations and tags on mp3 files
-LICENSE= ruby-license
+LICENSE= gnu-gpl-v3
USE_LANGUAGES= # none
-USE_RUBY_SETUP= yes
-RUBY_SETUP= install.rb
-CONFIGURE_ARGS+= --site-ruby=${PREFIX}/${RUBY_VENDORLIB}
-
-.include "../../lang/ruby/modules.mk"
+.include "../../lang/ruby/gem.mk"
.include "../../mk/bsd.pkg.mk"
diff --git a/audio/ruby-mp3info/PLIST b/audio/ruby-mp3info/PLIST
index 6c98d96795d..1c106e486f7 100644
--- a/audio/ruby-mp3info/PLIST
+++ b/audio/ruby-mp3info/PLIST
@@ -1,4 +1,13 @@
-@comment $NetBSD: PLIST,v 1.1.1.1 2011/02/15 10:47:20 obache Exp $
-${RUBY_VENDORLIB}/mp3info.rb
-${RUBY_VENDORLIB}/mp3info/extension_modules.rb
-${RUBY_VENDORLIB}/mp3info/id3v2.rb
+@comment $NetBSD: PLIST,v 1.2 2015/01/20 10:25:45 obache Exp $
+${GEM_HOME}/cache/${GEM_NAME}.gem
+${GEM_LIBDIR}/.gemtest
+${GEM_LIBDIR}/History.txt
+${GEM_LIBDIR}/Manifest.txt
+${GEM_LIBDIR}/README.md
+${GEM_LIBDIR}/Rakefile
+${GEM_LIBDIR}/lib/mp3info.rb
+${GEM_LIBDIR}/lib/mp3info/extension_modules.rb
+${GEM_LIBDIR}/lib/mp3info/id3v2.rb
+${GEM_LIBDIR}/test/fixtures.yml
+${GEM_LIBDIR}/test/test_ruby-mp3info.rb
+${GEM_HOME}/specifications/${GEM_NAME}.gemspec
diff --git a/audio/ruby-mp3info/distinfo b/audio/ruby-mp3info/distinfo
index 0aa7ff4dc94..8848455995a 100644
--- a/audio/ruby-mp3info/distinfo
+++ b/audio/ruby-mp3info/distinfo
@@ -1,5 +1,5 @@
-$NetBSD: distinfo,v 1.1.1.1 2011/02/15 10:47:20 obache Exp $
+$NetBSD: distinfo,v 1.2 2015/01/20 10:25:45 obache Exp $
-SHA1 (ruby-mp3info-0.6.13.tgz) = 81174cb4e78b2f8377dcd2b870c508f09f0fc8c0
-RMD160 (ruby-mp3info-0.6.13.tgz) = 7519bd419066bb1fee79f84348906f3ebf4a3307
-Size (ruby-mp3info-0.6.13.tgz) = 25050 bytes
+SHA1 (ruby-mp3info-0.8.5.gem) = 07b90e60e928160281c2d64a7acabde0d1da83ac
+RMD160 (ruby-mp3info-0.8.5.gem) = bc37718fbd62b8e5b43b9f8dd79cb61c0b1f5758
+Size (ruby-mp3info-0.8.5.gem) = 79872 bytes