[packages/libmtp] - add jolla support from git
atler
atler at pld-linux.org
Sat Mar 1 13:00:07 CET 2014
commit d6df5ea5dc2603541e05403acb69eb163a106c6e
Author: Jan Palus <jan.palus at gmail.com>
Date: Sat Mar 1 12:58:46 2014 +0100
- add jolla support from git
libmtp-jolla.patch | 17 +++++++++++++++++
libmtp.spec | 2 ++
2 files changed, 19 insertions(+)
---
diff --git a/libmtp.spec b/libmtp.spec
index 862116e..1c2219c 100644
--- a/libmtp.spec
+++ b/libmtp.spec
@@ -12,6 +12,7 @@ Group: Libraries
Source0: http://downloads.sourceforge.net/libmtp/%{name}-%{version}.tar.gz
# Source0-md5: 87835626dbcf39e62bfcdd4ae6da2063
Patch0: stdout-pollution.patch
+Patch1: %{name}-jolla.patch
URL: http://libmtp.sourceforge.net/
BuildRequires: automake
%{?with_apidocs:BuildRequires: doxygen}
@@ -85,6 +86,7 @@ Reguły UDEV dla urządzeń libmtp.
%prep
%setup -q
%patch0 -p1
+%patch1 -p1
%build
cp -f /usr/share/automake/config.sub .
diff --git a/libmtp-jolla.patch b/libmtp-jolla.patch
new file mode 100644
index 0000000..da6fceb
--- /dev/null
+++ b/libmtp-jolla.patch
@@ -0,0 +1,17 @@
+diff --git a/src/music-players.h b/src/music-players.h
+index 1732197..845fbd4 100644
+--- a/src/music-players.h
++++ b/src/music-players.h
+@@ -2416,6 +2433,12 @@
+ DEVICE_FLAGS_ANDROID_BUGS },
+
+ /*
++ * Jolla
++ */
++ { "Jolla", 0x2931, "Sailfish", 0x0a01,
++ DEVICE_FLAGS_ANDROID_BUGS },
++
++ /*
+ * Other strange stuff.
+ */
+ { "Isabella", 0x0b20, "Her Prototype", 0xddee, DEVICE_FLAG_NONE }
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/libmtp.git/commitdiff/d6df5ea5dc2603541e05403acb69eb163a106c6e
More information about the pld-cvs-commit
mailing list