Initial import of ruby-id3lib-0.5.0.

id3lib-ruby provides a Ruby interface to the id3lib C++ library for
easily editing ID3 tags (v1 and v2) of MP3 audio files.

Submitted and maintained by Paul Irofti.
This commit is contained in:
bernd 2008-02-09 11:31:54 +00:00
parent c08bb3ed19
commit 6981dfbbd3
5 changed files with 200 additions and 0 deletions

View File

@ -0,0 +1,35 @@
# $OpenBSD $
SHARED_ONLY= Yes
COMMENT= Ruby interface to the id3lib C++ library
VERSION= 0.5.0
PKGNAME= ruby-id3lib-${VERSION}
DISTNAME= id3lib-ruby-${VERSION}
CATEGORIES= audio
MAINTAINER= Paul Irofti <bulibuta@gmail.com>
# Ruby License
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
MASTER_SITES= ${MASTER_SITE_RUBYFORGE:=id3lib-ruby/}
MODULES= lang/ruby
WANTLIB= c m stdc++ z
LIB_DEPENDS= ruby.>=1::lang/ruby \
id3.>=4::audio/id3lib
CONFIGURE_STYLE= ruby gem
REGRESS_DEPENDS= ::devel/ruby-rake \
:${PKGNAME}:${BASE_PKGPATH}
do-regress:
@cd ${WRKBUILD} && ${LOCALBASE}/bin/rake test
.include <bsd.port.mk>

View File

@ -0,0 +1,5 @@
MD5 (id3lib-ruby-0.5.0.gem) = j/zUjIhnedBhN+iDmqlK/w==
RMD160 (id3lib-ruby-0.5.0.gem) = tb7M5NrnaYPTWIA0wxI1/SDTTS4=
SHA1 (id3lib-ruby-0.5.0.gem) = t11Kifp8/QoVWaKcwkD2kLf95zo=
SHA256 (id3lib-ruby-0.5.0.gem) = 4mz3RxAlQjIKqiv/zwXk6jaIS75Pukh0nPsH9fFG0es=
SIZE (id3lib-ruby-0.5.0.gem) = 90112

View File

@ -0,0 +1,20 @@
$OpenBSD: patch-Rakefile,v 1.1.1.1 2008/02/09 11:31:54 bernd Exp $
--- Rakefile.orig Thu Jan 1 01:00:00 1970
+++ Rakefile Sat Feb 9 12:20:26 2008
@@ -48,6 +48,7 @@ Rake::TestTask.new do |t|
t.libs = ['lib', 'ext']
t.test_files = FileList['test/test_*.rb']
t.verbose = true
+ t.ruby_opts = ['-rubygems']
end
@@ -93,7 +94,7 @@ if defined? Gem
spec_mswin32.files = FILES_COMMON + FileList['ext/mswin32/id3lib_api.so']
spec_mswin32.extensions = []
spec_mswin32.require_paths = ['lib', 'ext/mswin32']
- spec_mswin32.platform = Gem::Platform::WIN32
+ spec_mswin32.platform = Gem::Platform::CURRENT
desc "Build mswin32 gem."
task :gem_mswin32 => [:ext_mswin32] do

View File

@ -0,0 +1,2 @@
id3lib-ruby provides a Ruby interface to the id3lib C++ library for
easily editing ID3 tags (v1 and v2) of MP3 audio files.

138
audio/ruby-id3lib/pkg/PLIST Normal file
View File

