diff options
Diffstat (limited to 'media-sound/cplay')
-rw-r--r-- | media-sound/cplay/Manifest | 5 | ||||
-rw-r--r-- | media-sound/cplay/cplay-1.50.ebuild | 42 | ||||
-rw-r--r-- | media-sound/cplay/metadata.xml | 11 |
3 files changed, 58 insertions, 0 deletions
diff --git a/media-sound/cplay/Manifest b/media-sound/cplay/Manifest new file mode 100644 index 000000000000..398a7de8e488 --- /dev/null +++ b/media-sound/cplay/Manifest @@ -0,0 +1,5 @@ +DIST cplay-1.50.tar.gz 43904 SHA256 a3ad98a1648453dd591529f9783d4b7669241d2dfa681793a95bbcb0c2ea6780 SHA512 7d105fd01b22b3c5e602ccb700db3501a3c1781cbf53ac265b68f6f977edaaa5566268ca72742b70d4d5eabf278ad5a6fd1a22bc8711d22607cb505d0a197c94 WHIRLPOOL d8ab093ef8065acd88cd9fdb03aca502850cd3cddf111d3f36957c5bc704310aefca768261ab3a4f8799a1240620c60c31bcb614c82f84ca2ddc0b4333b963bb +EBUILD cplay-1.50.ebuild 945 SHA256 6cfc4fefb88a5ded5b6068a72fc923e8512ffb95ada6cf5c79f0070cad399a1f SHA512 8e381724061b03cf37b4d312c205971b13eb890f5b19a16e951919ec327240f244583895184b11b969a081e75507e766e046f996bbff22141ff8b86f835ff79d WHIRLPOOL 656dd555d82b74956c2c0adea44ce23bd82f2fb5398373eb0232e69bb6d33756006c32d9123dcb7a2dc8e9e03a935515edd053bb9a1eb4f573428aa6f352e7e3 +MISC ChangeLog 2735 SHA256 d985059207c506081de0f5246045b7d94731f531b0942d1d138c459febc804c8 SHA512 80c55c4b51d31cf0531cd4c179a9d2ac6cb50b59944d14fcb1ec27d04490b6d8190e2c466bffac99464dd693b642f7de136fe22d306a4091e47601364c3f0806 WHIRLPOOL 33f5e17267679130fefbcebe0b3ed2e56c56f0bdc74f44b709507c47e2db1291603fb76a87c26fdb020f4aa9062a7fadb4c885f36d0f81c26c650c438818d020 +MISC ChangeLog-2015 3350 SHA256 df6f195aa5ace75719f73bc5cabc773c9f8b909f6f7b4eedaae8d4ed60c84d29 SHA512 3b680d40458b5c4b79215264e937d4c3b9c4e528010279e24b782f8f44eb405263d88937c755c0db7956cc7a0d5c1be078e4716e283933095fac252a62accd0b WHIRLPOOL 5b4e92eebf1f41098b985d24f1ef920acda06c4b0c2c80eac1569af739766923bd94f025a411b4f5f8cacb48cfed8423a4a04353b69efc5541a6532b5b8564a3 +MISC metadata.xml 329 SHA256 0dcaba8a2970d0cb28002728f2481858422201727c20b2ec3f3f8fd0012a3303 SHA512 ff15b3aec9d16ae31b0dcb7a93d3a4d3bd0c23f56370c609dd06e2fe4882babc706751ff1dea83a4bd470328c7d4fb1c5cf72aef4f7ebce453476228d8b42abc WHIRLPOOL aab229fb594edb9467417a62e9ec1aac34e6c34d99165f24d40901c95d014a2df9cff841b8a667c5239238bb1832d76ca79d8c464e4581114df38725fd279528 diff --git a/media-sound/cplay/cplay-1.50.ebuild b/media-sound/cplay/cplay-1.50.ebuild new file mode 100644 index 000000000000..0d68f7d3c841 --- /dev/null +++ b/media-sound/cplay/cplay-1.50.ebuild @@ -0,0 +1,42 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +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 +} diff --git a/media-sound/cplay/metadata.xml b/media-sound/cplay/metadata.xml new file mode 100644 index 000000000000..6fd5a891d174 --- /dev/null +++ b/media-sound/cplay/metadata.xml @@ -0,0 +1,11 @@ +<?xml version='1.0' encoding='UTF-8'?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="project"> + <email>sound@gentoo.org</email> + <name>Gentoo Sound project</name> + </maintainer> + <upstream> + <remote-id type="github">hukka/cplay</remote-id> + </upstream> +</pkgmetadata> |