diff options
author | Palmer Dabbelt <palmer@dabbelt.com> | 2019-05-10 19:01:48 -0700 |
---|---|---|
committer | Palmer Dabbelt <palmer@dabbelt.com> | 2019-05-10 19:01:48 -0700 |
commit | d5c6789a8bfbce014172a162d45152914f80b3ab (patch) | |
tree | c0a044899443bfa8961d91b6913402803752e203 | |
parent | dev-python/soundcloud-python: New ebuild (diff) | |
download | palmer-d5c6789a8bfbce014172a162d45152914f80b3ab.tar.gz palmer-d5c6789a8bfbce014172a162d45152914f80b3ab.tar.bz2 palmer-d5c6789a8bfbce014172a162d45152914f80b3ab.zip |
dev-libs/libspotify: New ebuild
Signed-off-by: Palmer Dabbelt <palmer@dabbelt.com>
-rw-r--r-- | dev-libs/libspotify/Manifest | 1 | ||||
-rw-r--r-- | dev-libs/libspotify/libspotify-12.1.51.ebuild | 41 |
2 files changed, 42 insertions, 0 deletions
diff --git a/dev-libs/libspotify/Manifest b/dev-libs/libspotify/Manifest new file mode 100644 index 0000000..61f1e76 --- /dev/null +++ b/dev-libs/libspotify/Manifest @@ -0,0 +1 @@ +DIST libspotify-12.1.51.tar.gz 1571265 BLAKE2B b2c5b60b7857b4e5470346d6c442a27783a89ef7bc395a9c464510b0769ab699d7c2db2d9d151de8ba0736b83cc835761516666eb938ab530fb529656292523d SHA512 3c636e1739a75910a0da9270c3d2203b52fe1c2d69615159a09bcc8b57c8909f1d005aa22dc5cef529489c6f3a9ee5bde4d6a922be536f8017185c25432c3666 diff --git a/dev-libs/libspotify/libspotify-12.1.51.ebuild b/dev-libs/libspotify/libspotify-12.1.51.ebuild new file mode 100644 index 0000000..61ffb4f --- /dev/null +++ b/dev-libs/libspotify/libspotify-12.1.51.ebuild @@ -0,0 +1,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/* +} |