@ -0,0 +1,138 @@
@comment $OpenBSD: PLIST,v 1.1.1.1 2008/02/09 11:31:54 bernd Exp $
lib/ruby/gems/${MODRUBY_REV}/cache/${DISTNAME}.gem
lib/ruby/gems/${MODRUBY_REV}/doc/${DISTNAME}/
lib/ruby/gems/${MODRUBY_REV}/doc/${DISTNAME}/rdoc/
lib/ruby/gems/${MODRUBY_REV}/doc/${DISTNAME}/rdoc/classes/
lib/ruby/gems/${MODRUBY_REV}/doc/${DISTNAME}/rdoc/classes/ID3Lib/
lib/ruby/gems/${MODRUBY_REV}/doc/${DISTNAME}/rdoc/classes/ID3Lib.html
lib/ruby/gems/${MODRUBY_REV}/doc/${DISTNAME}/rdoc/classes/ID3Lib/Accessors.html
lib/ruby/gems/${MODRUBY_REV}/doc/${DISTNAME}/rdoc/classes/ID3Lib/Info.html
lib/ruby/gems/${MODRUBY_REV}/doc/${DISTNAME}/rdoc/classes/ID3Lib/Tag.html
lib/ruby/gems/${MODRUBY_REV}/doc/${DISTNAME}/rdoc/created.rid
lib/ruby/gems/${MODRUBY_REV}/doc/${DISTNAME}/rdoc/files/
lib/ruby/gems/${MODRUBY_REV}/doc/${DISTNAME}/rdoc/files/CHANGES.html
lib/ruby/gems/${MODRUBY_REV}/doc/${DISTNAME}/rdoc/files/INSTALL.html
lib/ruby/gems/${MODRUBY_REV}/doc/${DISTNAME}/rdoc/files/README.html
lib/ruby/gems/${MODRUBY_REV}/doc/${DISTNAME}/rdoc/files/TODO.html
lib/ruby/gems/${MODRUBY_REV}/doc/${DISTNAME}/rdoc/files/lib/
lib/ruby/gems/${MODRUBY_REV}/doc/${DISTNAME}/rdoc/files/lib/id3lib/
lib/ruby/gems/${MODRUBY_REV}/doc/${DISTNAME}/rdoc/files/lib/id3lib/accessors_rb.html
lib/ruby/gems/${MODRUBY_REV}/doc/${DISTNAME}/rdoc/files/lib/id3lib/info_rb.html
lib/ruby/gems/${MODRUBY_REV}/doc/${DISTNAME}/rdoc/files/lib/id3lib_rb.html
lib/ruby/gems/${MODRUBY_REV}/doc/${DISTNAME}/rdoc/fr_class_index.html
lib/ruby/gems/${MODRUBY_REV}/doc/${DISTNAME}/rdoc/fr_file_index.html
lib/ruby/gems/${MODRUBY_REV}/doc/${DISTNAME}/rdoc/fr_method_index.html
lib/ruby/gems/${MODRUBY_REV}/doc/${DISTNAME}/rdoc/index.html
lib/ruby/gems/${MODRUBY_REV}/doc/${DISTNAME}/rdoc/rdoc-style.css
lib/ruby/gems/${MODRUBY_REV}/doc/${DISTNAME}/ri/
lib/ruby/gems/${MODRUBY_REV}/doc/${DISTNAME}/ri/ID3Lib/
lib/ruby/gems/${MODRUBY_REV}/doc/${DISTNAME}/ri/ID3Lib/Accessors/
lib/ruby/gems/${MODRUBY_REV}/doc/${DISTNAME}/ri/ID3Lib/Accessors/album%3d-i.yaml
lib/ruby/gems/${MODRUBY_REV}/doc/${DISTNAME}/ri/ID3Lib/Accessors/album-i.yaml
lib/ruby/gems/${MODRUBY_REV}/doc/${DISTNAME}/ri/ID3Lib/Accessors/artist%3d-i.yaml
lib/ruby/gems/${MODRUBY_REV}/doc/${DISTNAME}/ri/ID3Lib/Accessors/artist-i.yaml
lib/ruby/gems/${MODRUBY_REV}/doc/${DISTNAME}/ri/ID3Lib/Accessors/band%3d-i.yaml
lib/ruby/gems/${MODRUBY_REV}/doc/${DISTNAME}/ri/ID3Lib/Accessors/band-i.yaml
lib/ruby/gems/${MODRUBY_REV}/doc/${DISTNAME}/ri/ID3Lib/Accessors/bpm%3d-i.yaml
lib/ruby/gems/${MODRUBY_REV}/doc/${DISTNAME}/ri/ID3Lib/Accessors/bpm-i.yaml
lib/ruby/gems/${MODRUBY_REV}/doc/${DISTNAME}/ri/ID3Lib/Accessors/cdesc-Accessors.yaml
lib/ruby/gems/${MODRUBY_REV}/doc/${DISTNAME}/ri/ID3Lib/Accessors/comment%3d-i.yaml
lib/ruby/gems/${MODRUBY_REV}/doc/${DISTNAME}/ri/ID3Lib/Accessors/comment-i.yaml
lib/ruby/gems/${MODRUBY_REV}/doc/${DISTNAME}/ri/ID3Lib/Accessors/comment_frames-i.yaml
lib/ruby/gems/${MODRUBY_REV}/doc/${DISTNAME}/ri/ID3Lib/Accessors/composer%3d-i.yaml
lib/ruby/gems/${MODRUBY_REV}/doc/${DISTNAME}/ri/ID3Lib/Accessors/composer-i.yaml
lib/ruby/gems/${MODRUBY_REV}/doc/${DISTNAME}/ri/ID3Lib/Accessors/conductor%3d-i.yaml
lib/ruby/gems/${MODRUBY_REV}/doc/${DISTNAME}/ri/ID3Lib/Accessors/conductor-i.yaml
lib/ruby/gems/${MODRUBY_REV}/doc/${DISTNAME}/ri/ID3Lib/Accessors/content_type%3d-i.yaml
lib/ruby/gems/${MODRUBY_REV}/doc/${DISTNAME}/ri/ID3Lib/Accessors/content_type-i.yaml
lib/ruby/gems/${MODRUBY_REV}/doc/${DISTNAME}/ri/ID3Lib/Accessors/date%3d-i.yaml
lib/ruby/gems/${MODRUBY_REV}/doc/${DISTNAME}/ri/ID3Lib/Accessors/date-i.yaml
lib/ruby/gems/${MODRUBY_REV}/doc/${DISTNAME}/ri/ID3Lib/Accessors/disc%3d-i.yaml
lib/ruby/gems/${MODRUBY_REV}/doc/${DISTNAME}/ri/ID3Lib/Accessors/disc-i.yaml
lib/ruby/gems/${MODRUBY_REV}/doc/${DISTNAME}/ri/ID3Lib/Accessors/encoded_by%3d-i.yaml
lib/ruby/gems/${MODRUBY_REV}/doc/${DISTNAME}/ri/ID3Lib/Accessors/encoded_by-i.yaml
lib/ruby/gems/${MODRUBY_REV}/doc/${DISTNAME}/ri/ID3Lib/Accessors/genre%3d-i.yaml
lib/ruby/gems/${MODRUBY_REV}/doc/${DISTNAME}/ri/ID3Lib/Accessors/genre-i.yaml
lib/ruby/gems/${MODRUBY_REV}/doc/${DISTNAME}/ri/ID3Lib/Accessors/grouping%3d-i.yaml
lib/ruby/gems/${MODRUBY_REV}/doc/${DISTNAME}/ri/ID3Lib/Accessors/grouping-i.yaml
lib/ruby/gems/${MODRUBY_REV}/doc/${DISTNAME}/ri/ID3Lib/Accessors/interpreted_by%3d-i.yaml
lib/ruby/gems/${MODRUBY_REV}/doc/${DISTNAME}/ri/ID3Lib/Accessors/interpreted_by-i.yaml
lib/ruby/gems/${MODRUBY_REV}/doc/${DISTNAME}/ri/ID3Lib/Accessors/language%3d-i.yaml
lib/ruby/gems/${MODRUBY_REV}/doc/${DISTNAME}/ri/ID3Lib/Accessors/language-i.yaml
lib/ruby/gems/${MODRUBY_REV}/doc/${DISTNAME}/ri/ID3Lib/Accessors/lyricist%3d-i.yaml
lib/ruby/gems/${MODRUBY_REV}/doc/${DISTNAME}/ri/ID3Lib/Accessors/lyricist-i.yaml
lib/ruby/gems/${MODRUBY_REV}/doc/${DISTNAME}/ri/ID3Lib/Accessors/lyrics%3d-i.yaml
lib/ruby/gems/${MODRUBY_REV}/doc/${DISTNAME}/ri/ID3Lib/Accessors/lyrics-i.yaml
lib/ruby/gems/${MODRUBY_REV}/doc/${DISTNAME}/ri/ID3Lib/Accessors/part_of_set%3d-i.yaml
lib/ruby/gems/${MODRUBY_REV}/doc/${DISTNAME}/ri/ID3Lib/Accessors/part_of_set-i.yaml
lib/ruby/gems/${MODRUBY_REV}/doc/${DISTNAME}/ri/ID3Lib/Accessors/performer%3d-i.yaml
lib/ruby/gems/${MODRUBY_REV}/doc/${DISTNAME}/ri/ID3Lib/Accessors/performer-i.yaml
lib/ruby/gems/${MODRUBY_REV}/doc/${DISTNAME}/ri/ID3Lib/Accessors/publisher%3d-i.yaml
lib/ruby/gems/${MODRUBY_REV}/doc/${DISTNAME}/ri/ID3Lib/Accessors/publisher-i.yaml
lib/ruby/gems/${MODRUBY_REV}/doc/${DISTNAME}/ri/ID3Lib/Accessors/remixed_by%3d-i.yaml
lib/ruby/gems/${MODRUBY_REV}/doc/${DISTNAME}/ri/ID3Lib/Accessors/remixed_by-i.yaml
lib/ruby/gems/${MODRUBY_REV}/doc/${DISTNAME}/ri/ID3Lib/Accessors/subtitle%3d-i.yaml
lib/ruby/gems/${MODRUBY_REV}/doc/${DISTNAME}/ri/ID3Lib/Accessors/subtitle-i.yaml
lib/ruby/gems/${MODRUBY_REV}/doc/${DISTNAME}/ri/ID3Lib/Accessors/time%3d-i.yaml
lib/ruby/gems/${MODRUBY_REV}/doc/${DISTNAME}/ri/ID3Lib/Accessors/time-i.yaml
lib/ruby/gems/${MODRUBY_REV}/doc/${DISTNAME}/ri/ID3Lib/Accessors/title%3d-i.yaml
lib/ruby/gems/${MODRUBY_REV}/doc/${DISTNAME}/ri/ID3Lib/Accessors/title-i.yaml
lib/ruby/gems/${MODRUBY_REV}/doc/${DISTNAME}/ri/ID3Lib/Accessors/track%3d-i.yaml
lib/ruby/gems/${MODRUBY_REV}/doc/${DISTNAME}/ri/ID3Lib/Accessors/track-i.yaml
lib/ruby/gems/${MODRUBY_REV}/doc/${DISTNAME}/ri/ID3Lib/Accessors/year%3d-i.yaml
lib/ruby/gems/${MODRUBY_REV}/doc/${DISTNAME}/ri/ID3Lib/Accessors/year-i.yaml
lib/ruby/gems/${MODRUBY_REV}/doc/${DISTNAME}/ri/ID3Lib/Frame/
lib/ruby/gems/${MODRUBY_REV}/doc/${DISTNAME}/ri/ID3Lib/Frame/cdesc-Frame.yaml
lib/ruby/gems/${MODRUBY_REV}/doc/${DISTNAME}/ri/ID3Lib/Info/
lib/ruby/gems/${MODRUBY_REV}/doc/${DISTNAME}/ri/ID3Lib/Info/cdesc-Info.yaml
lib/ruby/gems/${MODRUBY_REV}/doc/${DISTNAME}/ri/ID3Lib/Info/field-c.yaml
lib/ruby/gems/${MODRUBY_REV}/doc/${DISTNAME}/ri/ID3Lib/Info/field_num-c.yaml
lib/ruby/gems/${MODRUBY_REV}/doc/${DISTNAME}/ri/ID3Lib/Info/frame-c.yaml
lib/ruby/gems/${MODRUBY_REV}/doc/${DISTNAME}/ri/ID3Lib/Info/frame_num-c.yaml
lib/ruby/gems/${MODRUBY_REV}/doc/${DISTNAME}/ri/ID3Lib/Tag/
lib/ruby/gems/${MODRUBY_REV}/doc/${DISTNAME}/ri/ID3Lib/Tag/cdesc-Tag.yaml
lib/ruby/gems/${MODRUBY_REV}/doc/${DISTNAME}/ri/ID3Lib/Tag/frame-i.yaml
lib/ruby/gems/${MODRUBY_REV}/doc/${DISTNAME}/ri/ID3Lib/Tag/frame_text-i.yaml
lib/ruby/gems/${MODRUBY_REV}/doc/${DISTNAME}/ri/ID3Lib/Tag/has_tag%3f-i.yaml
lib/ruby/gems/${MODRUBY_REV}/doc/${DISTNAME}/ri/ID3Lib/Tag/invalid_frames-i.yaml
lib/ruby/gems/${MODRUBY_REV}/doc/${DISTNAME}/ri/ID3Lib/Tag/new-c.yaml
lib/ruby/gems/${MODRUBY_REV}/doc/${DISTNAME}/ri/ID3Lib/Tag/remove_frame-i.yaml
lib/ruby/gems/${MODRUBY_REV}/doc/${DISTNAME}/ri/ID3Lib/Tag/set_frame_text-i.yaml
lib/ruby/gems/${MODRUBY_REV}/doc/${DISTNAME}/ri/ID3Lib/Tag/size-i.yaml
lib/ruby/gems/${MODRUBY_REV}/doc/${DISTNAME}/ri/ID3Lib/Tag/strip%21-i.yaml
lib/ruby/gems/${MODRUBY_REV}/doc/${DISTNAME}/ri/ID3Lib/Tag/update%21-i.yaml
lib/ruby/gems/${MODRUBY_REV}/doc/${DISTNAME}/ri/ID3Lib/cdesc-ID3Lib.yaml
lib/ruby/gems/${MODRUBY_REV}/doc/${DISTNAME}/ri/created.rid
lib/ruby/gems/${MODRUBY_REV}/gems/${DISTNAME}/
lib/ruby/gems/${MODRUBY_REV}/gems/${DISTNAME}/CHANGES
lib/ruby/gems/${MODRUBY_REV}/gems/${DISTNAME}/INSTALL
lib/ruby/gems/${MODRUBY_REV}/gems/${DISTNAME}/README
lib/ruby/gems/${MODRUBY_REV}/gems/${DISTNAME}/Rakefile
lib/ruby/gems/${MODRUBY_REV}/gems/${DISTNAME}/TODO
lib/ruby/gems/${MODRUBY_REV}/gems/${DISTNAME}/ext/
lib/ruby/gems/${MODRUBY_REV}/gems/${DISTNAME}/ext/Makefile
lib/ruby/gems/${MODRUBY_REV}/gems/${DISTNAME}/ext/Rakefile
lib/ruby/gems/${MODRUBY_REV}/gems/${DISTNAME}/ext/extconf.rb
lib/ruby/gems/${MODRUBY_REV}/gems/${DISTNAME}/ext/generate_info.rb
lib/ruby/gems/${MODRUBY_REV}/gems/${DISTNAME}/ext/id3lib_api.i
lib/ruby/gems/${MODRUBY_REV}/gems/${DISTNAME}/ext/id3lib_api.so
lib/ruby/gems/${MODRUBY_REV}/gems/${DISTNAME}/ext/id3lib_api_wrap.cxx
lib/ruby/gems/${MODRUBY_REV}/gems/${DISTNAME}/ext/id3lib_api_wrap.o
lib/ruby/gems/${MODRUBY_REV}/gems/${DISTNAME}/ext/mkmf.log
lib/ruby/gems/${MODRUBY_REV}/gems/${DISTNAME}/lib/
lib/ruby/gems/${MODRUBY_REV}/gems/${DISTNAME}/lib/id3lib/
lib/ruby/gems/${MODRUBY_REV}/gems/${DISTNAME}/lib/id3lib.rb
lib/ruby/gems/${MODRUBY_REV}/gems/${DISTNAME}/lib/id3lib/accessors.rb
lib/ruby/gems/${MODRUBY_REV}/gems/${DISTNAME}/lib/id3lib/info.rb
lib/ruby/gems/${MODRUBY_REV}/gems/${DISTNAME}/lib/id3lib_api.so
lib/ruby/gems/${MODRUBY_REV}/gems/${DISTNAME}/setup.rb
lib/ruby/gems/${MODRUBY_REV}/gems/${DISTNAME}/test/
lib/ruby/gems/${MODRUBY_REV}/gems/${DISTNAME}/test/data/
lib/ruby/gems/${MODRUBY_REV}/gems/${DISTNAME}/test/data/cover.jpg
lib/ruby/gems/${MODRUBY_REV}/gems/${DISTNAME}/test/data/sample.mp3
lib/ruby/gems/${MODRUBY_REV}/gems/${DISTNAME}/test/data/unicode.mp3
lib/ruby/gems/${MODRUBY_REV}/gems/${DISTNAME}/test/test_reading.rb
lib/ruby/gems/${MODRUBY_REV}/gems/${DISTNAME}/test/test_unicode.rb
lib/ruby/gems/${MODRUBY_REV}/gems/${DISTNAME}/test/test_writing.rb
lib/ruby/gems/${MODRUBY_REV}/gems/${DISTNAME}/usage.rb
lib/ruby/gems/${MODRUBY_REV}/specifications/${DISTNAME}.gemspec