diff options
author | Alexis Ballier <aballier@gentoo.org> | 2017-04-23 13:10:34 +0200 |
---|---|---|
committer | Alexis Ballier <aballier@gentoo.org> | 2017-04-23 13:10:56 +0200 |
commit | 0c8aadcbccddd583dbf702269d17da792a5b5195 (patch) | |
tree | cc3dd12899ab65afa801d6f508fc60a899f2b3e2 /media-sound | |
parent | media-sound/mpdas: bump to 0.4.2 and use verbose build. (diff) | |
download | gentoo-0c8aadcbccddd583dbf702269d17da792a5b5195.tar.gz gentoo-0c8aadcbccddd583dbf702269d17da792a5b5195.tar.bz2 gentoo-0c8aadcbccddd583dbf702269d17da792a5b5195.zip |
media-sound/tunapie: bump to 2.1.19
Package-Manager: Portage-2.3.5, Repoman-2.3.2
Diffstat (limited to 'media-sound')
-rw-r--r-- | media-sound/tunapie/Manifest | 1 | ||||
-rw-r--r-- | media-sound/tunapie/tunapie-2.1.19.ebuild | 50 |
2 files changed, 51 insertions, 0 deletions
diff --git a/media-sound/tunapie/Manifest b/media-sound/tunapie/Manifest index 3cde4d1bdb24..967ccddefb6d 100644 --- a/media-sound/tunapie/Manifest +++ b/media-sound/tunapie/Manifest @@ -1 +1,2 @@ DIST tunapie-2.1.17.tar.gz 50165 SHA256 d3cf0d102df52da37ee50125fbaa8f9709b18d9f8bc13dd9fa3932e4f28828f6 SHA512 62215f99b863f3db24b78048302f8b2f54aa5b969e9ba09034e98227dcada3f561a1afcf5babd65dca7f251aeeba816352b252f9f8f22fdec77272d7583f7ce9 WHIRLPOOL d1ee2991c1f0f77ede710c9eadcfa003c359a262988f9599ac1740b412182b2e588a9e417f9cdb0e807a00715ea2e163dddde58fe9fb2c3d96cfe2d3808078a3 +DIST tunapie-2.1.19.tar.gz 48459 SHA256 2b83c146dd54478a7b35e58b21b7cef52efaa2431b92cd10d97715eeaa7dcb85 SHA512 6a53034e4172f8c96d6e1c92433a3d94c3e8b8bceb9587ff39bad5e7b97937ac000419c683474427ea293b7ba10d5e9dd845b4aa7eaad1a3bcc5b980d57e5669 WHIRLPOOL 79f5663b9d76aa74754be281f29e99a3db70d19a4192b14f40907b3957ca2971c4f32c0f534a9fa843dc017cc1cc130392e2515b3b36ff65c5cea17e82ad6920 diff --git a/media-sound/tunapie/tunapie-2.1.19.ebuild b/media-sound/tunapie/tunapie-2.1.19.ebuild new file mode 100644 index 000000000000..db38951688e3 --- /dev/null +++ b/media-sound/tunapie/tunapie-2.1.19.ebuild @@ -0,0 +1,50 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +PYTHON_COMPAT=( python2_7 ) +inherit eutils python-single-r1 + +DESCRIPTION="Directory browser for Radio and TV streams" +HOMEPAGE="http://tunapie.sourceforge.net" +SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="offensive" + +RDEPEND=">=dev-python/wxpython-2.6[${PYTHON_USEDEP}] + ${PYTHON_DEPS}" +DEPEND="${RDEPEND}" + +REQUIRED_USE="${PYTHON_REQUIRED_USE}" + +src_prepare() { + default + + # fix pixmap lookup + sed -i -e 's@../pixmaps@../../share/pixmaps@' \ + src/tunapie2_main.py || die + + # the original script requires more sed than code, + cat > tunapie <<-_EOF_ || die + #!/bin/sh + exec ${EPYTHON} /usr/lib/tunapie/Tunapie.py + _EOF_ +} + +src_install() { + dobin tunapie + doman tunapie.1 + dodoc CHANGELOG README + + python_moduleinto /usr/lib/tunapie + python_domodule src/{*.py,*.png} + + doicon src/tplogo.xpm + domenu tunapie.desktop + + dodir /etc + usex offensive 1 0 > "${ED%/}"/etc/tunapie.config || die +} |