blob: 61ffb4f504df24a5d5246800e4cf62a28afee0dc (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
|
# Copyright 1999-2015 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $
EAPI=5
inherit multilib
DESCRIPTION="C API package to utilize the Spotify music streaming service"
HOMEPAGE="https://developer.spotify.com/technologies/libspotify/"
SRC_URI="https://github.com/mopidy/libspotify-archive/blob/master/libspotify-12.1.51-Linux-x86_64-release.tar.gz?raw=true -> ${P}.tar.gz"
LICENSE="Spotify"
SLOT="0"
KEYWORDS="~amd64 -*"
IUSE=""
DEPEND="virtual/pkgconfig"
QA_PRESTRIPPED="/usr/$(get_libdir)/${PN}.so.${PV}"
S=${WORKDIR}/${P}-Linux-x86_64-release
src_prepare() {
sed -i -e 's#PKG_PREFIX:$(prefix)#PKG_PREFIX:$(real_prefix)#'\
-e 's/ldconfig.*//'\
-e "s#prefix)/lib#prefix)/$(get_libdir)#g" Makefile || die
sed -i -e "s#{exec_prefix}/lib#{exec_prefix/$(get_libdir)#" lib/pkgconfig/${PN}.pc || die
}
src_compile() {
:
}
src_install() {
emake prefix="${D}usr" real_prefix="${ROOT}usr" install
dodoc README ChangeLog
# install man
doman share/man3/*
}
|