diff options
author | root <root@rshg054.dnsready.net> | 2013-06-16 01:26:25 -0700 |
---|---|---|
committer | root <root@rshg054.dnsready.net> | 2013-06-16 01:26:25 -0700 |
commit | 44c10f274ec720a1512b15457b9eeffea28c6041 (patch) | |
tree | 48d27d6116dfd4fdce957af918c3d62385fd9226 /extra/amarok | |
parent | 0a069ede63336b105cda051cebe136f2592847d2 (diff) |
Sun Jun 16 01:25:28 PDT 2013
Diffstat (limited to 'extra/amarok')
-rw-r--r-- | extra/amarok/PKGBUILD | 20 | ||||
-rw-r--r-- | extra/amarok/kde411.patch | 35 |
2 files changed, 49 insertions, 6 deletions
diff --git a/extra/amarok/PKGBUILD b/extra/amarok/PKGBUILD index 1f255b672..90e291606 100644 --- a/extra/amarok/PKGBUILD +++ b/extra/amarok/PKGBUILD @@ -1,4 +1,4 @@ -# $Id: PKGBUILD 185605 2013-05-15 22:40:19Z andrea $ +# $Id: PKGBUILD 188524 2013-06-15 07:43:53Z andrea $ # Maintainer: Ronald van Haren <ronald@archlinux.org> # Contributor: Andrea Scarpino <andrea@archlinux.org> # Contributor: damir <damir@archlinux.org> @@ -6,7 +6,7 @@ pkgname=amarok replaces=('amarok-base' 'amarok-engine-xine' 'amarok-base-mysqlfree') pkgver=2.7.1 -pkgrel=1 +pkgrel=2 pkgdesc="The powerful music player for KDE" arch=("i686" "x86_64") url="http://amarok.kde.org/" @@ -22,11 +22,19 @@ optdepends=("libgpod: support for Apple iPod audio devices" "libmygpo-qt: gpodder.net Internet Service" "clamz: allow to download songs from Amazon.com") install="${pkgname}.install" -source=("http://download.kde.org/stable/${pkgname}/${pkgver}/src/${pkgname}-${pkgver}.tar.bz2") -sha1sums=('445eba6aaadface756410cf0f568a3770d437d2d') - -build() { +source=("http://download.kde.org/stable/${pkgname}/${pkgver}/src/${pkgname}-${pkgver}.tar.bz2" + 'kde411.patch') +sha1sums=('445eba6aaadface756410cf0f568a3770d437d2d' + 'c2fd0153ec622fccac47ebd31a1b0548c6222541') + +prepare() { mkdir build + + cd ${pkgname}-${pkgver} + patch -p1 -i "${srcdir}"/kde411.patch +} + +build() { cd build cmake ../${pkgname}-${pkgver} \ -DCMAKE_BUILD_TYPE=Release \ diff --git a/extra/amarok/kde411.patch b/extra/amarok/kde411.patch new file mode 100644 index 000000000..8099a4432 --- /dev/null +++ b/extra/amarok/kde411.patch @@ -0,0 +1,35 @@ +commit e899704b3db4af2ff228eb0d4dbbec05fb9a2448 +Author: Hrvoje Senjan <hrvoje.senjan@gmail.com> +Date: Mon Jun 10 09:26:37 2013 +0200 + + Remove usage of (fake) Amarok-Mockup theme + + This is due to https://bugs.kde.org/show_bug.cgi?id=320855 + Amarok-Mockup is unused, as far i can see, and also makes Amarok crash with kdelibs master/4.11 + If it is still needed, or there is a better solution, i'll discard the review... + + From 6b85a2899a30db5acebee92182a67778499a8d9e Mon Sep 17 00:00:00 2001 + From: Hrvoje Senjan <hrvoje.senjan@gmail.com> + Date: Sun, 9 Jun 2013 19:55:58 +0200 + Subject: [PATCH 1/1] Kill Amarok-Mockup + + BUG: 320855 + FIXED-IN: 2.8 + REVIEW: 110917 + +diff --git a/src/context/ContextView.cpp b/src/context/ContextView.cpp +index f61518f..152f8da 100644 +--- a/src/context/ContextView.cpp ++++ b/src/context/ContextView.cpp +@@ -78,11 +78,6 @@ ContextView::ContextView( Plasma::Containment *cont, Plasma::Corona *corona, QWi + p.setColor( QPalette::Base, c ); + setPalette( p ); + +- PERF_LOG( "Accessing Plasma::Theme" ); +- // here we initialize all the Plasma paths to Amarok paths +- Plasma::Theme::defaultTheme()->setUseGlobalSettings( false ); +- Theme::defaultTheme()->setThemeName( "Amarok-Mockup" ); +- PERF_LOG( "Access to Plasma::Theme complete" ) + contextScene()->setAppletMimeType( "text/x-amarokappletservicename" ); + + cont->setPos( 0, 0 ); |