This forum has been archived. All content is frozen. Please use KDE Discuss instead.

Amarok 2.1 SVN + Gentoo + AMD64 ... Working!

Tags: None
(comma "," separated)
frawau
Registered Member
Posts
4
Karma
0
Hi everybody,

I've been lurking on this forum for too long without contributing... but now I have some info that people may find interesting...;)

After many tries, I finally got Amarok SVN to work on my Gentoo box... Including the collection.

Here is how I did.
  1- I installed MySQL 5.0.76-r1 with the following USE: embedded extraengine

  2- I emerged amarok-2.0.2-r3 and made sure it worked (I am not sure if this
      absolutely needed, but I did in on my way to a solution and the solution
      requires disabling a test at compile time... so...)
  3- I grabbed Amarok SVN
  4- I edited the file cmake/modules/FindQtScriptQtBindings.cmake and reduced it to   
        only
              include(CheckCXXSourceRuns) 
              set(QTSCRIPTQTBINDINGS_FOUND TRUE)

  5- I made sure that all the files were under a directory I called
              amarok-2.1.0_beta1  (i.e. files INSTALL, README,...  are right there)
        I created a tar/bzipped file
                  tar cfj amarok-2.1.0_beta1.tar.bz2 amarok-2.1.0_beta1
        and copied the tar file to /usr/portage/distfiles

  6 - I created an overlay directory
                  i.e. mkdir -p /usr/local/portage/media-sound/amarok
        and registered it in make.conf

    7- I copied the ebuild file to the overlay directory:
            cp /usr/portage/media-sound/amarok/amarok-2.0.2-r3.ebuild \
                  /usr/local/portage/media-sound/amarok/amarok-2.1.0_beta1.ebuild

        Note the ebuild name must match that of the tar file

    8- I edited the ebuild file:
                  - removed the LINGUA line
                  - removed the PATCHES line
                  - removed the bit about QT_WEBKIT
                  - removed the bit about qtscript-generator (not sure it isneeded)

      9 - I created the Manifest:
                  cd  /usr/local/portage/media-sound/amarok/
                  ebuild amarok-2.1.0_beta1.ebuild manifest

      10 I emerged amarok (unmasked!)

Voila.... it all worked and my collection could be scanned ... well... almost.. it seems the scanner does not like filenames with Latin-1 characters in them.....

Drop me a note if you want to get my ebuild and tar files

Cheers,
            François

Last edited by frawau on Mon May 18, 2009 4:19 pm, edited 1 time in total.


Bookmarks



Who is online

Registered users: Bing [Bot], Google [Bot], Sogou [Bot]