- Add support for the Nokia N82
This commit is contained in:
parent
daa7001102
commit
e7f5f4ab5d
16
libmtp-nokia-n82.patch
Normal file
16
libmtp-nokia-n82.patch
Normal file
@ -0,0 +1,16 @@
|
||||
Index: src/music-players.h
|
||||
===================================================================
|
||||
RCS file: /cvsroot/libmtp/libmtp/src/music-players.h,v
|
||||
retrieving revision 1.83
|
||||
diff -u -p -u -p -r1.83 music-players.h
|
||||
--- src/music-players.h 21 Oct 2008 14:24:24 -0000 1.83
|
||||
+++ src/music-players.h 24 Oct 2008 19:57:02 -0000
|
||||
@@ -474,6 +474,8 @@
|
||||
{ "Nokia", 0x0421, "N73 Mobile Phone", 0x04d1, DEVICE_FLAG_UNLOAD_DRIVER },
|
||||
// From Swapan <swapan@yahoo.com>
|
||||
{ "Nokia", 0x0421, "N75 Mobile Phone", 0x04e1, DEVICE_FLAG_NONE },
|
||||
+ // From Bastien Nocera <hadess@hadess.net>
|
||||
+ { "Nokia", 0x0421, "N82 Mobile Phone", 0x0074, DEVICE_FLAG_NONE },
|
||||
// From Anonymous Sourceforge User
|
||||
{ "Nokia", 0x0421, "N95 Mobile Phone", 0x04ef, DEVICE_FLAG_NONE },
|
||||
// From: Pat Nicholls <pat@patandannie.co.uk>
|
@ -3,7 +3,7 @@
|
||||
|
||||
Name: libmtp
|
||||
Version: 0.3.3
|
||||
Release: 1%{?dist}
|
||||
Release: 2%{?dist}
|
||||
Summary: A software library for MTP media players
|
||||
URL: http://libmtp.sourceforge.net/
|
||||
|
||||
@ -17,6 +17,7 @@ BuildRequires: libusb-devel
|
||||
BuildRequires: doxygen
|
||||
|
||||
Patch0: libmtp-0.2.6.1-simpler-rules.patch
|
||||
Patch1: libmtp-nokia-n82.patch
|
||||
|
||||
%description
|
||||
This package provides a software library for communicating with MTP
|
||||
@ -46,6 +47,7 @@ library for MTP media players.
|
||||
%prep
|
||||
%setup -q
|
||||
%patch0 -p1 -b .rules
|
||||
%patch1 -p0 -b .n82
|
||||
|
||||
%build
|
||||
%configure --disable-static --program-prefix=mtp-
|
||||
@ -99,6 +101,9 @@ rm -rf $RPM_BUILD_ROOT
|
||||
|
||||
|
||||
%changelog
|
||||
* Fri Oct 24 2008 - Bastien Nocera <bnocera@redhat.com> - 0.3.3-2
|
||||
- Add support for the Nokia N82
|
||||
|
||||
* Fri Sep 26 2008 Linus Walleij <triad@df.lth.se> 0.3.3-1
|
||||
- New upstream bugfix release.
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user