Accepting request 283693 from devel:libraries:c_c++

1

OBS-URL: https://build.opensuse.org/request/show/283693
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/libmtp?expand=0&rev=66
This commit is contained in:
Dominique Leuenberger 2015-02-06 09:40:07 +00:00 committed by Git OBS Bridge
commit 8ca90cd4fc
3 changed files with 20 additions and 1 deletions

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Sat Jan 31 20:26:11 UTC 2015 - rjschwei@suse.com
- Add device data for Droid Turbo
add: mtp_DroidTurbo.patch
-------------------------------------------------------------------
Thu Sep 25 08:02:46 UTC 2014 - schwab@suse.de

View File

@ -1,7 +1,7 @@
#
# spec file for package libmtp
#
# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany.
# Copyright (c) 2015 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@ -31,6 +31,7 @@ Release: 0
%define sonum 9
Source0: http://downloads.sourceforge.net/project/%{name}/%{name}/%{version}/%{name}-%{version}.tar.gz
Patch0: include-config-h.patch
Patch1: mtp_DroidTurbo.patch
# from git 1a2669c6df6c093aec38c0c99a21438d74ccdf33
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%{!?_udevrulesdir: %global _udevrulesdir %(pkg-config --variable=udevdir udev)/rules.d }
@ -79,6 +80,7 @@ Transfer Protocol) authored by Microsoft.
%prep
%setup -q
%patch0 -p1
%patch1
%build
echo 'HTML_TIMESTAMP=NO' >> doc/Doxyfile.in

11
mtp_DroidTurbo.patch Normal file
View File

@ -0,0 +1,11 @@
--- src/music-players.h.orig
+++ src/music-players.h
@@ -1910,6 +1910,8 @@
DEVICE_FLAGS_ANDROID_BUGS },
{ "Motorola", 0x22b8, "XT890/907/Razr (MTP+ADB)", 0x710e,
DEVICE_FLAGS_ANDROID_BUGS },
+ { "Motorola", 0x22b8, "Droid Turbo Verizon", 0x2ea8,
+ DEVICE_FLAGS_ANDROID_BUGS },
/*
* XT890/907/Razr
* 710f is USB mass storage