[media-sound/spotify] Die die die! and stay dead!
This commit is contained in:
@@ -1,5 +0,0 @@
|
||||
AUX spotify-0.6.6.10-openssl-ver-amd64.bpatch 233 RMD160 9370f498653bde20d41d257821dae09a666b6384 SHA1 d6c5bffa25e9cb89e980e7ca194b3a44b8e21009 SHA256 4bc83cd21ef154cb90d277d3d9e5f4511470f15e9af941060e27997c5158f456
|
||||
AUX spotify-0.6.6.10-openssl-ver-x86.bpatch 228 RMD160 057bb3e6db2a83dc4189be7f07018de4ca94a450 SHA1 dda751f05a75f2254496f3e367cf0bb005a026a5 SHA256 abe85d7d9857ff1ce1982208a49288b4727dddfacb6848e98283452bdb7227ac
|
||||
DIST spotify-client-qt_0.6.6.10.gbd39032.58-1_amd64.deb 9448994 RMD160 b707041f969ea35747536c08c4a2e98e9bf4d58a SHA1 711b89d85ec885f0538ae183a5fb7e875dceec6e SHA256 8c5445bab2df988fa61e94cf7571b400d733e3526fa78826ae1e7942d96bc463
|
||||
DIST spotify-client-qt_0.6.6.10.gbd39032.58-1_i386.deb 8015104 RMD160 586ca6d1d598502802c39b834e280059e31919a5 SHA1 f57937b854cebc0814d05ba27abff9550c9d031e SHA256 439460a27aaf8ab2eddc37fd1acf3973ff6943f9ef9e56d73a1c462c05df9ca0
|
||||
EBUILD spotify-0.6.6.10.ebuild 2376 RMD160 3d89515f4fe037a74554d966ccac78f0ca3f6b4b SHA1 347925ef670c662eaf2d74c2bd4ce3fccc2904c6 SHA256 62a389a3b1f1eaac07bba1578c9b921cb12e6ed1f3e025feb2bbc49faa79b61f
|
||||
Binary file not shown.
Binary file not shown.
@@ -1,87 +0,0 @@
|
||||
# Copyright 1999-2011 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: $
|
||||
|
||||
EAPI="4"
|
||||
|
||||
DESCRIPTION="Spotify is a social music platform"
|
||||
HOMEPAGE="https://www.spotify.com/ch-de/download/previews/"
|
||||
SRC_URI="amd64? ( http://repository.spotify.com/pool/non-free/s/spotify/spotify-client-qt_${PV}.gbd39032.58-1_amd64.deb )
|
||||
x86? ( http://repository.spotify.com/pool/non-free/s/spotify/spotify-client-qt_${PV}.gbd39032.58-1_i386.deb )"
|
||||
LICENSE="Spotify"
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64 x86"
|
||||
IUSE="pulseaudio"
|
||||
|
||||
DEPEND="sys-devel/binutils
|
||||
app-arch/tar
|
||||
dev-util/bsdiff"
|
||||
RDEPEND="${DEPEND}
|
||||
x11-libs/libX11
|
||||
x11-libs/libSM
|
||||
x11-libs/libICE
|
||||
x11-libs/libXrender
|
||||
x11-libs/libXrandr
|
||||
x11-libs/libXinerama
|
||||
x11-libs/libXext
|
||||
x11-libs/libxcb
|
||||
x11-libs/libXau
|
||||
x11-libs/libXdmcp
|
||||
x11-libs/qt-core:4
|
||||
x11-libs/qt-gui:4
|
||||
x11-libs/qt-webkit:4
|
||||
x11-libs/qt-dbus:4
|
||||
x11-libs/libXScrnSaver
|
||||
media-libs/freetype
|
||||
media-libs/fontconfig
|
||||
media-libs/alsa-lib
|
||||
media-libs/phonon
|
||||
dev-libs/openssl
|
||||
dev-libs/glib:2
|
||||
>media-libs/libpng-1.5
|
||||
dev-db/sqlite:3
|
||||
sys-libs/zlib
|
||||
app-arch/bzip2
|
||||
sys-apps/dbus
|
||||
sys-apps/util-linux
|
||||
dev-libs/expat
|
||||
pulseaudio? ( >=media-sound/pulseaudio-0.9.21 )"
|
||||
|
||||
RESTRICT="mirror strip"
|
||||
|
||||
src_unpack() {
|
||||
ar x "${DISTDIR}/${A}"
|
||||
mkdir "${P}"
|
||||
cd "${P}"
|
||||
tar xzf ../data.tar.gz
|
||||
# Binary patch removes the version information for OPENSSL_0.9.8
|
||||
# from the ELF .gnu_version* sections. They are relics from
|
||||
# a build on Debian and Gentoo has no version info in openssl.
|
||||
# This fixes a false positive in revdep-rebuild due to ldd
|
||||
# errors.
|
||||
# See http://www.odi.ch/weblog/posting.php?posting=645
|
||||
# for how to create the binary patch.
|
||||
if use amd64 ; then
|
||||
BPATCH=openssl-ver-amd64.bpatch
|
||||
else
|
||||
BPATCH=openssl-ver-x86.bpatch
|
||||
fi
|
||||
bspatch usr/bin/spotify spotify ${FILESDIR}/${BPATCH}
|
||||
|
||||
# link against openssl-1.0.0 as it crashes with 0.9.8
|
||||
sed -i -e 's/\(lib\(ssl\|crypto\).so\).0.9.8/\1.1.0.0/g' spotify
|
||||
}
|
||||
|
||||
src_install() {
|
||||
# install the PATCHED binary
|
||||
dobin spotify
|
||||
dodoc usr/share/doc/spotify-client-qt/changelog.Debian.gz
|
||||
dodoc usr/share/doc/spotify-client-qt/copyright
|
||||
insinto /usr/share/applications
|
||||
doins usr/share/applications/*.desktop
|
||||
insinto /usr/share/pixmaps
|
||||
doins usr/share/pixmaps/*.png
|
||||
dodir /usr/share/spotify
|
||||
insinto /usr/share/spotify
|
||||
doins -r usr/share/spotify/*
|
||||
}
|
||||
Reference in New Issue
Block a user