Initial commit wrt #362267 by Fabian Köster
authorSamuli Suominen <ssuominen@gentoo.org>
Wed, 26 Oct 2011 18:02:15 +0000 (18:02 +0000)
committerSamuli Suominen <ssuominen@gentoo.org>
Wed, 26 Oct 2011 18:02:15 +0000 (18:02 +0000)
Package-Manager: portage-2.2.0_alpha70/cvs/Linux x86_64

media-libs/libclastfm/ChangeLog [new file with mode: 0644]
media-libs/libclastfm/Manifest [new file with mode: 0644]
media-libs/libclastfm/libclastfm-0.4.ebuild [new file with mode: 0644]
media-libs/libclastfm/metadata.xml [new file with mode: 0644]

diff --git a/media-libs/libclastfm/ChangeLog b/media-libs/libclastfm/ChangeLog
new file mode 100644 (file)
index 0000000..5746428
--- /dev/null
@@ -0,0 +1,9 @@
+# ChangeLog for media-libs/libclastfm
+# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/media-libs/libclastfm/ChangeLog,v 1.1 2011/10/26 18:02:15 ssuominen Exp $
+
+*libclastfm-0.4 (26 Oct 2011)
+
+  26 Oct 2011; Samuli Suominen <ssuominen@gentoo.org> +libclastfm-0.4.ebuild:
+  Initial commit wrt #362267 by Fabian Köster
+
diff --git a/media-libs/libclastfm/Manifest b/media-libs/libclastfm/Manifest
new file mode 100644 (file)
index 0000000..5a0708f
--- /dev/null
@@ -0,0 +1,18 @@
+-----BEGIN PGP SIGNED MESSAGE-----
+Hash: SHA1
+
+DIST libclastfm-0.4.tar.gz 326474 RMD160 ee34fab5c23f62298fef840a367383bf8edb17d4 SHA1 c1b5bde2bef688e2d87a926353e63db57a71bf12 SHA256 952229ada81a42d625f1d0a3b3ea3daa426c6eb9a2d8a4c7bc366f3470ccc49a
+EBUILD libclastfm-0.4.ebuild 806 RMD160 1c12d9d4c898fa373a65860b6fe21221f40317c0 SHA1 f4fcbb2cffe0d268227a188d1ca895114c8ba270 SHA256 c14f4e24db40def83d6c7431fe121f7bd554996267dac26a0aeb04cd979fed28
+MISC ChangeLog 375 RMD160 06a121e36aebaf01394ac1c82dda91b46866b0ff SHA1 ca2b0a54a51208c3a0b0f65fad72418a91e64fba SHA256 ac27dbe824ed77478e828949d4b8f3c4ae8872e6567c08e310e8d7b59e550ae8
+MISC metadata.xml 158 RMD160 6842e2189a50bd8a98e84802c38180ac1421c00e SHA1 703cea5a2109d41f7c87993c1f01d418a4c85174 SHA256 dfb5b47e6836db39fb187301dfcff1c2605e91d13d21db160806a563d8c75f9b
+-----BEGIN PGP SIGNATURE-----
+Version: GnuPG v2.0.18 (GNU/Linux)
+
+iQEcBAEBAgAGBQJOqErqAAoJEEdUh39IaPFNVCYH/3eflk4tHA95qQ9Dm2sZ/76O
+dnoQwjXk2Mjr1JxaH5tLxmucJ7kpIRFhzqJ4IqkRsHRSk6cbdRBVdyuX3aPcULJz
+I3tg3l34VnDyux47BYdO+BqV8dVq5YAjQK8zq28ZLDdXaCxggt/lF2PsvFu+t6eG
+wSIfYencwrmOfpLEtSp/hB2/vtbIVg0TodVMTKyg0JcvNwUSK5dAIze5dH8MWbt0
+5jwc6z0LAtIDxeuO/34hLGBhTEZijIRopFkWc6c0KdZd7n+rqNTjC895zLiLfUEa
+XggR5urDX9TNyDJDRp6C36dytmhpUzZDRICjO/91mqV0HGGJnWbsa36JoXouCaE=
+=wIxr
+-----END PGP SIGNATURE-----
diff --git a/media-libs/libclastfm/libclastfm-0.4.ebuild b/media-libs/libclastfm/libclastfm-0.4.ebuild
new file mode 100644 (file)
index 0000000..c4ff1de
--- /dev/null
@@ -0,0 +1,34 @@
+# Copyright 1999-2011 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/media-libs/libclastfm/libclastfm-0.4.ebuild,v 1.1 2011/10/26 18:02:15 ssuominen Exp $
+
+EAPI=4
+
+DESCRIPTION="An unofficial C-API to the last.fm web service"
+HOMEPAGE="http://liblastfm.sourceforge.net/"
+SRC_URI="mirror://sourceforge/liblastfm/${P}.tar.gz"
+
+LICENSE="GPL-3"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="static-libs"
+
+RDEPEND="net-misc/curl"
+DEPEND="${RDEPEND}
+       dev-util/pkgconfig"
+
+DOCS=( AUTHORS README )
+
+src_prepare() {
+       # Fix compability with recent curl
+       sed -i -e '/<curl\/types.h>/d' src/{lastfm-priv.h,lfm_helper.{c,h}} || die
+}
+
+src_configure() {
+       econf $(use_enable static-libs static)
+}
+
+src_install() {
+       default
+       rm -f "${ED}"usr/lib*/${PN}.la
+}
diff --git a/media-libs/libclastfm/metadata.xml b/media-libs/libclastfm/metadata.xml
new file mode 100644 (file)
index 0000000..e1774e3
--- /dev/null
@@ -0,0 +1,5 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>sound</herd>
+</pkgmetadata>