Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
HOWTO: KDE 3.4 + Amarok 1.2.3
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Documentation, Tips & Tricks
View previous topic :: View next topic  
Author Message
antrix
n00b
n00b


Joined: 31 Oct 2003
Posts: 62

PostPosted: Sun Apr 10, 2005 3:40 pm    Post subject: HOWTO: KDE 3.4 + Amarok 1.2.3 Reply with quote

Note: This assumes you installed KDE using the new meta-ebuilds, and that you emerged arts separately... (You have arts in your world file).
Because of the current status of the KDE ebuilds, getting amarok 1.2.3 to work wasnt that straight forwards. Here is how I did it:
Note, I am running iBook, therefore PPC architecture. Remember to change ~ppc to YOUR arch.

1. Add this line to your /etc/portage/package.keywords:
Code:

media-sound/amarok ~ppc


2. Add this line to your /etc/portage/package.use:
Code:

media-sound/amarok xine


3. Add this Ebuild to your portage overlay (MODIFIED for you so that amarok doesnt pull in the OLDER KDE 3.3.x packages):
Code:

# Copyright 1999-2005 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/media-sound/amarok/amarok-1.2.3.ebuild,v 1.2 2005/04/03 19:25:04 greg_g Exp $

inherit kde eutils

DESCRIPTION="amaroK - the audio player for KDE"
HOMEPAGE="http://amarok.kde.org/"
SRC_URI="mirror://sourceforge/amarok/${P}.tar.bz2"
LICENSE="GPL-2"

SLOT="0"
KEYWORDS="~amd64 ~ppc -sparc ~x86"
IUSE="arts flac gstreamer kde mad mysql noamazon oggvorbis opengl xine xmms visualization"
# kde: enables compilation of the konqueror sidebar plugin

RDEPEND="kde? ( || ( kde-base/konqueror kde-base/kdebase-meta ) )
         arts? ( kde-base/arts )
         opengl? ( virtual/opengl )
         xmms? ( >=media-sound/xmms-1.2 )
         xine? ( >=media-libs/xine-lib-1_rc4 )
         >=media-libs/tunepimp-0.3.0
         >=media-libs/taglib-1.3.1
         gstreamer? ( >=media-libs/gst-plugins-0.8.6
                      mad? ( >=media-plugins/gst-plugins-mad-0.8.6 )
                      oggvorbis? ( >=media-plugins/gst-plugins-ogg-0.8.6
                                   >=media-plugins/gst-plugins-vorbis-0.8.6 )
                      flac? ( >=media-plugins/gst-plugins-flac-0.8.6 ) )
         mysql? ( >=dev-db/mysql-4 )
         visualization? ( media-libs/libsdl
                          >=media-plugins/libvisual-plugins-0.2 )"

DEPEND="${RDEPEND}
        >=dev-util/pkgconfig-0.9.0"

need-kde 3.2

pkg_setup() {
        if use arts && ! use xine && ! use gstreamer; then
                ewarn "aRts support is deprecated, if you have problems please consider"
                ewarn "enabling support for Xine or GStreamer"
                ewarn "(emerge amarok again with USE=\"xine\" or USE=\"gstreamer\")."
                ebeep 2
        fi

        if ! use arts && ! use xine && ! use gstreamer; then
                eerror "amaroK needs either aRts (deprecated), Xine or GStreamer to work,"
                eerror "please try again with USE=\"arts\", USE=\"xine\" or USE=\"gstreamer\"."
                die
        fi

        # check whether kdelibs was compiled with arts support
        kde_pkg_setup
}

src_compile() {
        # amarok does not respect kde coding standards, and makes a lot of
        # assuptions regarding its installation directory. For this reason,
        # it must be installed in the KDE install directory.
        PREFIX="`kde-config --prefix`"

        myconf="$(use_with arts) $(use_with xine)
                $(use_with gstreamer) $(use_enable mysql)
                $(use_with opengl) $(use_enable !noamazon amazon)"

        kde_src_compile
}


4. Run emerge -av amarok (verify the packages that are to be installed, make sure kde 3.3.x isnt being fetched). Then hit y.

5. DISABLE arts in control panel.

6. Enjoy, this is a great player!

Notes:
I could NOT get amarok 1.2.3 to work with arts/akode engine... Hence why we are compiling it with the xine USE flag. Xine engine works great for me.
Disable arts, it causes problems with Xine playback when enabled (choppy at start of mp3s).
I recommend you use the xmms-like player in amarok (asked during first setup)... It rocks!

If you have any comments/suggestions to this howto please reply here and I will change/update things as quickly as possible.
_________________
Antrix
| 2.6.9-gentoo-r13 i686 AMD Athlon(tm) XP 2000+ AuthenticAMD GNU/Linux | (My desktop PC, which needs an update world)

| 2.6.11-gentoo-r6 PPC 7447A, altivec supported PowerBook6,5 GNU/Linux | (My iBook G4)
Back to top
View user's profile Send private message
indianiec
Tux's lil' helper
Tux's lil' helper


Joined: 01 Feb 2005
Posts: 97
Location: Krakow

PostPosted: Sun Apr 17, 2005 12:16 am    Post subject: Reply with quote

you only need to add kde-base/kdemultimedia-arts
and kde-base/akode to your /etc/portage/package.keywords
Back to top
View user's profile Send private message
Q-collective
Advocate
Advocate


Joined: 22 Mar 2004
Posts: 2056

PostPosted: Sun Apr 17, 2005 8:29 am    Post subject: Reply with quote

I don't get the purpose of the howto?
I just added
Code:
=kde-base/kdelibs-3.4.0
=kde-base/kdebase-3.4.0
=media-sound/amarok-1.2.3

to my package.keywords, and just emerged kdelibs, kdebase and amarok
Done.

PS: oh yeah, I disabled arts in my make.conf, I hate sounddaemons...
Back to top
View user's profile Send private message
indianiec
Tux's lil' helper
Tux's lil' helper


Joined: 01 Feb 2005
Posts: 97
Location: Krakow

PostPosted: Mon Apr 18, 2005 11:36 am    Post subject: Reply with quote

Q-collective wrote:
I don't get the purpose of the howto?
I just added
Code:
=kde-base/kdelibs-3.4.0
=kde-base/kdebase-3.4.0
=media-sound/amarok-1.2.3

to my package.keywords, and just emerged kdelibs, kdebase and amarok
Done.


but if you install kde from meta-ebuilds it is not good idea to install kdebase. it is not possible i think. there is kdebase-meta instead, but amarok does not need it at all. it needs kdemultimedia-arts and akode to work.

sorry for my english
Back to top
View user's profile Send private message
Q-collective
Advocate
Advocate


Joined: 22 Mar 2004
Posts: 2056

PostPosted: Mon Apr 18, 2005 2:20 pm    Post subject: Reply with quote

indianiec wrote:
Q-collective wrote:
I don't get the purpose of the howto?
I just added
Code:
=kde-base/kdelibs-3.4.0
=kde-base/kdebase-3.4.0
=media-sound/amarok-1.2.3

to my package.keywords, and just emerged kdelibs, kdebase and amarok
Done.


but if you install kde from meta-ebuilds it is not good idea to install kdebase. it is not possible i think. there is kdebase-meta instead, but amarok does not need it at all. it needs kdemultimedia-arts and akode to work.

sorry for my english

It doesn't need arts, I'm the proof myself since I don't have arts installed at all.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Documentation, Tips & Tricks All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum