summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'media-sound/cmusfm')
-rw-r--r--media-sound/cmusfm/Manifest1
-rw-r--r--media-sound/cmusfm/cmusfm-0.2.5.ebuild43
-rw-r--r--media-sound/cmusfm/metadata.xml12
3 files changed, 56 insertions, 0 deletions
diff --git a/media-sound/cmusfm/Manifest b/media-sound/cmusfm/Manifest
new file mode 100644
index 000000000000..55c00b7b4d09
--- /dev/null
+++ b/media-sound/cmusfm/Manifest
@@ -0,0 +1 @@
+DIST cmusfm-0.2.5.tar.gz 28651 SHA256 f6f0a2e60a3c00480903035f71339aa4ea8a70d2f64b3ff9a6ea2f75b61543af SHA512 0db8d865342438531bfb800d835800240e47732444795159f72ed3c91a4c3f0747ba2da1dcc8e71ef340ba5a3febdb39d8dd5868b134afcbcf7b3614a7790eae WHIRLPOOL 3fe8dc2bc233f031b83fe43186a70877acafc16057dc93f2c1155031c5f65553eb525a4bd9d83afb4d8f5224b785c43c95a75d1d8147b0c92ba19d049bb47b3e
diff --git a/media-sound/cmusfm/cmusfm-0.2.5.ebuild b/media-sound/cmusfm/cmusfm-0.2.5.ebuild
new file mode 100644
index 000000000000..e1d663d45ff0
--- /dev/null
+++ b/media-sound/cmusfm/cmusfm-0.2.5.ebuild
@@ -0,0 +1,43 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+inherit autotools-utils readme.gentoo
+
+DESCRIPTION="Last.fm scrobbler for cmus music player"
+HOMEPAGE="https://github.com/Arkq/cmusfm"
+SRC_URI="https://github.com/Arkq/cmusfm/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="GPL-3"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="libnotify"
+
+DEPEND="net-misc/curl
+ dev-libs/openssl
+ libnotify? ( x11-libs/libnotify )"
+RDEPEND="${DEPEND}
+ media-sound/cmus"
+
+src_prepare() {
+ epatch_user
+ eautoreconf
+ DOC_CONTENTS="Please refer to the README.md file before running cmusfm the first time."
+}
+
+src_configure() {
+ local myeconfargs=(
+ $(use_enable libnotify)
+ )
+ autotools-utils_src_configure
+}
+
+src_install() {
+ autotools-utils_src_install
+ readme.gentoo_create_doc
+}
+
+pkg_postinst() {
+ readme.gentoo_pkg_postinst
+}
diff --git a/media-sound/cmusfm/metadata.xml b/media-sound/cmusfm/metadata.xml
new file mode 100644
index 000000000000..4ee9765db591
--- /dev/null
+++ b/media-sound/cmusfm/metadata.xml
@@ -0,0 +1,12 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer>
+ <email>yngwin@gentoo.org</email>
+ <name>Ben de Groot</name>
+ </maintainer>
+ <herd>sound</herd>
+ <upstream>
+ <remote-id type="github">Arkq/cmusfm</remote-id>
+ </upstream>
+</pkgmetadata>