diff options
author | Jim Ramsay <lack@gentoo.org> | 2006-10-03 17:40:35 +0000 |
---|---|---|
committer | Jim Ramsay <lack@gentoo.org> | 2006-10-03 17:40:35 +0000 |
commit | 74885c5e8c5bc9adb88135c2a1db2c07d4f2f18a (patch) | |
tree | f4b180a09184a3c4c4cab9069092fe3b62f97241 /rox-extra/musicbox/files | |
parent | Version bump. Ebuild by Arnaud Vrac <rawoul@gmail.com>. Closing bug #146228. (diff) | |
download | historical-74885c5e8c5bc9adb88135c2a1db2c07d4f2f18a.tar.gz historical-74885c5e8c5bc9adb88135c2a1db2c07d4f2f18a.tar.bz2 historical-74885c5e8c5bc9adb88135c2a1db2c07d4f2f18a.zip |
New application: MusicBox-027. Replaces rox-extra/music-box (rename and version bump)
Package-Manager: portage-2.1.2_pre1-r3
Diffstat (limited to 'rox-extra/musicbox/files')
-rw-r--r-- | rox-extra/musicbox/files/digest-musicbox-027 | 3 | ||||
-rw-r--r-- | rox-extra/musicbox/files/musicbox-027-fPIC.patch | 21 | ||||
-rw-r--r-- | rox-extra/musicbox/files/musicbox-027-mime.patch | 54 |
3 files changed, 78 insertions, 0 deletions
diff --git a/rox-extra/musicbox/files/digest-musicbox-027 b/rox-extra/musicbox/files/digest-musicbox-027 new file mode 100644 index 000000000000..b79e1e22ebf5 --- /dev/null +++ b/rox-extra/musicbox/files/digest-musicbox-027 @@ -0,0 +1,3 @@ +MD5 ebeeab6c35362856314138a6e3638de8 MusicBox-027.tgz 110634 +RMD160 c6cfbc09b0fbdafd3677f6de391bd20878e5d330 MusicBox-027.tgz 110634 +SHA256 a1a4897ec42f10cfcaaf59990212fe68a83744d5938473d0e560b6c608fd0015 MusicBox-027.tgz 110634 diff --git a/rox-extra/musicbox/files/musicbox-027-fPIC.patch b/rox-extra/musicbox/files/musicbox-027-fPIC.patch new file mode 100644 index 000000000000..5eab6074a2c3 --- /dev/null +++ b/rox-extra/musicbox/files/musicbox-027-fPIC.patch @@ -0,0 +1,21 @@ +--- MusicBox/plugins/flac/Makefile.orig 2006-10-03 09:24:56.000000000 -0600 ++++ MusicBox/plugins/flac/Makefile 2006-10-03 09:25:10.000000000 -0600 +@@ -11,15 +11,15 @@ + + sw_metadata.py _sw_metadata.so: sw_metadata.i format.i + swig -python sw_metadata.i +- $(CC) -g $(INCL) sw_metadata_wrap.c -shared $(LIBS) -o _sw_metadata.so ++ $(CC) -fPIC $(INCL) sw_metadata_wrap.c -shared $(LIBS) -o _sw_metadata.so + + decoder.py _decoder.so: decoder.i format.i + swig -python decoder.i +- $(CC) -g $(INCL) decoder_wrap.c -shared $(LIBS) -o _decoder.so ++ $(CC) -fPIC $(INCL) decoder_wrap.c -shared $(LIBS) -o _decoder.so + + encoder.py _encoder.so: encoder.i format.i + swig -python encoder.i +- $(CC) -g $(INCL) encoder_wrap.c -shared $(LIBS) -o _encoder.so ++ $(CC) -fPIC $(INCL) encoder_wrap.c -shared $(LIBS) -o _encoder.so + + clean: + rm -f sw_metadata_wrap.c _sw_metadata.so sw_metadata.py diff --git a/rox-extra/musicbox/files/musicbox-027-mime.patch b/rox-extra/musicbox/files/musicbox-027-mime.patch new file mode 100644 index 000000000000..321e5c8c8691 --- /dev/null +++ b/rox-extra/musicbox/files/musicbox-027-mime.patch @@ -0,0 +1,54 @@ +Index: __init__.py +=================================================================== +--- MusicBox/plugins/__init__.py (revision 45) ++++ MusicBox/plugins/__init__.py (working copy) +@@ -4,35 +4,35 @@ + from _wav import * + + +-TYPE_OGG = 'application/ogg' +-TYPE_MP3 = 'audio/mpeg' +-TYPE_FLAC = 'audio/x-flac' +-TYPE_WAV = 'audio/x-wav' +-TYPE_LIST = [TYPE_OGG, TYPE_MP3, TYPE_FLAC, TYPE_WAV] ++TYPE_OGG = ['application/ogg', 'audio/x-vorbis+ogg'] ++TYPE_MP3 = ['audio/mpeg'] ++TYPE_FLAC = ['audio/x-flac'] ++TYPE_WAV = ['audio/x-wav'] ++TYPE_LIST = TYPE_OGG + TYPE_MP3 + TYPE_FLAC + TYPE_WAV + + + def get_info(song): +- if song.type == TYPE_MP3 and HAVE_MP3: ++ if song.type in TYPE_MP3 and HAVE_MP3: + _mp3.get_info(song) +- elif song.type == TYPE_OGG and HAVE_OGG: ++ elif song.type in TYPE_OGG and HAVE_OGG: + _ogg.get_info(song) +- elif song.type == TYPE_FLAC and HAVE_FLAC: ++ elif song.type in TYPE_FLAC and HAVE_FLAC: + _flac.get_info(song) +- elif song.type == TYPE_WAV and HAVE_WAV: ++ elif song.type in TYPE_WAV and HAVE_WAV: + _wav.get_info(song) + else: + raise ValueError, 'Unsupported file %s (type: %s).' % (song.filename, song.type) + + + def get_decoder(name, type, buffersize): +- if (type == TYPE_OGG and HAVE_OGG): ++ if (type in TYPE_OGG and HAVE_OGG): + return OGGDecoder(name, buffersize) +- elif (type == TYPE_MP3 and HAVE_MP3): ++ elif (type in TYPE_MP3 and HAVE_MP3): + return MP3Decoder(name, buffersize) +- elif (type == TYPE_FLAC and HAVE_FLAC): ++ elif (type in TYPE_FLAC and HAVE_FLAC): + return FLACDecoder(name, buffersize) +- elif (type == TYPE_WAV): ++ elif (type in TYPE_WAV): + return WAVDecoder(name, buffersize) + else: +- raise ValueError, 'Unsupported file $s (type: %s).' % (name, type) ++ raise ValueError, 'Unsupported file %s (type: %s).' % (name, type) + |