media-sound/cmusfm: version bump to 0.3.1
authorTim Harder <radhermit@gentoo.org>
Mon, 22 Aug 2016 02:43:08 +0000 (22:43 -0400)
committerTim Harder <radhermit@gentoo.org>
Mon, 22 Aug 2016 02:45:13 +0000 (22:45 -0400)
media-sound/cmusfm/Manifest
media-sound/cmusfm/cmusfm-0.3.1.ebuild [new file with mode: 0644]

index 55c00b7b4d09b3b87317318bffccc07b1c6ea843..b7706240afcf060217d7031f4f15893e5243e2ad 100644 (file)
@@ -1 +1,2 @@
 DIST cmusfm-0.2.5.tar.gz 28651 SHA256 f6f0a2e60a3c00480903035f71339aa4ea8a70d2f64b3ff9a6ea2f75b61543af SHA512 0db8d865342438531bfb800d835800240e47732444795159f72ed3c91a4c3f0747ba2da1dcc8e71ef340ba5a3febdb39d8dd5868b134afcbcf7b3614a7790eae WHIRLPOOL 3fe8dc2bc233f031b83fe43186a70877acafc16057dc93f2c1155031c5f65553eb525a4bd9d83afb4d8f5224b785c43c95a75d1d8147b0c92ba19d049bb47b3e
+DIST cmusfm-0.3.1.tar.gz 34521 SHA256 359a46e60c59940d53b2c25093298d518f520be6aa2f4ee2363174ead6542e09 SHA512 2d4d551d2a82fc2d70c7f75705f8cec236a0cf7b8e5268c91cc32b4ede4ecd51c4577d673b8c36f041e514af59142f2c9c001cd422c0790f0e0b3596b4394064 WHIRLPOOL bb9039159b80eb221a38595734f7c2cf518f88f98ca19f94c636fb0630ffb5117ed99dacd6373aff04875224a98829b6d8c8043eede489f4b2ceb435f1d70e59
diff --git a/media-sound/cmusfm/cmusfm-0.3.1.ebuild b/media-sound/cmusfm/cmusfm-0.3.1.ebuild
new file mode 100644 (file)
index 0000000..a334437
--- /dev/null
@@ -0,0 +1,42 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=6
+inherit autotools readme.gentoo-r1
+
+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"
+
+CDEPEND="net-misc/curl
+       dev-libs/openssl:0=
+       libnotify? ( >=x11-libs/libnotify-0.7 )"
+DEPEND="${CDEPEND}
+       virtual/pkgconfig"
+RDEPEND="${CDEPEND}
+       media-sound/cmus"
+
+src_prepare() {
+       default
+       eautoreconf
+       DOC_CONTENTS="Please refer to the README.md file before running cmusfm the first time."
+}
+
+src_configure() {
+       econf $(use_enable libnotify)
+}
+
+src_install() {
+       default
+       readme.gentoo_create_doc
+}
+
+pkg_postinst() {
+       readme.gentoo_pkg_postinst
+}