diff options
author | David Seifert <soap@gentoo.org> | 2016-10-02 18:31:18 +0200 |
---|---|---|
committer | David Seifert <soap@gentoo.org> | 2016-10-02 18:45:38 +0200 |
commit | d2de77dcb3fad8bbc05126471988e6883e43b7eb (patch) | |
tree | 6f1d18ebf86f4d3e035c134801041394e9a72407 /media-sound | |
parent | dev-perl/DBD-mysql: Bump to version 4.36.0 re bug #589818 & bug #587206 (diff) | |
download | gentoo-d2de77dcb3fad8bbc05126471988e6883e43b7eb.tar.gz gentoo-d2de77dcb3fad8bbc05126471988e6883e43b7eb.tar.bz2 gentoo-d2de77dcb3fad8bbc05126471988e6883e43b7eb.zip |
media-sound/cplay: Version bump to 1.50
* EAPI=6
* Use 'python-single-r1.eclass'
Package-Manager: portage-2.3.1
Diffstat (limited to 'media-sound')
-rw-r--r-- | media-sound/cplay/Manifest | 1 | ||||
-rw-r--r-- | media-sound/cplay/cplay-1.50.ebuild | 43 |
2 files changed, 44 insertions, 0 deletions
diff --git a/media-sound/cplay/Manifest b/media-sound/cplay/Manifest index ba52c09b7105..b3bf2021c3ee 100644 --- a/media-sound/cplay/Manifest +++ b/media-sound/cplay/Manifest @@ -1 +1,2 @@ DIST cplay-1.49.tar.gz 36400 SHA256 4c624a7e5839b1523418b0b898dc300c571099a7e7252265ee79f7adbed0a80d SHA512 e45af0390af2e221e1b96ea04983998aec3d8984e05415f6e47a08e8f2cd4014ddf213cebf8fe42c207d5c097cd65d2751002bc64ec8e38ec49d2ee3ad8de74d WHIRLPOOL a513252a3efa7d553a56dc9e35157b3978d79dd0e97345ad2dfeaaabdd7760ac52ac558e84dd8eac0770fadbc813d4041a49a3746eacfc1ccf6d670911a9763d +DIST cplay-1.50.tar.gz 43904 SHA256 a3ad98a1648453dd591529f9783d4b7669241d2dfa681793a95bbcb0c2ea6780 SHA512 7d105fd01b22b3c5e602ccb700db3501a3c1781cbf53ac265b68f6f977edaaa5566268ca72742b70d4d5eabf278ad5a6fd1a22bc8711d22607cb505d0a197c94 WHIRLPOOL d8ab093ef8065acd88cd9fdb03aca502850cd3cddf111d3f36957c5bc704310aefca768261ab3a4f8799a1240620c60c31bcb614c82f84ca2ddc0b4333b963bb diff --git a/media-sound/cplay/cplay-1.50.ebuild b/media-sound/cplay/cplay-1.50.ebuild new file mode 100644 index 000000000000..42f895b02686 --- /dev/null +++ b/media-sound/cplay/cplay-1.50.ebuild @@ -0,0 +1,43 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=6 + +PYTHON_COMPAT=( python2_7 ) + +inherit python-single-r1 + +DESCRIPTION="A Curses front-end for various audio players" +HOMEPAGE="https://github.com/hukka/cplay/" +SRC_URI="https://github.com/hukka/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~hppa ~ppc ~ppc64 ~sparc ~x86" +IUSE="mp3 vorbis" +REQUIRED_USE="${PYTHON_REQUIRED_USE}" + +RDEPEND="${PYTHON_DEPS} + vorbis? ( media-sound/vorbis-tools ) + mp3? ( || ( media-sound/mpg123 + media-sound/mpg321 + media-sound/madplay + media-sound/splay ) )" +DEPEND="${RDEPEND} + sys-devel/gettext" + +src_prepare() { + default + sed -i -e 's:make:$(MAKE):' Makefile || die + sed -i -e "s:/usr/local:${EPREFIX}/usr:" cplay || die +} + +src_install() { + emake PREFIX="${ED%/}/usr" recursive-install + einstalldocs + + python_fix_shebang cplay + dobin cplay + doman cplay.1 +} |