* Thu Mar 26 2009 Rex Dieter <rdieter@fedoraproject.org> - 1.1.16.2-6

- add-mime-for-mod.patch
This commit is contained in:
Rex Dieter 2009-03-26 14:56:30 +00:00
parent cf59925f13
commit 47c9b778d8
2 changed files with 30 additions and 2 deletions

View File

@ -0,0 +1,23 @@
--- src/demuxers/demux_mod.c 2009-02-08 20:56:51.000000000 +0200
+++ src/demuxers/demux_mod.c.add-mime 2009-03-25 19:41:03.259017840 +0200
@@ -379,7 +379,19 @@
}
static const char *get_mimetypes (demux_class_t *this_gen) {
- return NULL;
+ return "audio/x-mod: mod: SoundTracker/NoiseTracker/ProTracker Module;"
+ "audio/mod: mod: SoundTracker/NoiseTracker/ProTracker Module;"
+ "audio/it: it: ImpulseTracker Module;"
+ "audio/x-it: it: ImpulseTracker Module;"
+ "audio/x-stm: stm: ScreamTracker 2 Module;"
+ "audio/x-s3m: s3m: ScreamTracker 3 Module;"
+ "audio/s3m: s3m: ScreamTracker 3 Module;"
+ "application/playerpro: 669: 669 Tracker Module;"
+ "application/adrift; amf: ADRIFT Module File;"
+ "audio/med; med; Amiga MED/OctaMED Tracker Module Sound File;"
+ "audio/x-amf; amf: ADRIFT Module File;"
+ "audio/x-xm; xm: FastTracker II Audio;"
+ "audio/xm; xm: FastTracker II Audio;";
}
static void class_dispose (demux_class_t *this_gen) {

View File

@ -34,7 +34,7 @@
Summary: A multimedia engine
Name: xine-lib
Version: 1.1.16.2
Release: 5%{?dist}
Release: 6%{?dist}
License: GPLv2+
Group: System Environment/Libraries
URL: http://xinehq.de/
@ -57,6 +57,7 @@ Patch8: xine-lib-1.1.15-avsync_hack.patch
Patch9: xine-lib-1.1.16.2-multilib.patch
## upstream patches
Patch100: xine-lib-safe-audio-pause3.patch
Patch101: xine-lib-add-mime-for-mod.patch
Provides: xine-lib(plugin-abi) = %{abiver}
%if "%{?_isa}" != "%{nil}"
@ -210,6 +211,7 @@ sed -i -e 's/caca >= 0\.99beta14 cucul >= 0\.99beta14/caca cucul/g' configure
%patch9 -p1 -b .multilib
%patch100 -p1 -b .safe_audio_pause
%patch101 -p0 -b .add-mime-for-mod
# Avoid standard rpaths on lib64 archs: (autotools patch should handle this, no? -- Rex )
#sed -i -e 's|"/lib /usr/lib\b|"/%{_lib} %{_libdir}|' configure
@ -442,6 +444,9 @@ rm -rf $RPM_BUILD_ROOT
%changelog
* Thu Mar 26 2009 Rex Dieter <rdieter@fedoraproject.org> - 1.1.16.2-6
- add-mime-for-mod.patch
* Tue Mar 10 2009 Kevin Kofler <Kevin@tigcc.ticalc.org> - 1.1.16.2-5
- rebuild for new ImageMagick