Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 144794 - media-sound/amarok-1.4.2 MTP support
Summary: media-sound/amarok-1.4.2 MTP support
Status: RESOLVED LATER
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High enhancement (vote)
Assignee: Diego Elio Pettenò (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-08-22 16:22 UTC by Jeremy Sermersheim
Modified: 2006-08-31 00:44 UTC (History)
3 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
amarok-1.4.2-mtp.patch (amarok-1.4.2-mtp.patch,2.53 KB, patch)
2006-08-29 05:55 UTC, Matteo Azzali (RETIRED)
Details | Diff
amarok-1.4.2.ebuild (amarok-1.4.2.ebuild,2.16 KB, text/plain)
2006-08-29 05:57 UTC, Matteo Azzali (RETIRED)
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Jeremy Sermersheim 2006-08-22 16:22:03 UTC
Diego, I know you're on a bit of a break at the moment, but the new amarok 1.4.2 now includes support for MTP based MP3 players.  I've submitted an ebuild for libmtp in the sunrise overlay that seems to be pretty stable.  I got a lot of help from genstef on proper ebuild techniques.  No rush on this request, just kind of a heads up.

Thanks
Comment 1 Mike Doty (RETIRED) gentoo-dev 2006-08-22 16:44:55 UTC
not infra
Comment 2 Jeremy Sermersheim 2006-08-22 18:07:02 UTC
I got it working with the amarok-1.4.2_beta1.ebuild modified as such (it didnt work with the 0.0.12 ebuild i just submitted to sunrise though :( 

1.ebuild /usr/portage/local/portage/media-sound/amarok/amarok-1.4.2.ebuild
--- /usr/portage/media-sound/amarok/amarok-1.4.2_beta1.ebuild   2006-07-30 17:32:21.000000000 -0500
+++ /usr/portage/local/portage/media-sound/amarok/amarok-1.4.2.ebuild   2006-08-22 19:06:34.000000000 -0500
@@ -25,7 +25,7 @@
 SLOT="0"
 KEYWORDS="~amd64 ~ppc ~ppc64 ~x86 ~x86-fbsd"
 IUSE="aac kde mysql noamazon opengl postgres
-xmms visualization ipod ifp real njb"
+xmms visualization ipod ifp real njb mtp"
 # kde: enables compilation of the konqueror sidebar plugin

 DEPEND="kde? ( || ( kde-base/konqueror kde-base/kdebase ) )
@@ -41,7 +41,8 @@
        aac? ( media-libs/libmp4v2 )
        ifp? ( media-libs/libifp )
        real? ( media-video/realplayer )
-       njb? ( >=media-libs/libnjb-2.2.4 )"
+       njb? ( >=media-libs/libnjb-2.2.4 )
+       mtp? ( =media-libs/libmtp-0.0.11 )"

 RDEPEND="${DEPEND}
        dev-lang/ruby"
@@ -64,6 +65,7 @@
                                  $(use_with ifp)
                                  $(use_with real helix)
                                  $(use_with njb libnjb)
+                                 $(use_with mtp libmtp)
                                  --without-musicbrainz
                                  --with-xine
                                  --without-mas
Comment 3 Dan 2006-08-28 19:54:43 UTC
Amarok 1.4.2 does not work with 0.0.12 (silly changes to api)

this can be fixed with the following svn commit that applies against 1.4.2 final.

http://websvn.kde.org/?rev=576121&view=rev
Comment 4 Matteo Azzali (RETIRED) gentoo-dev 2006-08-29 05:55:51 UTC
Created attachment 95366 [details, diff]
amarok-1.4.2-mtp.patch

"my version" of the patch, to be used with proposed ebuild
Comment 5 Matteo Azzali (RETIRED) gentoo-dev 2006-08-29 05:57:37 UTC
Created attachment 95367 [details]
amarok-1.4.2.ebuild

Ebuild currently running on my system, I haven't possibility to test some of the new features and also I'll not commit without flameeyes, but you can test it now....
Comment 6 Matteo Azzali (RETIRED) gentoo-dev 2006-08-30 04:41:57 UTC
at bug #145448 I posted an updated ebuild with also musicbrainz support.
Comment 7 Diego Elio Pettenò (RETIRED) gentoo-dev 2006-08-31 00:44:02 UTC
libmtp is not in portage, until it is, this bug is closed LATER.

I don't have hardware to check this. I'll be adding the libmtp patch on the ebuild anyway as suggested by upstream.